labels.wxml 1.7 KB

1
  1. <view class="container data-v-703b7dde"><top-bar vue-id="52e8774f-1" id="topbar" icon="back" class="data-v-703b7dde" bind:__l="__l"></top-bar><view class="title font44 fw600 data-v-703b7dde" id="title">{{'选择你'+(type==='wants'?'喜欢':'个性')+'标签'}}</view><view class="tip font28 fw400 data-v-703b7dde" id="tip">{{''+(type==='wants'?'添加你喜欢的特质,让推荐更加精准':'增加自己的的个性标签,让大家更了解你')+''}}</view><view class="choose-list flex-start data-v-703b7dde" id="chooselist"><block wx:for="{{chooseLabels}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="choose-tag flex-center data-v-703b7dde"><text class="tag-text font28 fw600 data-v-703b7dde">{{item.name}}</text><image class="tag-img data-v-703b7dde" src="{{assetsUrl+'info-figure-close.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['deleteTag',[index]]]]]}}" bindtap="__e"></image></view></block></view><scroll-view class="citys data-v-703b7dde" style="{{'height:'+(scollHeight+'px')+';'}}" scroll-y="true"><block wx:for="{{labelsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="city-tags data-v-703b7dde"><view class="c-label font28 fw700 data-v-703b7dde">{{''+item.name+''}}</view><view class="c-tags flex-start data-v-703b7dde"><block wx:for="{{item.list}}" wx:for-item="sitem" wx:for-index="sindex" wx:key="sindex"><view data-event-opts="{{[['tap',[['chooseTag',[index,sindex]]]]]}}" class="{{['c-tag','font28','fw400','data-v-703b7dde',sitem.choose?'tag-choose':'']}}" bindtap="__e">{{''+sitem.name+''}}</view></block></view></view></block></scroll-view><cover-view data-event-opts="{{[['tap',[['sure',['$event']]]]]}}" class="btn font32 fw600 data-v-703b7dde" bindtap="__e">完成</cover-view></view>