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
5.7 KiB
1 line
5.7 KiB
5 months ago
|
<block wx:if="{{isLoad}}"><view class="pages-technician-level"><block wx:if="{{$root.g0}}"><swiper class="image-container" indicator-dots="{{false}}" current="{{currentIndex}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="swiper-item"><view class="level-line-info flex-center mt-lg ml-md mr-md rel"><view class="space-lg"></view><view class="iconfont icon-level-line icon-font-color abs _i" style="{{'background-image:'+('-webkit-linear-gradient(0deg, #000 0%, '+primaryColor+' 50%, #000 100%)')+';'}}"></view><block wx:for="{{item.l0}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="list-item flex-center flex-column"><block wx:if="{{aitem.g1}}"><view class="{{['line-tag',[(aindex==0)?'left':''],[(aindex==1)?'center':''],[(aindex==2)?'right':'']]}}"><view class="tag-lg flex-center"><view class="tag-md flex-center"><block wx:if="{{aindex==1}}"><view class="tag-sm flex-center" style="{{'background:'+(primaryColor)+';'}}"></view></block></view></view></view></block><block wx:if="{{aitem.g2}}"><view class="line-text mt-sm">{{''+(aindex==0?levelList[index-1].title:levelList[index+1].title)+''}}</view></block><block wx:if="{{aindex===1}}"><view class="text-tag flex-center mt-sm rel" style="{{'background:'+(primaryColor)+';'}}"><view class="square-tag flex-center abs" style="{{'background:'+(primaryColor)+';'+('background:'+('linear-gradient(-45deg, transparent 12rpx,'+primaryColor+' 0)')+';')}}"><view class="square-mini fill-base"></view></view><view class="tag-text fill-base flex-center pl-sm pr-sm" style="{{'color:'+(primaryColor)+';'}}">{{''+item.$orig.title+''}}</view></view></block></view></block></view><view class="technician-level pd-lg ml-md mr-md mt-md rel" style="{{'border:'+('1rpx solid '+primaryColor)+';'}}"><view class="iconfont icon-level-icon icon-font-color abs _i" style="{{'left:'+('60rpx')+';'+('background-image:'+('-webkit-linear-gradient(0deg, #000 36%, '+primaryColor+' 100%)')+';')}}"></view><image class="level-icon-img abs" mode="aspectFill" src="https://lbqny.migugu.com/admin/anmo/technician/level-icon.png"></image><view class="space-md"></view><view class="flex-y-baseline level-title text-bold">{{item.$orig.title+''}}<view class="ml-sm f-desc">{{''+(index<curLevelInd?'已解锁':index==curLevelInd?'当前等级':'未解锁')+''}}</view></view><view style="height:55rpx;"></view><view class="level-line radius rel"><view class="level-line cur radius abs" style="{{'width:'+('35%')+';'+('background:'+(primaryColor)+';')}}"></view></view><view style="height:25rpx;"></view><view class="flex-between f-paragraph c-base text-bold"><view>{{item.$orig.data.title}}</view><view>{{item.$orig.data.next_level_title}}</view></view><view class="flex-warp f-icontext mt-sm"><block wx:for="{{item.l1}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><text>{{aitem.g3?aitem.$orig:'、'+aitem.$orig}}</text></block></view></view></swiper-item></block></swiper></block><block wx:if="{{coach_level.id}}"><scroll-view class="count-list mt-lg ml-md mr-md" scroll-x="{{true}}"><block wx:for="{{countList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item flex-column"><view class="flex-center num text-bold" style="{{'color:'+(primaryColor)+';'}}">{{''+coach_level[item.key]+(item.unit||'')+''}}</view><view class="flex-center text">{{item.text}}</view></view></block></scroll-view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-y-center ml-md pt-lg pb-lg f-title c-base" catchtap="__e"><view class="text-bold">规则说明</view><view class="iconfont iconshuyi_shuoming ml-sm _i"></view></view><block wx:if="{{$root.g4}}"><scroll-view class="rule-list flex-column ml-md mr-md pl-md pr-md" scroll-x="{{true}}"><block wx:for="{{ruleList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item flex-warp"><block wx:for="{{item}}" wx:for-item="bitem" wx:for-index="bindex" wx:key="bindex"><view class="
|