123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <!DOCTYPE html>
- <html class="h100p">
- <head>
- <meta charset="utf-8">
- <title>个人中心-合作协议-创业帮</title>
- <meta name="keywords" content="个人中心-合作协议-创业帮">
- <meta name="description" content="个人中心-合作协议-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="个人中心-合作协议-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- </head>
- <body class="h100p nopb login pt0" style="padding-top:0;">
- <div class="rel sign-service" id="app" v-cloak>
- <van-nav-bar class="user_rank_explan_title user_title_normal" left-arrow title="创业帮合作协议" v-if="toptitleisshow" @click-left="goback">
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- <div class="pl16 pr16 f14 more mt16">*请完整阅读并至底部签署</div>
- <div class="pl16 pr16 f14" v-html="articleinfo.Contents" style="line-height:1.4;"></div>
- <div class="signbox rel" @click="signpage" v-if="signimg === ''">
- <div class="abs tc"><img src="./static/images/user-sign.png" alt="">
- <div class="f12 c999">点击签名</div>
- </div>
- </div><img class="signbox" :src="signimg" alt="" style="width:calc(100% - 38px); margin:0 16px;" v-if="signimg !== ''">
- <div class="fieldbtn df bc333" v-cloak>
- <van-button class="mr12 onbtn" block round @click="goback">取消</van-button>
- <van-button type="primary" block round color="#FFD500" :disabled="issign" @click="shresign">确认签署</van-button>
- </div>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/appfunc.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/publicfn.js"></script>
- <script>
- function OnStart(){
- if(PublicLib.getCookieInfo('SignPic') !== '' && PublicLib.getCookieInfo('SignPic') !== undefined){
- app.signimg = PublicLib.getCookieInfo('SignPic');
- app.issign = false;
- PublicLib.putCookieInfo('SignPic', '');
- };
- };
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
-
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- articleinfo:{
- Title: '',
- Contents:''
- },
- issign:true,
- signimg:'',
- //- signimg:'./static/images/left.png',
- };
- },
- created() {
- if(this.signimg !== ''){
- this.issign = false;
- };
- this.toptitleisshow = toptitleisshow;
- this.getmakercode();
- },
- methods: {
- shresign(){
- PublicLib.putCookieInfo('userIsSign', 'true');
- //- TODO签署接口
- tips('协议签署成功!');
- setTimeout(()=>{
- this.goback();
- },1000)
- },
- signpage(){
- PublicLib.Goto({Url:'user-maker-service-sign'});
- },
- goback(){
- PublicLib.GoBack({Level:1});
- },
- async getmakercode(){
- const res = await getRequest('api/v1/pageinfo/detail?t='+Math.random(6),JSON.stringify({Id:4}));
- if(res.status !== '1') return tips('获取创客协议失败,请重试!');
- this.articleinfo = res.data;
- }
- }
- });
- </script>
- </body>
- </html>
|