Browse Source

修改

master
453530270@qq.com 2 years ago
parent
commit
c627802a34
  1. 20
      pages/paySuccess/paySuccess.vue
  2. 35
      pages/webview/webview.vue

20
pages/paySuccess/paySuccess.vue

@ -21,11 +21,18 @@
<view class="down_link">国家文化专网网络应用入口</view> <view class="down_link">国家文化专网网络应用入口</view>
<view class="right_icon"></view> <view class="right_icon"></view>
</view> </view>
<view class="down_item" @click="downapp()"> <view class="down_item" @click="docopy('https://pelerin.cn/planet')">
<view class="left_icon"></view> <view class="left_icon"></view>
<view class="down_link">手机绑定关联程序</view> <view class="down_link">根服务器文件https://pelerin.cn/planet</view>
<view class="right_icon" ></view> <view class="right_icon" ></view>
</view> </view>
<view class="down_item" @click="docopy('fc00dd5d63caabd8')">
<view class="left_icon"></view>
<view class="down_link">网络idfc00dd5d63caabd8</view>
<view class="right_icon" ></view>
</view>
</view> </view>
<view class="s_title">2.输入设备安装码</view> <view class="s_title">2.输入设备安装码</view>
<view class=""> <view class="">
@ -65,10 +72,15 @@
}, },
mounted() { mounted() {
// this.getUserInfo() // this.getUserInfo()
this.mkdevsn() // this.mkdevsn()
this.init() this.init()
}, },
methods: { methods: {
//
docopy(str){
this.$toast(str)
//alert("changancopy")
},
// //
mkdevsn(){ mkdevsn(){
const dev = this.devpath const dev = this.devpath
@ -137,7 +149,7 @@
// //
downapp(){ downapp(){
let durl ="https://bf-analyze.oss-cn-shenzhen.aliyuncs.com/test/planet"; //h5 let durl ="https://pelerin.cn/planet"; //
// //
uni.showModal({ uni.showModal({
title: '提示', title: '提示',

35
pages/webview/webview.vue

@ -1,6 +1,7 @@
<template> <template>
<view> <view class="wvzone">
<web-view :src="url"></web-view> <web-view :src="url"></web-view>
<view class="wvtips">文件下载成功即将返回.....,{{jst}}</view>
</view> </view>
</template> </template>
@ -8,16 +9,42 @@
export default { export default {
data() { data() {
return { return {
url:"" url:"",
jst:10,
} }
}, },
onLoad(item) { onLoad(item) {
console.log(item) console.log(item)
this.url = item.url this.url = item.url
},
mounted() {
this.govak()
},
methods:{
//
govak(){
let ms = this.jst*1000
if(ms<60*1000){
}
let st = setTimeout(function() {
//
uni.navigateBack()
}, ms);
st.close
}
} }
} }
</script> </script>
<style> <style lang="scss" scoped>
.wvzone{
.wvtips{
text-align: center;
font-size: 26rpx;
}
}
</style> </style>

Loading…
Cancel
Save