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