You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xxdj1/unpackage/dist/dev/mp-weixin/pages/service.wxml

1 line
4.9 KiB

1 year ago
<view class="pages-home"><view class="map-info"><view data-event-opts="{{[['tap',[['goSearch',['$event']]]]]}}" class="input" bindtap="__e"><u--input vue-id="c84c028c-1" placeholder="查找技师或服务" prefixIcon="search" shape="circle" disabled="{{true}}" prefixIconStyle="font-size: 34rpx;color: #A9B4BD" bind:__l="__l"></u--input></view></view><view><u-swiper vue-id="c84c028c-2" list="{{banner}}" keyName="img" interval="5000" height="{{260}}" bind:__l="__l"></u-swiper><view class="tab"><block wx:for="{{gridList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getItemHandle',['$0'],[[['gridList','',index]]]]]]]}}" class="tabItem" bindtap="__e"><block wx:if="{{item.name=='邀请有礼'}}"><auth vue-id="{{'c84c028c-3-'+index}}" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" data-event-opts="{{[['^go',[['toAtv']]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view><image src="{{item.img}}" mode></image><view class="text">{{item.name}}</view></view></auth></block><block wx:if="{{item.name!='邀请有礼'}}"><image src="{{item.img}}" mode></image></block><block wx:if="{{item.name!='邀请有礼'}}"><view class="text">{{item.name}}</view></block></view></block></view><view class="gridContainer"><view class="sectionTitle"><image src="../static/titleicon.png" mode lazy-load="{{true}}"></image><text>推荐技师</text></view><swiper class="swiper" circular="{{true}}" indicator-dots="{{false}}" autoplay="{{false}}" interval="{{2000}}" duration="{{1000}}" previous-margin="108px" next-margin="108px"><block wx:for="{{picList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="recommendItem"><view style="margin:0 8rpx;position:relative;border-radius:27rpx;overflow:hidden;"><image src="{{item.work_img}}" mode="aspectFill" lazy-load="{{true}}"></image><block wx:if="{{item.coach_type_status==3}}"><view class="flag new">新人</view></block><block wx:if="{{item.coach_type_status==2}}"><view class="flag people">推荐</view></block><block wx:if="{{item.coach_type_status==1}}"><view class="flag people">销冠</view></block><view class="nameText">{{''+item.coach_name+''}}</view></view></swiper-item></block></swiper></view></view><view class="sectionTitle" style="padding:0 24rpx;"><image src="../static/xiangmu.png" mode></image><text>服务项目</text></view><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="list-item flex-center mt-md ml-md mr-md pd-lg fill-base radius-16" catchtap="__e"><image class="cover radius-16" mode="aspectFill" lazy-load="{{true}}" src="{{item.cover}}"></image><view class="flex-1 ml-md" style="max-width:450rpx;"><view class="flex-between"><view class="f-title itemTitle max-270 ellipsis">{{item.title}}</view></view><view class="subTitle ellipsis">{{(item.sub_title||'')+''}}</view><view class="timeInfo"><view class="time-long"><image src="../static/time.png" mode></image><text>{{item.time_long+"分钟"}}</text></view><view class="lookNum">{{"超"+item.total_sale+"人选择"}}</view></view><view class="priceContent"><text>{{"¥"+item.price}}</text><view class="item-btn flex-center f-caption c-base" style="{{'background:'+(primaryColor)+';'}}">选择技师</view></view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="c84c028c-4" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="c84c028c-5" bind:__l="__l"></abnor></block><view class="space-footer"></view><uni-popup class="vue-ref" vue-id="c84c028c-6" type="center" maskClick="{{false}}" data-ref="coupon_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="coupon-popup f_r_c_c"><image class="bg-img" src="https://lbqnyv2.migugu.com/bianzu3.png" mode></image><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="iconfont icon-close c-base _i" catchtap="__e"></view><view class="coupon-info f_c_m_c"><