yuantianjiao 6 年前
父节点
当前提交
25dcfda040

+ 3
- 8
src/pages/sales/login/index.vue 查看文件

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

+ 0
- 1
src/pages/user/cardDetail/index.vue 查看文件

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

+ 1
- 1
src/pages/user/gymCardDetail/index.vue 查看文件

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

+ 1
- 1
src/pages/user/mainPage/index.vue 查看文件

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

+ 1
- 1
src/pages/user/mainPage/userCenter/index.vue 查看文件

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

+ 2
- 1
src/pages/user/placeOrder/index.vue 查看文件

269
         message: '返回页面将清空当前选择的商品,确定要返回吗?'
269
         message: '返回页面将清空当前选择的商品,确定要返回吗?'
270
       }).then(() => {
270
       }).then(() => {
271
         // this.$router.push({ name: 'coffeeIndex' })
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
     placeOrder (Remark) { // 下单
276
     placeOrder (Remark) { // 下单

+ 7
- 1
src/pages/user/receive/index.vue 查看文件

8
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
8
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
9
       <div class="title" v-else>{{data.CouponName}}</div>
9
       <div class="title" v-else>{{data.CouponName}}</div>
10
       <div class="video" v-if='video'>
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
       </div>
18
       </div>
13
       <div class="text">
19
       <div class="text">
14
         <div>
20
         <div>

+ 7
- 1
src/pages/user/receiveChannel/index.vue 查看文件

16
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
16
       <div class="title" v-if="$route.query.type === 'card'">{{data.CardName}}</div>
17
       <div class="title" v-else>{{data.CouponName}}</div>
17
       <div class="title" v-else>{{data.CouponName}}</div>
18
       <div class="video" v-if='video'>
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
       </div>
26
       </div>
21
       <div class="text">
27
       <div class="text">
22
         <div>
28
         <div>