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