yuantianjiao 6 年前
父节点
当前提交
79cd1ca6e7
共有 4 个文件被更改,包括 48 次插入26 次删除
  1. 二进制
      src/assets/topImg.jpg
  2. 二进制
      src/assets/topImg.png
  3. 7
    7
      src/views/supportDetail/supportDetail.vue
  4. 41
    19
      src/views/supportMain/supportMain.vue

二进制
src/assets/topImg.jpg 查看文件


二进制
src/assets/topImg.png 查看文件


+ 7
- 7
src/views/supportDetail/supportDetail.vue 查看文件

25
             <span>0</span>
25
             <span>0</span>
26
             <span>元</span>
26
             <span>元</span>
27
           </div>
27
           </div>
28
-          <div>获得价值1888元的悦见山感恩馈赠福利一份</div>
28
+          <div>获得价值1888元的悦见山新年全家福定制台历拍摄福利</div>
29
           <div>请及时前往江北新区.白马路10号.银城颐居.悦见山营销中心领取</div>
29
           <div>请及时前往江北新区.白马路10号.银城颐居.悦见山营销中心领取</div>
30
         </div>
30
         </div>
31
       </div>
31
       </div>
69
             29.6
69
             29.6
70
             <span>元</span>
70
             <span>元</span>
71
           </div>
71
           </div>
72
-          <div @click="toLuckDraw()">
72
+          <div @click="toLuckDraw()" style="font-weight:700;font-size:.18rem;color:#C54024;">
73
             您有一次抽奖机会,立即前往
73
             您有一次抽奖机会,立即前往
74
             <i class="iconfont icon-you"></i>
74
             <i class="iconfont icon-you"></i>
75
           </div>
75
           </div>
76
-          <img class="present" :src="presentClose">
77
           <img class="btn" :src="btn" @click="$router.push({name:'supportMain'})">
76
           <img class="btn" :src="btn" @click="$router.push({name:'supportMain'})">
78
         </div>
77
         </div>
79
       </div>
78
       </div>
208
     share (recordid) {
207
     share (recordid) {
209
       let link = `${window.location.origin}${window.location.pathname}#/supportDetail/other/${recordid}`
208
       let link = `${window.location.origin}${window.location.pathname}#/supportDetail/other/${recordid}`
210
       wxsdk({ url: encodeURIComponent(window.location.href.split('#')[0]) }, {
209
       wxsdk({ url: encodeURIComponent(window.location.href.split('#')[0]) }, {
211
-        title: '定格陪伴',
210
+        title: '定格陪伴,悦见山全家福定制台历拍摄火热报名中',
212
         desc: '我正在参加悦见山助力活动,快来帮我助力吧~',
211
         desc: '我正在参加悦见山助力活动,快来帮我助力吧~',
213
         link: link,
212
         link: link,
214
         thu_image: `http://spaceofcheng.oss-cn-beijing.aliyuncs.com/IMG_58371544441587.JPG?x-oss-process=style/wxicon`
213
         thu_image: `http://spaceofcheng.oss-cn-beijing.aliyuncs.com/IMG_58371544441587.JPG?x-oss-process=style/wxicon`
232
       }
231
       }
233
     },
232
     },
234
     toLuckDraw () {
233
     toLuckDraw () {
235
-      window.location.href = 'http://dev.jinchengjiaye.com/wechat/user.html#/rush?flashBuyId=ed84ad1f-030e-4f77-9042-9ca6ca87c9c8'
234
+      window.location.href = 'http://spaceofcheng.ycjcjy.com/game/luckdraw/#/?lotteryId=d04f645f-5557-48f3-9ad3-4cf3546dbc23'
236
     }
235
     }
237
   }
236
   }
238
 }
237
 }
