yuantianjiao 6 jaren geleden
bovenliggende
commit
25dcfda040

+ 3
- 8
src/pages/sales/login/index.vue Bestand weergeven

@@ -1,7 +1,6 @@
1 1
 <template>
2 2
   <div class="mainPage" v-if="showPage">
3 3
     <div class="mask">
4
-      <!-- <img :src="logo" class="logo" alt=""> -->
5 4
       <div class="centerLabel" style="width:100%;">
6 5
         <div class="box" style="margin:0 auto;">
7 6
           <div class="title">登录</div>
@@ -52,7 +51,6 @@
52 51
 </template>
53 52
 
54 53
 <script>
55
-import logo from '../../../common/icon/logo.png'
56 54
 import { createNamespacedHelpers } from 'vuex'
57 55
 const { mapActions: actions } = createNamespacedHelpers('userCenter')
58 56
 const { mapActions: mapLoginActions } = createNamespacedHelpers('login')
@@ -60,7 +58,6 @@ const { mapState: mapUserState } = createNamespacedHelpers('userCenter')
60 58
 export default {
61 59
   data () {
62 60
     return {
63
-      logo,
64 61
       showPage: false,
65 62
       showCase: false,
66 63
       showSales: false,
@@ -117,19 +114,17 @@ export default {
117 114
         this.$toast('验证码格式不正确')
118 115
         return
119 116
       }
120
-      // console.log(this.postData)
121 117
       this.submitData(this.postData).then((res) => {
122
-        // this.$toast(res)
123 118
         setTimeout(() => {
124
-          window.location.href = this.getUrl('mainPage/coffeeIndex')
119
+          window.location.replace(this.getUrl('mainPage/coffeeIndex'))
125 120
         }, 2000)
126 121
       })
127 122
     }
128 123
   },
129 124
   created () {
130 125
     if (this.userInfo.customer.MapUser) {
131
-      window.location.href = this.getUrl('mainPage/coffeeIndex')
132
-      return
126
+      window.location.replace(this.getUrl('mainPage/coffeeIndex'))
127
+      // window.location.href = this.getUrl('mainPage/coffeeIndex')
133 128
     } else {
134 129
       this.showPage = true
135 130
     }

+ 0
- 1
src/pages/user/cardDetail/index.vue Bestand weergeven

@@ -5,7 +5,6 @@
5 5
       <div class="message">
6 6
         <div>
7 7
           <span>{{info.CustomerCardName}}</span>
8
-          <!-- <span class="sub">(可在银城会所健身房和游泳池使用)</span> -->
9 8
         </div>
10 9
         <div>
11 10
           <span>有效时间</span>

+ 1
- 1
src/pages/user/gymCardDetail/index.vue Bestand weergeven

@@ -5,7 +5,7 @@
5 5
       <div class="message">
6 6
         <div>
7 7
           <span>会所健身体验卡</span>
8
-          <span class="sub">(可在银城会所健身房和游泳池使用)</span>
8
+          <span class="sub">(可在城的空间健身房和游泳池使用)</span>
9 9
         </div>
10 10
         <div>
11 11
           <span>有效时间</span>

+ 1
- 1
src/pages/user/mainPage/index.vue Bestand weergeven

@@ -26,7 +26,7 @@ export default {
26 26
     return {
27 27
       tabBar: [{
28 28
         pathName: 'indexPage',
29
-        name: '会所'
29
+        name: '城的空间'
30 30
       }, {
31 31
         pathName: 'coffeeIndex',
32 32
         name: '城咖啡'

+ 1
- 1
src/pages/user/mainPage/userCenter/index.vue Bestand weergeven

@@ -28,7 +28,7 @@
28 28
             <img src="../../../../common/icon/userCenter-icon-2.png" width="100%" height="100%" alt="">
29 29
           </div>
30 30
           <span>卡券</span>
31
-          <span>{{Nums.cardsnum || 0}}张未使用</span>
31
+          <span>0张未使用</span>
32 32
         </div>
33 33
         <div class="flex-item privilege-item" @click="toVip">
34 34
           <div class="img-box">

+ 2
- 1
src/pages/user/placeOrder/index.vue Bestand weergeven

@@ -269,7 +269,8 @@ export default {
269 269
         message: '返回页面将清空当前选择的商品,确定要返回吗?'
270 270
       }).then(() => {
271 271
         // this.$router.push({ name: 'coffeeIndex' })
272
-        window.history.go(-1)
272
+        // window.history.go(-1)
273
+        this.$router.go(-1)
273 274
       })
274 275
     },
275 276
     placeOrder (Remark) { // 下单

+ 7
- 1
src/pages/user/receive/index.vue Bestand weergeven

@@ -8,7 +8,13 @@
8 8
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
9 9
       <div class="title" v-else>{{data.CouponName}}</div>
10 10
       <div class="video" v-if='video'>
11
-        <video :src="data.VideoUrl" width="100%" height="100%"></video>
11
+        <video width="100%" height="100%" preload="auto" controls="controls" x5-playsinline="true">
12
+          <source :src="data.VideoUrl" type="video/mp4">
13
+          <source :src="data.VideoUrl" type="video/avi">
14
+          <source :src="data.VideoUrl" type="video/wma">
15
+          <source :src="data.VideoUrl" type="video/rmvb">
16
+          <source :src="data.VideoUrl" type="video/rm">
17
+        </video>
12 18
       </div>
13 19
       <div class="text">
14 20
         <div>

+ 7
- 1
src/pages/user/receiveChannel/index.vue Bestand weergeven

@@ -16,7 +16,13 @@
16 16
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
17 17
       <div class="title" v-else>{{data.CouponName}}</div>
18 18
       <div class="video" v-if='video'>
19
-        <video :src="data.VideoUrl" height="100%" width="100%" preload="auto" ></video>
19
+        <video width="100%" height="100%" preload="auto" x5-playsinline="true" controls="controls">
20
+          <source :src="data.VideoUrl" type="video/mp4">
21
+          <source :src="data.VideoUrl" type="video/avi">
22
+          <source :src="data.VideoUrl" type="video/wma">
23
+          <source :src="data.VideoUrl" type="video/rmvb">
24
+          <source :src="data.VideoUrl" type="video/rm">
25
+        </video>
20 26
       </div>
21 27
       <div class="text">
22 28
         <div>