Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
wanda-ball
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0547cc53
authored
Jun 04, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片更换弹层替换
parent
10641e60
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
74 additions
and
2 deletions
+74
-2
src/components/Fuceng.vue
+1
-1
src/components/Fuceng2.vue
+69
-0
src/modules/js/api.js
+1
-1
src/pages/index/Shouye.vue
+3
-0
src/pages/index/assets/images/Fuceng.png
+0
-0
src/pages/index/assets/images/banner.png
+0
-0
static/share.png
+0
-0
No files found.
src/components/Fuceng.vue
View file @
0547cc53
...
...
@@ -37,7 +37,7 @@ export default {
bottom
:
0
;
width
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0.7
);
z-index
:
10000
00
;
z-index
:
10000
;
.fucengBox
{
width
:
100%
;
...
...
src/components/Fuceng2.vue
0 → 100644
View file @
0547cc53
<
template
>
<div
class=
"fuceng"
v-if=
"isShow"
>
<div
class=
"fucengBox2"
>
<div
class=
"close"
@
click=
"closeFuceng"
></div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
isShow
:
true
}
},
created
()
{
if
(
localStorage
.
getItem
(
'fucengBox2'
))
{
this
.
isShow
=
false
}
},
mounted
()
{
var
modal
=
document
.
getElementsByClassName
(
'fucengBox2'
)[
0
];
modal
.
addEventListener
(
'touchmove'
,
function
(
e
)
{
e
.
preventDefault
();
},
false
)
},
methods
:
{
closeFuceng
()
{
// console.log(123123);
localStorage
.
setItem
(
'fucengBox2'
,
1
)
this
.
isShow
=
false
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.fuceng
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.7
);
z-index
:
1000
;
.fucengBox2
{
width
:
9rem
;
height
:
12.5rem
;
background
:
url("~@/pages/index/assets/images/Fuceng.png")
no-repeat
center
;
background-size
:
contain
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
.close
{
width
:
1.5rem
;
height
:
1.5rem
;
position
:
absolute
;
bottom
:
30px
;
left
:
50%
;
transform
:
translate
(
-50%
,
0
);
}
}
}
</
style
>
src/modules/js/api.js
View file @
0547cc53
...
...
@@ -33,7 +33,7 @@ var wrapHref = weburl + h5Url + '/index.html';
var
indexHref
=
weburl
+
h5Url
+
'/index.html'
;
// 个人中心地址
var
userCenterHref
=
weburl
+
h5Url
+
'/user.html'
;
var
shareImg
=
weburl
+
h5Url
+
'/static/share.
jp
g'
;
var
shareImg
=
weburl
+
h5Url
+
'/static/share.
pn
g'
;
var
signHref
=
'http://mr-static.maxrocky.com/h5/wanda/dzgp/index.html'
export
default
{
server
,
...
...
src/pages/index/Shouye.vue
View file @
0547cc53
...
...
@@ -122,6 +122,7 @@
<a
v-show=
"tabActive !== 3"
:href=
"userCenter"
class=
"user"
></a>
<mt-actionsheet
:actions=
"wangqiTitle"
v-model=
"wangqiList"
></mt-actionsheet>
<Fuceng
v-if=
"fucengButton=== 'close'?false:true"
></Fuceng>
<Fuceng2
></Fuceng2>
</div>
</
template
>
...
...
@@ -129,6 +130,7 @@
import
Cardcommon
from
'../../components/Cardcommon'
;
import
CardPrize
from
'../../components/CardPrize'
;
import
Fuceng
from
'../../components/Fuceng'
;
import
Fuceng2
from
'../../components/Fuceng2'
;
import
axios
from
'axios'
;
import
{
clearTimeout
,
clearInterval
,
clearImmediate
}
from
'timers'
;
import
{
MessageBox
,
Toast
}
from
'mint-ui'
;
...
...
@@ -844,6 +846,7 @@ export default {
PrizeBox
,
TypeBox
,
Fuceng
,
Fuceng2
,
ruwei
,
Swipe
,
SwipeItem
...
...
src/pages/index/assets/images/Fuceng.png
View file @
0547cc53
77.3 KB
|
W:
|
H:
191 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/pages/index/assets/images/banner.png
View file @
0547cc53
127 KB
|
W:
|
H:
251 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/share.png
0 → 100644
View file @
0547cc53
36.7 KB
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