纸通宝商家版本的小程序,原生微信开发。
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.
 

32 lines
1.9 KiB

<wxs module="formate" src="../../formate.wxs"></wxs>
<view class="flex flex-column" style="height:{{height}}rpx;width:750rpx;">
<view style="height:50rpx;width: 750rpx;background-color:#1E7ADE;"></view>
<view class="flex" style="align-items: center;background-color:#1E7ADE;height: 200rpx;padding-left: 32rpx;">
<van-image use-loading-slot width="160rpx" height="160rpx" lazy-load round src="{{userInfo.avatarUrl}}"></van-image>
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
<view class="flex flex-center text-white">
<text class="text-xl text-bold" style="white-space: nowrap;margin-right:12rpx">{{userInfo.storeBaseInfo.name || ''}}</text>
</view>
<view class="text-white">
<text class="text-white text-df">{{userInfo.nickname || userInfo.realName}}</text>
<text class="text-white text-df" style="margin-left: 12rpx;">{{userInfo.mobile}}</text>
</view>
</view>
</view>
<view class="bg-white flex van-hairline--bottom" style="height: 80rpx;line-height: 80rpx;text-align: center;padding-left: 32rpx;">其他工具</view>
<view class="bg-white">
<van-grid column-num="4" border="{{fasle}}">
<van-grid-item wx:for="{{menuList}}" wx:key="index" text="{{item.text}}" data-url="{{item.url}}" bind:click="menuClick">
<van-icon slot="icon" name="{{item.icon}}" size="76rpx" />
</van-grid-item>
</van-grid>
</view>
<view style="height:16rpx;"></view>
<van-tabs active="{{tabIndex}}" color="#008AFF" bind:change="onTabChange" line-height="2px" swipe-threshold="6">
<van-tab wx:for="{{tabList}}" wx:key="index" title="{{item.name}}" title-style="color:{{tabIndex==index?'#008AFF':'#333333'}}"></van-tab>
</van-tabs>
<scroll-view scroll-y style="flex: 1;width:750rpx;height: 1px;">
<view style="height:24rpx;">sss</view>
</scroll-view>
</view>