Browse Source

开发文档

pull/103/head
pengda 4 weeks ago
parent
commit
5827e66e97
  1. 9
      src/views/agent/Franchise.vue
  2. 9
      src/views/agent/siteTemplate.vue

9
src/views/agent/Franchise.vue

@ -94,7 +94,7 @@
加盟并进入后台</GuipButton>
<p class="attention gap10">
<el-checkbox v-model="checked"></el-checkbox>
<b>代理商需要阅读并同意<a href="">哈哈哈哈</a></b>
<b>代理商需要阅读并同意<a @click="jumpDoc">快乐论文网站协议</a></b>
</p>
</div>
@ -248,7 +248,11 @@ export default {
console.error(error, 'error')
})
},
jumpDoc(){
window.open(this.$router.resolve({
path: '/agreement',
}).href, '_blank')
},
goAddFranchise(){
if(!this.checked){
this.$message.warning('请阅读并同意协议');
@ -311,6 +315,7 @@ export default {
a {
text-decoration: none;
color: #006AFF;
cursor: pointer;
}
}
}

9
src/views/agent/siteTemplate.vue

@ -75,8 +75,8 @@
<div class="alert-more-info mt12">
<div class="flex mb10 gap10"><span>1.</span>按开发文档书写自定义网站并压缩上传后可生成自定义首页此模板完全由你设定</div>
<div class="flex gap10">
2.<a href="#" class="link flex gap10" target="_blank">
<img src="@/assets/site/form_linkActive.svg" alt="">下载开发文档</a>
2.<a class="link flex gap10" @click="jumpDoc">
<img src="@/assets/site/form_linkActive.svg" alt="">查看开发文档</a>
</div>
</div>
</template>
@ -188,6 +188,11 @@ export default {
jumpCancle(){
this.$router.go(-1)
},
jumpDoc(){
window.open(this.$router.resolve({
path: '/customizeDoc',
}).href, '_blank')
},
update_site_tpl() {
//id
if(!this.$route.query.uid){

Loading…
Cancel
Save