浏览代码

静态页面

1002884655 4 年前
父节点
当前提交
a9c76ca041
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/pages/index/DingDanXiangQing/index.vue

+ 2
- 2
src/pages/index/DingDanXiangQing/index.vue 查看文件

@@ -48,7 +48,7 @@
48 48
             </div>
49 49
             <input type="file" ref="CpFile" @change="CpFileChange" style="display: none">
50 50
           </div>
51
-          <img v-else :src="DetailInfo.bettingDetail.betting.lotteryPicture" width="100%" alt="">
51
+          <img v-else v-for="(item, index) in DetailInfo.bettingDetail.betting.lotteryPicture.split(',')" :src="item" :key="index" width="100%" style="margin-top: 0.15rem" alt="">
52 52
         </div>
53 53
 
54 54
         <div class="Bottom">
@@ -127,7 +127,7 @@ export default {
127 127
       }).then(() => {
128 128
         if (this.DataLock) return
129 129
         this.DataLock = true
130
-        this.ProcessOrder({ data: { lotteryPicture: this.CpImgArr.length ? this.CpImgArr[0] : null, orderId: this.DetailInfo.orderId } }).then((res) => {
130
+        this.ProcessOrder({ data: { lotteryPicture: this.CpImgArr.length ? this.CpImgArr.join(',') : null, orderId: this.DetailInfo.orderId } }).then((res) => {
131 131
           this.Toast('出票成功')
132 132
           this.DetailInfo.status = 1
133 133
           this.DetailInfo.bettingDetail.betting.isDrawn = true