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

45 lines
2.4 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>
<!-- <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> -->
<view id="order" class="bg-white flex flex-justify van-hairline--bottom" style="padding: 20rpx 32rpx;" bindtap="menuClick">
<view class="text-sg text-bold">代卖订单</view>
<view class="flex flex-center">
<view class="text-gray text-sm" style="margin-right:8rpx">查看全部订单</view>
<van-icon name="arrow" color="#aaa"/>
</view>
</view>
<view class="bg-white">
<van-grid column-num="4" border="{{fasle}}">
<van-grid-item wx:for="{{tabList}}" wx:key="index" text="{{item.name}}" 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:20rpx;"></view>
<view class="bg-white flex flex-justify van-hairline--bottom" style="padding: 20rpx 32rpx;">
<view class="text-sg text-bold">其他工具</view>
</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>