Szx %!s(int64=3) %!d(string=hai) anos
pai
achega
cc14c1c3c5

BIN=BIN
src/assets/cancellogin.png


+ 7 - 7
src/components/gologin/GoLogin.vue

@@ -1,11 +1,11 @@
 <template>
   <div>
     <mt-popup v-model="show" popup-transition="popup-fade">
-      <img src="../../assets/gotologin.png" alt="" />
+      <img src="../../assets/gotologin.png" alt=""  class="gotologin"/>
       <div class="login_success">您还尚未绑定手机号</div>
       <div class="login_message">绑定手机号方便下次继续阅读</div>
       <div class="go_back_btn" @click="goBind">去绑定</div>
-      <div class="close_icon">12312</div>
+      <div class="close_icon" @click="close"><img src="../../assets/cancellogin.png" alt=""></div>
     </mt-popup>
   </div>
 </template>
@@ -32,23 +32,23 @@ export default {
       required: false,
       type: Function
     },
-    callback:{
+    callback: {
       required: false,
       type: Function
     }
   },
   methods: {
     goBind() {
-      router.push("/phone");
+      router.push("/login");
       this.close();
-      this.callback('success')
+      this.callback("success");
     }
   }
 };
 </script>
 <style lang="scss" scoped>
 /deep/.mint-popup {
-  img {
+  .gotologin {
     width: 202px;
     height: 144px;
   }
@@ -91,7 +91,7 @@ export default {
   .close_icon {
     position: absolute;
     left: 45%;
-    bottom: -0.5rem;
+    bottom: -1rem;
     color: white;
   }
 }

+ 4 - 3
src/components/gologin/index.js

@@ -21,8 +21,9 @@ const goLogin = () => {
   if (!instance) {
     initInstance();
   }
-
-  instance.show = true;
+  // console.log(GoLogin,'goLogin')
+  // console.log(instance,'instance')
+  instance.show = false;
 
   //增加回调访法方便以后异步调用
   instance.callback = action => {
@@ -46,10 +47,10 @@ const goLogin = () => {
 
 //方便直接调用
 goLogin.close = () => {
+  
   if (instance) {
     instance.show = false;
   }
 };
 
-
 export default goLogin;

+ 0 - 2
src/view/Privacypolicy.vue

@@ -15,10 +15,8 @@ export default {
   },
   methods: {
     show() {
-      this.$GoLogin.show();
     },
     hidden() {
-      this.$GoLogin.hidden();
     }
   }
 };

+ 1 - 3
src/view/person.vue

@@ -156,7 +156,6 @@ import {
   RecordRecharge,
   RecordSend,
   RecordSign,
-  PhoneBinding,
   Coupon,
   Login
 } from "./namespace.js";
@@ -175,7 +174,6 @@ export default {
       RecordSign: RecordSign.route,
       Coupon: Coupon.route,
       Login: Login.route,
-      PhoneBinding: PhoneBinding.route,
       xiyue_pay_template: window.options.xiyue_info,
       user: {},
       showBuyVip: window.options && window.options.hidden_personal_page_vip != 1
@@ -187,7 +185,7 @@ export default {
     },
     toBind() {
       if (!!this.user.bind) return;
-      this.$router.push(this.PhoneBinding);
+      this.$router.push('/login');
     },
     toSignPage() {
       location.href = "/sign";