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