mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/artisan/service-area.wxml

1 line
6.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="service-area-page data-v-5d4943d3"><custom-navbar vue-id="4bdfb793-1" title="{{navTitle}}" showBack="{{true}}" class="data-v-5d4943d3" bind:__l="__l"></custom-navbar><view class="page-content data-v-5d4943d3" style="{{'padding-bottom:'+(buttonAreaHeight+'px')+';'}}"><view class="area-container box-cont data-v-5d4943d3"><view class="area-header data-v-5d4943d3"><view class="title-bar data-v-5d4943d3"></view><text class="area-title data-v-5d4943d3">服务区域</text></view><block wx:if="{{!showPendingArea}}"><view class="current-area data-v-5d4943d3"><view class="area-display data-v-5d4943d3"><text class="area-value data-v-5d4943d3">{{currentAreasText||'暂未设置服务区域'}}</text></view></view></block><block wx:else><view class="pending-area data-v-5d4943d3"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="area-selection data-v-5d4943d3" bindtap="__e"><block wx:if="{{editable}}"><text class="area-label data-v-5d4943d3">请选择服务区域</text></block><view class="area-picker-trigger data-v-5d4943d3"><text class="selected-area data-v-5d4943d3">{{selectedAreasText||'请选择'}}</text><block wx:if="{{editable}}"><image class="arrow-down data-v-5d4943d3" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/dccc4513-377c-4bfa-9fd2-a5cfdb9798f3" mode="aspectFit"></image></block></view></view><block wx:if="{{editable}}"><view class="area-limit-tip data-v-5d4943d3"><text class="limit-text data-v-5d4943d3">* 可以更换区域,但不能跨城市</text></view></block></view></block></view></view><view class="{{['popup','data-v-5d4943d3',(showRegionPopupFlag)?'show':'']}}"><view data-event-opts="{{[['tap',[['hideRegionPopup',['$event']]]]]}}" class="popup-mask data-v-5d4943d3" bindtap="__e"></view><view class="popup-content region-popup data-v-5d4943d3"><view class="popup-header data-v-5d4943d3"><text class="popup-title data-v-5d4943d3">选择服务区域</text><text data-event-opts="{{[['tap',[['hideRegionPopup',['$event']]]]]}}" class="popup-close data-v-5d4943d3" bindtap="__e">×</text></view><view class="region-tabs data-v-5d4943d3"><block wx:for="{{regionTabs}}" wx:for-item="tab" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['switchTab',[index]]]]]}}" class="{{['region-tab','data-v-5d4943d3',(currentTab===index)?'active':'']}}" bindtap="__e">{{''+tab+''}}</view></block></view><view class="region-body data-v-5d4943d3"><block wx:if="{{currentTab===0}}"><scroll-view class="region-scroll data-v-5d4943d3" scroll-y="{{true}}"><block wx:for="{{ChinaCitys}}" wx:for-item="province" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectProvince',['$0',index],[[['ChinaCitys','',index]]]]]]]}}" class="region-item data-v-5d4943d3" bindtap="__e"><text class="data-v-5d4943d3">{{province.province}}</text><image class="arrow-right data-v-5d4943d3" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/dccc4513-377c-4bfa-9fd2-a5cfdb9798f3" mode="aspectFit"></image></view></block></scroll-view></block><block wx:if="{{currentTab===1}}"><scroll-view class="region-scroll data-v-5d4943d3" scroll-y="{{true}}"><block wx:for="{{cityList}}" wx:for-item="city" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectCity',['$0',index],[[['cityList','',index]]]]]]]}}" class="region-item data-v-5d4943d3" bindtap="__e"><text class="data-v-5d4943d3">{{city.city}}</text><image class="arrow-right data-v-5d4943d3" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/dccc4513-377c-4bfa-9fd2-a5cfdb9798f3" mode="aspectFit"></image></view></block></scroll-view></block><block wx:if="{{currentTab===2}}"><scroll-view class="region-scroll data-v-5d4943d3" scroll-y="{{true}}"><block wx:for="{{districtList}}" wx:for-item="district" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggleDistrictSelect',[index]]]]]}}" class="region-item checkbox-item data-v-5d4943d3" bindtap="__e"><view class="{{['checkbox','data-v-5d4943d3',(district.checked)?'checked':'']}}"><block wx:if="{{district.checked}}"><image class="check-icon data-v-5d4943d3" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/66325904-4603-48fd-b03b-90c684af96e9" mode="aspectFit"></image></block></view><text class="checkbox-label data-v-5d4943d3">{{district.area}}</text></view></block></scroll-view></block></view><view class="popup-footer data-v-5d4943d3"><view data-event-opts="{{[['tap',[['hideRegionPopup',['$event']]]]]}}" class="popup-btn cancel data-v-5d4943d3" bindtap="__e"><text class="btn-text data-v-5d4943d3">取消</text></view><view data-event-opts="{{[['tap',[['confirmRegionSelect',['$event']]]]]}}" class="popup-btn confirm data-v-5d4943d3" bindtap="__e"><text class="btn-text data-v-5d4943d3">确定</text></view></view></view></view><view data-ref="buttonArea" class="bottom-actions data-v-5d4943d3 vue-ref"><block wx:if="{{shouldShowRejectReason}}"><view class="reject-reason data-v-5d4943d3"><view class="reject-title data-v-5d4943d3">您的提交已驳回</view><view class="reject-detail data-v-5d4943d3">{{"驳回原因:"+backText}}</view></view></block><block wx:if="{{showAuditTip&&!showPendingArea}}"><view class="audit-tip data-v-5d4943d3"><text class="audit-text data-v-5d4943d3">您的提交变更正在审核中...</text></view></block><block wx:if="{{buttonType==='change'}}"><view data-event-opts="{{[['tap',[['startChange',['$event']]]]]}}" class="action-btn change-info-btn data-v-5d4943d3" bindtap="__e"><text class="btn-text data-v-5d4943d3">去变更信息</text></view></block><block wx:if="{{buttonType==='edit'}}"><view class="action-buttons-row data-v-5d4943d3"><view data-event-opts="{{[['tap',[['cancelChange',['$event']]]]]}}" class="action-btn cancel-btn data-v-5d4943d3" bindtap="__e"><text class="btn-text cancel-text data-v-5d4943d3">取消</text></view><view data-event-opts="{{[['tap',[['submitChange',['$event']]]]]}}" class="action-btn submit-btn data-v-5d4943d3" bindtap="__e"><text class="btn-text data-v-5d4943d3">提交</text></view></view></block><block wx:if="{{buttonType==='view'}}"><view data-event-opts="{{[['tap',[['togglePendingArea',['$event']]]]]}}" class="action-btn view-change-btn data-v-5d4943d3" bindtap="__e"><text class="btn-text data-v-5d4943d3">{{showPendingArea?'返回':'查看我的变更'}}</text></view></block></view></view>