You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
2.8 KiB
132 lines
2.8 KiB
<template>
|
|
<view class="v-about">
|
|
<view class="v-about-top">
|
|
<view class="v-about-top-left">
|
|
<view class="v-about-top-text">客服服务中心</view>
|
|
<view class="v-about-top-eg">Customer Service Center</view>
|
|
</view>
|
|
<view class="v-about-top-right">
|
|
<image src="../../static/animg/v-server.svg" class="v-about-top-img" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
<view class="v-about-item" @click="getPhone('zixun')">
|
|
<text>咨询电话:</text><text class="num">0318—2355980</text>
|
|
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
|
|
</view>
|
|
<view class="v-about-item" @click="getPhone('tousu')">
|
|
<text>投诉电话:</text><text class="num">0318—2999253</text>
|
|
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
|
|
</view>
|
|
<view class="v-about-item" @click="getPhone('jiuyuan')">
|
|
<text>救援电话:</text><text class="num">0318—2995392</text>
|
|
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
|
|
</view>
|
|
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
name: this.$param.cityName,
|
|
src: '../../static/images/' + this.$param.cityPy + '.png'
|
|
};
|
|
},
|
|
onLoad(options) {
|
|
if (options.isRedirect == '1') {
|
|
uni.switchTab({
|
|
url: '/pages/personcenter/personcenter'
|
|
});
|
|
}
|
|
},
|
|
methods: {
|
|
getPhone: function(type) {
|
|
if (type == 'zixun') {
|
|
uni.makePhoneCall({
|
|
phoneNumber: '03182355980' //仅为示例,并非真实的电话号码
|
|
})
|
|
} else if (type == 'tousu') {
|
|
uni.makePhoneCall({
|
|
phoneNumber: '03182999253' //仅为示例,并非真实的电话号码
|
|
})
|
|
} else if (type == 'jiuyuan') {
|
|
uni.makePhoneCall({
|
|
phoneNumber: '03182995392' //仅为示例,并非真实的电话号码
|
|
})
|
|
}
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style>
|
|
@import url('../../static/css/common.css');
|
|
|
|
page {
|
|
background: #fff;
|
|
}
|
|
|
|
.v-about {
|
|
padding: 20rpx 40rpx;
|
|
}
|
|
|
|
.v-about-top {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.v-about-top-left {
|
|
flex: auto;
|
|
padding-left: 20rpx;
|
|
}
|
|
|
|
.v-about-top-right {}
|
|
|
|
.v-about-top-img {
|
|
width: 200rpx;
|
|
}
|
|
|
|
.v-about-top-tel {
|
|
width: 50rpx;
|
|
}
|
|
|
|
.v-about-top-text {
|
|
color: #ae3523;
|
|
font-size: 50rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.v-about-top-eg {
|
|
color: #ae3523;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.v-about-item {
|
|
display: flex;
|
|
margin: 40rpx 0;
|
|
align-items: center;
|
|
padding: 25rpx 40rpx;
|
|
border-radius: 10rpx;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 30rpx;
|
|
background-color: #ae3523;
|
|
}
|
|
|
|
.v-about-item .num {
|
|
position: relative;
|
|
flex: auto;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.v-about-item .num::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 30rpx;
|
|
top: 50%;
|
|
transform: translate(0, -50%);
|
|
width: 2rpx;
|
|
height: 95%;
|
|
background-color: #fff;
|
|
}
|
|
</style> |