xuqiaoying 3 жил өмнө
parent
commit
339368bf1d

+ 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

+ 3 - 2
pages/index/index.vue

@@ -114,7 +114,8 @@
 										<view class="left">
 											<text class="mon_t">¥ {{toFixed(item.standPrice)}}</text>
 											<!-- <text class="sale">/限时优惠</text> -->
-											<text class="price_line">/999</text>
+											<text> /¥ </text>
+											/<text class="price_line">{{ item.linePrice }}</text>
 										</view>
 										<view class="right">
 											<view class="regiser_row">立即购买</view>
@@ -149,7 +150,7 @@
 										<view class="left">
 											<text class="mon_t">¥ {{toFixed(item.standPrice)}}</text>
 											<!-- <text class="sale">/限时优惠</text> -->
-											<text class="price_line">/999</text>
+											/<text class="price_line">{{ item.linePrice }}</text>
 										</view>
 										<view class="right">
 											<view class="regiser_row">立即购买</view>