提交 2555e46d authored 作者: 宋雄's avatar 宋雄

增加扫码支付

上级 5f128aa4
......@@ -2,9 +2,9 @@
* 接口参数
*/
const serverConfig = {
baseURL: "https://life.cloud.hjxbc.cn",
// baseURL: "https://life.cloud.hjxbc.cn",
imageURL: "https://life.cloud.hjxbc.cn/sys/common/static/",
// baseURL: "http://192.168.0.106:9999",
baseURL: "http://192.168.0.104:9999",
// baseURL: "http://192.168.0.119:9999",
// baseURL: "http://220.203.25.212:9999", /* 根域名 */
// baseURL: "http://114.67.111.37:8001" /* 根域名 */
......
......@@ -225,6 +225,12 @@
"style": {
"navigationBarTitleText": "隐私政策"
}
},{
"path": "pages/h5Template/h5Template",
"style": {
"navigationBarTitleText": "汉星科技",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
......
<template>
<view>
<web-view :src="webUrl">
</web-view>
</view>
</template>
<script>
export default {
data() {
return {
webUrl: ''
};
},
onLoad(options) {
this.webUrl = decodeURIComponent(options.webUrl)
}
}
</script>
<style lang="less">
</style>
......@@ -307,8 +307,15 @@
url: `/pages/payCostProperty/index?code=SFLX00001`
});
} else if (type == 8) {
uni.navigateTo({
url: '/pages/announcement/community'
// uni.navigateTo({
// url: '/pages/announcement/community'
// });
uni.scanCode({
success: function (res) {
uni.navigateTo({
url: '/pages/h5Template/h5Template?webUrl=' + encodeURIComponent(res.result)
});
}
});
}
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论