Commit f4b92974 by 陆志强

feat: 修复图片不显示的问题

parent d2d54c83
...@@ -117,7 +117,6 @@ export default { ...@@ -117,7 +117,6 @@ export default {
...mapActions({ ...mapActions({
getLotteryDetail: 'lottery/getLotteryDetail', getLotteryDetail: 'lottery/getLotteryDetail',
updateInfo: 'lottery/updateInfo', updateInfo: 'lottery/updateInfo',
checkPremise: 'lottery/check_premise'
}), }),
resetForm() { resetForm() {
this.form = {...this.form, ...this.editItem} this.form = {...this.form, ...this.editItem}
......
...@@ -131,7 +131,6 @@ export default { ...@@ -131,7 +131,6 @@ export default {
...mapActions({ ...mapActions({
getLotteryDetail: 'lottery/getLotteryDetail', getLotteryDetail: 'lottery/getLotteryDetail',
updateInfo: 'lottery/updateInfo', updateInfo: 'lottery/updateInfo',
checkPremise: 'lottery/check_premise'
}), }),
confirmAddress() { confirmAddress() {
this.$emit('confirm', this.addressList.find(item => item.id === this.chooseItem.id)) this.$emit('confirm', this.addressList.find(item => item.id === this.chooseItem.id))
......
...@@ -54,7 +54,6 @@ export default { ...@@ -54,7 +54,6 @@ export default {
...mapActions({ ...mapActions({
getLotteryDetail: 'lottery/getLotteryDetail', getLotteryDetail: 'lottery/getLotteryDetail',
updateInfo: 'lottery/updateInfo', updateInfo: 'lottery/updateInfo',
checkPremise: 'lottery/check_premise'
}), }),
goConfig() { goConfig() {
Bus.$emit('showConfig') Bus.$emit('showConfig')
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
}"> }">
<template v-if="true" #icon> <template v-if="true" #icon>
<span class="ques-radio__text">{{ item.name }}</span> <span class="ques-radio__text">{{ item.name }}</span>
<img v-if="item.img" v-lazy="item.img" class="ques-radio__img" alt @click.stop="previewImg(item.pic)" /> <img v-if="item.pic" v-lazy="item.pic" class="ques-radio__img" alt @click.stop="previewImg(item.pic)" />
</template> </template>
</van-radio> </van-radio>
</van-radio-group> </van-radio-group>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<img v-else-if="Number(answer) === index" style="width: 17px;" class="ques-radio__img" src="@/assets/images/lottery/wrong.png" alt=""> <img v-else-if="Number(answer) === index" style="width: 17px;" class="ques-radio__img" src="@/assets/images/lottery/wrong.png" alt="">
</div> </div>
<span class="ques-radio__text">{{ item.name }}</span> <span class="ques-radio__text">{{ item.name }}</span>
<img v-if="item.img" v-lazy="item.img" class="ques-radio__img" alt @click.stop="previewImg(item.pic)" /> <img v-if="item.pic" v-lazy="item.pic" class="ques-radio__img" alt @click.stop="previewImg(item.pic)" />
<img v-if="item.isRight" class="ques-radio__img" src="@/assets/images/lottery/correct.png" alt=""> <img v-if="item.isRight" class="ques-radio__img" src="@/assets/images/lottery/correct.png" alt="">
<img v-else-if="Number(answer) === index" style="width: 17px;" class="ques-radio__img" src="@/assets/images/lottery/wrong.png" alt=""> <img v-else-if="Number(answer) === index" style="width: 17px;" class="ques-radio__img" src="@/assets/images/lottery/wrong.png" alt="">
</template> </template>
......
...@@ -75,7 +75,6 @@ export default { ...@@ -75,7 +75,6 @@ export default {
...mapActions({ ...mapActions({
getLotteryDetail: 'lottery/getLotteryDetail', getLotteryDetail: 'lottery/getLotteryDetail',
updateInfo: 'lottery/updateInfo', updateInfo: 'lottery/updateInfo',
checkPremise: 'lottery/check_premise',
checkPrecondition: 'lottery/check_precondition' checkPrecondition: 'lottery/check_precondition'
}), }),
// 页面进入初始化 // 页面进入初始化
......
...@@ -80,7 +80,6 @@ export default { ...@@ -80,7 +80,6 @@ export default {
...mapActions({ ...mapActions({
getLotteryDetail: 'lottery/getLotteryDetail', getLotteryDetail: 'lottery/getLotteryDetail',
updateInfo: 'lottery/updateInfo', updateInfo: 'lottery/updateInfo',
checkPremise: 'lottery/check_premise',
checkPrecondition: 'lottery/check_precondition' checkPrecondition: 'lottery/check_precondition'
}), }),
connectionInit() { connectionInit() {
......
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 sign in to comment