@@ -89,6 +89,13 @@ | |||
</view> | |||
<view class="text">基础信息变更</view> | |||
</view> | |||
<view class="item-box" | |||
@click="test"> | |||
<view class="item item-7"> | |||
<image :src="fileURL + 'image/index/item-7.png'" mode="aspectFill" /> | |||
</view> | |||
<view class="text">测试</view> | |||
</view> | |||
<view class="item-box" @click="$util.navTo(`/pages/service/service`,true)"> | |||
<view class="item item-8"> | |||
<image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" /> | |||
@@ -374,6 +381,35 @@ | |||
}); | |||
}; | |||
//轮播跳转 | |||
const test = () => { | |||
// let options = { | |||
// type: 2, //type: 2,JSON格式提交数据(默认表单形式提交) | |||
// data: { | |||
// openid: "ovrFz6COEbqoMyG6mVZgAHmPZaAw", | |||
// feeTotal: 1, | |||
// fee: 1, | |||
// goodsName: "测试", | |||
// externalOrderNo:"123435345462345", | |||
// payConfigId:"6a9a54bc01f6443faea7ffe132b19f6" | |||
// }, //请求参数 | |||
// method: "POST", //提交方式(默认POST) | |||
// showLoading: true, //是否显示加载中(默认显示) | |||
// }; | |||
// //调用方式 | |||
// request("25", options).then((res) => { | |||
// console.log(res); | |||
// }) | |||
// .catch((err) => { | |||
// console.log(err); | |||
// }); | |||
uni.navigateTo({ | |||
url: "/subpackage/orders/payment/payment?token=445dff5be89c4dcaa89386d1c390930a&openId=0e716af635634d749a981524cc6146a5&orderId=20230922185454016794294" | |||
}) | |||
}; | |||
//轮播跳转 | |||
const gotoLink = (item : any) => { |
@@ -1,23 +1,23 @@ | |||
/* 接口中常量 */ | |||
// export const URL = "192.168.100.63"; | |||
// export const URL = "trial.etcjz.cn"; | |||
export const URL = "qtzl.etcjz.cn"; | |||
export const URL = "trial.etcjz.cn"; | |||
// export const URL = "qtzl.etcjz.cn"; | |||
/** | |||
* 配置信息,针对不同的平台进行配置 | |||
*/ | |||
export const envs = { | |||
//开发环境配置 | |||
development: { | |||
baseUrl: "https://qtzl.etcjz.cn", | |||
// baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "https://qtzl.etcjz.cn", | |||
baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "http://192.168.100.158:8085", | |||
}, | |||
//生产环境配置 | |||
production: { | |||
// baseUrl: "http://192.168.124.6:8087", | |||
// baseUrl: "http://222.85.144.89:19002", | |||
baseUrl: "https://qtzl.etcjz.cn", | |||
// baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "https://qtzl.etcjz.cn", | |||
baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "http://192.168.100.158:8085", | |||
}, | |||
} |