Commit e41d31b3 authored by 刘用法's avatar 刘用法

客服图片

parent 8d4291f5
......@@ -11,7 +11,9 @@
<u-loading slot="loading"></u-loading>
<view slot="error" style="font-size: 24rpx;">加载失败</view>
</u-image>
<u-button class="settle-button" type="primary" :open-type="openTypes[typeIndex]" show-message-card send-message-title="点击下方客服会话添加订单助手" shape="circle" @click="download" :custom-style="buttonStyle">
<u-button class="settle-button" type="primary" :open-type="openTypes[typeIndex]" show-message-card
send-message-title="点击下方客服会话添加订单助手" shape="circle" @click="download" :send-message-img="kefuzxiaoxiImage"
send-message-path="/pages/index/index" :custom-style="buttonStyle">
{{buttonText[typeIndex]}}
</u-button>
<view class="bottom-view" v-if="isMine">
......@@ -38,13 +40,15 @@
}
},
data() {
return {
};
return {};
},
computed: {
cusQrcode() {
return process.uniEnv.qn_base_url + (this.isMine ? 'erweima-rk.png' : 'dingdanzhushou.png')
},
kefuzxiaoxiImage() {
return process.uniEnv.qn_base_url + 'kefuzxiaoxi.png'
},
minekefutuImage() {
return process.uniEnv.qn_base_url + this.imageName
},
......@@ -89,7 +93,7 @@
return ['contact', 'contact', '']
},
buttonText() {
return ['追加','追加','点击下载']
return ['追加', '追加', '点击下载']
},
titleText() {
return ['添加订单助手', '添加订单助手', '客服微信']
......@@ -131,7 +135,8 @@
if (res.confirm) {
uni.openSetting({
success(res) {
console.log(res.authSetting)
console.log(res
.authSetting)
}
});
}
......@@ -177,6 +182,7 @@
padding-left: 40rpx;
padding-right: 60rpx;
margin-top: 20rpx;
&.is-mine {
display: inline;
font-size: 24rpx;
......@@ -184,11 +190,13 @@
width: 100%;
margin-top: 10rpx;
}
.title-text {
font-weight: bold;
color: #333333;
font-size: 40rpx;
margin: 0 0 30rpx 0;
&.is-mine {
font-size: 32rpx;
margin-right: 30rpx;
......@@ -255,6 +263,7 @@
}
}
}
.settle-button {
margin-bottom: 14rpx;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment