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

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

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