aboutOur.vue
2.44 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
<template>
<view>
<view class="about-content">
<view class="text-center">
<image class="logo" src="/static/logo.png"></image>
<view>
<view class="title">{{appName}}</view>
<view class="title-msg">{{apptitle}}</view>
</view>
</view>
<uni-list class="">
<view class="recordCon uni-list-cell-pd">
<text class="fontColor000">微信公众号</text>
<text>{{officialAccountName}}</text>
</view>
<view class="recordCon uni-list-cell-pd" @click="call">
<text class="fontColor000">客服电话</text>
<text>{{customerServicePhone}}</text>
</view>
<view class="recordCon uni-list-cell-pd">
<text class="fontColor000">门户网站</text>
<text>{{website}}</text>
</view>
</uni-list>
<view class="info">
<view class="">
<view class="titleinfo">江阴慧停车版权所有</view>
<view class="titleinfo">All Rights Reserved</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
appName: '江阴慧停车',
apptitle: '江阴慧停车·智慧便捷',
officialAccountName: '',
customerServicePhone: '',
website: '',
}
},
mounted() {
this.aboutUs()
},
methods: {
call(){
var me = this;
uni.makePhoneCall({
phoneNumber: me.customerServicePhone
});
},
aboutUs() {
let that = this;
that.$myRequest({
url: that.$common.useraboutUs,
method: 'POST',
data: that.$common.requestSign()
}).then(res => {
console.log(res)
let aboutInfo = res.data;
that.officialAccountName = aboutInfo.officialAccountName;
that.customerServicePhone = aboutInfo.customerServicePhone;
that.website = aboutInfo.website;
})
},
}
}
</script>
<style lang="scss">
.about-content {
// padding-top: 30rpx;
background-color: #f6f6f6;
height: 100vh;
}
.logo {
height: 200upx;
width: 200upx;
margin-top: 50upx;
}
.title {
font-size: 32upx;
color: #000;
font-weight: 400;
}
.title-msg {
font-size: 26upx;
color: #8d8d8d;
margin-bottom: 30upx;
}
.fontColor000 {
color: #000;
}
.recordCon {
color: #999;
display: flex;
justify-content: space-between;
border-bottom: 2px solid #f6f6f6;
}
.info {
width: 100%;
bottom: 50px;
text-align: center;
position: absolute;
}
.info {
width: 100%;
bottom: 50px;
text-align: center;
position: absolute;
}
.titleinfo {
font-size: 20upx;
}
</style>