351
     .log1 {
350
     .log1 {
352
       width: 100%;
351
       width: 100%;
353
       height: 100%;
352
       height: 100%;
354
-      padding-top: 0.7rem;
353
+      padding-top: 0.8rem;
355
       text-align: center;
354
       text-align: center;
356
       div:nth-of-type(1) {
355
       div:nth-of-type(1) {
357
         font-size: 0.16rem;
356
         font-size: 0.16rem;
359
         margin-bottom: 0.1rem;
358
         margin-bottom: 0.1rem;
360
       }
359
       }
361
       div:nth-of-type(2) {
360
       div:nth-of-type(2) {
362
-        font-size: 0.64rem;
361
+        font-size: 0.5rem;
363
         text-align: center;
362
         text-align: center;
364
         margin-bottom: 0.05rem;
363
         margin-bottom: 0.05rem;
365
         span {
364
         span {
380
         margin: 0 auto;
379
         margin: 0 auto;
381
       }
380
       }
382
       .btn {
381
       .btn {
382
+        margin-top: 0.5rem;
383
         width: 1.8rem;
383
         width: 1.8rem;
384
       }
384
       }
385
     }
385
     }

+ 41
- 19
src/views/supportMain/supportMain.vue 查看文件

5
         <img :src="topImg">
5
         <img :src="topImg">
6
         <div class="top-div">
6
         <div class="top-div">
7
           <b>悦见山全家福拍摄助力砍价活动</b>
7
           <b>悦见山全家福拍摄助力砍价活动</b>
8
-          <p>时间: {{`${this.toolClass.dateFormat(game.game.BeginDate,'yyyy年MM月dd日')} ~ ${this.toolClass.dateFormat(game.game.EndDate,'yyyy年MM月dd日')}`}}</p>
9
-          <p>地点: 南京•国家级江北新区•白马路10号</p>
8
+          <p>报名截止时间:2018年12月18日</p>
9
+          <p>拍摄时间:2018年12月13日——2018年12月29日</p>
10
+          <p>地点:国家级江北新区•白马路10号银城颐居·悦见山营销中心</p>
11
+          <p>活动电话:025-86505555</p>
10
         </div>
12
         </div>
11
       </div>
13
       </div>
12
       <div class="main">
14
       <div class="main">
13
         <h2>活动详情</h2>
15
         <h2>活动详情</h2>
14
         <div>悦见山全家福拍摄助力砍价活动</div>
16
         <div>悦见山全家福拍摄助力砍价活动</div>
15
-        <p>原价:888元</p>
16
-        <p>可邀请最多30个好友帮忙砍价,最多可砍至0元</p>
17
+        <p>原价:1888元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;悦见山年终回馈价:888元</p>
18
+        <p>点击下方的“立即报名”参加报名,分享给30位好友,让好友助力帮忙您完成任务,2018年12月13日—2018年12月18日每天前10名完成任务的客户即可参加项目的全家福拍摄及台历定制;</p>
17
         <div>套餐包含:</div>
19
         <div>套餐包含:</div>
18
-        <div>服装提供:免费提供1组拍摄服装</div>
19
-        <div>拍摄精修:拍摄至少12张有效照片,精修刻盘</div>
20
-        <div>台历赠送:选取6张精修照片定制2019年新年台历(具体台历形式由悦见山统一定制)</div>
21
-        <p>照片赠送:照片全送</p>
22
-        <div>活动规则:</div>
23
-        <p>本次活动共招募1212组家庭,每天报名砍价成功人数不得超过10组。</p>
24
-        <p>活动电话:025-86426677</p>
20
+        <div>服务团队:2名主力摄影师,1名主力化妆师,1名主力引导师,1名主力设计师</div>
21
+        <div>服装提供:提供亲子全家福服装一套</div>
22
+        <div>拍摄精修:赠送6张精修底片并刻盘</div>
23
+        <div>台历赠送:赠送2019年新年定制专属台历一本(含6张全家福照片)</div>
25
       </div>
24
       </div>
26
     </div>
25
     </div>
27
     <div class="bottom">
26
     <div class="bottom">
30
         @click="submit()"
29
         @click="submit()"
31
       >{{btn.text}}</div>
30
       >{{btn.text}}</div>
32
     </div>
31
     </div>
33
-    <div class="login" v-if="login" @click="login=false">
32
+    <div class="login" v-show="login" @click="login=false">
34
       <div class="box" @click.stop="1+1">
33
       <div class="box" @click.stop="1+1">
35
         <div class="item">
34
         <div class="item">
36
           <label for="name">姓名</label>
35
           <label for="name">姓名</label>
37
-          <input type="text" v-model="name">
36
+          <input type="text" v-model="name" @blur='blur'>
38
         </div>
37
         </div>
39
         <div class="item">
38
         <div class="item">
40
           <label for="phone">手机号</label>
39
           <label for="phone">手机号</label>
41
-          <input type="tel" v-model="phone">
40
+          <input type="tel" v-model="phone" @blur='blur'>
42
         </div>
41
         </div>
43
         <div class="item">
42
         <div class="item">
44
-          <label for="address">住址</label>
45
-          <input type="text" v-model="address">
43
+          <label for="address">所在社区</label>
44
+          <input type="text" v-model="address" @blur='blur'>
46
         </div>
45
         </div>
47
         <div class="submit" @click="sign()">提交</div>
46
         <div class="submit" @click="sign()">提交</div>
48
       </div>
47
       </div>
51
 </template>
50
 </template>
52
 
51
 
53
 <script>
52
 <script>
54
-import topImg from '@/assets/topImg.jpg'
53
+import topImg from '@/assets/topImg.png'
55
 import area from '@/util/area.js'
54
 import area from '@/util/area.js'
56
 import { createNamespacedHelpers } from 'vuex'
55
 import { createNamespacedHelpers } from 'vuex'
56
+import wxsdk from '@/util/share'
57
 const { mapState: mapIndexState, mapActions: mapIndexActions } = createNamespacedHelpers('main')
57
 const { mapState: mapIndexState, mapActions: mapIndexActions } = createNamespacedHelpers('main')
58
 export default {
58
 export default {
59
   data () {
59
   data () {
100
         }
100
         }
101
       }
101
       }
102
       this.showPage = true
102
       this.showPage = true
103
-    })
103
+    }),
104
+      this.share()
104
   },
