1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
- <view slot="info" class="container main">
- <view class="zero one">
- <view class="one_1">1</view>
- <view class="one_2">
- <view class="l">
- <view class="l_1">
- <image class="icon" src="{{user.icon&&user.icon.length>0?user.icon[0].url:''}}"></image>
- </view>
- <view class="l_2">
- <view class="info textOver">{{user.name}}</view>
- <view class="info textOver">{{user.phone}}</view>
- </view>
- </view>
- <view class="r">
- <text bindtap="toCommon" data-route="my/userInfo">详细</text>
- <van-icon name="arrow" />
- </view>
- </view>
- </view>
- <view class="zero two">
- <van-collapse accordion value="{{ btnActive }}" bind:change="bChange">
- <van-collapse-item name="{{index}}" class="btnList" wx:for="{{btnList}}" wx:for-item="item" wx:key="index" wx:for-index="index" bindtap="toCommon" data-route="{{item.route}}">
- <view slot="title" class="list_1">
- <van-icon class="icon" name="like-o" />
- <text class="oneTitle">{{item.title}}</text>
- </view>
- <view class="list_2" wx:if="{{item.routeList&&item.routeList.length>0}}">
- <view class="routeList" wx:for="{{item.routeList}}" wx:for-item="tag" wx:key="tagIndex" bindtap="toCommon" data-route="{{tag.route}}">
- <view class="route_1 textOver">
- <text class="title">{{tag.title}}</text>
- </view>
- <view class="route_2">
- <van-icon name="arrow" />
- </view>
- </view>
- </view>
- </van-collapse-item>
- </van-collapse>
- <!-- <view class="list" wx:for="{{btnList}}" wx:key="item" bindtap="toCommon" data-route="{{item.route}}" data-type="1">
- <view class="list_1 textOver">
- <van-icon class="icon" name="like-o" /><text class="title">{{item.title}}</text>
- </view>
- <view class="list_2">
- <van-icon name="arrow" />
- </view>
- </view> -->
- </view>
- </view>
- </mobile-main>
|