Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
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 df6cddd8
authored
Aug 09, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交代码
1 parent
14eaa707
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
43 deletions
src/assets/css/crowdfunding.scss
src/assets/css/sprite.scss
src/assets/images/sprite.png
src/assets/spritesmith/kf.png
src/assets/spritesmith/share.png
src/config/env.development.js
src/utils/audio.js
src/views/crowdfunding/index.vue
src/assets/css/crowdfunding.scss
View file @
df6cddd
...
...
@@ -25,13 +25,24 @@
.page-btn
{
position
:
fixed
;
right
:
8px
;
top
:
4
02
px
;
right
:
0
;
top
:
4
50
px
;
z-index
:
3
;
background
:
#FFFFFF
;
box-shadow
:
0px
2px
10px
0px
rgba
(
0
,
0
,
0
,
0
.0800
);
border-radius
:
28px
;
padding
:
3px
;
width
:
74px
;
box-shadow
:
0px
2px
8px
0px
rgba
(
0
,
0
,
0
,
0
.1000
);
border-radius
:
4px
0px
0px
4px
;
border
:
1px
solid
#EFEFEF
;
.page-item
{
height
:
30px
;
font-size
:
9px
;
font-weight
:
500
;
color
:
#666666
;
padding
:
0
8px
;
.sprite-icon
{
margin-right
:
2px
;
}
}
}
...
...
@@ -96,10 +107,11 @@
height
:
82px
;
border-radius
:
2px
;
position
:
relative
;
&
:last-of-type
{
.mask
{
border-right
:
16px
solid
#f7f7f7
;
.line-box
{
width
:
calc
(
100%
-
16px
);
}
...
...
@@ -114,6 +126,7 @@
left
:
0
;
z-index
:
2
;
background
:
#E9E8EC
;
img
{
object-fit
:
contain
;
}
...
...
@@ -153,7 +166,8 @@
.mask
{
border-right
:
none
!
important
;
.line-box
{
.line-box
{
width
:
100%
!
important
;
}
}
...
...
@@ -165,12 +179,14 @@
justify-content
:
space-between
;
padding
:
0
16px
;
box-sizing
:
border-box
;
.item
{
width
:
166px
;
height
:
92px
;
margin-left
:
0
;
.mask
{
.line-box
{
.mask
{
.line-box
{
width
:
100%
!
important
;
}
}
...
...
src/assets/css/sprite.scss
View file @
df6cddd
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
453px
4
1
4px
;}
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
453px
4
0
4px
;}
.icon-address
{
width
:
34px
;
height
:
34px
;
background-position
:
-408px
-202px
;}
.icon-big-play
{
width
:
40px
;
height
:
40px
;
background-position
:
-408px
-152px
;}
.icon-close
{
width
:
24px
;
height
:
24px
;
background-position
:
-
24
0px
-374px
;}
.icon-close
{
width
:
24px
;
height
:
24px
;
background-position
:
-
12
0px
-374px
;}
.icon-dj-logo
{
width
:
88px
;
height
:
88px
;
background-position
:
-310px
-152px
;}
.icon-download
{
width
:
30px
;
height
:
30px
;
background-position
:
-352px
-300px
;}
.icon-flash
{
width
:
20px
;
height
:
20px
;
background-position
:
-432px
-300px
;}
.icon-gh-logo
{
width
:
70px
;
height
:
40px
;
background-position
:
-310px
-250px
;}
.icon-hot
{
width
:
15px
;
height
:
18px
;
background-position
:
-434px
-250px
;}
.icon-kf-box
{
width
:
300px
;
height
:
350px
;
background-position
:
0px
0px
;}
.icon-kf
{
width
:
50px
;
height
:
54px
;
background-position
:
0px
-360
px
;}
.icon-kf
{
width
:
20px
;
height
:
20px
;
background-position
:
-154px
-374
px
;}
.icon-music-off
{
width
:
34px
;
height
:
34px
;
background-position
:
-390px
-250px
;}
.icon-music
{
width
:
32px
;
height
:
32px
;
background-position
:
-310px
-300px
;}
.icon-order
{
width
:
20px
;
height
:
20px
;
background-position
:
-
27
4px
-374px
;}
.icon-order
{
width
:
20px
;
height
:
20px
;
background-position
:
-
18
4px
-374px
;}
.icon-pause
{
width
:
30px
;
height
:
30px
;
background-position
:
-392px
-300px
;}
.icon-phone
{
width
:
12px
;
height
:
13px
;
background-position
:
-
36
4px
-374px
;}
.icon-play
{
width
:
30px
;
height
:
30px
;
background-position
:
-12
0px
-374px
;}
.icon-poster
{
width
:
20px
;
height
:
20px
;
background-position
:
-
30
4px
-374px
;}
.icon-phone
{
width
:
12px
;
height
:
13px
;
background-position
:
-
27
4px
-374px
;}
.icon-play
{
width
:
30px
;
height
:
30px
;
background-position
:
0px
-374px
;}
.icon-poster
{
width
:
20px
;
height
:
20px
;
background-position
:
-
21
4px
-374px
;}
.icon-qr
{
width
:
143px
;
height
:
142px
;
background-position
:
-310px
0px
;}
.icon-scan
{
width
:
30px
;
height
:
30px
;
background-position
:
-160px
-374px
;}
.icon-share
{
width
:
50px
;
height
:
54px
;
background-position
:
-60px
-360px
;}
.icon-success
{
width
:
20px
;
height
:
20px
;
background-position
:
-334px
-374px
;}
.icon-time
{
width
:
12px
;
height
:
11px
;
background-position
:
-386px
-374px
;}
.icon-title
{
width
:
170px
;
height
:
4px
;
background-position
:
-120px
-360px
;}
.icon-top
{
width
:
30px
;
height
:
30px
;
background-position
:
-200px
-374px
;}
\ No newline at end of file
.icon-scan
{
width
:
30px
;
height
:
30px
;
background-position
:
-40px
-374px
;}
.icon-success
{
width
:
20px
;
height
:
20px
;
background-position
:
-244px
-374px
;}
.icon-time
{
width
:
12px
;
height
:
11px
;
background-position
:
-296px
-374px
;}
.icon-title
{
width
:
170px
;
height
:
4px
;
background-position
:
0px
-360px
;}
.icon-top
{
width
:
30px
;
height
:
30px
;
background-position
:
-80px
-374px
;}
\ No newline at end of file
src/assets/images/sprite.png
View file @
df6cddd
127 KB
|
W:
|
H:
115 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/spritesmith/kf.png
View file @
df6cddd
8.41 KB
|
W:
|
H:
2.01 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/spritesmith/share.png
deleted
100644 → 0
View file @
14eaa70
5.89 KB
src/config/env.development.js
View file @
df6cddd
...
...
@@ -10,7 +10,7 @@
module
.
exports
=
{
title
:
'加载中...'
,
request
:
{
baseURL
:
'http://scrm.
dev
.glsx.com.cn'
,
// 本地测试项目地址,
baseURL
:
'http://scrm.
test
.glsx.com.cn'
,
// 本地测试项目地址,
// 设置超时时间
timeout
:
180000
,
// 携带凭证
...
...
src/utils/audio.js
View file @
df6cddd
...
...
@@ -6,16 +6,14 @@ export function Audio (url, callBack) {
this
.
buffer
=
null
this
.
isPlayingBGM
=
false
if
(
this
.
IsIOS
)
{
let
body
=
document
.
getElementsByTagName
(
'body'
)[
0
]
this
.
audioContext
=
document
.
createElement
(
'audio'
)
this
.
audioContext
.
onloadeddata
=
()
=>
{
console
.
log
(
'onloadeddata_______IOS播放——————————————'
)
this
.
audioContext
.
play
()
}
let
_this
=
this
this
.
audioContext
.
addEventListener
(
'canplay'
,
function
()
{
console
.
log
(
'durationchange_______IOS播放——————————————'
)
_this
.
audioContext
.
play
()
})
this
.
audioContext
.
src
=
url
this
.
audioContext
.
loop
=
true
body
.
appendChild
(
this
.
audioContext
)
// console.log('IOS播放——————————————', this.audioContext)
}
this
.
toggleBGM
=
function
(
off
)
{
if
(
typeof
this
.
sourceNode
==
'object'
&&
!
this
.
IsIOS
)
{
...
...
src/views/crowdfunding/index.vue
View file @
df6cddd
...
...
@@ -12,19 +12,29 @@
|| detail.customerServiceQrImg
|| detail.customerServerUrl"
>
<div
class=
"page-btn"
>
<div
class=
"sprite-icon icon-kf"
@
click=
"clickKF"
@
touchstart=
"touchstart"
@
touchend=
"touchend"
></div>
<!--
<div
class=
"sprite-icon icon-share"
@
touchstart=
"touchstart"
@
touchend=
"touchend"
@
click=
"share"
></div>
-->
<template
v-if=
"detail.customerServiceName
|| detail.customerServicePhone
|| detail.customerServiceQrImg
|| detail.customerServerUrl"
>
<div
class=
"page-item flex"
>
<div
class=
"sprite-icon icon-kf"
@
click=
"clickKF"
@
touchstart=
"touchstart"
@
touchend=
"touchend"
></div>
在线客服
</div>
</
template
>
<!-- <div class="page-item flex">
<div
class="sprite-icon icon-kf"
@click="clickKF"
@touchstart="touchstart"
@touchend="touchend"
></div>
我的订单
</div> -->
</div>
</template>
<div
class=
"big-img"
>
...
...
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