Browse Source

主分支

腾讯ocr渠道不签约
yangteng 10 months ago
parent
commit
822099d7fc

+ 5
- 5
pages/index/index.vue View File

@@ -17,7 +17,7 @@
<image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false"
mode="aspectFill">
</image>
<uni-notice-bar style="width: 100%;" scrollable single :text="state.notice" @click="tip()">
<uni-notice-bar style="width: 100%;" scrollable single :text="state.notice">
</uni-notice-bar>
</view>
</view>
@@ -293,10 +293,10 @@
onReachBottom(() => {
highMsg(); //高速快讯
})
const tip = () => {
const params = encodeURIComponent(JSON.stringify("https://webzeus.hltgz.com/throughBilManager/index"))
tools.toUrl(`/subpackage/personal-center/webview?url=` + params);
}
// const tip = () => {
// const params = encodeURIComponent(JSON.stringify("https://webzeus.hltgz.com/throughBilManager/index"))
// tools.toUrl(`/subpackage/personal-center/webview?url=` + params);
// }
//获取轮播
const getSwiper = () => {


+ 2
- 1
subpackage/orders/moreHighMsg/moreHighMsg.vue View File

@@ -84,8 +84,9 @@
} else if (item.type == 2) {
navTo(item.hyperLink)
} else if (item.type == 3) {
const items = encodeURIComponent(JSON.stringify(item))
uni.navigateTo({
url: `/subpackage/orders/moreHighMsg/textDetails`
url: `/subpackage/orders/moreHighMsg/textDetails?item=`+items
})
} else if (item.type == 4) {
uni.navigateToMiniProgram({

+ 1
- 0
subpackage/orders/moreHighMsg/textDetails.vue View File

@@ -19,6 +19,7 @@
data: []
})
onLoad((option) => {
console.log("option",option)
const params = JSON.parse(decodeURIComponent(option.item))
state.data.push(params)
console.log("params", params)

+ 2
- 2
utils/network/request.js View File

@@ -73,8 +73,8 @@ export function request(code, options = {}, start = false) {
opId: getItem(StorageKeys.OpenId),
}

// options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn'
options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn'
options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn'
// options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn'
//默认json数据格式提交`
let contentType = 'application/x-www-form-urlencoded'


Loading…
Cancel
Save