Browse Source

碧合注册登录

hangb 7 years ago
parent
commit
e9c32e1064
1 changed files with 6 additions and 8 deletions
  1. 6 8
      components/mobile/loginMobile.vue

+ 6 - 8
components/mobile/loginMobile.vue

@@ -1,6 +1,5 @@
 <template>
 <div class="login">
-  <div>{{linkURL}}</div>
   <div v-if="activeTab === 0">
     <div class="page-part">
       <mt-field auto-complete="off" placeholder="手机号/邮箱" v-model="login.username" @blur.native.capture="codeCount"></mt-field>
@@ -36,12 +35,13 @@
     </div>
     <div class="page-part">
       <mt-field placeholder="请输入密码" v-model="bhLogin.password" type="password"></mt-field>
-      <template>
-        <p class="go-register"><a :href="`/register/enterpriseRegistration${this.$store.state.option.fullPath}&tk=${bhToken}`" class="go">创建新账号</a></p>
-      </template>
     </div>
     <div class="page-part">
-      <mt-button size="large" type="primary" @click="bhBind">绑定账号</mt-button>
+      <mt-button size="large" type="primary" @click="bhBind">确&nbsp;&nbsp;&nbsp;定</mt-button>
+    </div>
+    <div class="login-btn">
+      <p>还没有优软云账号?</p>
+      <mt-button size="large" plain type="primary"><a :href="`/register/enterpriseRegistration${this.$store.state.option.fullPath}&tk=${bhToken}`" class="go">创建新账号</a></mt-button>
     </div>
   </div>
   <mt-popup v-model="popupVisible" position="right" class="mint-popup" :modal="false">
@@ -94,14 +94,12 @@
         bhToken: '',
         bhImg: '',
         bhName: '',
-        activeTab: 1,
-        linkURL: ''
+        activeTab: 1
       }
     },
     mounted () {
       this.$nextTick(() => {
         this.getUrl()
-        this.linkURL = window.location.href
         // 碧合应用授权认证
         window.document.addEventListener('deviceready', function () {
           window.addEventListener('js_bridge_called', function () {