gasCard.vue
4.18 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<template>
<view>
<view class="gasCardCss">
<view class="topCardCss flex align-center justify-between">
<view class="flex justify-between align-center w50" @click="goMyGasBottlePage">
<view class="flex justify-between">
<view class="flex flex-direction">
<view class="flex">
<text class="text-bold">
申请退瓶
</text>
<text
class="themeColor text-bol">({{ userInfo && userInfo.stats && userInfo.stats.zyqp ? userInfo.stats.zyqp : '0'}})</text>
</view>
<view class="margin-top text-sm text-gray">
查看在用气瓶信息
</view>
</view>
</view>
<view class="margin-xs">
<u-image width="20px" height="30px" mode="widFix"
src="/static/images/mine/gasCard-01.png"></u-image>
</view>
</view>
<view class="" style="width: 1px;height: 50px;margin: 0 10px;">
<u-line dashed direction="col" height="50px" color="#000"></u-line>
</view>
<view class="flex justify-between align-center w50" @click="goMyRhajPage">
<view class="flex justify-between">
<view class="flex flex-direction">
<view class="flex">
<view class="text-bold">
<!-- <text class="themeColor">{{ userInfo && userInfo.stats && userInfo.stats.syjf ? userInfo.stats.syjf : '0'}}</text> -->
<text>入户安检</text>
</view>
<!-- <text class="themeColord">入户安检</text> -->
</view>
<view class="margin-top text-sm text-gray">
查看安检记录
</view>
</view>
</view>
<view class="margin-xs">
<u-image width="30px" height="30px" mode="widFix"
src="/static/images/mine/gasCard-02.png"></u-image>
</view>
</view>
</view>
<view class="bomCardCss flex align-center justify-between">
<view class="flex justify-between align-center w50" @click="goMyHyzxPage">
<view class="flex justify-between">
<view class="flex flex-direction">
<view class="flex">
<text class="text-bold">
会员中心
</text>
<text class="themeColor"></text>
</view>
<view class="margin-top text-sm text-gray">
查看最新会员权益
</view>
</view>
</view>
<view class="margin-xs">
<u-image width="30px" height="30px" src="/static/images/mine/gasCard-03.png"></u-image>
</view>
</view>
<view class="" style="width: 1px;height: 50px;margin: 0 10px;">
<u-line dashed direction="col" height="50px" color="#000"></u-line>
</view>
<view class="flex justify-between align-center w50" @click="goMySczxPage">
<view class="flex justify-between">
<view class="flex flex-direction">
<view class="flex">
<view class="text-bold">
收藏中心
</view>
<text class="themeColor"></text>
</view>
<view class="margin-top text-sm text-gray">
收藏的门店或气瓶
</view>
</view>
</view>
<view class="margin-xs">
<u-image width="30px" height="30px" src="/static/images/mine/gasCard-04.png"></u-image>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
components: {},
props: {
userInfo: Object,
},
data() {
return {
}
},
computed: {
},
onLoad() {
console.log('打印this.uuserInfo', this.userInfo);
},
onShow() {
console.log('打印this.uuserInfo', this.userInfo)
},
methods: {
goMyGasBottlePage() {
uni.navigateTo({
url: `/pages/mine/myGasBottle?type=zyqp`
})
},
goMyRhajPage() {
uni.navigateTo({
url: '/pages/mine/appList/homeSecurity/homeSecurityCheck'
})
},
goMyHyzxPage(){
uni.navigateTo({
url: `/pages/mine/emptyPage?pageName=会员中心`
})
},
goMySczxPage(){
uni.navigateTo({
url: `/pages/mine/emptyPage?pageName=收藏中心`
})
},
}
}
</script>
<style lang="scss" scoped>
.gasCardCss {
.topCardCss {
margin: 0 10px;
padding: 10px;
background: #FFE1D0;
border-radius: 10px 10px 0 0;
}
.bomCardCss {
margin: 0 10px;
padding: 10px;
background: #fff;
border-radius: 0 0 10px 10px;
}
}
</style>