123
This commit is contained in:
39
src/views/AnchorJoinAgreement.vue
Normal file
39
src/views/AnchorJoinAgreement.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<div class="home-wrapper" v-html="agreement.anchorJoinAgreement">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {queryAgreement} from "@/api/agreement";
|
||||
|
||||
export default {
|
||||
name: 'AnchorJoinAgreement',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
agreement: {
|
||||
userAgreement: '',
|
||||
anchorJoinAgreement: '',
|
||||
privacyAgreement: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
queryAgreement().then(response => {
|
||||
this.agreement = response.data
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
23
src/views/AntiFraud.vue
Normal file
23
src/views/AntiFraud.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div class="home-wrapper">
|
||||
<img src="../assets/homePage.png" alt="">
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'homePage',
|
||||
components: {},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
38
src/views/PrivacyAgreement.vue
Normal file
38
src/views/PrivacyAgreement.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<div class="home-wrapper" v-html="agreement.privacyAgreement">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {queryAgreement} from "@/api/agreement";
|
||||
|
||||
export default {
|
||||
name: 'PrivacyAgreement',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
agreement: {
|
||||
userAgreement: '',
|
||||
anchorJoinAgreement: '',
|
||||
privacyAgreement: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
queryAgreement().then(response => {
|
||||
this.agreement = response.data
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
81
src/views/Share.vue
Normal file
81
src/views/Share.vue
Normal file
@@ -0,0 +1,81 @@
|
||||
<template>
|
||||
<div class="home-wrapper">
|
||||
<div class="share-body">
|
||||
ewqeqwe
|
||||
</div>
|
||||
<button class="downbtn" id="downloadButton" @click="download"></button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {queryAgreement} from "@/api/agreement";
|
||||
export default {
|
||||
name: 'PrivacyAgreement',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
agreement: {
|
||||
userAgreement: '',
|
||||
anchorJoinAgreement: '',
|
||||
privacyAgreement: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
queryAgreement().then(response => {
|
||||
this.agreement = response.data
|
||||
})
|
||||
},
|
||||
mounted:function(){
|
||||
const s = document.createElement('script');
|
||||
s.type = 'text/javascript';
|
||||
s.src = '//web.cdn.openinstall.io/openinstall.js';
|
||||
s.addEventListener('load',()=>{
|
||||
var data = OpenInstall.parseUrlParams();
|
||||
new OpenInstall({
|
||||
appKey : "jppiws", //appkey参数配置,需要自行替换对应的appkey
|
||||
onready : function() {
|
||||
var m = this, button = document.getElementById("downloadButton");
|
||||
m.schemeWakeup();
|
||||
button.onclick = function() {
|
||||
m.wakeupOrInstall();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}, data);
|
||||
},false);
|
||||
document.head.appendChild(s);
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.share-body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size:100% 100%;
|
||||
background: url("../assets/back.png") no-repeat fixed center center;
|
||||
}
|
||||
.downbtn {
|
||||
position: absolute;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
height: 92px;
|
||||
width: 505px;
|
||||
line-height: 3rem;
|
||||
background-image: url("../assets/download.png");
|
||||
bottom: 9.3rem;
|
||||
left: 25%;
|
||||
border: none;
|
||||
margin-bottom: 2rem;
|
||||
border-radius: 1.8rem;
|
||||
}
|
||||
</style>
|
||||
37
src/views/UserAgreement.vue
Normal file
37
src/views/UserAgreement.vue
Normal file
@@ -0,0 +1,37 @@
|
||||
<template>
|
||||
<div class="home-wrapper">
|
||||
<div v-html="agreement.userAgreement"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {queryAgreement} from "@/api/agreement";
|
||||
|
||||
export default {
|
||||
name: 'UserAgreement',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
agreement: {
|
||||
userAgreement: '',
|
||||
anchorJoinAgreement: '',
|
||||
privacyAgreement: '',
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
queryAgreement().then(response => {
|
||||
this.agreement = response.data.data
|
||||
})
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user