Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a0dbe19a
authored
Aug 14, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设备编号
1 parent
f5fcaffa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
58 deletions
assets/css/sprite.scss
assets/images/sprite.png
assets/spritesmith/clone.png
components/HomeFrame/components/SettingBox.vue
mixin/click.js
assets/css/sprite.scss
View file @
a0dbe19
...
...
@@ -6,6 +6,7 @@
.icon-back
{
width
:
128rpx
;
height
:
50rpx
;
background-position
:
-111rpx
-853rpx
;}
.icon-bao
{
width
:
196rpx
;
height
:
220rpx
;
background-position
:
-830rpx
-382rpx
;}
.icon-change-account
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1212rpx
-617rpx
;}
.icon-clone
{
width
:
24rpx
;
height
:
24rpx
;
background-position
:
-781rpx
-415rpx
;}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-415rpx
0rpx
;}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1041rpx
-557rpx
;}
...
...
assets/images/sprite.png
View file @
a0dbe19
1.09 MB
|
W:
|
H:
1.09 MB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/spritesmith/clone.png
0 → 100644
View file @
a0dbe19
1.09 KB
components/HomeFrame/components/SettingBox.vue
View file @
a0dbe19
<
template
>
<uni-popup
ref=
"popup"
border-radius=
"20px"
>
<uni-popup
ref=
"popup"
border-radius=
"20px"
>
<view
class=
"setting-box"
>
<view
class=
"close flex"
@
click=
"close"
>
<uni-icons
type=
"closeempty"
:size=
"18"
color=
"#1A1A1A"
></uni-icons>
<view
class=
"close flex"
@
click=
"close"
>
<uni-icons
type=
"closeempty"
:size=
"18"
color=
"#1A1A1A"
></uni-icons>
</view>
<view
class=
"app-info flex"
>
<view
class=
"sprite-icon icon-logo"
></view>
展业助手
<view
class=
"version"
>
版本号:V
{{
version
}}
</view>
<view
class=
"version"
>
版本号:V
{{
version
}}
</view>
<view
class=
"check-box"
>
检查更新
</view>
</view>
<view
class=
"btn-box"
>
<view
class=
"btn flex"
@
click=
"changeAccount"
>
切换账号
</view>
<view
class=
"btn flex logout"
@
click=
"logout"
>
退出
</view>
<view
class=
"btn flex"
@
click=
"changeAccount"
>
切换账号
</view>
<view
class=
"btn flex logout"
@
click=
"logout"
>
退出
</view>
</view>
<view
class=
"a"
@
click=
"jump('agreement')"
>
《用户隐私协议》
</view>
<view
class=
"icp flex"
@
click=
"jump('icp')"
>
<view
class=
"a"
@
click=
"jump('agreement')"
>
《用户隐私协议》
</view>
<view
class=
"icp flex"
@
click=
"jump('icp')"
>
ICP备案号:苏ICP备18023686号-2A
<view
class=
"sprite-icon icon-arrow-right"
></view>
</view>
<view
class=
"app-code flex"
>
APP编码:
{{
deviceId
}}
<view
class=
"sprite-icon icon-clone"
@
click=
"copyText"
></view>
</view>
</view>
</uni-popup>
</
template
>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
'SettingBox'
,
data
()
{
return
{
version
:
''
,
deviceId
:
''
}
},
mounted
()
{
this
.
version
=
plus
?.
runtime
?.
version
||
'1.0.0'
const
{
deviceId
}
=
uni
.
getDeviceInfo
()
this
.
deviceId
=
deviceId
},
methods
:
{
copyText
()
{
uni
.
setClipboardData
({
data
:
this
.
deviceId
,
success
:
function
()
{
uni
.
showToast
({
title
:
'复制成功'
,
icon
:
'success'
});
}
});
},
open
()
{
this
.
$refs
.
popup
.
open
(
"center"
);
},
...
...
@@ -122,7 +114,7 @@ export default {
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.setting-box
{
position
:
relative
;
width
:
720
rpx
;
...
...
@@ -156,6 +148,17 @@ export default {
font-size
:
24
rpx
;
color
:
#999999
;
}
.check-box
{
width
:
120
rpx
;
padding
:
10
rpx
0
rpx
4
rpx
;
background
:
#f2f2f2
;
border-radius
:
6
rpx
;
font-size
:
22
rpx
;
color
:
#999999
;
text-align
:
center
;
margin-top
:
16
rpx
;
box-sizing
:
border-box
;
}
}
.btn-box
{
margin-top
:
120
rpx
;
...
...
@@ -185,5 +188,14 @@ export default {
font-size
:
24
rpx
;
color
:
#999999
;
}
.app-code
{
font-size
:
24
rpx
;
color
:
#999999
;
line-height
:
40
rpx
;
.icon-clone
{
width
:
24
rpx
;
height
:
24
rpx
;
}
}
}
</
style
>
\ No newline at end of file
</
style
>
mixin/click.js
View file @
a0dbe19
...
...
@@ -80,7 +80,7 @@ export default {
this
.
setAudioInfo
({
endReasonType
:
1
})
},
getParams
()
{
const
{
shopMerchantId
,
phone
,
sceneType
,
uuid
,
name
,
merchantId
,
channelType
}
=
uni
.
$storage
.
get
(
'userInfo'
),
const
{
shopMerchantId
,
phone
,
sceneType
,
uuid
,
name
,
merchantId
,
channelType
,
merchantName
}
=
uni
.
$storage
.
get
(
'userInfo'
),
{
customerName
,
phoneNumber
,
salesUuid
,
carModel
,
staffName
}
=
this
.
$store
.
state
.
user
.
customerInfo
,
receptionCustomerPaySourceList
=
this
.
booksList
.
map
(
item
=>
{
return
{
...
...
@@ -90,25 +90,28 @@ export default {
}
}),
{
receptionStartTime
,
receptionEndTime
,
endReasonType
}
=
this
.
audioInfo
,
params
=
{
staffUuid
:
uuid
,
staffName
:
name
,
serviceMerchantId
:
merchantId
,
carModel
,
endReasonType
,
//原因 1.异常 0.正常
customerName
,
phoneNumber
,
loginPhone
:
phone
,
salesName
:
staffName
,
salesUuid
,
receptionStatus
:
this
.
receptionStatus
,
//接待结果 1.成交 0.战败
receptionStartTime
,
receptionEndTime
,
receptionCustomerPaySourceList
,
//1.付款凭证文件路径 2.客户购车发票文件路径 3.客户延保合同文件路径
merchantId
:
shopMerchantId
,
bussinessType
:
sceneType
==
0
?
1
:
2
,
// sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
channelType
:
channelType
||
1
//1问界 2 比亚迪 3 其他
}
{
deviceId
:
appCode
}
=
uni
.
getDeviceInfo
()
params
=
{
staffUuid
:
uuid
,
staffName
:
name
,
serviceMerchantId
:
merchantId
,
carModel
,
endReasonType
,
//原因 1.异常 0.正常
customerName
,
phoneNumber
,
appCode
,
loginPhone
:
phone
,
salesName
:
staffName
,
salesUuid
,
receptionStatus
:
this
.
receptionStatus
,
//接待结果 1.成交 0.战败
receptionStartTime
,
receptionEndTime
,
receptionCustomerPaySourceList
,
//1.付款凭证文件路径 2.客户购车发票文件路径 3.客户延保合同文件路径
merchantId
:
shopMerchantId
,
merchantName
,
bussinessType
:
sceneType
==
0
?
1
:
2
,
// sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
channelType
:
channelType
||
1
//1问界 2 比亚迪 3 其他
}
return
params
},
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment