1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!DOCTYPE html>
- <html>
- <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="pb0 ovh pt0" style="padding-top:0;">
- <div class="belssing" id="app" style="padding:none;" v-cloak>
- <van-nav-bar class="user_rank_explan_title" title="生日快乐" @click-left="backrank" v-if="toptitleisshow" left-arrow>
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- <div class="ovh-x" ref="wrapper1">
- <div class="user_blessing">
- <div class="title rel"><img src="./static/images/birthday-decorate.png" alt="">
- <div class="fontbox cfff abs">
- <div class="subject f18">HI,{{username}}</div>
- <p class="f14">今天是你生日,创业帮衷心的祝福你生日快乐,万事顺意;感谢你在过去的时光中,对创业帮的信任与支持;愿你在未来的岁月中,继续与创业帮共同成长,创造更多辉煌。</p>
- <div class="Sign">——创业帮</div>
- <div class="Sign">2021.07.30</div><img class="decorate" src="./static/images/birthday-balloon.png" alt="">
- </div>
- </div>
- <div class="user_birthday_qrcode bgcfff"><img :src="rankcode" alt="" style="width:100%;"></div>
- <div class="user_birthday_namecode cfff f14">推荐码:{{number}}</div>
- <div class="user_birthday_bottombtn df">
- <button class="savebtn cfff f16">保存图片</button>
- <button class="share bgcfff c333 f16"> 分享喜悦</button>
- </div>
- </div>
- </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>
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- username:'',
- rankcode:'',
- number:'',
- };
- },
- created() {
- this.toptitleisshow = toptitleisshow;
- this.getuserrankinfo();
- },
- mounted(){
- this.$nextTick(() => {
- this.$refs.wrapper1.style.height = `${document.documentElement.clientHeight}px`;
- });
- },
- methods: {
- //- 返回我的职级
- backrank(){
- PublicLib.GoBack({Level:1});
- },
- //- 获取用户职级信息
- async getuserrankinfo(){
- PublicLib.ShowLoading({Message:''});
- const Id = PublicLib.getCookieInfo('userId');
- const res = await getRequest('api/v1/users/mylevelbadge',JSON.stringify({Id}));
- PublicLib.HideLoading();
- this.username = res.data.RealName;
- this.rankcode = res.data.ReferenceQrCode;
- this.number = res.data.MakerCode;
- },
-
- }
- });
- </script>
- </body>
- </html>
|