1 line
2.6 KiB
Plaintext
1 line
2.6 KiB
Plaintext
<layout-default-uni class="data-v-e6a92610" u-s="{{['d']}}" u-i="e6a92610-0" bind:__l="__l"><view class="p-5 bg-gray-100 h-screen data-v-e6a92610"><view class="flex justify-center my-5 data-v-e6a92610"><view class="relative data-v-e6a92610"><wd-img wx:if="{{b}}" class="w-24 h-24 rounded-full data-v-e6a92610" binderror="{{a}}" u-i="e6a92610-1,e6a92610-0" bind:__l="__l" u-p="{{b}}"></wd-img><view class="absolute bottom-0 right-0 bg-white rounded-full w-_a_24px_a_ h-_a_24px_a_ flex justify-center items-center data-v-e6a92610"><wd-icon wx:if="{{d}}" class="data-v-e6a92610" bindclick="{{c}}" u-i="e6a92610-2,e6a92610-0" bind:__l="__l" u-p="{{d}}"></wd-icon></view></view></view><view class="text-center text-sm text-gray-600 data-v-e6a92610">宠物头像</view><view class="mt-5 bg-white p-5 rounded-lg shadow data-v-e6a92610"><view class="mb-4 data-v-e6a92610"><text class="text-gray-800 data-v-e6a92610">宠物名字</text><input class="data-v-e6a92610" placeholder="请输入名字" value="{{e}}" bindinput="{{f}}"/></view><view class="mb-4 data-v-e6a92610"><text class="text-gray-800 data-v-e6a92610">宠物生日</text><picker class="data-v-e6a92610" mode="date" value="{{h}}" start="2000-01-01" bindchange="{{i}}"><view class="w-full mt-2 p-2 border border-gray-300 rounded data-v-e6a92610">{{g}}</view></picker></view><view class="mb-4 data-v-e6a92610"><text class="text-gray-800 data-v-e6a92610">宠物性别</text><view class="flex mt-2 data-v-e6a92610"><button class="{{['data-v-e6a92610', 'flex-1 py-2 mx-1', j]}}" bindtap="{{k}}"> 男孩 </button><button class="{{['data-v-e6a92610', 'flex-1 py-2 mx-1', l]}}" bindtap="{{m}}"> 女孩 </button></view></view><view class="mb-4 data-v-e6a92610"><text class="text-gray-800 data-v-e6a92610">宠物品种</text><wd-picker wx:if="{{o}}" class="w-full mt-2 p-2 border border-gray-300 rounded data-v-e6a92610" u-i="e6a92610-3,e6a92610-0" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"/></view><view class="mb-4 data-v-e6a92610"><text class="text-gray-800 data-v-e6a92610">宠物毛色</text><wd-picker wx:if="{{q}}" class="w-full mt-2 p-2 border border-gray-300 rounded data-v-e6a92610" u-i="e6a92610-4,e6a92610-0" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/></view></view><view class="mt-5 data-v-e6a92610"><button class="w-full py-4 bg-_a__a_ffc107_a_ text-white text-center rounded-full text-lg h-11 flex items-center justify-center shadow-lg data-v-e6a92610" bindtap="{{s}}">{{r}}</button></view><button wx:if="{{t}}" class="mt-5 w-full py-4 bg-red-500 text-white rounded-full text-lg h-11 flex items-center justify-center shadow-lg data-v-e6a92610" bindtap="{{v}}"> 删除 </button></view></layout-default-uni> |