许成详 6 年之前
父節點
當前提交
6ad8d30a33
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      config/index.js
  2. 1
    1
      src/pages/system/marketingActivities/listOfLotteryActivities/edit.vue

+ 2
- 2
config/index.js 查看文件

@@ -12,10 +12,10 @@ module.exports = {
12 12
     proxyTable: {
13 13
       '/api': {
14 14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
15
-        // target: 'http://192.168.0.62:8080', //wf
15
+        target: 'http://192.168.0.62:8080', //wf
16 16
         // target: 'http://127.0.0.1:8080', 
17 17
         // target: 'http://192.168.0.11:8080', //ys
18
-        target: 'http://192.168.0.102:8080', //hyq
18
+        // target: 'http://192.168.0.102:8080', //hyq
19 19
         // target: 'http://dev.ycjcjy.com', //frp
20 20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
21 21
         // pathRewrite: {

+ 1
- 1
src/pages/system/marketingActivities/listOfLotteryActivities/edit.vue 查看文件

@@ -84,7 +84,7 @@
84 84
               <li class="flex-h">
85 85
                 <span>模板背景图:</span>
86 86
                 <div class="flex-item">
87
-                  <div style="width:300px;height:300px;">
87
+                  <div style="width:300px;" :style="{height: this.postData.Imgs.length ? '300px' : '40px'}">
88 88
                     <img v-if="this.postData.Imgs.length" class="contain" :src="this.postData.Imgs[0].ImgUrl" alt="">
89 89
                     <span v-else style="line-height:40px;font-size:11px;color:#ccc;">暂未更换背景图</span>
90 90
                   </div>