初始化商家端
This commit is contained in:
339
pages/xtsz/contactUs/contactUs.vue
Normal file
339
pages/xtsz/contactUs/contactUs.vue
Normal file
@ -0,0 +1,339 @@
|
||||
<template>
|
||||
<view class="page" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center contactUs_flex_0"
|
||||
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub contactUs_fd0_0'>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
|
||||
<text class='fu-iconfont2 contactUs_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
|
||||
data-url="1"></text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
|
||||
<text class='contactUs_fd0_0_c1_c0'>联系我们</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center contactUs_fd0_0_c2'>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
|
||||
<!---flex布局flex布局开始-->
|
||||
<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<image class='contactUs_fd1_0_c0' mode="aspectFit" :src='STATIC_URL+"3.png"'></image>
|
||||
</view>
|
||||
<view class='flex flex-direction flex-wrap align-stretch contactUs_fd1_1'>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<view class='contactUs_fd1_1_c0_c0' v-html="content"></view>
|
||||
</view>
|
||||
<view class='flex flex-direction flex-wrap align-stretch'>
|
||||
<view class='flex flex-wrap align-stretch justify-between contactUs_fd1_1_c1_c0'>
|
||||
<view class='flex flex-direction flex-wrap align-start'>
|
||||
<text class='contactUs_fd1_1_c1_c0_c0_c0'>站长电话</text>
|
||||
<text class='contactUs_fd1_1_c1_c0_c0_c1'>{{aboutInfo.zhanzhang_phone}}</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="phoneTap('popupShow1684118010022',aboutInfo.zhanzhang_phone)">
|
||||
<image class='contactUs_fd1_1_c1_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"4.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-between contactUs_fd1_1_c1_c1'>
|
||||
<view class='flex flex-direction flex-wrap align-start'>
|
||||
<text class='contactUs_fd1_1_c1_c1_c0_c0'>客户经理电话</text>
|
||||
<text class='contactUs_fd1_1_c1_c1_c0_c1'>{{aboutInfo.jingli_phone}}</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="phoneTap('popupShow1684118010022',aboutInfo.jingli_phone)">
|
||||
<image class='contactUs_fd1_1_c1_c1_c1_c0' mode="aspectFit" :src='STATIC_URL+"4.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-between contactUs_fd1_1_c1_c2'>
|
||||
<view class='flex flex-direction flex-wrap align-start'>
|
||||
<text class='contactUs_fd1_1_c1_c2_c0_c0'>平台电话</text>
|
||||
<text class='contactUs_fd1_1_c1_c2_c0_c1'>{{aboutInfo.service_phone}}</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="phoneTap('popupShow1684118010022',aboutInfo.service_phone)">
|
||||
<image class='contactUs_fd1_1_c1_c2_c1_c0' mode="aspectFit" :src='STATIC_URL+"4.png"'>
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---flex布局flex布局结束-->
|
||||
<benben-popup v-model="popupShow1684118010022" :mask="true" mode='center'>
|
||||
<!---电话弹窗flex布局开始-->
|
||||
<view class="flex flex-direction align-center benben-flex-layout contactUs_flex_2">
|
||||
<text class='contactUs_fd2_0'>提示</text>
|
||||
<view class='flex flex-wrap align-center contactUs_fd2_1'>
|
||||
<text class='contactUs_fd2_1_c0'>是否拨打</text>
|
||||
<text class='contactUs_fd2_1_c1'>{{phonenum}}</text>
|
||||
<text class='contactUs_fd2_1_c2'>?</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center'>
|
||||
<button class='contactUs_fd2_2_c0' @tap.stop="popupShow1684118010022=false">取消</button>
|
||||
<button class='contactUs_fd2_2_c1' @tap.stop="sureTap">立即拨打</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!---电话弹窗flex布局结束-->
|
||||
|
||||
</benben-popup>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
|
||||
|
||||
data() {
|
||||
return {
|
||||
"popupShow1684118010022": false,
|
||||
content:"",
|
||||
aboutInfo:"",
|
||||
phonenum:""
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
themeColor() {
|
||||
return this.$store.getters.themeColor
|
||||
},
|
||||
|
||||
},
|
||||
watch: {},
|
||||
onLoad(options) {
|
||||
this.post61501de16b9ff()
|
||||
},
|
||||
methods: {
|
||||
post61501de16b9ff(){
|
||||
this.$api.post(global.apiUrls.post61501de16b9ff).then(res=>{
|
||||
if(res.data.code==1){
|
||||
this.aboutInfo = res.data.data
|
||||
this.content = res.data.data.content
|
||||
}
|
||||
})
|
||||
},
|
||||
phoneTap(type,phone){
|
||||
this[type] = true;
|
||||
this.phonenum = phone
|
||||
},
|
||||
sureTap(){
|
||||
let that = this
|
||||
// uni.makePhoneCall({
|
||||
// phoneNumber:that.phonenum
|
||||
// })
|
||||
this.callMobile(this.phonenum)
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background: rgba(248, 248, 248, 1);
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.contactUs_flex_0 {
|
||||
background: #fff;
|
||||
width: 750rpx;
|
||||
height: 88rpx;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
top: 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.contactUs_fd0_0_c2 {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd0_0_c1_c0 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd0_0_c0_c0 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd0_0 {
|
||||
margin: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c2_c1_c0 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c2_c0_c1 {
|
||||
color: #444444;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
margin: 19rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c2_c0_c0 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c2 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
padding: 24rpx 24rpx 24rpx 24rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
margin: 32rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c1_c1_c0 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c1_c0_c1 {
|
||||
color: #444444;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
margin: 19rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c1_c0_c0 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c1 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
padding: 24rpx 24rpx 24rpx 24rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
margin: 32rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c0_c1_c0 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c0_c0_c1 {
|
||||
color: #444444;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
margin: 19rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c0_c0_c0 {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
line-height: 24rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c1_c0 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
padding: 24rpx 24rpx 24rpx 24rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
background-size: 100% auto !important;
|
||||
margin: 32rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1_c0_c0 {
|
||||
color: #0E0E0C;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_1 {
|
||||
padding: 40rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd1_0_c0 {
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
width: 750rpx;
|
||||
height: 300rpx;
|
||||
}
|
||||
|
||||
.contactUs_flex_2 {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx 24rpx 24rpx 24rpx;
|
||||
width: 540rpx;
|
||||
height: 269rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_2_c1 {
|
||||
background: rgba(255, 147, 0, 1);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
font-size: 28rpx;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
margin: 0rpx 0rpx 0rpx 12rpx;
|
||||
width: 234rpx;
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_2_c0 {
|
||||
background: rgba(242, 242, 242, 1);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
font-size: 28rpx;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
margin: 0rpx 12rpx 0rpx 0rpx;
|
||||
width: 234rpx;
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_1_c2 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_1_c1 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_1_c0 {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_1 {
|
||||
margin: 24rpx 0rpx 32rpx 0rpx;
|
||||
}
|
||||
|
||||
.contactUs_fd2_0 {
|
||||
line-height: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user