Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
c0e67e67
Commit
c0e67e67
authored
Dec 14, 2020
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值部分修改
parent
f6dea424
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
27 deletions
+51
-27
UrlPrefix.js
src/config/UrlPrefix.js
+22
-10
MainHeader.vue
src/entry/hd/views/MainHeader.vue
+2
-2
SignIn.vue
src/entry/hd/views/SignIn.vue
+2
-2
axios-plugin.ts
src/plugins/axios-plugin.ts
+3
-0
choosePackage.vue
src/views/userCenter/choosePackage.vue
+22
-13
No files found.
src/config/UrlPrefix.js
View file @
c0e67e67
...
@@ -64,15 +64,26 @@ const configModules = {
...
@@ -64,15 +64,26 @@ const configModules = {
filename
:
'index.html'
filename
:
'index.html'
}
}
},
},
// hd
// hd
"hd_test"
:
{
"hd_test"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:9007/'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:9007/'
,
INERFACE_URL_PREFIX
:
'http://172.16.101.87:46789'
,
INERFACE_URL_PREFIX
:
'http://172.16.101.87:46789'
,
INDEX
:
{
INDEX
:
{
entry
:
'./src/entry/hd/main.ts'
,
entry
:
'./src/entry/hd/main.ts'
,
template
:
'./public/hd/index.html'
,
template
:
'./public/hd/index.html'
,
filename
:
'index.html'
filename
:
'index.html'
}
}
},
},
// www.sy.honordecent.com
// hd
"hd_prod"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'https://www.cx.honordecent.com/'
,
INERFACE_URL_PREFIX
:
'https://www.sy.honordecent.com/api'
,
INDEX
:
{
entry
:
'./src/entry/hd/main.ts'
,
template
:
'./public/hd/index.html'
,
filename
:
'index.html'
}
},
}
}
exports
.
model
=
configModules
[
process
.
env
.
VUE_APP_CURRENTMODE
]
exports
.
model
=
configModules
[
process
.
env
.
VUE_APP_CURRENTMODE
]
\ No newline at end of file
src/entry/hd/views/MainHeader.vue
View file @
c0e67e67
...
@@ -57,8 +57,8 @@ export default class MainHeader extends Vue {
...
@@ -57,8 +57,8 @@ export default class MainHeader extends Vue {
// logo
// logo
.icon_logo {
.icon_logo {
margin-left: 27px;
margin-left: 27px;
margin-top:
12
px;
margin-top:
6
px;
height: 3
1
px;
height: 3
6
px;
}
}
.user_wrapper {
.user_wrapper {
...
...
src/entry/hd/views/SignIn.vue
View file @
c0e67e67
...
@@ -83,8 +83,8 @@ export default {
...
@@ -83,8 +83,8 @@ export default {
position: absolute;
position: absolute;
left: 26px;
left: 26px;
top: 14px;
top: 14px;
width:
72
px;
width:
90
px;
height: 3
0
px;
height: 3
6
px;
background: url("../images/SigIn/logo.png") no-repeat center;
background: url("../images/SigIn/logo.png") no-repeat center;
background-size: 100% 100%;
background-size: 100% 100%;
}
}
...
...
src/plugins/axios-plugin.ts
View file @
c0e67e67
...
@@ -12,6 +12,9 @@ if (key) {
...
@@ -12,6 +12,9 @@ if (key) {
}
else
if
(
key
.
indexOf
(
'best'
)
===
0
)
{
}
else
if
(
key
.
indexOf
(
'best'
)
===
0
)
{
// best
// best
router
=
require
(
'@/entry/best/router'
);
router
=
require
(
'@/entry/best/router'
);
}
else
if
(
key
.
indexOf
(
'hd'
)
===
0
)
{
// hd
router
=
require
(
'@/entry/hd/router'
);
}
}
}
}
...
...
src/views/userCenter/choosePackage.vue
View file @
c0e67e67
...
@@ -56,11 +56,11 @@
...
@@ -56,11 +56,11 @@
{{
item
.
chain_times
}}
{{
item
.
chain_times
}}
<span>
次
</span>
<span>
次
</span>
</p>
</p>
<
P
class=
"price"
>
<
p
class=
"price"
>
价格:
价格:
<span>
{{
item
.
price
}}
</span
<span>
{{
item
.
price
}}
</span
>
元人民币
>
元人民币
</
P
>
</
p
>
<p
class=
"average-price"
>
上链均价:
{{
item
.
chain_price
}}
</p>
<p
class=
"average-price"
>
上链均价:
{{
item
.
chain_price
}}
</p>
<div
class=
"buy"
>
<div
class=
"buy"
>
<div
class=
"buy-button"
@
click=
"buyNow(item)"
>
立即购买
</div>
<div
class=
"buy-button"
@
click=
"buyNow(item)"
>
立即购买
</div>
...
@@ -123,13 +123,6 @@
...
@@ -123,13 +123,6 @@
</li>
</li>
</ul>
</ul>
<div
class=
"button"
@
click=
"determinePay"
>
去支付
</div>
<div
class=
"button"
@
click=
"determinePay"
>
去支付
</div>
<!--
<div
@
click=
"WeChatPay"
>
<div
>
<img
v-if=
"payUrl"
:src=
"payUrl"
/>
<img
v-else
src=
""
/>
</div>
</div>
<div
@
click=
"PaymentOrder"
></div>
-->
</div>
</div>
<p
class=
"warm-prompt"
>
<p
class=
"warm-prompt"
>
温馨提示:所有套餐都是年费套餐,超过一年剩余的套餐将会被清零,详情请
温馨提示:所有套餐都是年费套餐,超过一年剩余的套餐将会被清零,详情请
...
@@ -153,6 +146,7 @@
...
@@ -153,6 +146,7 @@
<div
<div
class=
"bg-box--other"
class=
"bg-box--other"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
:style=
"bg"
></div>
></div>
<div>
<div>
<p>
<p>
...
@@ -172,7 +166,10 @@
...
@@ -172,7 +166,10 @@
class=
"money-box"
class=
"money-box"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
>
>
应付BEST:
<span>
{{
price
}}
</span>
个
应付
{{
this
.
PaymentList
[
this
.
activeIndex
].
coin
}}
:
<span>
{{
price
}}
</span>
个
</div>
</div>
<div
class=
"Qr-code"
>
<div
class=
"Qr-code"
>
<img
:src=
"payUrl"
/>
<img
:src=
"payUrl"
/>
...
@@ -205,7 +202,7 @@
...
@@ -205,7 +202,7 @@
class=
"download"
class=
"download"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
v-if=
"this.PaymentList[this.activeIndex].type === 2"
>
>
B
钱包下载地址:https://d.biqianbao.net
钱包下载地址:https://d.biqianbao.net
</div>
</div>
<div
<div
class=
"top-up-hints"
class=
"top-up-hints"
...
@@ -259,7 +256,17 @@ export default {
...
@@ -259,7 +256,17 @@ export default {
this
.
back
();
this
.
back
();
}
}
},
},
computed
:
{
bg
()
{
return
(
"background-image:url('"
+
this
.
PaymentList
[
this
.
activeIndex
].
s_image_url
+
"')"
);
},
},
methods
:
{
methods
:
{
//
// 倒计时
// 倒计时
reduce
()
{
reduce
()
{
this
.
timeID
=
setInterval
(()
=>
{
this
.
timeID
=
setInterval
(()
=>
{
...
@@ -286,7 +293,6 @@ export default {
...
@@ -286,7 +293,6 @@ export default {
this
.
PaymentList
[
this
.
activeIndex
].
coin
this
.
PaymentList
[
this
.
activeIndex
].
coin
);
);
this
.
steps
=
2
;
this
.
steps
=
2
;
this
.
price
=
this
.
price
/
this
.
PaymentList
[
this
.
activeIndex
].
rate
;
this
.
reduce
();
this
.
reduce
();
}
}
},
},
...
@@ -300,6 +306,7 @@ export default {
...
@@ -300,6 +306,7 @@ export default {
});
});
if
(
res
)
{
if
(
res
)
{
this
.
cycle
();
this
.
cycle
();
this
.
price
=
JSON
.
parse
(
res
.
data
.
pay_url
).
amount
/
100000000
;
if
(
res
.
data
.
pay_url
)
this
.
payUrl
=
await
payQR
(
res
.
data
.
pay_url
);
if
(
res
.
data
.
pay_url
)
this
.
payUrl
=
await
payQR
(
res
.
data
.
pay_url
);
}
}
},
},
...
@@ -573,7 +580,9 @@ export default {
...
@@ -573,7 +580,9 @@ export default {
float: left;
float: left;
margin-top: 15px;
margin-top: 15px;
margin-left: 96px;
margin-left: 96px;
background: url("../../assets/images/userCenter/other.png") no-repeat center;
// background: url("../../assets/images/userCenter/other.png") no-repeat center;
background-position: center;
background-repeat: no-repeat;
}
}
.back-button {
.back-button {
font-size: 16px;
font-size: 16px;
...
...
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