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

35
pages/webview/webview.vue

@ -1,6 +1,7 @@
<template>
<view>
<view class="wvzone">
<web-view :src="url"></web-view>
<view class="wvtips">文件下载成功即将返回.....,{{jst}}</view>
</view>
</template>
@ -8,16 +9,42 @@
export default {
data() {
return {
url:""
url:"",
jst:10,
}
},
onLoad(item) {
console.log(item)
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>
<style>
<style lang="scss" scoped>
.wvzone{
.wvtips{
text-align: center;
font-size: 26rpx;
}
}
</style>

Loading…
Cancel
Save