xuqiaoying 3 năm trước cách đây
mục cha
commit
0445091289
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      common/request.js
  2. 1 1
      pages4/courseTopic/goodsTopic.vue

+ 2 - 2
common/request.js

@@ -6,11 +6,11 @@ var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
 // export const BASE_URL = 'https://test.xyyxt.net'   //预发布
-// export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
+export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
 // export const BASE_URL = 'http://42.192.164.187:19005'    //test(后端本地)
 // export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
 // export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地
-export const BASE_URL = 'http://192.168.1.7:5055'    //后端本地
+// export const BASE_URL = 'http://192.168.1.7:5055'    //后端本地
 
  //图片上传api
 export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release

+ 1 - 1
pages4/courseTopic/goodsTopic.vue

@@ -22,7 +22,7 @@
             </view>
             <view class="pictures" @click="toDetail()">
                 <view class="pic_imgs">
-                    <image v-if="goodsInfo.goodsCoverUrl" :src="$method.splitImgHost(goodsInfo.goodsCoverUrl, true)" class="basic_img"></image>
+                    <image v-if="goodsInfo.goodsCoverUrl" :src="$method.splitImgHost(goodsInfo.goodsCoverUrl)" class="basic_img"></image>
                     <image v-else class="basic_img" src="../static/topic/basic.png" ></image>
                 </view>
                 <view class="pic_title">{{ goodsInfo.goodsName }}</view>