@@ -2,14 +2,13 @@ module.exports = {
// 小程序配置
// #ifdef MP || APP-PLUS
// 请求域名 格式: https://您的域名
- HTTP_REQUEST_URL: `http://ykt.ns.liuniu946.com`,
+ HTTP_REQUEST_URL: `https://liaoningaoxun.com`,
// #endif
// H5配置
// #ifdef H5
//H5接口是浏览器地址,非单独部署不用修改
- // HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
- HTTP_REQUEST_URL:"http://ykt.ns.liuniu946.com",
+ HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
@@ -216,7 +216,12 @@
},
"h5" : {
"devServer" : {
- "https" : false
+ "proxy" : {
+ "/api" : {
+ "target" : "https://liaoningaoxun.com",
+ "changeOrigin": true
+ }
"router" : {
"mode" : "history",
@@ -35,7 +35,7 @@
</view>
<view class="advertItem02 advertItem06 acea-row" v-if="style==5">
<view class="item" v-for="(item,index) in picList" :key="index" @click="goDetail(item)">
- <image :src="item.image" mode="aspectFill"></image>
+ <image :src="item.image" mode="aspectFit" ></image>