فهرست منبع

个人中心删除提现

zhangyujun 3 سال پیش
والد
کامیت
f277220cd6
3فایلهای تغییر یافته به همراه9 افزوده شده و 12 حذف شده
  1. 0 6
      src/pages.json
  2. 1 2
      src/pages/index/index.vue
  3. 8 4
      src/pages/user/index.vue

+ 0 - 6
src/pages.json

@@ -264,12 +264,6 @@
         "selectedIconPath": "static/imgs/video-avtive.png",
         "text": "学车"
       },
-      // {
-      //   "pagePath": "pages/cinema/index",
-      //   "iconPath": "static/imgs/theFilm.png",
-      //   "selectedIconPath": "static/imgs/theFilm-avtive.png",
-      //   "text": "电影"
-      // },
       {
         "pagePath": "pages/user/index",
         "iconPath": "static/imgs/user.png",

+ 1 - 2
src/pages/index/index.vue

@@ -52,14 +52,13 @@
 	import user from "@/pages/user/index.vue";
 	import login from "./components/login.vue";
 	import home from "@/pages/home/index.vue";
-	import cinema from "@/pages/cinema/index.vue";
+
 	export default {
 		components: {
 			applist,
 			user,
 			login,
 			home,
-			cinema,
 		},
 		data() {
 			return {

+ 8 - 4
src/pages/user/index.vue

@@ -7,21 +7,21 @@
         </view>
       </van-cell>
       <van-cell-group class="group">
-        <van-cell title="我要提现" value="" is-link center @click="goCashOut">
-        </van-cell>
+        <!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
+        </van-cell> -->
         <!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
 				<template #icon>
 					<m-icon type="hyyxq" class="cell-icon" />
 				</template>
 			</van-cell> -->
-        <van-cell
+        <!-- <van-cell
           title="我的推广积分"
           value=""
           is-link
           center
           @click="goMyIntegral"
         >
-        </van-cell>
+        </van-cell> -->
         <van-cell
           title="会员有效期"
           :value="expireTime ? expireTime : '开通会员'"
@@ -57,6 +57,10 @@ export default {
     userInfo() {
       return this.$store.state.user.userInfo;
     },
+    expireTime(){
+
+      return this.$store.state.user.userInfo.expireTime&&this.$store.getters.isVip?this.$store.state.user.userInfo.expireTime.split(" ")[0]:null
+    }
   },
   mounted() {
     this.$store.dispatch("GetInfo");