Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
e41d31b3
Commit
e41d31b3
authored
May 25, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客服图片
parent
8d4291f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
86 deletions
+95
-86
customer.vue
src/components/mine/customer.vue
+95
-86
No files found.
src/components/mine/customer.vue
View file @
e41d31b3
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment