Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1141670c
authored
Dec 23, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' into v1.1.0
2 parents
23c707ca
3c0dcc3d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
122 additions
and
18 deletions
package-lock.json
package.json
src/components/qr-code/index.vue
src/views/afterSales/introduct.vue
src/views/inSale/myFashionableOrder.vue
src/views/inSale/notOpenCon.vue
package-lock.json
0 → 100644
View file @
1141670
This diff could not be displayed because it is too large.
package.json
View file @
1141670
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
5
"
,
"glsx-components"
:
"^1.2.
7
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/components/qr-code/index.vue
View file @
1141670
<
template
>
<
template
>
<div
class=
"qr-code-components"
>
<div
class=
"qr-code-components"
>
<div
:style=
"[
{
bottom:bottom+'px'}]
" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<div
:style=
"[
{
bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter
" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<img
src=
"../../assets/contact_icon.png"
/>
<img
src=
"../../assets/contact_icon.png"
/>
<div
class=
"contact_text"
>
联系我们
</div>
<div
class=
"contact_text"
>
联系我们
</div>
</div>
<div
v-if=
"show"
class=
"left_code flex_ccc"
>
<div
:style=
"[
{bottom:bottom+'px'}]" v-if="show" class="left_code flex_ccc">
<img
:src=
"codeUrl"
/>
<img
:src=
"codeUrl"
/>
<div
style=
"height: 16px"
></div>
<div
style=
"height: 16px"
></div>
<span
class=
"h18_title"
>
服务热线
</span>
<span
class=
"h18_title"
>
服务热线
</span>
<span
class=
"h18_title"
>
{{
phone
}}
</span>
<span
class=
"h18_title"
>
{{
phone
}}
</span>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -21,13 +21,13 @@ export default {
...
@@ -21,13 +21,13 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
64
default
:
64
},
},
codeUrl
:{
codeUrl
:
{
type
:
String
,
type
:
String
,
default
:
'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
default
:
'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
},
},
phone
:{
phone
:
{
type
:
String
,
type
:
String
,
default
:
'189 0000 1234'
default
:
'189 0000 1234'
}
}
},
},
data
()
{
data
()
{
...
@@ -35,15 +35,57 @@ export default {
...
@@ -35,15 +35,57 @@ export default {
show
:
false
show
:
false
}
}
},
},
methods
:
{}
methods
:
{
// 拖动窗口,鼠标按下
move
(
event
)
{
// 给对应div添加拖拽属性
let
callCenter
=
this
.
$refs
.
callCenter
callCenter
.
style
.
cursor
=
'move'
var
distanceX
=
event
.
clientX
-
callCenter
.
offsetLeft
var
distanceY
=
event
.
clientY
-
callCenter
.
offsetTop
// 获取按下时对应的坐标
this
.
startX
=
event
.
pageX
this
.
startY
=
event
.
pageY
document
.
onmousemove
=
function
(
ev
)
{
var
oevent
=
ev
||
event
// 加入判断,让浮窗在限定的页面内可拖动
if
(
ev
.
clientX
<
40
||
ev
.
clientX
>
document
.
body
.
clientWidth
-
30
)
{
return
}
if
(
ev
.
clientY
<
40
||
ev
.
clientY
>
document
.
body
.
clientHeight
-
30
)
{
return
}
callCenter
.
style
.
left
=
oevent
.
clientX
-
distanceX
+
'px'
callCenter
.
style
.
top
=
oevent
.
clientY
-
distanceY
+
'px'
}
document
.
onmouseup
=
function
()
{
document
.
onmousemove
=
null
document
.
onmouseup
=
null
callCenter
.
style
.
cursor
=
'default'
}
},
// 鼠标抬起触发
moveEnd
(
event
)
{
// 获取鼠标抬起时的坐标
this
.
endX
=
event
.
pageX
this
.
endY
=
event
.
pageY
// 计算按下与抬起位置差值
var
d
=
Math
.
sqrt
((
this
.
startX
-
this
.
endX
)
*
(
this
.
startX
-
this
.
endX
)
+
(
this
.
startY
-
this
.
endY
)
*
(
this
.
startY
-
this
.
endY
))
if
(
d
===
0
||
d
<
7
)
{
// console.log('执行了点击事件')
}
else
{
// console.log('执行了拖拽事件')
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.qr-code-components
{
.qr-code-components
{
.left_code
{
.left_code
{
position
:
fixed
;
position
:
absolute
;
right
:
7
7px
;
right
:
5
7px
;
bottom
:
64
px
;
bottom
:
0
px
;
width
:
144px
;
width
:
144px
;
height
:
201px
;
height
:
201px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
src/views/afterSales/introduct.vue
View file @
1141670
...
@@ -182,7 +182,7 @@ export default {
...
@@ -182,7 +182,7 @@ export default {
tip
:
'秒杀、抽奖、满减等'
tip
:
'秒杀、抽奖、满减等'
},
},
{
{
title
:
'直播间
直播
'
,
title
:
'直播间
准备
'
,
tip
:
'地点、灯光、布景等'
tip
:
'地点、灯光、布景等'
}
}
],
],
...
...
src/views/inSale/myFashionableOrder.vue
View file @
1141670
...
@@ -109,7 +109,6 @@
...
@@ -109,7 +109,6 @@
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
mydivision
,
exportMydivision
,
myAccountTotalNumOfJT
}
from
'../../api/modules/rules'
import
{
mydivision
,
exportMydivision
,
myAccountTotalNumOfJT
}
from
'../../api/modules/rules'
import
{
converterApi
}
from
'../../api/modules/converter'
import
{
converterApi
}
from
'../../api/modules/converter'
...
...
src/views/inSale/notOpenCon.vue
View file @
1141670
...
@@ -79,8 +79,23 @@
...
@@ -79,8 +79,23 @@
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<div
class=
"step_wrap"
>
<span
class=
"nodata_tip_3"
>
精品合作升级流程
</span>
<div
class=
"step flex_scb"
>
<div
class=
"stepIcon flex_cc"
>
1
</div>
<div
class=
"stepLine"
></div>
<div
class=
"stepIcon flex_cc"
>
2
</div>
<div
class=
"stepLine"
></div>
<div
class=
"stepIcon flex_cc"
>
3
</div>
</div>
<div
class=
"step_content flex_scb"
>
<span
class=
"h13_title"
>
联系嘀加精品业务经理,开通此业务
</span>
<span
class=
"h13_title"
>
确定合作细则,销售专员转发精品礼券
</span>
<span
class=
"h13_title"
>
车主完成精品升级,您获得分账收益
</span>
</div>
</div>
<el-dialog
:visible
.
sync=
"videoShow"
width=
"50%"
:before-close=
"handleClose"
>
<el-dialog
:visible
.
sync=
"videoShow"
width=
"50%"
:before-close=
"handleClose"
>
<div
slot=
"title"
style=
"height:18px"
></div>
<div
slot=
"title"
style=
"height:
18px"
></div>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/upgrade.mp4"
></video>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/upgrade.mp4"
></video>
</el-dialog>
</el-dialog>
<qrCode
phone=
"138 2651 0577"
:codeUrl=
"code"
></qrCode>
<qrCode
phone=
"138 2651 0577"
:codeUrl=
"code"
></qrCode>
...
@@ -335,4 +350,52 @@ export default {
...
@@ -335,4 +350,52 @@ export default {
margin-top
:
25px
;
margin-top
:
25px
;
}
}
}
}
.step_wrap
{
width
:
100%
;
padding
:
20px
;
background
:
#ffffff
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
10px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
.nodata_tip_3
{
width
:
100%
;
height
:
25px
;
font-size
:
18px
;
font-weight
:
600
;
color
:
#000000
;
line-height
:
25px
;
margin-bottom
:
40px
;
text-align
:
left
;
}
.step
,
.step_content
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
0
50px
;
}
.step
{
padding
:
0
146px
;
}
.step_content
{
margin-top
:
22px
;
}
.stepLine
{
width
:
40%
;
height
:
1px
;
background
:
#5850ff
;
}
.stepIcon
{
width
:
32px
;
height
:
32px
;
background
:
#5850ff
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#ffffff
;
border-radius
:
50%
;
}
}
</
style
>
</
style
>
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