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.
1 line
6.3 KiB
1 line
6.3 KiB
5 months ago
|
<block wx:if="{{isLoad}}"><view class="pages-home"><uni-nav-bar vue-id="c84c028c-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" title="首页" color="#ffffff" backgroundColor="{{primaryColor}}" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><view class="{{[[($root.g0>0)?'rel':'']]}}" style="{{'height:'+($root.g1>0?'484rpx':'84rpx')+';'}}"><block wx:if="{{$root.g2>0}}"><banner vue-id="c84c028c-2" list="{{banner}}" margin="{{0}}" autoplay="{{true}}" indicatorActiveColor="{{primaryColor}}" dotWidth="{{20}}" dotBottom="{{30}}" data-event-opts="{{[['^change',[['goBanner']]]]}}" bind:change="__e" bind:__l="__l"></banner></block><view class="{{['search-box','flex-center','fill-base',[($root.g3==0)?'mt-md':''],[($root.g4>0)?'abs':'']]}}" style="{{'color:'+(primaryColor)+';'}}"><view style="width:100%;"><view class="servetip pl-lg pr-lg pt-sm pb-sm"><block wx:for="{{servefc}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['servefc',index]]]]]}}" class="servefc" catchtap="__e"><view class="{{['iconfont','_i',item.icon]}}"></view><label class="ml-sm _span">{{item.text}}</label></view></block></view></view></view></view><block wx:if="{{$root.g5>0}}"><view class="fill-base pl-md pr-md" style="overflow:hidden;"><column vue-id="c84c028c-3" list="{{service_cate}}" indicatorActiveColor="{{primaryColor}}" colNum="{{5}}" rowNum="{{2}}" data-event-opts="{{[['^change',[['goCate']]]]}}" bind:change="__e" bind:__l="__l"></column></view></block><block wx:if="{{$root.g6}}"><view class="fill-base pl-lg pr-lg pb-lg"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-between pb-lg" catchtap="__e"><view class="f-st-title text-bold flex-between"><view class="mr-md" style="width:15px;height:17px;"><image class="van-img" style="object-fit:cover;" src="/static/img/icon_technician.png"></image></view>{{''+('推荐'+$root.m0)+''}}</view><view class="flex-y-center f-caption c-caption">查看更多<view class="iconfont icon-right _i" style="font-size:24rpx;"></view></view></view><scroll-view class="recommend-technician" scroll-x="{{true}}"><block wx:for="{{recommend_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{recommend_style==1}}"><view data-event-opts="{{[['tap',[['toTechnician',[index]]]]]}}" class="recommend-item type-1" catchtap="__e"><image class="cover radius-16" mode="aspectFill" lazy-load="{{true}}" src="{{item.work_img}}"></image><view class="flex-center f-desc c-title text-bold mt-md"><view class="ellipsis">{{item.coach_name}}</view></view><view class="flex-center"><block wx:if="{{item.is_new}}"><view class="new-technician flex-center f-icontext radius" style="{{'height:'+('33rpx')+';'+('width:'+('80rpx')+';')+('color:'+(primaryColor)+';')+('border:'+('1rpx solid '+primaryColor)+';')}}">新人</view></block><block wx:else><view class="f-icontext c-caption">{{"30天接单"+(item.order_count||0)+''}}</view></block></view></view></block><block wx:if="{{recommend_style==2}}"><view data-event-opts="{{[['tap',[['toTechnician',[index]]]]]}}" class="recommend-item type-2 pd-md" catchtap="__e"><view class="flex-center pb-sm"><image class="cover radius" mode="aspectFill" lazy-load="{{true}}" src="{{item.work_img}}"></image><view class="flex-1 ml-sm"><view class="f-desc ellipsis">{{item.coach_name}}</view><view class="flex-y-baseline" style="margin-top:4rpx;"><view class="iconfont iconyduixingxingshixin icon-font-color _i"></view><view class="star-text flex-y-center f-caption">{{item.star}}</view></view></view></view><view class="flex-center"><block wx:if="{{item.is_new}}"><view class="new-technician flex-center f-icontext radius" style="{{'height:'+('33rpx')+';'+('width:'+('80rpx')+';')+('color:'+(primaryColor)+';')+('border:'+('1rpx solid '+primaryColor)+';')}}">新人</view></block><block wx:else><view class="f-icontext c-caption">{{"30天接单"+(item.order_count||0)+''}}</view></block></view></view></block></block></block></scroll-view></view></block><view class="fill-base pl
|