Blame view

pages/aboutOur/aboutOur.vue 2.44 KB
28010de0   chenbiao   add 发票申领 发票填充
1
2
3
4
5
6
7
8
9
10
11
12
13
  <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>
93c5ecb3   chenbiao   add 添加filter.js 设...
14
  					<text>{{officialAccountName}}</text>
28010de0   chenbiao   add 发票申领 发票填充
15
  				</view>
93c5ecb3   chenbiao   add 添加filter.js 设...
16
  				<view class="recordCon uni-list-cell-pd" @click="call">
28010de0   chenbiao   add 发票申领 发票填充
17
  					<text class="fontColor000">客服电话</text>
93c5ecb3   chenbiao   add 添加filter.js 设...
18
  					<text>{{customerServicePhone}}</text>
28010de0   chenbiao   add 发票申领 发票填充
19
20
21
  				</view>
  				<view class="recordCon uni-list-cell-pd">
  					<text class="fontColor000">门户网站</text>
93c5ecb3   chenbiao   add 添加filter.js 设...
22
  					<text>{{website}}</text>
28010de0   chenbiao   add 发票申领 发票填充
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  				</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: '江阴慧停车·智慧便捷',
93c5ecb3   chenbiao   add 添加filter.js 设...
45
46
47
  				officialAccountName: '',
  				customerServicePhone: '',
  				website: '',
28010de0   chenbiao   add 发票申领 发票填充
48
49
  			}
  		},
93c5ecb3   chenbiao   add 添加filter.js 设...
50
51
52
  		mounted() {
  			this.aboutUs()
  		},
28010de0   chenbiao   add 发票申领 发票填充
53
  		methods: {
93c5ecb3   chenbiao   add 添加filter.js 设...
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
  			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;
  				})
  			},
28010de0   chenbiao   add 发票申领 发票填充
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
  
  		}
  	}
  </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>