更改随机名字
This commit is contained in:
31
pages/itkXJghyII/IsLPghQOIF.vue
Normal file
31
pages/itkXJghyII/IsLPghQOIF.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<image src="../../../static/iosImg/DEghTTorspIMG_6780.JPG" mode="aspectFill"></image>
|
||||
<image src="../../../static/iosImg/DEghTTorspIMG_6781.JPG" mode="aspectFill"></image>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onHide() {
|
||||
},
|
||||
onLoad(option) {
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
85
pages/itkXJghyII/hLUkghGDXH.vue
Normal file
85
pages/itkXJghyII/hLUkghGDXH.vue
Normal file
@@ -0,0 +1,85 @@
|
||||
<template>
|
||||
<view style="width: 100%;">
|
||||
<web-view id="webview" :src="url" style="width: 100%;"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import httpsRequest from '@/common/httpRequest.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
ordersId: '',
|
||||
timer: null,
|
||||
maxAjaxNum: 5,
|
||||
ajaxNum: 0,
|
||||
url: null, //要打开的外部链接
|
||||
viewerUrl: '/hybrid/html/web/viewer.html',
|
||||
webviewStyles: {
|
||||
width: '750px',
|
||||
height: '100%',
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
onReady() {},
|
||||
onShow() {
|
||||
console.log(this.ordersId);
|
||||
|
||||
httpsRequest.getT("/app/wuyou/queryOrder/" + this.ordersId, {}).then(res => {
|
||||
console.log(res.data);
|
||||
|
||||
if (res.data == 1) {
|
||||
uni.hideLoading()
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform == 'ios'
|
||||
console.log("is ios ", isIos);
|
||||
if (isIos) {
|
||||
uni.navigateBack()
|
||||
uni.showToast({
|
||||
title: '支付成功',
|
||||
icon: 'none'
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 1500)
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '支付成功',
|
||||
icon: 'none'
|
||||
})
|
||||
this.timer = setTimeout(() => {
|
||||
clearTimeout(this.timer)
|
||||
uni.navigateBack()
|
||||
}, 500)
|
||||
}
|
||||
} else {
|
||||
// #ifdef APP
|
||||
uni.showLoading({
|
||||
title: '支付中'
|
||||
})
|
||||
// #endif
|
||||
}
|
||||
});
|
||||
},
|
||||
onHide() {
|
||||
clearInterval(this.timer)
|
||||
uni.hideLoading()
|
||||
},
|
||||
onUnload() {
|
||||
uni.hideLoading()
|
||||
},
|
||||
onLoad: function(option) {
|
||||
console.log(option)
|
||||
this.url = option.url
|
||||
this.ordersId = option.ordersId
|
||||
console.log('this.ordersId' + this.ordersId);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.webview {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
31
pages/itkXJghyII/viOaIkDghi.vue
Normal file
31
pages/itkXJghyII/viOaIkDghi.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<image src="../../../static/iosImg/DEghTTorspIMG_6782.JPG" mode="aspectFill"></image>
|
||||
<image src="../../../static/iosImg/DEghTTorspIMG_6783.JPG" mode="aspectFill"></image>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onHide() {
|
||||
},
|
||||
onLoad(option) {
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user