Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
7fcb0c7b
Commit
7fcb0c7b
authored
Sep 25, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui
parent
7ad5b8e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
11 deletions
+25
-11
buy.vue
src/components/buy/buy.vue
+6
-1
guidelines.vue
src/components/buy/guidelines.vue
+19
-4
index.js
src/router/index.js
+0
-6
No files found.
src/components/buy/buy.vue
View file @
7fcb0c7b
<
template
>
<
template
>
<div
class=
"group-buy"
>
<div
class=
"group-buy"
>
<guidelines></guidelines>
<div
:style=
"
{backgroundImage:`url('${lineImage}')`}" class="main-background">
<div
:style=
"
{backgroundImage:`url('${lineImage}')`}" class="main-background">
<div
class=
"title-top"
>
<div
class=
"title-top"
>
<img
:src=
"clock"
/>
<img
:src=
"clock"
/>
...
@@ -155,6 +158,7 @@ import fenqi from "../../assets/evaluate/fenqi.png";
...
@@ -155,6 +158,7 @@ import fenqi from "../../assets/evaluate/fenqi.png";
import
icon_re
from
"../../assets/evaluate/icon_re.png"
;
import
icon_re
from
"../../assets/evaluate/icon_re.png"
;
import
icon_re_acitve
from
"../../assets/evaluate/icon_re_acitve.png"
;
import
icon_re_acitve
from
"../../assets/evaluate/icon_re_acitve.png"
;
import
{
Popup
}
from
"mint-ui"
;
import
{
Popup
}
from
"mint-ui"
;
import
guidelines
from
'./guidelines'
export
default
{
export
default
{
name
:
"buy"
,
name
:
"buy"
,
...
@@ -162,7 +166,8 @@ export default {
...
@@ -162,7 +166,8 @@ export default {
addAddress
,
addAddress
,
saleDiv
,
saleDiv
,
loginPage
,
loginPage
,
[
Popup
.
name
]:
Popup
[
Popup
.
name
]:
Popup
,
guidelines
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/components/buy/guidelines.vue
View file @
7fcb0c7b
<
template
>
<
template
>
<div
class=
"guidelines"
>
<div
class=
"guidelines"
>
<
div
class=
""
@
click=
"micromessengerClick"
>
{{
this
.
micromessenger
==
0
?
'浏览器'
:
'支付宝'
}}
</div
>
<
!--
<div
class=
""
@
click=
"micromessengerClick"
>
{{
this
.
micromessenger
==
0
?
'浏览器'
:
'支付宝'
}}
</div>
--
>
<div
class=
"jiao"
>
点击右上角...
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -20,13 +20,13 @@
...
@@ -20,13 +20,13 @@
var
result
=
(
/micromessenger/
.
test
(
ua
))
?
true
:
false
;
var
result
=
(
/micromessenger/
.
test
(
ua
))
?
true
:
false
;
if
(
result
)
{
if
(
result
)
{
ui
=
0
ui
=
0
}
else
{
}
else
{
ui
=
1
ui
=
1
}
}
return
ui
;
return
ui
;
},
},
micromessengerClick
()
{
micromessengerClick
()
{
if
(
this
.
micromessenger
==
1
)
{
if
(
this
.
micromessenger
==
1
)
{
location
.
href
=
this
.
$route
.
query
.
url
location
.
href
=
this
.
$route
.
query
.
url
}
}
}
}
...
@@ -39,9 +39,24 @@
...
@@ -39,9 +39,24 @@
</
script
>
</
script
>
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
@import "../../util/public";
.guidelines {
.guidelines {
width: 100%;
height: 100%;
background: #F3F2F7;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
text-align: center;
.jiao {
padding-top: 73 * @toVw;
font-size: 17 * @toVw;
font-weight: 500;
color: #333333;
}
}
}
</
style
>
</
style
>
src/router/index.js
View file @
7fcb0c7b
...
@@ -571,12 +571,6 @@ const router = new Router({
...
@@ -571,12 +571,6 @@ const router = new Router({
name
:
'punchTheClock'
,
name
:
'punchTheClock'
,
component
:
e
=>
require
([
'@/components/punchTheClock'
],
e
)
component
:
e
=>
require
([
'@/components/punchTheClock'
],
e
)
},
},
// 支付宝
{
path
:
'/guidelines'
,
name
:
'guidelines'
,
component
:
e
=>
require
([
'@/components/buy/guidelines'
],
e
)
},
{
{
path
:
'*'
,
path
:
'*'
,
component
:
()
=>
import
(
'@/components/error'
),
component
:
()
=>
import
(
'@/components/error'
),
...
...
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