Commit e1521398 authored by beisir's avatar beisir

feat:测试线上webapp

parent 3c6c5160
...@@ -61,9 +61,9 @@ export default { ...@@ -61,9 +61,9 @@ export default {
pointer: this pointer: this
}); });
store.dispatch('change_is_weixin_browser', !isApp && !isWxMp && isWechat ? true : false); store.dispatch('change_is_weixin_browser', !isApp && !isWxMp && isWechat ? true : false);
this.$nextTick(() => { // this.$nextTick(() => {
document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e)); // document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e));
}); // });
} }
}, },
methods: { methods: {
......
...@@ -8,8 +8,8 @@ const TERMINAL = 'H5'; ...@@ -8,8 +8,8 @@ const TERMINAL = 'H5';
const VERSION = '7.9.00'; const VERSION = '7.9.00';
const kdspHost = 'https://kdsp-api.q-gp.com'; const kdspHost = 'https://kdsp-api.q-gp.com';
const opapiHost = `${protocol}//opapi.xyqb.com`; const opapiHost = `${protocol}//opapi.xyqb.com`;
// const localHost = 'https://mall.q-gp.com'; // 正式环境页面地址 const localHost = 'https://mall.q-gp.com'; // 正式环境页面地址
const localHost = 'https://group-buy-test1.liangkebang.net'; // 正式环境页面地址 // const localHost = 'https://group-buy-test1.liangkebang.net'; // 正式环境页面地址
const shenceUrl = protocol + '//bn.xyqb.com/sa?project=production'; const shenceUrl = protocol + '//bn.xyqb.com/sa?project=production';
const openLink = 'https://mall.q-gp.com'; const openLink = 'https://mall.q-gp.com';
export default { export default {
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
<cr-progress <cr-progress
class="group-item-progress" class="group-item-progress"
stroke-width="5" stroke-width="5"
color="#F7F8F9" color="#EC1500"
track-color="#EC1500" track-color="#F7F8F9"
:show-pivot="false" :show-pivot="false"
:percentage="handleProgressByStatus(goodsItem)" :percentage="handleProgressByStatus(goodsItem)"
/> />
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
let percentage = 0; let percentage = 0;
// saleCount / activitySkuTotalCount // saleCount / activitySkuTotalCount
const { saleCount, activitySkuTotalCount } = item; const { saleCount, activitySkuTotalCount } = item;
percentage = (saleCount / activitySkuTotalCount) * 100; percentage = ((activitySkuTotalCount - saleCount) / activitySkuTotalCount) * 100;
percentage = percentage < 0 ? 0 : percentage; percentage = percentage < 0 ? 0 : percentage;
percentage = this.btnByStatus.d ? 0 : percentage; percentage = this.btnByStatus.d ? 0 : percentage;
return Math.round(percentage * 100) / 100; return Math.round(percentage * 100) / 100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment