acdr-ui/dist/build/mp-weixin/modules/pet/push/door.wxml

1 line
2.8 KiB
Plaintext
Raw Normal View History

2024-10-01 09:15:35 +08:00
<layout-default-uni class="data-v-061e6dbf" u-s="{{['d']}}" u-i="061e6dbf-0" bind:__l="__l"><view class="p-4 flex flex-col h-_a_120vh_a_ data-v-061e6dbf"><view class="card mt-4 flex-grow data-v-061e6dbf"><view class="mb-4 data-v-061e6dbf"><input class="input w-full data-v-061e6dbf" placeholder="输入服务名称(例如:宠物看护)" value="{{a}}" bindinput="{{b}}"/></view><view class="mb-4 data-v-061e6dbf"><label class="label block mb-2 data-v-061e6dbf">选择服务类型</label><picker class="data-v-061e6dbf" mode="selector" range="{{d}}" bindchange="{{e}}"><view class="input w-full bg-gray-100 p-2 rounded data-v-061e6dbf">{{c}}</view></picker></view><view class="mb-4 data-v-061e6dbf"><block wx:if="{{r0}}"><textarea class="input h-24 w-full data-v-061e6dbf" placeholder="描述服务内容,例如:包含宠物喂养、遛狗等..." value="{{f}}" bindinput="{{g}}"></textarea></block></view><view class="mb-4 data-v-061e6dbf"><label class="label block mb-2 data-v-061e6dbf">服务价格(每小时)</label><view class="flex w-_a_140px_a_ items-center data-v-061e6dbf"><button class="btn w-10 bg-gray-200 text-black text-center data-v-061e6dbf" bindtouchstart="{{h}}" bindtouchend="{{i}}" bindtap="{{j}}"> - </button><input type="number" class="input text-center data-v-061e6dbf" readonly value="{{k}}" bindinput="{{l}}"/><button class="btn w-12 bg-gray-200 text-black text-center data-v-061e6dbf" bindtouchstart="{{m}}" bindtouchend="{{n}}" bindtap="{{o}}"> + </button></view></view><view class="flex justify-between mb-4 data-v-061e6dbf"><text class="text-gray-500 data-v-061e6dbf">服务地点(范围)</text><text class="text-gray-500 data-v-061e6dbf">{{p}}</text></view><view hidden="{{!q}}" class="mb-4 data-v-061e6dbf">正在定位......</view><view class="mapContainer data-v-061e6dbf"><map class="data-v-061e6dbf" binddoneFun="{{r}}" u-i="061e6dbf-1,061e6dbf-0" bind:__l="__l"/></view><view class="flex justify-between mb-4 data-v-061e6dbf"><label class="label data-v-061e6dbf">服务状态(开启/关闭)</label><switch class="data-v-061e6dbf" checked="{{s}}" bindchange="{{t}}" color="#42b983"></switch></view><view class="mb-4 data-v-061e6dbf"><label class="label block mb-2 data-v-061e6dbf">上传服务封面</label><button class="btn bg-gray-200 text-black mb-2 data-v-061e6dbf" bindtap="{{v}}">选择图片</button><view wx:if="{{w}}" class="flex flex-wrap data-v-061e6dbf"><image wx:for="{{x}}" wx:for-item="image" wx:key="a" class="w-full h-24 m-2 bg-cover bg-center data-v-061e6dbf" mode="widthFix" src="{{image.b}}"></image></view></view></view><view class="fixed bottom-0 left-0 right-0 p-4 bg-white border-t border-gray-200 data-v-061e6dbf"><button class="btn w-full bg-yellow-500 text-black data-v-061e6dbf" bindtap="{{z}}">{{y}}</button></view></view></layout-default-uni>