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

客服图片

parent 8d4291f5
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
<u-loading slot="loading"></u-loading> <u-loading slot="loading"></u-loading>
<view slot="error" style="font-size: 24rpx;">加载失败</view> <view slot="error" style="font-size: 24rpx;">加载失败</view>
</u-image> </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]}} {{buttonText[typeIndex]}}
</u-button> </u-button>
<view class="bottom-view" v-if="isMine"> <view class="bottom-view" v-if="isMine">
...@@ -38,13 +40,15 @@ ...@@ -38,13 +40,15 @@
} }
}, },
data() { data() {
return { return {};
};
}, },
computed: { computed: {
cusQrcode() { cusQrcode() {
return process.uniEnv.qn_base_url + (this.isMine ? 'erweima-rk.png' : 'dingdanzhushou.png') return process.uniEnv.qn_base_url + (this.isMine ? 'erweima-rk.png' : 'dingdanzhushou.png')
}, },
kefuzxiaoxiImage() {
return process.uniEnv.qn_base_url + 'kefuzxiaoxi.png'
},
minekefutuImage() { minekefutuImage() {
return process.uniEnv.qn_base_url + this.imageName return process.uniEnv.qn_base_url + this.imageName
}, },
...@@ -89,7 +93,7 @@ ...@@ -89,7 +93,7 @@
return ['contact', 'contact', ''] return ['contact', 'contact', '']
}, },
buttonText() { buttonText() {
return ['追加','追加','点击下载'] return ['追加', '追加', '点击下载']
}, },
titleText() { titleText() {
return ['添加订单助手', '添加订单助手', '客服微信'] return ['添加订单助手', '添加订单助手', '客服微信']
...@@ -131,7 +135,8 @@ ...@@ -131,7 +135,8 @@
if (res.confirm) { if (res.confirm) {
uni.openSetting({ uni.openSetting({
success(res) { success(res) {
console.log(res.authSetting) console.log(res
.authSetting)
} }
}); });
} }
...@@ -177,6 +182,7 @@ ...@@ -177,6 +182,7 @@
padding-left: 40rpx; padding-left: 40rpx;
padding-right: 60rpx; padding-right: 60rpx;
margin-top: 20rpx; margin-top: 20rpx;
&.is-mine { &.is-mine {
display: inline; display: inline;
font-size: 24rpx; font-size: 24rpx;
...@@ -184,11 +190,13 @@ ...@@ -184,11 +190,13 @@
width: 100%; width: 100%;
margin-top: 10rpx; margin-top: 10rpx;
} }
.title-text { .title-text {
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
font-size: 40rpx; font-size: 40rpx;
margin: 0 0 30rpx 0; margin: 0 0 30rpx 0;
&.is-mine { &.is-mine {
font-size: 32rpx; font-size: 32rpx;
margin-right: 30rpx; margin-right: 30rpx;
...@@ -255,6 +263,7 @@ ...@@ -255,6 +263,7 @@
} }
} }
} }
.settle-button { .settle-button {
margin-bottom: 14rpx; 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