换接口 首页轮播图 加圆角

This commit is contained in:
Mr.jiang 2024-07-04 09:37:34 +08:00
parent 82d89f0776
commit b07bf82fc6
4 changed files with 16 additions and 8 deletions

View File

@ -6,9 +6,13 @@
// const ROOTPATH = "http://192.168.2.222:8187/sqx_fast";
// const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast";
const ROOTPATH3 = "wss://1.92.152.160/wss/websocket/";
const ROOTPATH = "http://1.92.152.160/sqx_fast";
const ROOTPATH1 = "http://1.92.152.160/sqx_fast";
// const ROOTPATH3 = "wss://1.92.152.160/wss/websocket/";
// const ROOTPATH = "http://1.92.152.160/sqx_fast";
// const ROOTPATH1 = "http://1.92.152.160/sqx_fast";
const ROOTPATH3 = "wss://sausers.blxinchuang.com/wss/websocket/";
const ROOTPATH = "https://sausers.blxinchuang.com/sqx_fast";
const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
// const ROOTPATH3 = "wss://47.75.182.93:8090/wss/websocket/";
// const ROOTPATH = "http://47.75.182.93:8090/sqx_fast";
@ -54,7 +58,8 @@ const TX_MAP_KEY = 'VIWBZ-5OM3F-CV7JZ-NLKJY-AXSYV-TMFM6';
//ws基础连接地址
// const WS_BASE_PATH = 'ws://47.75.182.93:8090/sqx_fast/';
// const WS_BASE_PATH = 'ws://192.168.2.222:8187/sqx_fast/';
const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
const WS_BASE_PATH = 'ws://sausers.blxinchuang.com/sqx_fast/';
// const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
// const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换

View File

@ -21,14 +21,16 @@ module.exports = {
// return 'https://admin.sjajk.com'//生产需替换
// return 'http://120.46.52.165'1.92.152.160
// return 'http://192.168.2.222:8187'
return 'http://1.92.152.160'
return 'https://sausers.blxinchuang.com'
// return 'http://1.92.152.160'
// return 'http://47.75.182.93:8090:8187'
},
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
publicYuMingApp() {
// return 'https://wx.sjajk.com'//生产需替换
// return 'http://120.46.52.165'
return 'http://1.92.152.160'
return 'https://sausers.blxinchuang.com'
// return 'http://1.92.152.160'
// return 'http://192.168.2.222:8187'
// return 'http://47.75.182.93:8090:8187'
},

View File

@ -3,7 +3,7 @@
<scroll-view scroll-x="true" class="scroll-box" style="height: 100%;">
<view :class="'item-box'+' bg'+((index+'').slice(-1))" v-for="(item,index) in goodsList" :key="index"
@click="chooseItem(item)">
<image :src="item.artificerImg" :style="'width:'+imgWidth+'px;'+'height:'+imgHeight+'px;'" mode=""></image>
<image style="border-radius: 7px;" :src="item.artificerImg" :style="'width:'+imgWidth+'px;'+'height:'+imgHeight+'px;'" mode=""></image>
<view class="item-name">{{item.artificerName}}</view>
<view class="item-descr">{{item.content}}</view>
</view>

View File

@ -103,7 +103,8 @@ class Request {
this.config = {
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
// baseUrl: 'http://192.168.2.222:8187/',
baseUrl: 'http://1.92.152.160/', // 请求的根域名
baseUrl: 'https://sausers.blxinchuang.com/', // 请求的根域名
// baseUrl: 'http://1.92.152.160/', // 请求的根域名
// baseUrl: 'http://120.46.52.165/', // 请求的根域名
// baseUrl: 'http://47.75.182.93:8090/',
// 默认的请求头