|
@@ -1,23 +1,114 @@
|
|
|
-<!--index.wxml-->
|
|
|
-<view class="container">
|
|
|
- <view class="userinfo">
|
|
|
- <block wx:if="{{canIUseOpenData}}">
|
|
|
- <view class="userinfo-avatar" bindtap="bindViewTap">
|
|
|
- <open-data type="userAvatarUrl"></open-data>
|
|
|
+<view>
|
|
|
+ <view class="ert" bindtap="search">
|
|
|
+ <van-search value="{{ value }}" placeholder="请输入搜索关键词" shape="round" />
|
|
|
+ <van-button color="#FF8C00" class="btn" round type="info" size="mini">搜索</van-button>
|
|
|
+ </view>
|
|
|
+ <van-tabs active="a" type="line">
|
|
|
+ <van-tab title="待送达" name="a" title-active-color='#FF8C00'>
|
|
|
+ <!-- <van-cell-group inset>
|
|
|
+ <van-cell title="单元格" value="内容" label="描述信息" />
|
|
|
+ </van-cell-group> -->
|
|
|
+ <view style="background-color: #DCDCDC; width: 100%;height: 100%; padding: 14rpx 0;">
|
|
|
+ <template is="card" data="" />
|
|
|
+ <template is="card" data="" />
|
|
|
+ </view>
|
|
|
+ <view style="background-color: #DCDCDC; width: 100%;height: 100vh; padding: 14rpx 0;">
|
|
|
+ </view>
|
|
|
+ </van-tab>
|
|
|
+ <van-tab title="已送达" name="b">
|
|
|
+
|
|
|
+ <view style="background-color: #DCDCDC; width: 100%;height: 100vh; padding: 14rpx 0;">
|
|
|
+ <template is="card1" data="" />
|
|
|
+ <template is="card1" data="" />
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </van-tab>
|
|
|
+ <van-tab title="已退款" name="c">
|
|
|
+ <view style="background-color: #DCDCDC; width: 100%;height: 100vh; padding: 14rpx 0;">
|
|
|
+ <template is="card2" data="" />
|
|
|
+ <template is="card1" data="" />
|
|
|
</view>
|
|
|
- <open-data type="userNickName"></open-data>
|
|
|
- </block>
|
|
|
- <block wx:elif="{{!hasUserInfo}}">
|
|
|
- <button wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile"> 获取头像昵称 </button>
|
|
|
- <button wx:elif="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
|
|
- <view wx:else> 请使用1.4.4及以上版本基础库 </view>
|
|
|
- </block>
|
|
|
- <block wx:else>
|
|
|
- <image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
|
|
- <text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
|
|
- </block>
|
|
|
+ </van-tab>
|
|
|
+ </van-tabs>
|
|
|
+ <!-- <view slot="action" bind:tap="onClick">搜索</view> -->
|
|
|
+</view>
|
|
|
+
|
|
|
+<template name="card">
|
|
|
+ <view class="card" bindtap="detail">
|
|
|
+ <view class="card2">
|
|
|
+ <text style="font-size:12px;">订单编号:98989898989</text>
|
|
|
+ <text style="font-size:12px;">详情></text>
|
|
|
+ </view>
|
|
|
+ <van-divider />
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">姓名:吴迪(先生)</text>
|
|
|
+ <text style="font-size:12px; color: #FF6347;">待送达</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">手机号:13912345678</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">地址:哈尔滨</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">下单时间:2023-04-24 17:38:34</text>
|
|
|
+ <van-button color="#FF8C00" custom-style="border-radius:8px" class="btn1" round type="info" size="mini">重新打印</van-button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="usermotto">
|
|
|
- <text class="user-motto">{{motto}}</text>
|
|
|
+</template>
|
|
|
+<template name="card1">
|
|
|
+ <view class="card">
|
|
|
+ <view class="card2">
|
|
|
+ <text style="font-size:12px;">订单编号:98989898989</text>
|
|
|
+ <text style="font-size:12px;">详情></text>
|
|
|
+ </view>
|
|
|
+ <van-divider />
|
|
|
+ <view class="card1" style="margin-top:-20rpx;">
|
|
|
+ <text style="font-size:12px; ">姓名:吴迪(先生)</text>
|
|
|
+ <text style="font-size:12px; color: #DCDCDC;">已送达</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">手机号:13912345678</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">地址:哈尔滨</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">下单时间:2023-04-24 17:38:34</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">下单时间:2023-04-24 18:02:34</text>
|
|
|
+ <van-button color="#FF8C00" custom-style="border-radius:8px" class="btn1" round type="info" size="mini">重新打印</van-button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
-</view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<template name="card2">
|
|
|
+ <view class="card">
|
|
|
+ <view class="card2">
|
|
|
+ <text style="font-size:12px;">订单编号:98989898989</text>
|
|
|
+ <text style="font-size:12px;">详情></text>
|
|
|
+ </view>
|
|
|
+ <van-divider />
|
|
|
+ <view class="card1" style="margin-top:-20rpx;">
|
|
|
+ <text style="font-size:12px; ">姓名:吴迪(先生)</text>
|
|
|
+ <text style="font-size:12px; color: #FF6347;">待送达</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">手机号:13912345678</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">地址:哈尔滨</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">下单时间:2023-04-24 17:38:34</text>
|
|
|
+ </view>
|
|
|
+ <view class="card1">
|
|
|
+ <text style="font-size:12px;">下单时间:2023-04-24 18:02:34</text>
|
|
|
+ <van-button color="#FF8C00" custom-style="border-radius:8px" class="btn1" round type="info" size="mini">重新打印</van-button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<!-- <van-button type="primary">按钮</van-button> -->
|