105
   },
105
   computed: {
106
   computed: {
106
     ...mapIndexState({
107
     ...mapIndexState({
142
         this.record()
143
         this.record()
143
       })
144
       })
144
     },
145
     },
146
+    share () {
147
+      let link = `${window.location.origin}${window.location.pathname}#/`
148
+      wxsdk({ url: encodeURIComponent(window.location.href.split('#')[0]) }, {
149
+        title: '定格陪伴,悦见山全家福定制台历拍摄火热报名中',
150
+        desc: '我正在参加悦见山助力活动,快来帮我助力吧~',
151
+        link: link,
152
+        thu_image: `http://spaceofcheng.oss-cn-beijing.aliyuncs.com/IMG_58371544441587.JPG?x-oss-process=style/wxicon`
153
+      })
154
+    },
145
     record () {
155
     record () {
146
       if (this.btn.status === 1) {
156
       if (this.btn.status === 1) {
147
         this.setRecord().then(() => {
157
         this.setRecord().then(() => {
150
       } else if (this.btn.status === 3) {
160
       } else if (this.btn.status === 3) {
151
         this.$router.push({ name: 'supportDetail', params: { other: 'own', recordid: '0' } })
161
         this.$router.push({ name: 'supportDetail', params: { other: 'own', recordid: '0' } })
152
       }
162
       }
163
+    },
164
+    blur () {
165
+      var currentPosition, timer;
166
+      var speed = 1;//页面滚动距离
167
+      timer = setInterval(function () {
168
+        currentPosition = document.documentElement.scrollTop || document.body.scrollTop;
169
+        currentPosition -= speed;
170
+        window.scrollTo(0, currentPosition);//页面向上滚动
171
+        currentPosition += speed; //speed变量
172
+        window.scrollTo(0, currentPosition);//页面向下滚动
173
+        clearInterval(timer);
174
+      }, 1);
153
     }
175
     }
154
   }
176
   }
155
 }
177
 }
227
       height: 0.4rem;
249
       height: 0.4rem;
228
       align-items: center;
250
       align-items: center;
229
       label {
251
       label {
230
-        width: 0.5rem;
252
+        width: 0.6rem;
231
         color: rgba(168, 182, 200, 1);
253
         color: rgba(168, 182, 200, 1);
232
       }
254
       }
233
       input,
255
       input,