user.wxml
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!--pages/user/user.wxml-->
<view class="backPic">
<image src="../../images/05-01/bj.png"></image>
</view>
<!-- 用户信息 -->
<view class="userInfo">
<view class="headPic" wx:if="{{Authorization}}">
<image src="{{userData.wxHeadImg}}"></image>
</view>
<view class="headPic" wx:if="{{!Authorization}}">
<image src="/images/nimingtouxiang.png"></image>
</view>
<view class="userName" >
<view class="name" wx:if="{{Authorization}}">
{{userData.wxName}}
</view>
<view class="name" wx:if="{{!Authorization}}" bindtap="login">
登录/注册
</view>
</view>
<!-- <view class="arrow">
<image src="/images/05-01/arrow.png"></image>
</view> -->
</view>
<view class="container">
<!-- 全部订单 -->
<view class="allOrder">
<view class="top">
<view class="first" >全部订单
</view>
<view class="second">
<view bindtap="mainOrder"> 查看全部订单</view>
<view>
<image src="/images/04-01/arrow.png"></image>
</view>
</view>
</view>
<view class="bottom">
<view wx:for="{{orderList}}" bindtap="orderEvent" data-index="{{index}}">
<view class="pic">
<image src="{{item.url}}"></image>
</view>
<view class="text">{{item.text}}</view>
</view>
</view>
</view>
<!-- 我的服务 -->
<view class="myServe">
<view class="top">
<view class="first">我的服务
</view>
</view>
<view class="serveBox">
<view wx:for="{{serveList}}" class="" bindtap="myServeEvent" data-index="{{index}}">
<view class="servePic">
<image src="{{item.url}}"></image>
</view>
<view class="serevText">{{item.text}}</view>
</view>
</view>
</view>
</view>
<!-- tabbar -->
<!-- <view class="tabbarBox" >
<ul>
<li>
<view class="tabbarPic" bindtap="toHome">
<image src="/images/tab/home.png"></image>
</view>
<text bindtap="toHome">首页</text>
</li>
<li>
<view class="tabbarPic" bindtap="toClassify">
<image src="/images/tab/classify (2).png"></image>
</view>
<text bindtap="toClassify">分类</text>
</li>
<li>
<view class="tabbarPic" bindtap="toShopCart">
<image src="/images/tab/cart (2).png"></image>
</view>
<text bindtap="toShopCart">购物车</text>
</li>
<li>
<view class="tabbarPic">
<image src="/images/tab/user (2).png"></image>
</view>
<text class="check">我的</text>
</li>
</ul>
</view> -->