提交 5b57105f 编写于 作者: 芊里

Merge branch 'master' of https://gitee.com/dcloud/base-app

......@@ -29,11 +29,11 @@ module.exports = {
"agreements":[
{
"title":"用户服务协议",
"url":"https://uniapp.dcloud.io/"
"url":"https://ask.dcloud.net.cn/protocol.html"
},
{
"title":"隐私政策",
"url":"https://uniapp.dcloud.io/"
"url":"https://ask.dcloud.net.cn/protocol.html"
}
],
"download":"https://m3w.cn/uniapp"
......
......@@ -34,6 +34,7 @@
</template>
<script>
import {about} from '@/baseapp.config.js';
export default {
data() {
return {
......@@ -50,12 +51,12 @@
methods: {
openprotocol(e) {
uni.navigateTo({
url: "/pages/component/web-view/web-view?url=https://ask.dcloud.net.cn/protocol.html"
url: "/pages/common/webview/webview?url="+about.agreements[0].url
})
},
openPrivacyPolicy(e) {
uni.navigateTo({
url: "/pages/component/web-view/web-view?url=/hybrid/html/privacy-policy.html"
url: "/pages/common/webview/webview?url="+about.agreements[1].url
})
},
agree(e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册