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
99d091df
Commit
99d091df
authored
May 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客服按钮-支持路径
parent
45e34d10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
16 deletions
+27
-16
customer.vue
src/components/mine/customer.vue
+27
-16
No files found.
src/components/mine/customer.vue
View file @
99d091df
...
...
@@ -11,11 +11,11 @@
<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
<
button
:class=
"['settle-button',
{'is-mine': isMine}]
" 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>
</button>
<view
class=
"bottom-view"
v-if=
"isMine"
>
<view
class=
"line-view"
></view>
<view
class=
"phone-view"
>
...
...
@@ -67,19 +67,6 @@
phoneIcon
()
{
return
process
.
uniEnv
.
qn_base_url
+
'dianhua.png'
},
buttonStyle
()
{
return
this
.
isMine
?
{
'width'
:
"300rpx"
,
'height'
:
"80rpx"
,
"font-size"
:
"32rpx"
,
"font-weight"
:
"bold"
,
}
:
{
'width'
:
"400rpx"
,
'height'
:
"100rpx"
,
"font-size"
:
"32rpx"
,
"font-weight"
:
"bold"
,
};
},
types
()
{
return
[
'exclusive'
,
'pop'
,
'mine'
]
},
...
...
@@ -265,7 +252,31 @@
}
.settle-button
{
margin-bottom
:
14rpx
;
margin-bottom
:
14rpx
;
width
:
400rpx
;
height
:
104rpx
;
font-size
:
32rpx
;
background-color
:
#2272FF
;
border-radius
:
52rpx
;
line-height
:
104rpx
;
font-weight
:
bold
;
&
.is-mine
{
width
:
300rpx
;
height
:
80rpx
;
border-radius
:
40rpx
;
line-height
:
80rpx
;
}
// return this.isMine ? {
// 'width': "300rpx",
// 'height': "80rpx",
// "font-size": "32rpx",
// "font-weight": "bold",
// } : {
// 'width': "400rpx",
// 'height': "100rpx",
// "font-size": "32rpx",
// "font-weight": "bold",
// };
}
.pop-tip-view
{
...
...
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