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