瀏覽代碼

抽赏界面图片url替换

chenrong 1 年之前
父節點
當前提交
c4fee63577
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      pages/raffle/raffle.vue

+ 1 - 2
pages/raffle/raffle.vue

@@ -173,8 +173,7 @@ export default {
       return index
     },
     tabImg(index) {
-      let url =
-        'https://mall.rongtongh.cn/storage/img/raffle/tab' + index + (this.tabActive == index ? 'a' : '') + '.png'
+      let url = this.$fileUrl() + '/raffle/tab' + index + (this.tabActive == index ? 'a' : '') + '.png'
       return url
     },
     clickTab(index) {