Browse Source

秒杀文本提示弹窗

home_hotList
ld0104 2 years ago
parent
commit
a3686c8389
  1. 8
      config/index.js
  2. 8
      pages/activity/activity/index.vue
  3. 6
      pages/shop/Evaluations/EvaluationDetail/index.vue

8
config/index.js

@ -1,8 +1,8 @@
// export const VUE_APP_API_URL = 'http://192.168.10.129:48080/bxgApp' // export const VUE_APP_API_URL = 'http://192.168.10.129:48080/bxgApp'
// export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp' export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp'
export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp' // export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp'
// export const VUE_APP_API_URL = 'https://xiaohui.shop.cyjyyjy.com/xiaohuiapp' // export const VUE_APP_API_URL = 'https://xiaohui.shop.cyjyyjy.com/xiaohuiapp'
export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static' export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static'
export const BXG_TENANT_ID = 129 // export const BXG_TENANT_ID = 129
// export const BXG_TENANT_ID = 138 export const BXG_TENANT_ID = 138
// export const BXG_TENANT_ID = 128 // export const BXG_TENANT_ID = 128

8
pages/activity/activity/index.vue

@ -89,7 +89,7 @@
<!-- 提示弹窗 --> <!-- 提示弹窗 -->
<view class="mask" @touchmove.stop.prevent :hidden="active === false && isShowRule === false" @click="close"> <view class="mask" @touchmove.stop.prevent :hidden="active === false && isShowRule === false" @click="close">
<view class="bargainTip" style="padding-bottom: 0;" :class="isShowRule === true ? 'on' : ''"> <view class="bargainTip" style="padding-bottom: 0;" :class="isShowRule === true ? 'on' : ''">
<view class="rule-content">111111111111111111</view> <view class="rule-content" v-html="timeList.rule"></view>
</view> </view>
</view> </view>
</view> </view>
@ -146,8 +146,7 @@
onLoad() { onLoad() {
getBanner(3).then( getBanner(3).then(
res => { res => {
console.log(res,777777777777777777); this.$set(this,'banner',res.data.banner)
// this.$set(this,'banner',res.data.banner)
}) })
}, },
methods: { methods: {
@ -224,6 +223,9 @@
}); });
getSeckillConfig().then(res => { getSeckillConfig().then(res => {
this.timeList = res.data.seckillTime; this.timeList = res.data.seckillTime;
this.timeList.forEach(res=>{
res.rule=res.rule.replace(/\<img/gi, '<img style="max-width:100%;height:auto;"')
})
this.seckillTimeIndex = res.data.seckillTimeIndex; this.seckillTimeIndex = res.data.seckillTimeIndex;
this.seckillActive = res.data.seckillTimeIndex; this.seckillActive = res.data.seckillTimeIndex;
this.datatime = this.timeList[this.seckillActive].stop; this.datatime = this.timeList[this.seckillActive].stop;

6
pages/shop/Evaluations/EvaluationDetail/index.vue

@ -16,12 +16,12 @@
<view class="synopsis-box acea-row" v-if="info.synopsis"> <view class="synopsis-box acea-row" v-if="info.synopsis">
<view class="left-circle"></view> <view class="left-circle"></view>
<view class="info"> <view class="info">
<<<<<<< HEAD
<!-- <text>甄选评测介绍</text> -->{{' ' + info.synopsis}} <!-- <text>甄选评测介绍</text> -->{{' ' + info.synopsis}}
=======
{{' ' + info.synopsis}} {{' ' + info.synopsis}}
<!-- <text>甄选评测介绍</text>{{' ' + info.synopsis}} --> <!-- <text>甄选评测介绍</text>{{' ' + info.synopsis}} -->
>>>>>>> sxx
</view> </view>
<image src="../../../../static/images/evaluation-icon.png" mode=""></image> <image src="../../../../static/images/evaluation-icon.png" mode=""></image>
</view> </view>

Loading…
Cancel
Save