mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/shop/servicesyr-home.wxml

1 line
3.2 KiB
Plaintext

<view class="store-page"><custom-navbar vue-id="64c601d1-1" title="手艺人主页" show-back="{{true}}" backgroundColor="#fff" bind:__l="__l"></custom-navbar><block wx:if="{{syrdetail.video}}"><view class="store-card"><view class="store-media"><video class="store-bg" id="syrVideo" auto-play="{{true}}" object-fit="cover" src="{{syrdetail.video}}" muted="{{false}}"></video><image class="play-icon" src="/static/images/play.png" mode="aspectFit"></image></view></view></block><view class="{{['store-info',!syrdetail.video?'no-video':'']}}"><view class="store-title">{{syrdetail.name}}</view><block wx:if="{{syrdetail.head_photo}}"><image class="store-img" src="{{syrdetail.head_photo}}" mode="aspectFill"></image></block></view><view class="store-detail"><view class="tab-header"><view data-event-opts="{{[['tap',[['switchTab',['info']]]]]}}" class="{{['tab-item',(activeTab==='info')?'active':'']}}" bindtap="__e"><text class="tab-lable">手艺人信息</text><view class="tab-line"></view></view><view data-event-opts="{{[['tap',[['switchTab',['all']]]]]}}" class="{{['tab-item','tab-left',(activeTab==='all')?'active':'']}}" bindtap="__e"><text class="tab-lable">全部</text><view class="tab-line"></view></view></view><block wx:if="{{activeTab==='info'}}"><view class="info-content"><view class="info-item"><text class="info-label">所在地</text><text class="info-text">{{syrdetail.dependency}}</text></view><view class="info-item"><text class="info-label">所属门店</text><text class="info-text">{{syrdetail.for_shop}}</text></view><view class="info-item"><text class="info-label">简介</text><text class="info-text">{{syrdetail.detail}}</text></view><view class="info-item"><text class="info-label health">健康证</text><text data-event-opts="{{[['tap',[['lookHealth',['$0'],['syrdetail.health_card']]]]]}}" class="check-text" bindtap="__e">点击查看</text></view><block wx:if="{{$root.g0}}"><view class="info-item"><text class="info-label health">资质证书</text><text data-event-opts="{{[['tap',[['previewImage',['$0'],['syrdetail.qualifications']]]]]}}" class="check-text" bindtap="__e">点击查看</text></view></block><block wx:if="{{syrdetail.uscc_photo}}"><view class="info-item"><text class="info-label health">营业执照</text><text data-event-opts="{{[['tap',[['lookHealth',['$0'],['syrdetail.uscc_photo']]]]]}}" class="check-text" bindtap="__e">点击查看</text></view></block><block wx:if="{{syrdetail.shop_photo}}"><view class="info-item"><text class="info-label health">门头照片</text><text data-event-opts="{{[['tap',[['lookHealth',['$0'],['syrdetail.shop_photo']]]]]}}" class="check-text" bindtap="__e">点击查看</text></view></block></view></block><block wx:if="{{activeTab==='all'}}"><view class="all-cont"><service-grid vue-id="64c601d1-2" services="{{services}}" page-type="nvue" width="320rpx" data-event-opts="{{[['^serviceclick',[['goToDetail']]]]}}" bind:serviceclick="__e" bind:__l="__l"></service-grid></view></block></view><block wx:if="{{isLoading&&activeTab==='all'}}"><view class="loading"><text class="loading-text">加载中...</text></view></block><block wx:if="{{!isLoading&&activeTab==='all'}}"><view class="loading"><text class="loading-text">没有更多了</text></view></block></view>