parent
5ad0d54662
commit
f0edf9f419
|
|
@ -165,10 +165,18 @@
|
||||||
"title" : "斯耀短剧",
|
"title" : "斯耀短剧",
|
||||||
"domain" : "https://jiaoyu.xianmxkj.com",
|
"domain" : "https://jiaoyu.xianmxkj.com",
|
||||||
"router" : {
|
"router" : {
|
||||||
"mode" : "history"
|
"mode" : "history",
|
||||||
}
|
"cache" : {
|
||||||
|
"use" : true,
|
||||||
|
"maxAge" : "86400000",
|
||||||
|
"version" : "1.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"template" : "template.html"
|
||||||
},
|
},
|
||||||
"mp-kuaishou" : {
|
"mp-kuaishou" : {
|
||||||
"appid" : "ks699465318929951101"
|
"appid" : "ks699465318929951101"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 版本号,更新版本号可以清除缓存
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1202,12 +1202,15 @@
|
||||||
// data.h5Url 跳转地址
|
// data.h5Url 跳转地址
|
||||||
this.showMoney = false //显示充值弹窗
|
this.showMoney = false //显示充值弹窗
|
||||||
// this.payOrder(this.ordersId, this.payMoney)
|
// this.payOrder(this.ordersId, this.payMoney)
|
||||||
// #ifdef H5
|
// #ifdef APP
|
||||||
// window.location.href = data.h5Url
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/pays/pays?ordersId=' + data.ordersId + '&url=' + data.h5Url
|
url: '/pages/pays/pays?ordersId=' + data.ordersId + '&url=' + data.h5Url
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
|
// #ifdef H5
|
||||||
|
window.location.href = data.h5Url
|
||||||
|
// #endif
|
||||||
|
|
||||||
},
|
},
|
||||||
//自组件关闭的回调
|
//自组件关闭的回调
|
||||||
closeMoney(data) {
|
closeMoney(data) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view style="width: 100%;">
|
<view style="width: 100%;">
|
||||||
<web-view id="webview" :src="url" style="width: 100%;"></web-view>
|
<web-view id="webview" :src="url" style="width: 100%;"></web-view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -24,11 +23,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReady() {
|
onReady() {
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title:'预览'
|
|
||||||
})
|
|
||||||
let viewview = uni.createWebviewContext("webview",)
|
|
||||||
console.log("viewview===",viewview)
|
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
// console.log('App plus2')
|
// console.log('App plus2')
|
||||||
// var currentWebview = this.$mp.page.$getAppWebview() //获取当前页面的webview对象
|
// var currentWebview = this.$mp.page.$getAppWebview() //获取当前页面的webview对象
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
|
|
@ -0,0 +1,29 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="apple-mobile-web-app-title" content="斯耀短剧">
|
||||||
|
<title>
|
||||||
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
|
</title>
|
||||||
|
<!-- Open Graph data -->
|
||||||
|
<!-- <meta property="og:title" content="Title Here" /> -->
|
||||||
|
<!-- <meta property="og:url" content="http://www.example.com/" /> -->
|
||||||
|
<!-- <meta property="og:image" content="http://example.com/image.jpg" /> -->
|
||||||
|
<!-- <meta property="og:description" content="Description Here" /> -->
|
||||||
|
<script>
|
||||||
|
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||||
|
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||||
|
</script>
|
||||||
|
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
|
||||||
|
<link rel="apple-touch-icon" href="/static/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<noscript>
|
||||||
|
<strong>Please enable JavaScript to continue.</strong>
|
||||||
|
</noscript>
|
||||||
|
<div id="app"></div>
|
||||||
|
<!-- built files will be auto injected -->
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue