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 lines
6.3 KiB
1 lines
6.3 KiB
<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-lg pr-lg"><view class="fill-base flex-between"><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_project.png"></image></view>推荐项目</view></view></view><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="fill-base pd-lg b-1px-b"><service-list-item vue-id="{{'c84c028c-4-'+index}}" info="{{item}}" bind:__l="__l"></service-list-item></view></block><block wx:if="{{loading}}"><load-more vue-id="c84c028c-5" noMore="{{$root.g7}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g8}}"><abnor vue-id="c84c028c-6" bind:__l="__l"></abnor></block><view class="space-footer"></view><uni-popup class="vue-ref" vue-id="c84c028c-7" type="center" maskClick="{{false}}" data-ref="coupon_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="coupon-popup flex-center"><image class="bg-img" mode="aspectFill" lazy-load="{{true}}" src="https://lbqnyv2.migugu.com/bianzu3.png"></image><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="iconfont icon-close c-base _i" catchtap="__e"></view><view class="coupon-info flex-center flex-column"><view class="tops flex-center flex-column"><view>成功领取</view><view>卡券将放入“我的-我的卡券”</view></view><view class="lists flex-center"><scroll-view style="width:420rpx;height:100%;" scroll-y="{{true}}"><block wx:for="{{couponList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list flex-between"><image src="https://lbqny.migugu.com/admin/anmo/coupon/coupon.png" mode="aspectFill"></image><view class="flex-between"><view class="flex-center flex-column"><view class="price">{{''+item.discount+''}}</view><view class="price_text">{{''+(item.full*1>0?'满'+item.full+'可用':'立减')+''}}</view></view><view class="title flex-y-center"><view class="ellipsis-3">{{''+item.title+''}}</view></view></view></view></block></scroll-view></view></view><view data-event-opts="{{[['tap',[['userGetCoupon',['$event']]]]]}}" class="btns flex-center" catchtap="__e"><view class="flex-center">领取到卡包</view></view></view></uni-popup><view style="{{'height:'+(configInfo.tabbarHeight+'px')+';'}}"></view><tabbar vue-id="c84c028c-8" cur="{{1}}" bind:__l="__l"></tabbar></view></block> |