Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
e1521398
Commit
e1521398
authored
Oct 01, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:测试线上webapp
parent
3c6c5160
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
App.vue
src/App.vue
+3
-3
prod.config.js
src/config/prod.config.js
+2
-2
goodsCard.vue
src/views/goodsList/components/goodsCard.vue
+3
-3
No files found.
src/App.vue
View file @
e1521398
...
...
@@ -61,9 +61,9 @@ export default {
pointer
:
this
});
store
.
dispatch
(
'
change_is_weixin_browser
'
,
!
isApp
&&
!
isWxMp
&&
isWechat
?
true
:
false
);
this
.
$nextTick
(()
=>
{
document
.
querySelectorAll
(
'
.cr-overlay
'
).
forEach
(
e
=>
e
.
parentNode
.
removeChild
(
e
));
});
//
this.$nextTick(() => {
//
document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e));
//
});
}
},
methods
:
{
...
...
src/config/prod.config.js
View file @
e1521398
...
...
@@ -8,8 +8,8 @@ const TERMINAL = 'H5';
const
VERSION
=
'
7.9.00
'
;
const
kdspHost
=
'
https://kdsp-api.q-gp.com
'
;
const
opapiHost
=
`
${
protocol
}
//opapi.xyqb.com`
;
//
const localHost = 'https://mall.q-gp.com'; // 正式环境页面地址
const
localHost
=
'
https://group-buy-test1.liangkebang.net
'
;
// 正式环境页面地址
const
localHost
=
'
https://mall.q-gp.com
'
;
// 正式环境页面地址
//
const localHost = 'https://group-buy-test1.liangkebang.net'; // 正式环境页面地址
const
shenceUrl
=
protocol
+
'
//bn.xyqb.com/sa?project=production
'
;
const
openLink
=
'
https://mall.q-gp.com
'
;
export
default
{
...
...
src/views/goodsList/components/goodsCard.vue
View file @
e1521398
...
...
@@ -10,8 +10,8 @@
<cr-progress
class=
"group-item-progress"
stroke-width=
"5"
color=
"#
F7F8F9
"
track-color=
"#
EC1500
"
color=
"#
EC1500
"
track-color=
"#
F7F8F9
"
:show-pivot=
"false"
:percentage=
"handleProgressByStatus(goodsItem)"
/>
...
...
@@ -82,7 +82,7 @@ export default {
let
percentage
=
0
;
// saleCount / activitySkuTotalCount
const
{
saleCount
,
activitySkuTotalCount
}
=
item
;
percentage
=
(
saleCount
/
activitySkuTotalCount
)
*
100
;
percentage
=
(
(
activitySkuTotalCount
-
saleCount
)
/
activitySkuTotalCount
)
*
100
;
percentage
=
percentage
<
0
?
0
:
percentage
;
percentage
=
this
.
btnByStatus
.
d
?
0
:
percentage
;
return
Math
.
round
(
percentage
*
100
)
/
100
;
...
...
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