12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <!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="bgc-back">
- <div 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="bt8f7f7f7 tc pt32 pb32" v-cloak><img class="logo-about pb8 user_aboutimg" src="./static/images/app-logo.png" alt=""></div>
- <van-cell-group :border="false" v-cloak>
- <van-cell title="协议" value="" is-link @click="goagreement"></van-cell>
- <van-cell title="隐私政策" value="" is-link @click="policy"></van-cell>
- </van-cell-group>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script>
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
-
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- active: 0,
- curversion: '1.1.2',
- version: '1.1.2',
- hasNew: false,
- downloadUrl:'',
- };
- },
- async created() {
- this.toptitleisshow = toptitleisshow;
- this.curversion = PublicLib.GetAppVersion();
- //- this.getversion();
- },
- methods: {
- async getversion(){
- const type = browsertype.versions.ios ? 'ios' : 'android';
- const res = await getRequest('/api/v1/appversion/detail?t='+Math.random(6),JSON.stringify({VersionNum:this.curversion,ClientType:type}));
- this.version = res.data.VersionNum;
- this.downloadUrl = res.data.DownloadUrl;
- const that = this;
- if(this.version !== this.curversion){
- that.hasNew = true;
- }else {
- that.hasNew = false;
- }
- },
- goback(){
- PublicLib.GoBack({Level:1});
- },
- goagreement(){
- PublicLib.Goto({Url:'user-maker-agreement'});
- },
- policy(){
- PublicLib.Goto({Url:'user-maker-policy'});
- },
- upload(){
- if(this.hasNew){
- PublicLib.ShowDialog({
- Title:'',
- Message:'是否更新到新的版本',
- ConfirmText:'确定',
- CancelText:'暂不',
- ConfirmAction:'app.downloadfn()',
- CanelAction:''
- });
- }
- },
- downloadfn(){
- PublicLib.Goto({Url:this.downloadUrl, Jump: 1});
- },
- }
- });
- </script>
- </body>
- </html>
|