时空网前端
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.
 
 
 
 

93 lines
1.9 KiB

<template>
<view class="content">
<view class="lf-row-between item">
<view class="lf-color-gray">在线客服</view>
<button class="btn" open-type="contact">在线联系</button>
</view>
<view class="lf-row-between item">
<view class="lf-color-gray">服务时间</view>
<view>10:0020:00</view>
</view>
<view class="lf-row-between item" @click="makePhoneCall">
<view class="lf-color-gray">客服电话</view>
<view>13278683790</view>
</view>
<view class="lf-row-between item">
<view class="lf-color-gray">联系地址</view>
<view>南宁市青秀区汇东国际F座6楼</view>
</view>
<view class="lf-row-between item">
<view class="lf-color-gray">客服微信</view>
<view>
<text>whhu8798</text>
<text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text>
</view>
</view>
<view class="lf-row-between item">
<view class="lf-color-gray">当前版本</view>
<view>{{ version }}</view>
</view>
</view>
</template>
<script>
export default {
data(){
return {
version: '',
list: []
}
},
onLoad(){
this.version = this.API.VERSION;
this.getInfo();
},
methods: {
// 获取信息
getInfo(){
this.$http(this.API.API_CONTACT).then(res => {
console.log("info", res);
this.list = res.data;
})
},
// 拨打电话
makePhoneCall(){
uni.makePhoneCall({
phoneNumber: ''
})
},
// 复制
copy(){
uni.setClipboardData({
data: 'a'
})
}
}
}
</script>
<style lang="scss" scoped="scoped">
.content{
width: 750rpx;
height: auto;
padding: 0 32rpx;
box-sizing: border-box;
.item{
width: 100%;
height: 104rpx;
border-bottom: 1rpx solid #EEEEEE;
.btn{
margin: 0;
width: 176rpx;
height: 60rpx;
background: #FE9903;
border-radius: 30rpx;
color: #FFFFFF;
font-size: 28rpx;
line-height: 60rpx;
}
}
}
</style>