Commit e1521398 authored by beisir's avatar beisir

feat:测试线上webapp

parent 3c6c5160
......@@ -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: {
......
......@@ -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 {
......
......@@ -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;
......
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