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

9
src/views/agent/siteTemplate.vue

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

Loading…
Cancel
Save