作者 郑喜程

描述你的更改

@@ -21,17 +21,22 @@ @@ -21,17 +21,22 @@
21 <!-- <lx-button text="取消" plain="{{true}}" lx-class="btn-check-shop" bindtap="goBack" /> --> 21 <!-- <lx-button text="取消" plain="{{true}}" lx-class="btn-check-shop" bindtap="goBack" /> -->
22 <view class="cancel_btn" bindtap="goBack">取消</view> 22 <view class="cancel_btn" bindtap="goBack">取消</view>
23 </view> 23 </view>
24 - <v-popup showPopup="{{showPrivacy}}"> 24 + <v-popup showPopup="{{showPrivacy}}" transparent="{{true}}">
25 <view class="agree-wrap"> 25 <view class="agree-wrap">
  26 + <image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
26 <view class="agree-client"> 27 <view class="agree-client">
27 - <image src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/wdl.png" />  
28 - <view>味动力乳酸菌</view> 28 + <!-- <image src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/wdl.png" /> -->
  29 + <!-- <view>味动力乳酸菌</view> -->
  30 + <view class="agreeText">用户隐私政策</view>
29 </view> 31 </view>
30 <view class="agree-content"> 32 <view class="agree-content">
31 - 在你使用味动力乳酸菌小程序之前,请仔细阅读<text catchtap="handleOpenPrivacyContract">《小程序用户隐私协议声明》</text>。如你同意,请点击“同意”开始使用小程序。 33 + <!-- 在你使用味动力乳酸菌小程序之前,请仔细阅读<text catchtap="handleOpenPrivacyContract">《小程序用户隐私协议声明》</text>。如你同意,请点击“同意”开始使用小程序。 -->
  34 + <view>为了提供更好的服务并确认您的个人信息安全,在您使用小程序服务之前,请仔细阅读《XXXX隐私保护指引》</view>
  35 + <view>如您同意《XXX隐私保护指引》,</view>
  36 + <view>请点击“同意”开始使用小程序服务。</view>
32 </view> 37 </view>
33 <view class="agree-btns"> 38 <view class="agree-btns">
34 - <button class="agree-btn" bindtap="closePrivacy">拒绝</button> 39 + <button class="agree-btn refuse" bindtap="closePrivacy">拒绝退出</button>
35 <button class="agree-btn agree" open-type="agreePrivacyAuthorization" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button> 40 <button class="agree-btn agree" open-type="agreePrivacyAuthorization" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button>
36 </view> 41 </view>
37 </view> 42 </view>
@@ -13,6 +13,14 @@ @@ -13,6 +13,14 @@
13 position: absolute; 13 position: absolute;
14 } 14 }
15 15
  16 +.packet {
  17 + z-index: -2;
  18 + top: 0;
  19 + bottom: 0;
  20 + left: 0;
  21 + margin: auto;
  22 +}
  23 +
16 .logo { 24 .logo {
17 right: 0; 25 right: 0;
18 left: 0; 26 left: 0;
@@ -172,11 +180,13 @@ @@ -172,11 +180,13 @@
172 } 180 }
173 181
174 .agree-wrap { 182 .agree-wrap {
175 - background-color: #fff;  
176 - width: 600rpx; 183 + /* background-color: #fff; */
  184 + width: 100%;
177 box-sizing: border-box; 185 box-sizing: border-box;
178 - padding: 30rpx 28rpx 50rpx;  
179 border-radius: 20rpx; 186 border-radius: 20rpx;
  187 + height: 53% !important;
  188 + padding: 30rpx 50rpx 50rpx;
  189 + position: relative;
180 } 190 }
181 191
182 .agree-client { 192 .agree-client {
@@ -187,13 +197,29 @@ @@ -187,13 +197,29 @@
187 color: #333333; 197 color: #333333;
188 } 198 }
189 199
  200 +.agreeText {
  201 + margin: auto;
  202 + font-size: 42rpx !important;
  203 + font-weight: bold;
  204 + position: absolute;
  205 + top: -2%;
  206 + left: 0;
  207 + right: 0;
  208 + text-align: center;
  209 +}
  210 +
190 .agree-content { 211 .agree-content {
191 color: #333333; 212 color: #333333;
192 font-size: 30rpx; 213 font-size: 30rpx;
193 font-weight: Regular; 214 font-weight: Regular;
194 line-height: 48rpx; 215 line-height: 48rpx;
195 - margin-top: 34rpx; 216 + margin-top: 15%;
196 min-height: 216rpx; 217 min-height: 216rpx;
  218 + padding: 0 10%;
  219 +}
  220 +
  221 +.agree-content view {
  222 + padding: 6rpx 0;
197 } 223 }
198 224
199 .agree-content text { 225 .agree-content text {
@@ -210,8 +236,15 @@ @@ -210,8 +236,15 @@
210 236
211 .agree-btns { 237 .agree-btns {
212 display: flex; 238 display: flex;
213 - justify-content: space-around; 239 + /* justify-content: space-around; */
  240 + flex-direction: column;
214 margin-top: 10rpx; 241 margin-top: 10rpx;
  242 + bottom: 10%;
  243 + position: absolute;
  244 + width: 80%;
  245 +}
  246 +.agree-btns button{
  247 + margin: 10rpx auto;
215 } 248 }
216 249
217 .agree-btn { 250 .agree-btn {
@@ -221,10 +254,15 @@ @@ -221,10 +254,15 @@
221 border-radius: 8rpx; 254 border-radius: 8rpx;
222 font-weight: 500; 255 font-weight: 500;
223 font-size: 32rpx; 256 font-size: 32rpx;
224 - color: #07B300; 257 + color: #fff;
225 } 258 }
226 259
227 .agree-btn.agree { 260 .agree-btn.agree {
228 - background: #07B300; 261 + background: #FFE18C;
  262 + color: #F90000;
  263 +}
  264 +.agree-btn.refuse {
  265 + background: #FF2222;
229 color: #fff; 266 color: #fff;
  267 + border: 1px solid #fff;
230 } 268 }
@@ -31,10 +31,12 @@ Page({ @@ -31,10 +31,12 @@ Page({
31 received: false, 31 received: false,
32 isNoAward: false, //没有中奖的情况 32 isNoAward: false, //没有中奖的情况
33 showRedPack: false, //红包 33 showRedPack: false, //红包
  34 + showCodeSituation: false, //二维码活动情况
  35 + txt: "",
34 showSecondRedPack: false, //待解锁红包 36 showSecondRedPack: false, //待解锁红包
35 secondRedPackBg: 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png', 37 secondRedPackBg: 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png',
36 excitationRedPack: false, //激励红包 38 excitationRedPack: false, //激励红包
37 - groupRule:'<p style="text-align:center;">\n\t消费者声明及活动详细规则\n</p>\n<p>\n\t请在参与本活动前仔细阅读本活动的各项条款,如果您参加了本活动,则活动主办方认为您已充分理解并同意该规则中的各条款:\n</p>\n<ol>\n\t<li>\n\t\t活动主办方及其联系方式:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t均瑶集团上海食品有限公司(以下简称“主办方”)\n</p>\n<p style="text-indent:24px;">\n\t联系电话:021-60251969(话费自理,工作日:9:00-12:00,13:30-18:00)\n</p>\n<ol>\n\t<li>\n\t\t活动期间及兑奖时间:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t即日起至2026年4月30日23:59:59截止。\n</p>\n<p style="text-indent:24px;">\n\t为充分保障中奖者权益,兑奖时间为即日起至2026年5月1日23:59:59截止,逾期视为自动放弃兑奖。\n</p>\n<ol>\n\t<li>\n\t\t活动区域:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t仅限中国大陆地区(不含港、澳、台)\n</p>\n<ol>\n\t<li>\n\t\t活动参与条件及参与方式:\n\t</li>\n</ol>\n<p style="text-indent:28px;">\n\t即日起,凡购买“扫码赢红包”味动力AD钙奶饮品(2个口味),揭开活动产品包装上活动标签(因其包装设计二维码于瓶盖内,故为揭开瓶盖,敬请谅解),微信扫描其内二维码,进入活动小程序,根据提示完成授权或登陆即可参与活动。参与活动的消费者有机会赢取666元微信红包一份、1.8元微信红包一份或0.6元微信红包一份;同时,还有机会获得复购奖励“1.8元复购红包”,获得复购奖励后再买一瓶活动产品并扫描再次购买的活动产品瓶盖内二维码后即可解锁领取1.8元现金红包,复购奖励数量有限,发完即止。\n</p>\n<ol>\n\t<li>\n\t\t开奖方式与开奖时间:\n\t</li>\n</ol>\n<p>\n\t&nbsp;&nbsp;&nbsp;&nbsp;参与活动后,根据微信平台活动小程序页面提示,手机扫码即时开奖,若显示中奖,则线上即时领取红包即可。\n</p>\n<ol>\n\t<li>\n\t\t奖项种类设置:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t本活动奖项种类分为常规抽奖与复购奖励。\n</p>\n<ol>\n\t<li>\n\t\t其中常规抽奖设立奖品价格、奖品品名、奖品种类、奖品数量及中奖概率如下:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t一等奖:666元微信现金红包一份,价值人民币六百六十六元,本活动共设18份;中奖概率约为0.0039%\n</p>\n<p style="text-indent:24px;">\n\t二等奖:1.8元微信现金红包一份,价值人民币一元八角,本活动共设6,000份;中奖概率约为1.33%\n</p>\n<p style="text-indent:24px;">\n\t三等奖:0.6元微信现金红包一份,价值人民币八角,本活动共设80,000份;中奖概率约为17.78%\n</p>\n<p style="text-indent:24px;">\n\t其余未中奖将出现“谢谢惠顾”字样。\n</p>\n<p style="text-indent:24px;">\n\t*各奖项中奖率无法整除,谨请谅解。\n</p>\n<ol>\n\t<li>\n\t\t复购奖励设立奖品价格、奖品品名、奖品种类、奖品数量如下:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t复购奖励:人民币1.8元微信现金红包一份,价值人民币壹元捌角,共30,000份,数量有限,先到先得,发完即止。\n</p>\n<ol>\n\t<li>\n\t\t兑奖条件、兑奖方式及奖品交付方式:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t微信扫描活动产品包装上活动标签后,按手机页面提示操作进行兑奖。\n</p>\n<ol>\n\t<li>\n\t\t常规抽奖兑换方式、兑奖方式及奖品交付方式如下:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t如若抽中一等奖666元,需要完善中奖者姓名、身份证、手机号信息并确认提交即可兑奖。提请注意:因微信平台对商家转账到零钱的单笔提现金额上限至200元,即该奖项到账微信钱包时会自动拆分成4笔同时到中奖者微信账户余额;\n\t</li>\n\t<li>\n\t\t如若抽中二等奖1.8元/三等奖0.8元,点击领取即可兑奖,不需要完善中奖者信息;所得现金红包将存入本人微信账户,可在历史中奖记录中查看。\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t复购奖励兑换方式、兑奖方式及奖品交付方式如下:\n\t</li>\n</ol>\n<p>\n\t&nbsp;&nbsp;&nbsp;&nbsp;如若抽中复购奖励,复购奖励中奖者再买一瓶活动产品并点击活动页面中的“扫码激活”扫描再次购买的活动产品瓶盖内二维码后点击领取即可兑奖,不需要完善中奖者信息;所得现金红包将自动存入本人微信账户,可在历史中奖记录中查看。\n</p>\n<p style="text-indent:24px;">\n\t红包提现需遵守腾讯公司微信红包提现规则,由系统自动发放,转账延时属正常情况。本次活动所产生的个人所得税由均瑶集团上海食品有限公司依法代扣代缴,现金红包均为税后所得。\n</p>\n<ol>\n\t<li>\n\t\t活动声明、弃奖条件及注意事项:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t均瑶集团上海食品有限公司对活动产品真实性及有效性具有鉴定及确认权。\n\t</li>\n\t<li>\n\t\t本次活动产品总计投入2,250,000份,每个活动产品二维码只可参与一次抽奖活动,重复扫码无效。\n\t</li>\n\t<li>\n\t\t为保证活动参与体验,主办方将检测活动消费者所提交的相关数据以确保真实性。若检测出消费者有恶意或者虚假刷单行为,主办方有权取消其参加本次活动资格。提请注意:每个微信OpenID活动期间日参与次数限6次,超过参与次数后限制参与,并提示微信号参与已达日上限。消费者可以次日零点后再扫码参与。\n\t</li>\n\t<li>\n\t\t现金红包须在兑奖截止日期前(如需完善相关信息应当在兑换有效期内完善并正确)完成兑奖,过期视为弃奖,主办方不予补发。\n\t</li>\n\t<li>\n\t\t复购奖励中奖者,若未在中奖后72小时内再次购买活动产品并扫描再次购买的活动产品瓶盖内二维码的,视为弃奖。\n\t</li>\n\t<li>\n\t\t消费者应当在活动期间内参与活动并在兑奖期间内完成兑奖,否则视为弃奖。\n\t</li>\n\t<li>\n\t\t活动主办方不对因网络传输原因而导致消费者提交的信息错误或延误承担任何责任。\n\t</li>\n\t<li>\n\t\t消费者领奖过程中所发生的个人费用(包含但不限于上网费、手机流量费、短信费、咨询客服电话费)需自理,主办方不做任何形式的补偿。本活动对象为以消费为目的的消费者,禁止非真实活动参与者的刷单行为,活动参与者不遵守活动规则的,主办方有权根据法律法规及活动规则不予兑换/追回已兑换活动奖品,并且主办方保留追究无参与资格者一切法律责任的权力。\n\t</li>\n\t<li>\n\t\t若因消费者个人原因造成账号、密码遗失,并导致参与活动兑奖的消费者无法提交个人信息的情况,活动主办方不承担责任。\n\t</li>\n\t<li>\n\t\t如发现消费者恶意刷奖行为,包括但不限于:入侵本次活动所使用的网络服务器、使用技术手段获取活动后台信息或篡改活动后台中奖规则、参与记录不符合活动的最低参与要求、盗用他人信息参与活动、冒充他人获得红包等不正当行为,主办方有权取消其活动参与权和收回其所得红包。同时保留依法追究其法律责任的权利。\n\t</li>\n\t<li>\n\t\t活动过程中出现“不可抗力”事件或计算机系统故障直接或间接地造成活动主办方无法履行其全部或部分义务,则活动主办方将免予履行该义务,并无需承担相应的责任。“不可抗力”事件包括但不限于,地震、台风、火灾、水灾、战争、法律法规调整、政府命令禁止、因黑客攻击、计算机病毒影响、系统崩溃、数据丢失或其他人为原因造成计算机系统故障,及其他自然或人为灾害等导致活动无法继续开展的,且活动主办方不可预见、无法避免并无法控制的事件。\n\t</li>\n\t<li>\n\t\t活动过程中,如因政府法律法规调整或行政命令要求,活动主办方有权根据上述调整或要求随时调整活动内容及规则。活动内容及规则调整时,活动主办方将另行向活动参与者公告通知相关的调整,但无需征得活动参与者的同意。主办方有权根据法律法规、司法或行政命令的要求以及活动的实际情况,在法律允许的范围内随时取消、中止或终止此次活动。\n\t</li>\n\t<li>\n\t\t本次活动奖品所涉之相关服务由第三方服务提供商提供,使用服务的相关限制及注意事项以具体服务提供商的要求为准。对于消费者在领取和使用奖品过程中发生的任何伤害和损失,如该伤害和损失非由主办方之过错导致,主办方不承担任何责任。\n\t</li>\n\t<li>\n\t\t消费者需就因其违反本条款及细则的任何规定、侵犯他人权利或其他任何违法的行为而引起的所有索偿、责任、损失、损害、费用和开支对主办方做出补偿。\n\t</li>\n\t<li>\n\t\t本活动适用中华人民共和国法律。因本活动引起的或本活动有关的任何争议,由争议双方友好协商解决。如任何争议不能通过双方友好协商解决的,可通过其他有效法律途径征求最终解决方式。\n\t</li>\n\t<li>\n\t\t活动主办方、本促销活动的代理公司、广告公司、印刷商和相关合作企业之员工、家属,不可参加此次促销活动,&nbsp;以示公允。\n\t</li>\n\t<li>\n\t\t个人信息:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t用户向活动主办方提供的个人微信资料数据只会用作本次活动用途,及会被保密处理。\n\t</li>\n\t<li>\n\t\t用户必须授权使用个人微信账号登陆进行互动;若未能及时提供,将不能参加本次活动。\n\t</li>\n\t<li>\n\t\t用户进入本活动时,需要点击同意并授权个人的基本资料给活动主办方使用。本活动将通过微信收集用户基本信息,包括:微信信息资料。以上信息将被主办方委托的第三方用于本活动的奖品派发、活动数据分析等。活动主办方将采取适当的规范手段以保护个人信息安全,防止资料丢失、被盗用或遭篡改。\n\t</li>\n\t<li>\n\t\t用户在使用互联网时对个人信息的运用需进行监管和负责,如有通过公告版等形式自愿提供及公开的个人资料被他人使用或传播,与本活动无关。\n\t</li>\n\t<li>\n\t\t如用户本人主动将微信账号与密码共享,或因各种不可抗力因素所导致的个人资料泄露、丢失、被盗用或被篡改,主办方不承担任何责任。\n\t</li>\n\t<li>\n\t\t如经得用户同意,主办方可使用有关个人资料数据作直接商品促销用途;否则,主办方将不能使用其个人资料作前述直接促销用途。用户须确保所提供的个人资料属实及有效。\n\t</li>\n</ol>', 39 + groupRule: '<p style="text-align:center;">\n\t消费者声明及活动详细规则\n</p>\n<p>\n\t请在参与本活动前仔细阅读本活动的各项条款,如果您参加了本活动,则活动主办方认为您已充分理解并同意该规则中的各条款:\n</p>\n<ol>\n\t<li>\n\t\t活动主办方及其联系方式:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t均瑶集团上海食品有限公司(以下简称“主办方”)\n</p>\n<p style="text-indent:24px;">\n\t联系电话:021-60251969(话费自理,工作日:9:00-12:00,13:30-18:00)\n</p>\n<ol>\n\t<li>\n\t\t活动期间及兑奖时间:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t即日起至2026年4月30日23:59:59截止。\n</p>\n<p style="text-indent:24px;">\n\t为充分保障中奖者权益,兑奖时间为即日起至2026年5月1日23:59:59截止,逾期视为自动放弃兑奖。\n</p>\n<ol>\n\t<li>\n\t\t活动区域:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t仅限中国大陆地区(不含港、澳、台)\n</p>\n<ol>\n\t<li>\n\t\t活动参与条件及参与方式:\n\t</li>\n</ol>\n<p style="text-indent:28px;">\n\t即日起,凡购买“扫码赢红包”味动力AD钙奶饮品(2个口味),揭开活动产品包装上活动标签(因其包装设计二维码于瓶盖内,故为揭开瓶盖,敬请谅解),微信扫描其内二维码,进入活动小程序,根据提示完成授权或登陆即可参与活动。参与活动的消费者有机会赢取666元微信红包一份、1.8元微信红包一份或0.6元微信红包一份;同时,还有机会获得复购奖励“1.8元复购红包”,获得复购奖励后再买一瓶活动产品并扫描再次购买的活动产品瓶盖内二维码后即可解锁领取1.8元现金红包,复购奖励数量有限,发完即止。\n</p>\n<ol>\n\t<li>\n\t\t开奖方式与开奖时间:\n\t</li>\n</ol>\n<p>\n\t&nbsp;&nbsp;&nbsp;&nbsp;参与活动后,根据微信平台活动小程序页面提示,手机扫码即时开奖,若显示中奖,则线上即时领取红包即可。\n</p>\n<ol>\n\t<li>\n\t\t奖项种类设置:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t本活动奖项种类分为常规抽奖与复购奖励。\n</p>\n<ol>\n\t<li>\n\t\t其中常规抽奖设立奖品价格、奖品品名、奖品种类、奖品数量及中奖概率如下:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t一等奖:666元微信现金红包一份,价值人民币六百六十六元,本活动共设18份;中奖概率约为0.0039%\n</p>\n<p style="text-indent:24px;">\n\t二等奖:1.8元微信现金红包一份,价值人民币一元八角,本活动共设6,000份;中奖概率约为1.33%\n</p>\n<p style="text-indent:24px;">\n\t三等奖:0.6元微信现金红包一份,价值人民币八角,本活动共设80,000份;中奖概率约为17.78%\n</p>\n<p style="text-indent:24px;">\n\t其余未中奖将出现“谢谢惠顾”字样。\n</p>\n<p style="text-indent:24px;">\n\t*各奖项中奖率无法整除,谨请谅解。\n</p>\n<ol>\n\t<li>\n\t\t复购奖励设立奖品价格、奖品品名、奖品种类、奖品数量如下:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t复购奖励:人民币1.8元微信现金红包一份,价值人民币壹元捌角,共30,000份,数量有限,先到先得,发完即止。\n</p>\n<ol>\n\t<li>\n\t\t兑奖条件、兑奖方式及奖品交付方式:\n\t</li>\n</ol>\n<p style="text-indent:24px;">\n\t微信扫描活动产品包装上活动标签后,按手机页面提示操作进行兑奖。\n</p>\n<ol>\n\t<li>\n\t\t常规抽奖兑换方式、兑奖方式及奖品交付方式如下:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t如若抽中一等奖666元,需要完善中奖者姓名、身份证、手机号信息并确认提交即可兑奖。提请注意:因微信平台对商家转账到零钱的单笔提现金额上限至200元,即该奖项到账微信钱包时会自动拆分成4笔同时到中奖者微信账户余额;\n\t</li>\n\t<li>\n\t\t如若抽中二等奖1.8元/三等奖0.8元,点击领取即可兑奖,不需要完善中奖者信息;所得现金红包将存入本人微信账户,可在历史中奖记录中查看。\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t复购奖励兑换方式、兑奖方式及奖品交付方式如下:\n\t</li>\n</ol>\n<p>\n\t&nbsp;&nbsp;&nbsp;&nbsp;如若抽中复购奖励,复购奖励中奖者再买一瓶活动产品并点击活动页面中的“扫码激活”扫描再次购买的活动产品瓶盖内二维码后点击领取即可兑奖,不需要完善中奖者信息;所得现金红包将自动存入本人微信账户,可在历史中奖记录中查看。\n</p>\n<p style="text-indent:24px;">\n\t红包提现需遵守腾讯公司微信红包提现规则,由系统自动发放,转账延时属正常情况。本次活动所产生的个人所得税由均瑶集团上海食品有限公司依法代扣代缴,现金红包均为税后所得。\n</p>\n<ol>\n\t<li>\n\t\t活动声明、弃奖条件及注意事项:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t均瑶集团上海食品有限公司对活动产品真实性及有效性具有鉴定及确认权。\n\t</li>\n\t<li>\n\t\t本次活动产品总计投入2,250,000份,每个活动产品二维码只可参与一次抽奖活动,重复扫码无效。\n\t</li>\n\t<li>\n\t\t为保证活动参与体验,主办方将检测活动消费者所提交的相关数据以确保真实性。若检测出消费者有恶意或者虚假刷单行为,主办方有权取消其参加本次活动资格。提请注意:每个微信OpenID活动期间日参与次数限6次,超过参与次数后限制参与,并提示微信号参与已达日上限。消费者可以次日零点后再扫码参与。\n\t</li>\n\t<li>\n\t\t现金红包须在兑奖截止日期前(如需完善相关信息应当在兑换有效期内完善并正确)完成兑奖,过期视为弃奖,主办方不予补发。\n\t</li>\n\t<li>\n\t\t复购奖励中奖者,若未在中奖后72小时内再次购买活动产品并扫描再次购买的活动产品瓶盖内二维码的,视为弃奖。\n\t</li>\n\t<li>\n\t\t消费者应当在活动期间内参与活动并在兑奖期间内完成兑奖,否则视为弃奖。\n\t</li>\n\t<li>\n\t\t活动主办方不对因网络传输原因而导致消费者提交的信息错误或延误承担任何责任。\n\t</li>\n\t<li>\n\t\t消费者领奖过程中所发生的个人费用(包含但不限于上网费、手机流量费、短信费、咨询客服电话费)需自理,主办方不做任何形式的补偿。本活动对象为以消费为目的的消费者,禁止非真实活动参与者的刷单行为,活动参与者不遵守活动规则的,主办方有权根据法律法规及活动规则不予兑换/追回已兑换活动奖品,并且主办方保留追究无参与资格者一切法律责任的权力。\n\t</li>\n\t<li>\n\t\t若因消费者个人原因造成账号、密码遗失,并导致参与活动兑奖的消费者无法提交个人信息的情况,活动主办方不承担责任。\n\t</li>\n\t<li>\n\t\t如发现消费者恶意刷奖行为,包括但不限于:入侵本次活动所使用的网络服务器、使用技术手段获取活动后台信息或篡改活动后台中奖规则、参与记录不符合活动的最低参与要求、盗用他人信息参与活动、冒充他人获得红包等不正当行为,主办方有权取消其活动参与权和收回其所得红包。同时保留依法追究其法律责任的权利。\n\t</li>\n\t<li>\n\t\t活动过程中出现“不可抗力”事件或计算机系统故障直接或间接地造成活动主办方无法履行其全部或部分义务,则活动主办方将免予履行该义务,并无需承担相应的责任。“不可抗力”事件包括但不限于,地震、台风、火灾、水灾、战争、法律法规调整、政府命令禁止、因黑客攻击、计算机病毒影响、系统崩溃、数据丢失或其他人为原因造成计算机系统故障,及其他自然或人为灾害等导致活动无法继续开展的,且活动主办方不可预见、无法避免并无法控制的事件。\n\t</li>\n\t<li>\n\t\t活动过程中,如因政府法律法规调整或行政命令要求,活动主办方有权根据上述调整或要求随时调整活动内容及规则。活动内容及规则调整时,活动主办方将另行向活动参与者公告通知相关的调整,但无需征得活动参与者的同意。主办方有权根据法律法规、司法或行政命令的要求以及活动的实际情况,在法律允许的范围内随时取消、中止或终止此次活动。\n\t</li>\n\t<li>\n\t\t本次活动奖品所涉之相关服务由第三方服务提供商提供,使用服务的相关限制及注意事项以具体服务提供商的要求为准。对于消费者在领取和使用奖品过程中发生的任何伤害和损失,如该伤害和损失非由主办方之过错导致,主办方不承担任何责任。\n\t</li>\n\t<li>\n\t\t消费者需就因其违反本条款及细则的任何规定、侵犯他人权利或其他任何违法的行为而引起的所有索偿、责任、损失、损害、费用和开支对主办方做出补偿。\n\t</li>\n\t<li>\n\t\t本活动适用中华人民共和国法律。因本活动引起的或本活动有关的任何争议,由争议双方友好协商解决。如任何争议不能通过双方友好协商解决的,可通过其他有效法律途径征求最终解决方式。\n\t</li>\n\t<li>\n\t\t活动主办方、本促销活动的代理公司、广告公司、印刷商和相关合作企业之员工、家属,不可参加此次促销活动,&nbsp;以示公允。\n\t</li>\n\t<li>\n\t\t个人信息:\n\t</li>\n</ol>\n<ol>\n\t<li>\n\t\t用户向活动主办方提供的个人微信资料数据只会用作本次活动用途,及会被保密处理。\n\t</li>\n\t<li>\n\t\t用户必须授权使用个人微信账号登陆进行互动;若未能及时提供,将不能参加本次活动。\n\t</li>\n\t<li>\n\t\t用户进入本活动时,需要点击同意并授权个人的基本资料给活动主办方使用。本活动将通过微信收集用户基本信息,包括:微信信息资料。以上信息将被主办方委托的第三方用于本活动的奖品派发、活动数据分析等。活动主办方将采取适当的规范手段以保护个人信息安全,防止资料丢失、被盗用或遭篡改。\n\t</li>\n\t<li>\n\t\t用户在使用互联网时对个人信息的运用需进行监管和负责,如有通过公告版等形式自愿提供及公开的个人资料被他人使用或传播,与本活动无关。\n\t</li>\n\t<li>\n\t\t如用户本人主动将微信账号与密码共享,或因各种不可抗力因素所导致的个人资料泄露、丢失、被盗用或被篡改,主办方不承担任何责任。\n\t</li>\n\t<li>\n\t\t如经得用户同意,主办方可使用有关个人资料数据作直接商品促销用途;否则,主办方将不能使用其个人资料作前述直接促销用途。用户须确保所提供的个人资料属实及有效。\n\t</li>\n</ol>',
38 locate: '', 40 locate: '',
39 received: false 41 received: false
40 }, 42 },
@@ -90,60 +92,95 @@ Page({ @@ -90,60 +92,95 @@ Page({
90 async onShow() { 92 async onShow() {
91 93
92 }, 94 },
93 -  
94 - getPromotion(pageData){ //查询二维码信息和活动信息 95 +
  96 + getPromotion(pageData) { //查询二维码信息和活动信息
95 let latitude = getApp().globalData.userInfo.latitude 97 let latitude = getApp().globalData.userInfo.latitude
96 let longitude = getApp().globalData.userInfo.longitude 98 let longitude = getApp().globalData.userInfo.longitude
97 const apiBase = config.dataServer 99 const apiBase = config.dataServer
98 - wx.request({  
99 - url: apiBase + `/tag/v2/promotion?longitude=${longitude}&latitude=${latitude}`,  
100 - header: {  
101 - 'Authorization':`Bearer ${getApp().globalData.userInfo?.token}`,  
102 - 'serialId': getApp().userInfo?.serialId  
103 - },  
104 - method: "GET",  
105 - data: {  
106 - code: pageData.qrCode, //wxff6674eabc54fc28 wx0f695ef70a18d602 wx43fc214041ea41da  
107 - uri: pageData.qrUri,  
108 - wechatSource: "",//小程序场景值 小程序里扫码:-1000  
109 - tagCodeType:"STANDARD",//码类型  
110 - pageInfo:true //是否需要页面模板信息(需命中方案)  
111 - },  
112 - timeout: 30 * 1000,  
113 - success: (res) => {  
114 - wx.hideLoading()  
115 - // wx.reLaunch({  
116 - // url: this.myrouter ? decodeURIComponent(  
117 - // this.myrouter) :  
118 - // '/custom-pages/custom-index/index'  
119 - // })  
120 - },  
121 - fail: (res) => {  
122 - console.log(res)  
123 - // const msg = await getErrortxt()  
124 - // wx.showModal({  
125 - // title: '提示',  
126 - // content: msg,  
127 - // showCancel: false,  
128 - // confirmText: '知道了',  
129 - // confirmColor: '#fe8600'  
130 - // })  
131 - },  
132 - complete: () => {  
133 - // wx.hideNavigationBarLoading()  
134 - // if (showLoading) {  
135 - // wx.hideLoading()  
136 - // } 100 + wx.request({
  101 + url: apiBase + `/tag/v2/promotion?longitude=${longitude}&latitude=${latitude}`,
  102 + header: {
  103 + 'Authorization': `Bearer ${getApp().globalData.userInfo?.token}`,
  104 + 'serialId': getApp().userInfo?.serialId
  105 + },
  106 + method: "GET",
  107 + data: {
  108 + code: pageData.qrCode, //wxff6674eabc54fc28 wx0f695ef70a18d602 wx43fc214041ea41da
  109 + uri: pageData.qrUri,
  110 + wechatSource: "", //小程序场景值 小程序里扫码:-1000
  111 + tagCodeType: "STANDARD", //码类型
  112 + pageInfo: true //是否需要页面模板信息(需命中方案)
  113 + },
  114 + timeout: 30 * 1000,
  115 + success: (res) => {
  116 + //拟写
  117 + let type = res.type
  118 + type = "3"
  119 + switch (type) {
  120 + case '1':
  121 + this.setData({
  122 + showCodeSituation: true,
  123 + txt: "二维码已经参与活动"
  124 + })
  125 + break;
  126 + case '2':
  127 + this.setData({
  128 + showCodeSituation: true,
  129 + txt: "二维码不可激活"
  130 + })
  131 + break;
  132 + case '3':
  133 + this.setData({
  134 + showCodeSituation: true,
  135 + txt: "激励奖励已达上限"
  136 + })
  137 + break;
  138 + case '4':
  139 + this.setData({
  140 + showCodeSituation: true,
  141 + txt: "前方拥堵,还请耐心等待 请稍后再来试试"
  142 + })
  143 + break;
  144 + case '5':
  145 + this.setData({
  146 + showCodeSituation: true,
  147 + txt: "您扫码的二维码不正确 请换一个试试"
  148 + })
  149 + break;
137 } 150 }
138 - }) 151 + wx.hideLoading()
  152 + // wx.reLaunch({
  153 + // url: this.myrouter ? decodeURIComponent(
  154 + // this.myrouter) :
  155 + // '/custom-pages/custom-index/index'
  156 + // })
  157 + },
  158 + fail: (res) => {
  159 + console.log(res)
  160 + // const msg = await getErrortxt()
  161 + // wx.showModal({
  162 + // title: '提示',
  163 + // content: msg,
  164 + // showCancel: false,
  165 + // confirmText: '知道了',
  166 + // confirmColor: '#fe8600'
  167 + // })
  168 + },
  169 + complete: () => {
  170 + // wx.hideNavigationBarLoading()
  171 + // if (showLoading) {
  172 + // wx.hideLoading()
  173 + // }
  174 + }
  175 + })
139 }, 176 },
140 - 177 +
141 // 获取地理位置 178 // 获取地理位置
142 getLocation() { 179 getLocation() {
143 return new Promise((resolve, reject) => { 180 return new Promise((resolve, reject) => {
144 wx.getFuzzyLocation({ 181 wx.getFuzzyLocation({
145 type: 'gcj02', 182 type: 'gcj02',
146 - success: (res)=> { 183 + success: (res) => {
147 getApp().globalData.userInfo.latitude = res.latitude 184 getApp().globalData.userInfo.latitude = res.latitude
148 getApp().globalData.userInfo.longitude = res.longitude 185 getApp().globalData.userInfo.longitude = res.longitude
149 resolve(res.latitude + ',' + res.longitude) 186 resolve(res.latitude + ',' + res.longitude)
@@ -186,7 +223,7 @@ Page({ @@ -186,7 +223,7 @@ Page({
186 wx.request({ 223 wx.request({
187 url: apiBase + "/lottery/v2/tag?longitude=&latitude=", 224 url: apiBase + "/lottery/v2/tag?longitude=&latitude=",
188 header: { 225 header: {
189 - 'Authorization':`Bearer ${getApp().globalData.userInfo?.token}`, 226 + 'Authorization': `Bearer ${getApp().globalData.userInfo?.token}`,
190 'serialId': getApp().userInfo?.serialId 227 'serialId': getApp().userInfo?.serialId
191 }, 228 },
192 method: "POST", 229 method: "POST",
@@ -201,11 +238,30 @@ Page({ @@ -201,11 +238,30 @@ Page({
201 }, 238 },
202 timeout: 30 * 1000, 239 timeout: 30 * 1000,
203 success: (res) => { 240 success: (res) => {
204 - console.log(res,"res"); 241 + console.log(res, "res"); //抽奖后返回的结果 新接口
  242 + //弹出中奖结果
  243 + //1.showRedPack
205 this.setData({ 244 this.setData({
206 - scanRewardVO: res.data.prizes[0],  
207 - showRedPack: true 245 + scanRewardVO: (res.data?.prizes && res.data?.prizes[0]) || {
  246 + amount: 1
  247 + },
  248 + showRedPack: true,
  249 + excitationRedPack: true
208 }) 250 })
  251 + //2.完善个人信息
  252 + // this.setData({
  253 + // showCouponComMess: true,
  254 + // isOneReward:true //手机授权/填写身份信息
  255 + // })
  256 + // 3.receiveVis
  257 + // this.setData({
  258 + // receiveVis: true,
  259 + // isNoAward:true // 获奖/谢谢参与
  260 + // })
  261 + // 4.领取成功,继续扫码
  262 + // this.setData({
  263 + // showSecondRedPack: true,
  264 + // })
209 }, 265 },
210 fail: (res) => { 266 fail: (res) => {
211 const [title, info] = res.data.errorMsg.split('|') 267 const [title, info] = res.data.errorMsg.split('|')
@@ -290,10 +346,15 @@ Page({ @@ -290,10 +346,15 @@ Page({
290 brandId, 346 brandId,
291 voucherNo 347 voucherNo
292 } 348 }
  349 + this.setData({
  350 + showRedPack: false //关闭红包
  351 + })
  352 + return
  353 + //原先的接口业务
293 app.utils.doPost({ 354 app.utils.doPost({
294 url: '/my/getWinGoodsAndCompleteInfo.json', 355 url: '/my/getWinGoodsAndCompleteInfo.json',
295 params: postData 356 params: postData
296 - },true) 357 + }, true)
297 .then(async res => { 358 .then(async res => {
298 await this.getUserInfo() 359 await this.getUserInfo()
299 const data = res.data 360 const data = res.data
@@ -386,21 +447,23 @@ Page({ @@ -386,21 +447,23 @@ Page({
386 this.checkIsFilled() 447 this.checkIsFilled()
387 }, 448 },
388 getPhoneNumber(e) { 449 getPhoneNumber(e) {
  450 + console.log(e, "e");
389 const { 451 const {
390 code 452 code
391 } = e.detail 453 } = e.detail
392 if (!code) return 454 if (!code) return
393 - app.utils.doPost({  
394 - url: '/daNoneUtc/doWechatBindPhone.json',  
395 - params: {  
396 - code  
397 - }  
398 - }).then(res => {  
399 - this.setData({  
400 - 'submitForm.phone': res.data  
401 - })  
402 - this.checkIsFilled()  
403 - }) 455 + //请求后台获取手机号码
  456 + // app.utils.doPost({
  457 + // url: '/daNoneUtc/doWechatBindPhone.json',
  458 + // params: {
  459 + // code
  460 + // }
  461 + // },true).then(res => {
  462 + // this.setData({
  463 + // 'submitForm.phone': res.data
  464 + // })
  465 + // this.checkIsFilled()
  466 + // })
404 }, 467 },
405 IdCard(id) { 468 IdCard(id) {
406 var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/ 469 var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
@@ -521,6 +584,11 @@ Page({ @@ -521,6 +584,11 @@ Page({
521 receiveVis: false 584 receiveVis: false
522 }) 585 })
523 }, 586 },
  587 + closeCodeSituation() {
  588 + this.setData({
  589 + showCodeSituation: false
  590 + })
  591 + },
524 closeRedPack() { 592 closeRedPack() {
525 this.setData({ 593 this.setData({
526 showRedPack: false 594 showRedPack: false
@@ -597,7 +665,7 @@ Page({ @@ -597,7 +665,7 @@ Page({
597 } 665 }
598 ) 666 )
599 }, 667 },
600 - 668 +
601 669
602 670
603 671
@@ -86,24 +86,41 @@ @@ -86,24 +86,41 @@
86 <image class="index_img pup_activity " src="/images/junyao/pup_activity.png" mode="widthFix"/> 86 <image class="index_img pup_activity " src="/images/junyao/pup_activity.png" mode="widthFix"/>
87 </popup> 87 </popup>
88 88
  89 + <!-- 查询二维码活动后的情况 -->
  90 + <v-popup showPopup="{{showCodeSituation}}" transparent="{{true}}">
  91 + <image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
  92 + <view class="receive_poup">
  93 + <!-- <image class="success_icon" src="{{ isNoAward ? 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/no_award.png' : 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/success_icon.png' }}" mode=""/> -->
  94 + <view class="receive_poup_content">
  95 + <view class="receive_text packTips">提示</view>
  96 + <view class="receive_text textTip" style="margin-top: 150rpx;">{{txt}}</view>
  97 + <view class="receive_text"></view>
  98 + </view>
  99 + <view class="coninue_scan secondRed_btn" bindtap="goIndex">进入首页</view>
  100 + <view class="close_poup" bindtap="closeCodeSituation"></view>
  101 + </view>
  102 + </v-popup>
  103 +
89 <!-- showRedPack --> 104 <!-- showRedPack -->
90 <v-popup showPopup="{{showRedPack}}"> 105 <v-popup showPopup="{{showRedPack}}">
  106 + <image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
91 <view class="redpack_poup"> 107 <view class="redpack_poup">
92 <view class="red_amount">{{scanRewardVO.amount}}<text style="font-size: 90rpx;vertical-align: middle;">元</text></view> 108 <view class="red_amount">{{scanRewardVO.amount}}<text style="font-size: 90rpx;vertical-align: middle;">元</text></view>
93 <view class="red_text">{{excitationRedPack ? '激励红包' : '现金红包'}}</view> 109 <view class="red_text">{{excitationRedPack ? '激励红包' : '现金红包'}}</view>
94 - <view class="red_btn" bindtap="goReceive"></view> 110 + <view class="red_btn secondRed_btn" bindtap="goReceive">收下</view>
95 <view class="red_close_poup" bindtap="closeRedPack"></view> 111 <view class="red_close_poup" bindtap="closeRedPack"></view>
96 </view> 112 </view>
97 </v-popup> 113 </v-popup>
98 114
99 <!-- 完善信息 showCouponComMess --> 115 <!-- 完善信息 showCouponComMess -->
100 <v-popup showPopup="{{showCouponComMess}}"> 116 <v-popup showPopup="{{showCouponComMess}}">
  117 + <image class="index_img packet" src="/images/junyao/frame.png" mode="widthFix"/>
101 <view class="{{isOneReward ? 'comMessBox' : 'comMessBox height_little'}}"> 118 <view class="{{isOneReward ? 'comMessBox' : 'comMessBox height_little'}}">
102 <view class="messTitle">完善个人信息</view> 119 <view class="messTitle">完善个人信息</view>
103 <!-- <view class="messBoxClose" bindtap="messBoxClose"></view> --> 120 <!-- <view class="messBoxClose" bindtap="messBoxClose"></view> -->
104 <view class="formBox"> 121 <view class="formBox">
105 <form bindsubmit="formSubmit"> 122 <form bindsubmit="formSubmit">
106 - <view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode>姓&emsp;&emsp;名:</text> 123 + <view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode>&emsp;收货人:</text>
107 <input 124 <input
108 class="inputSelf" 125 class="inputSelf"
109 placeholder="请输入姓名" 126 placeholder="请输入姓名"
@@ -114,7 +131,7 @@ @@ -114,7 +131,7 @@
114 value="{{ submitForm.name }}" 131 value="{{ submitForm.name }}"
115 /> 132 />
116 </view> 133 </view>
117 - <view class="inputModel"><text class="red">*</text><text class="inputDesc">手机号码:</text> 134 + <view class="inputModel"><text class="red">*</text><text class="inputDesc">联系电话:</text>
118 <input 135 <input
119 class="inputSelf phoneInput" 136 class="inputSelf phoneInput"
120 placeholder="" 137 placeholder=""
@@ -150,12 +167,16 @@ @@ -150,12 +167,16 @@
150 167
151 168
152 <!-- receiveVis --> 169 <!-- receiveVis -->
153 - <v-popup showPopup="{{receiveVis}}"> 170 + <v-popup showPopup="{{receiveVis}}" transparent="{{true}}">
  171 + <image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
154 <view class="receive_poup"> 172 <view class="receive_poup">
155 - <image class="success_icon" src="{{ isNoAward ? 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/no_award.png' : 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/success_icon.png' }}" mode=""/>  
156 - <view class="receive_text" style="margin-top: 40rpx;">{{isNoAward ? '很遗憾此次未中奖' : '恭喜您领取成功'}}</view>  
157 - <view class="receive_text">{{isNoAward ? '谢谢参与' : '奖励已发放至您的微信账户'}}</view>  
158 - <view class="coninue_scan" bindtap="handleScan">继续扫码</view> 173 + <!-- <image class="success_icon" src="{{ isNoAward ? 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/no_award.png' : 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/success_icon.png' }}" mode=""/> -->
  174 + <view class="receive_poup_content">
  175 + <view class="receive_text packTips">提示</view>
  176 + <view class="receive_text" style="margin-top: 150rpx;">{{isNoAward ? '很遗憾此次未中奖' : '恭喜您领取成功'}}</view>
  177 + <view class="receive_text">{{isNoAward ? '谢谢参与' : '奖励已发放至您的微信账户'}}</view>
  178 + </view>
  179 + <view class="coninue_scan secondRed_btn" bindtap="handleScan">继续扫码</view>
159 <view class="close_poup" bindtap="closeReceiveModal"></view> 180 <view class="close_poup" bindtap="closeReceiveModal"></view>
160 </view> 181 </view>
161 </v-popup> 182 </v-popup>
@@ -166,9 +187,20 @@ @@ -166,9 +187,20 @@
166 187
167 <!-- showSecondRedPack --> 188 <!-- showSecondRedPack -->
168 <v-popup showPopup="{{showSecondRedPack}}"> 189 <v-popup showPopup="{{showSecondRedPack}}">
169 - <view class="secondRedpack_poup" style="background-image: url({{secondRedPackBg}});">  
170 - <image class="secondRed_amount" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_red.png"></image>  
171 - <view class="secondRed_btn" bindtap="handleScan">继续扫码</view> 190 + <view class="secondRedpack_poup">
  191 + <image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
  192 + <!-- <image class="secondRed_amount" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_red.png"></image> -->
  193 + <view class="secondRedPackContent">
  194 + <view class="packPrice">1.8元</view>
  195 + <view>再喝一瓶开盖扫码</view>
  196 + <view>即可解锁复购红包</view>
  197 + <view class="time2">72小时内有效</view>
  198 + </view>
  199 + <view class="secondRed_btn_box">
  200 + <view>喜上加喜!</view>
  201 + <view>恭喜您获得双重好礼</view>
  202 + <view class="secondRed_btn" bindtap="handleScan">继续开奖</view>
  203 + </view>
172 <view class="secondRed_close_poup" bindtap="closeSecondRedPack"></view> 204 <view class="secondRed_close_poup" bindtap="closeSecondRedPack"></view>
173 </view> 205 </view>
174 </v-popup> 206 </v-popup>
1 /* scanGroup/jyScan/index/index.wxss */ 1 /* scanGroup/jyScan/index/index.wxss */
2 @font-face { 2 @font-face {
3 - font-family: 'amount';  
4 - src: url(https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/DIN%20Alternate%20Bold.ttf);  
5 - font-weight: normal;  
6 - font-style: normal;  
7 -}  
8 -page{  
9 - height: 100%;  
10 -}  
11 -.container{  
12 - width: 100vw;  
13 - /* min-height: 100vh; */  
14 - min-height: 1624rpx;  
15 - height: 100%;  
16 - background-color: #004488;  
17 - background-repeat: no-repeat;  
18 - background-position: top;  
19 - background-size: 100% 100%;  
20 - /* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/jy_sacn.png"); */  
21 - position: relative;  
22 - /* overflow: hidden; */ 3 + font-family: 'amount';
  4 + src: url(https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/DIN%20Alternate%20Bold.ttf);
  5 + font-weight: normal;
  6 + font-style: normal;
  7 +}
  8 +
  9 +page {
  10 + height: 100%;
  11 +}
  12 +
  13 +.container {
  14 + width: 100vw;
  15 + /* min-height: 100vh; */
  16 + min-height: 1624rpx;
  17 + height: 100%;
  18 + background-color: #004488;
  19 + background-repeat: no-repeat;
  20 + background-position: top;
  21 + background-size: 100% 100%;
  22 + /* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/jy_sacn.png"); */
  23 + position: relative;
  24 + /* overflow: hidden; */
23 } 25 }
24 26
25 .index_img { 27 .index_img {
@@ -28,7 +30,15 @@ page{ @@ -28,7 +30,15 @@ page{
28 position: absolute; 30 position: absolute;
29 } 31 }
30 32
31 -.logo{ 33 +.packet {
  34 + z-index: -2;
  35 + top: 0;
  36 + bottom: 0;
  37 + left: 0;
  38 + margin: auto;
  39 +}
  40 +
  41 +.logo {
32 right: 0; 42 right: 0;
33 left: 0; 43 left: 0;
34 margin: auto; 44 margin: auto;
@@ -36,13 +46,13 @@ page{ @@ -36,13 +46,13 @@ page{
36 top: 11.5%; 46 top: 11.5%;
37 } 47 }
38 48
39 -.myPrize{ 49 +.myPrize {
40 right: 10rpx; 50 right: 10rpx;
41 width: 170rpx; 51 width: 170rpx;
42 top: 30%; 52 top: 30%;
43 } 53 }
44 54
45 -.welfareOfficer{ 55 +.welfareOfficer {
46 right: 10rpx; 56 right: 10rpx;
47 width: 170rpx; 57 width: 170rpx;
48 bottom: 28%; 58 bottom: 28%;
@@ -98,7 +108,7 @@ page{ @@ -98,7 +108,7 @@ page{
98 width: 75%; 108 width: 75%;
99 } 109 }
100 110
101 -.pup_activity{ 111 +.pup_activity {
102 /* height: ; */ 112 /* height: ; */
103 z-index: -2; 113 z-index: -2;
104 /* height: 75%; */ 114 /* height: 75%; */
@@ -110,499 +120,602 @@ page{ @@ -110,499 +120,602 @@ page{
110 /* 弹幕消息 */ 120 /* 弹幕消息 */
111 121
112 .wl-msg { 122 .wl-msg {
113 - position: absolute;  
114 - top: 40rpx;  
115 - left: 0rpx;  
116 - width: 750rpx;  
117 - height: 206rpx; 123 + position: absolute;
  124 + top: 40rpx;
  125 + left: 0rpx;
  126 + width: 750rpx;
  127 + height: 206rpx;
118 } 128 }
  129 +
119 .marquee-content { 130 .marquee-content {
120 - width: 750rpx;  
121 - height: 50rpx;  
122 - line-height: 34rpx;  
123 - font-weight: 500;  
124 - font-size: 24rpx;  
125 - color: #D81E05;  
126 - position: relative;  
127 - overflow: hidden;  
128 - margin-bottom: 24rpx; 131 + width: 750rpx;
  132 + height: 50rpx;
  133 + line-height: 34rpx;
  134 + font-weight: 500;
  135 + font-size: 24rpx;
  136 + color: #D81E05;
  137 + position: relative;
  138 + overflow: hidden;
  139 + margin-bottom: 24rpx;
129 } 140 }
  141 +
130 .marquee { 142 .marquee {
131 position: absolute; 143 position: absolute;
132 height: 100%; 144 height: 100%;
133 white-space: nowrap; 145 white-space: nowrap;
134 } 146 }
  147 +
135 .marquee view { 148 .marquee view {
136 display: inline-block; 149 display: inline-block;
137 } 150 }
  151 +
138 .marquee-item { 152 .marquee-item {
139 display: inline-block; 153 display: inline-block;
140 height: 100%; 154 height: 100%;
141 } 155 }
  156 +
142 .wl-opt { 157 .wl-opt {
143 - position: fixed;  
144 - top: 736rpx;  
145 - right: 0;  
146 - width: 88rpx; 158 + position: fixed;
  159 + top: 736rpx;
  160 + right: 0;
  161 + width: 88rpx;
147 } 162 }
  163 +
148 .wl-opt-btn { 164 .wl-opt-btn {
149 - width: 88rpx;  
150 - height: 76rpx;  
151 - background: #ffffff4d;  
152 - border-radius: 46rpx 0 0 46rpx;  
153 - font-weight: 400;  
154 - font-size: 24rpx;  
155 - color: #FFFFFF;  
156 - padding-left: 32rpx;  
157 - box-sizing: border-box;  
158 - line-height: 28rpx;  
159 - padding-top: 14rpx;  
160 - margin-bottom: 12rpx; 165 + width: 88rpx;
  166 + height: 76rpx;
  167 + background: #ffffff4d;
  168 + border-radius: 46rpx 0 0 46rpx;
  169 + font-weight: 400;
  170 + font-size: 24rpx;
  171 + color: #FFFFFF;
  172 + padding-left: 32rpx;
  173 + box-sizing: border-box;
  174 + line-height: 28rpx;
  175 + padding-top: 14rpx;
  176 + margin-bottom: 12rpx;
161 } 177 }
  178 +
162 .marquee-item_text { 179 .marquee-item_text {
163 - height: 50rpx;  
164 - line-height: 50rpx;  
165 - border-radius: 38rpx; 180 + height: 50rpx;
  181 + line-height: 50rpx;
  182 + border-radius: 38rpx;
166 font-size: 24rpx; 183 font-size: 24rpx;
167 - color: #fff;  
168 - padding: 0 24rpx;  
169 - margin: 0 24rpx;  
170 - background-color: rgba(255, 255, 255, 0.33); 184 + color: #fff;
  185 + padding: 0 24rpx;
  186 + margin: 0 24rpx;
  187 + background-color: rgba(255, 255, 255, 0.33);
171 } 188 }
  189 +
172 @keyframes marquee { 190 @keyframes marquee {
173 0% { 191 0% {
174 left: 0; 192 left: 0;
175 } 193 }
  194 +
176 100% { 195 100% {
177 left: var(--width); 196 left: var(--width);
178 } 197 }
179 } 198 }
180 -.fixed_btn{  
181 - width: 85rpx;  
182 - height: 80rpx;  
183 - /* background: #3f9ed1; */  
184 - background: #B03344;  
185 - border-radius: 28rpx 0 0 28rpx;  
186 - font-weight: 500;  
187 - font-size: 28rpx;  
188 - color: #FFFFFF;  
189 - text-align: center;  
190 - letter-spacing: 0;  
191 - line-height: 28rpx;  
192 - position: absolute;  
193 - display: flex;  
194 - flex-direction: column;  
195 - justify-content: center;  
196 - align-items: center;  
197 -}  
198 -.btn_1{  
199 - right: 0rpx;  
200 - top: 200rpx;  
201 -}  
202 -.btn_2{  
203 - right: 0rpx;  
204 - top: 296rpx;  
205 -}  
206 -.btn_3{  
207 - right: 0rpx;  
208 - top: 292rpx;  
209 -}  
210 -.btn_4{  
211 - right: 0rpx;  
212 - top: 388rpx;  
213 -}  
214 -.scan_icon{  
215 - width: 40rpx;  
216 - height: 40rpx;  
217 -}  
218 -.mt_down{  
219 - margin-bottom: 5rpx;  
220 -}  
221 -.reward_btn{  
222 - width: 702rpx;  
223 - height: 250rpx;  
224 - position: absolute;  
225 - left: 50%;  
226 - /* bottom: 320rpx; */  
227 - top: 1188rpx;  
228 - transform: translateX(-50%);  
229 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn.png");  
230 - background-position: center;  
231 - background-size: 100% 100%;  
232 - background-repeat: no-repeat;  
233 - font-size: 40rpx;  
234 - color: #FFFFFF;  
235 - letter-spacing: 0;  
236 - text-align: center;  
237 - line-height: 168rpx;  
238 - font-weight: 600;  
239 -}  
240 -.reward_btn_none{  
241 - width: 702rpx;  
242 - height: 250rpx;  
243 - position: absolute;  
244 - left: 50%;  
245 - /* bottom: 320rpx; */  
246 - top: 1188rpx;  
247 - transform: translateX(-50%);  
248 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn_none.png");  
249 - background-position: center;  
250 - background-size: 100% 100%;  
251 - background-repeat: no-repeat;  
252 - font-size: 40rpx;  
253 - color: #FFFFFF;  
254 - letter-spacing: 0;  
255 - text-align: center;  
256 - line-height: 168rpx;  
257 - font-weight: 600;  
258 -}  
259 -.id_code{  
260 - position: absolute;  
261 - bottom: 112rpx;  
262 - text-align: center;  
263 - width: 100%;  
264 - font-weight: 400;  
265 - font-size: 30rpx;  
266 - color: rgba(255, 255, 255, 1);  
267 -}  
268 -.id_mes{  
269 - position: absolute;  
270 - bottom: 52rpx;  
271 - text-align: center;  
272 - width: 100%;  
273 - font-weight: 400;  
274 - font-size: 28rpx;  
275 - color: rgba(255, 255, 255, 0.5); 199 +
  200 +.fixed_btn {
  201 + width: 85rpx;
  202 + height: 80rpx;
  203 + /* background: #3f9ed1; */
  204 + background: #B03344;
  205 + border-radius: 28rpx 0 0 28rpx;
  206 + font-weight: 500;
  207 + font-size: 28rpx;
  208 + color: #FFFFFF;
  209 + text-align: center;
  210 + letter-spacing: 0;
  211 + line-height: 28rpx;
  212 + position: absolute;
  213 + display: flex;
  214 + flex-direction: column;
  215 + justify-content: center;
  216 + align-items: center;
  217 +}
  218 +
  219 +.btn_1 {
  220 + right: 0rpx;
  221 + top: 200rpx;
  222 +}
  223 +
  224 +.btn_2 {
  225 + right: 0rpx;
  226 + top: 296rpx;
  227 +}
  228 +
  229 +.btn_3 {
  230 + right: 0rpx;
  231 + top: 292rpx;
  232 +}
  233 +
  234 +.btn_4 {
  235 + right: 0rpx;
  236 + top: 388rpx;
  237 +}
  238 +
  239 +.scan_icon {
  240 + width: 40rpx;
  241 + height: 40rpx;
  242 +}
  243 +
  244 +.mt_down {
  245 + margin-bottom: 5rpx;
  246 +}
  247 +
  248 +.reward_btn {
  249 + width: 702rpx;
  250 + height: 250rpx;
  251 + position: absolute;
  252 + left: 50%;
  253 + /* bottom: 320rpx; */
  254 + top: 1188rpx;
  255 + transform: translateX(-50%);
  256 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn.png");
  257 + background-position: center;
  258 + background-size: 100% 100%;
  259 + background-repeat: no-repeat;
  260 + font-size: 40rpx;
  261 + color: #FFFFFF;
  262 + letter-spacing: 0;
  263 + text-align: center;
  264 + line-height: 168rpx;
  265 + font-weight: 600;
276 } 266 }
  267 +
  268 +.reward_btn_none {
  269 + width: 702rpx;
  270 + height: 250rpx;
  271 + position: absolute;
  272 + left: 50%;
  273 + /* bottom: 320rpx; */
  274 + top: 1188rpx;
  275 + transform: translateX(-50%);
  276 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn_none.png");
  277 + background-position: center;
  278 + background-size: 100% 100%;
  279 + background-repeat: no-repeat;
  280 + font-size: 40rpx;
  281 + color: #FFFFFF;
  282 + letter-spacing: 0;
  283 + text-align: center;
  284 + line-height: 168rpx;
  285 + font-weight: 600;
  286 +}
  287 +
  288 +.id_code {
  289 + position: absolute;
  290 + bottom: 112rpx;
  291 + text-align: center;
  292 + width: 100%;
  293 + font-weight: 400;
  294 + font-size: 30rpx;
  295 + color: rgba(255, 255, 255, 1);
  296 +}
  297 +
  298 +.id_mes {
  299 + position: absolute;
  300 + bottom: 52rpx;
  301 + text-align: center;
  302 + width: 100%;
  303 + font-weight: 400;
  304 + font-size: 28rpx;
  305 + color: rgba(255, 255, 255, 0.5);
  306 +}
  307 +
277 .rule { 308 .rule {
278 - width: 100%;  
279 - height: 672rpx;  
280 - margin-top: 170rpx;  
281 - overflow-y: scroll; 309 + width: 100%;
  310 + height: 672rpx;
  311 + margin-top: 170rpx;
  312 + overflow-y: scroll;
282 } 313 }
283 314
284 -.icon-close{  
285 - bottom: -164px; 315 +.icon-close {
  316 + bottom: -200px;
286 } 317 }
287 318
288 .rule-title { 319 .rule-title {
289 - font-weight: 400;  
290 - font-size: 34rpx;  
291 - color: #10111A;  
292 - text-align: center;  
293 - margin-top: 20rpx; 320 + font-weight: 400;
  321 + font-size: 34rpx;
  322 + color: #10111A;
  323 + text-align: center;
  324 + margin-top: 20rpx;
294 } 325 }
295 326
296 .rule-content { 327 .rule-content {
297 - padding: 20rpx 48rpx 40rpx;  
298 -}  
299 -  
300 -.comMessBox{  
301 - width: 658rpx;  
302 - height: 636rpx;  
303 - background: #FFFFFF;  
304 - border-radius: 16rpx;  
305 - position: relative;  
306 - z-index: 100;  
307 -}  
308 -.height_little{  
309 - height: 438rpx;  
310 -}  
311 -.messBoxClose{  
312 - width: 60rpx;  
313 - height: 60rpx;  
314 - position: absolute;  
315 - bottom: -124rpx;  
316 - left: 288rpx;  
317 - background-repeat: no-repeat;  
318 - background-position: top;  
319 - background-size: 100%;  
320 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");  
321 -}  
322 -.messTitle{  
323 - font-weight: 500;  
324 - font-size: 34rpx;  
325 - color: #333333;  
326 - margin: 60rpx auto 36rpx;  
327 - text-align: center;  
328 -}  
329 -.formBox{  
330 - padding: 0 40rpx;  
331 -}  
332 -.red{  
333 - color: #d04714;  
334 - margin-right: 10rpx;  
335 -}  
336 -.inputDesc{  
337 - display: inline-block;  
338 - min-width: 180rpx;  
339 - /* border: 1px solid red; */  
340 -}  
341 -.inputModel{  
342 - display: flex;  
343 - align-items: center;  
344 - /* border-bottom: 1px solid #eaeaea; */  
345 - height: 96rpx;  
346 - font-size: 34rpx;  
347 - line-height: 96rpx;  
348 - margin-top: 10rpx;  
349 - color: #333;  
350 - position: relative;  
351 -}  
352 -.phone{  
353 - border-radius: 8rpx;  
354 - line-height: 48rpx;  
355 - text-align: center;  
356 - font-size: 34rpx;  
357 - color: #004487;  
358 - position: absolute;  
359 - top: center;  
360 - left: 190rpx;  
361 - z-index: 99;  
362 - background-color: #fff;  
363 - width: 160rpx;  
364 - height: 54rpx;  
365 - border: 2rpx solid #004487;  
366 -}  
367 -.phoneTwo{  
368 - width: 160rpx;  
369 - height: 48rpx;  
370 - border: 2rpx solid #004487;  
371 - border-radius: 8rpx;  
372 - line-height: 48rpx;  
373 - text-align: center;  
374 - font-size: 34rpx;  
375 - color: #004487;  
376 - position: absolute;  
377 - top: center;  
378 - right: 0rpx;  
379 - z-index: 99;  
380 - background-color: #fff;  
381 -}  
382 -.item-input{  
383 - /* border: 1px solid red; */  
384 -}  
385 -.placeholderText{  
386 - font-weight: 400;  
387 - font-size: 34rpx;  
388 - color: #C8C8CF;  
389 -}  
390 -.local{  
391 - position: absolute;  
392 - right: 30rpx;  
393 - top: center;  
394 - width: 48rpx;  
395 - height: 48rpx;  
396 - background-repeat: no-repeat;  
397 - background-position: top;  
398 - background-size: 100%;  
399 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/Estore_2.0/wpp/wanzimatou/localRed.png");  
400 - z-index: 99;  
401 -}  
402 -.inputSelf{  
403 - height: 60rpx;  
404 - border-bottom: 1px solid #ededed;  
405 - margin-left: -15rpx;  
406 -}  
407 -.addInput{  
408 - width: 280rpx;  
409 - overflow: hidden;  
410 - text-overflow:ellipsis;  
411 - white-space: nowrap;  
412 - /* border:1px solid red; */  
413 -}  
414 -.btn_box{  
415 - display: flex;  
416 - justify-content: space-between;  
417 - align-items: center;  
418 - padding: 0 20rpx;  
419 - margin-top: 48rpx;  
420 -}  
421 -.cancelBtn{  
422 - width: 228rpx;  
423 - height: 72rpx;  
424 - background: #FFFFFF;  
425 - border: 2rpx solid #004487;  
426 - border-radius: 49rpx;  
427 - text-align: center;  
428 - line-height: 72rpx;  
429 - font-weight: 500;  
430 - font-size: 30rpx;  
431 - color: #004487;  
432 -}  
433 -.submitButtonS{  
434 - width: 228rpx;  
435 - height: 72rpx;  
436 - background: #004487;  
437 - border-radius: 49rpx;  
438 - text-align: center;  
439 - line-height: 72rpx;  
440 - font-weight: 500;  
441 - font-size: 30rpx;  
442 - color: white;  
443 -}  
444 -.submitButton{  
445 - width: 228rpx;  
446 - height: 72rpx;  
447 - background: #b3c7db;  
448 - border-radius: 49rpx;  
449 - text-align: center;  
450 - line-height: 72rpx;  
451 - font-weight: 500;  
452 - font-size: 30rpx;  
453 - color: white;  
454 -}  
455 -  
456 -.receive_poup{  
457 - width: 602rpx;  
458 - height: 600rpx;  
459 - /* background-image: linear-gradient(202deg, #FFACAC 0%, #FFFFFF 71%); */  
460 - background-color: #fff;  
461 - border-radius: 40rpx;  
462 - margin-top: -160rpx;  
463 - position: relative;  
464 -}  
465 -.success_icon{  
466 - width: 100rpx;  
467 - height: 100rpx;  
468 - margin: 112rpx auto 0;  
469 - display: block;  
470 -}  
471 -.receive_text{  
472 - font-weight: 400;  
473 - font-size: 34rpx;  
474 - color: #333333;  
475 - text-align: center;  
476 -}  
477 -.coninue_scan{  
478 - width: 434rpx;  
479 - height: 94rpx;  
480 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/c_scan.png");  
481 - background-position: center;  
482 - background-size: 100% 100%;  
483 - background-repeat: no-repeat;  
484 - text-align: center;  
485 - line-height: 94rpx;  
486 - font-weight: 500;  
487 - font-size: 40rpx;  
488 - color: #FFFFFF;  
489 - margin: 66rpx auto 0;  
490 -}  
491 -.close_poup{  
492 - width: 60rpx;  
493 - height: 60rpx;  
494 - position: absolute;  
495 - bottom: -120rpx;  
496 - left: 50%;  
497 - transform: translateX(-50%);  
498 - right: 0;  
499 - background-repeat: no-repeat;  
500 - background-position: top;  
501 - background-size: 100%;  
502 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");  
503 -}  
504 -  
505 -  
506 -.redpack_poup{  
507 - width: 704rpx;  
508 - height: 952rpx;  
509 - margin-top: -100rpx;  
510 - background-repeat: no-repeat;  
511 - background-position: center;  
512 - background-size: 100%;  
513 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/red_bg.png");  
514 - position: relative;  
515 - z-index: 10;  
516 -}  
517 -.red_amount{  
518 - position: absolute;  
519 - top: 280rpx;  
520 - left: 50%;  
521 - transform: translateX(-50%);  
522 - text-align: center;  
523 - font-weight: 600;  
524 - font-family: amount;  
525 - font-size: 120rpx;  
526 - color: #FC0000;  
527 - letter-spacing: 0;  
528 -}  
529 -.red_text{  
530 - position: absolute;  
531 - top: 462rpx;  
532 - left: 50%;  
533 - transform: translateX(-50%);  
534 - font-weight: 600;  
535 - font-size: 40rpx;  
536 - color: #E71819;  
537 - text-align: center;  
538 -  
539 -}  
540 -.red_btn{  
541 - position: absolute;  
542 - left: 50%;  
543 - transform: translateX(-50%);  
544 - bottom: 160rpx;  
545 - width: 408rpx;  
546 - height: 94rpx;  
547 -}  
548 -.red_close_poup{  
549 - width: 60rpx;  
550 - height: 60rpx;  
551 - position: absolute;  
552 - bottom: -28rpx;  
553 - right: 50%;  
554 - transform: translateX(50%);  
555 - background-repeat: no-repeat;  
556 - background-position: top;  
557 - background-size: 100%;  
558 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");  
559 -}  
560 -  
561 -.secondRedpack_poup{  
562 - margin-top: -120rpx;  
563 - width: 658rpx;  
564 - height: 712rpx;  
565 - background-repeat: no-repeat;  
566 - background-position: center;  
567 - background-size: 100%;  
568 - /* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png"); */  
569 - position: relative;  
570 -}  
571 -.secondRed_amount{  
572 - width: 594rpx;  
573 - height: 256rpx;  
574 - position: absolute;  
575 - transform: translateX(-50%);  
576 - left: 50%;  
577 - top: 266rpx;  
578 -}  
579 -.secondRed_btn{  
580 - width: 434rpx;  
581 - height: 94rpx;  
582 - background-repeat: no-repeat;  
583 - background-position: center;  
584 - background-size: 100%;  
585 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_btn.png");  
586 - position: absolute;  
587 - transform: translateX(-50%);  
588 - left: 50%;  
589 - bottom: 46rpx;  
590 - font-weight: 500;  
591 - font-size: 40rpx;  
592 - color: #AA5500;  
593 - letter-spacing: 0;  
594 - text-align: center;  
595 - line-height: 94rpx;  
596 -}  
597 -.secondRed_close_poup{  
598 - width: 60rpx;  
599 - height: 60rpx;  
600 - position: absolute;  
601 - transform: translateX(-50%);  
602 - left: 50%;  
603 - bottom: -110rpx;  
604 - background-repeat: no-repeat;  
605 - background-position: top;  
606 - background-size: 100%;  
607 - background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png"); 328 + padding: 20rpx 48rpx 40rpx;
  329 +}
  330 +
  331 +.comMessBox {
  332 + width: 658rpx;
  333 + height: 636rpx;
  334 + background: #FFFFFF;
  335 + border-radius: 16rpx;
  336 + position: relative;
  337 + z-index: 100;
  338 +}
  339 +
  340 +.height_little {
  341 + height: 438rpx;
  342 +}
  343 +
  344 +.messBoxClose {
  345 + width: 60rpx;
  346 + height: 60rpx;
  347 + position: absolute;
  348 + bottom: -124rpx;
  349 + left: 288rpx;
  350 + background-repeat: no-repeat;
  351 + background-position: top;
  352 + background-size: 100%;
  353 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
  354 +}
  355 +
  356 +.messTitle {
  357 + font-weight: 500;
  358 + font-size: 34rpx;
  359 + color: #333333;
  360 + margin: 60rpx auto 36rpx;
  361 + text-align: center;
  362 +}
  363 +
  364 +.formBox {
  365 + padding: 0 40rpx;
  366 +}
  367 +
  368 +.red {
  369 + color: #d04714;
  370 + margin-right: 10rpx;
  371 +}
  372 +
  373 +.inputDesc {
  374 + display: inline-block;
  375 + min-width: 180rpx;
  376 + /* border: 1px solid red; */
  377 +}
  378 +
  379 +.inputModel {
  380 + display: flex;
  381 + align-items: center;
  382 + /* border-bottom: 1px solid #eaeaea; */
  383 + height: 96rpx;
  384 + font-size: 34rpx;
  385 + line-height: 96rpx;
  386 + margin-top: 10rpx;
  387 + color: #333;
  388 + position: relative;
  389 +}
  390 +
  391 +.phone {
  392 + border-radius: 8rpx;
  393 + line-height: 48rpx;
  394 + text-align: center;
  395 + font-size: 34rpx;
  396 + color: #004487;
  397 + position: absolute;
  398 + top: center;
  399 + left: 190rpx;
  400 + z-index: 99;
  401 + background-color: #fff;
  402 + width: 160rpx;
  403 + height: 54rpx;
  404 + border: 2rpx solid #004487;
  405 +}
  406 +
  407 +.phoneTwo {
  408 + width: 160rpx;
  409 + height: 48rpx;
  410 + border: 2rpx solid #004487;
  411 + border-radius: 8rpx;
  412 + line-height: 48rpx;
  413 + text-align: center;
  414 + font-size: 34rpx;
  415 + color: #004487;
  416 + position: absolute;
  417 + top: center;
  418 + right: 0rpx;
  419 + z-index: 99;
  420 + background-color: #fff;
  421 +}
  422 +
  423 +.item-input {
  424 + /* border: 1px solid red; */
  425 +}
  426 +
  427 +.placeholderText {
  428 + font-weight: 400;
  429 + font-size: 34rpx;
  430 + color: #C8C8CF;
  431 +}
  432 +
  433 +.local {
  434 + position: absolute;
  435 + right: 30rpx;
  436 + top: center;
  437 + width: 48rpx;
  438 + height: 48rpx;
  439 + background-repeat: no-repeat;
  440 + background-position: top;
  441 + background-size: 100%;
  442 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/Estore_2.0/wpp/wanzimatou/localRed.png");
  443 + z-index: 99;
  444 +}
  445 +
  446 +.inputSelf {
  447 + height: 60rpx;
  448 + border-bottom: 1px solid #ededed;
  449 + margin-left: -15rpx;
  450 +}
  451 +
  452 +.addInput {
  453 + width: 280rpx;
  454 + overflow: hidden;
  455 + text-overflow: ellipsis;
  456 + white-space: nowrap;
  457 + /* border:1px solid red; */
  458 +}
  459 +
  460 +.btn_box {
  461 + display: flex;
  462 + justify-content: space-between;
  463 + align-items: center;
  464 + padding: 0 20rpx;
  465 + margin-top: 48rpx;
  466 +}
  467 +
  468 +.cancelBtn {
  469 + width: 228rpx;
  470 + height: 72rpx;
  471 + background: #FFFFFF;
  472 + border: 2rpx solid #004487;
  473 + border-radius: 49rpx;
  474 + text-align: center;
  475 + line-height: 72rpx;
  476 + font-weight: 500;
  477 + font-size: 30rpx;
  478 + color: #004487;
  479 +}
  480 +
  481 +.submitButtonS {
  482 + width: 228rpx;
  483 + height: 72rpx;
  484 + background: #004487;
  485 + border-radius: 49rpx;
  486 + text-align: center;
  487 + line-height: 72rpx;
  488 + font-weight: 500;
  489 + font-size: 30rpx;
  490 + color: white;
  491 +}
  492 +
  493 +.submitButton {
  494 + width: 228rpx;
  495 + height: 72rpx;
  496 + background: #b3c7db;
  497 + border-radius: 49rpx;
  498 + text-align: center;
  499 + line-height: 72rpx;
  500 + font-weight: 500;
  501 + font-size: 30rpx;
  502 + color: white;
  503 +}
  504 +
  505 +.receive_poup {
  506 + /* width: 602rpx; */
  507 + /* height: 600rpx; */
  508 + width: 80%;
  509 + height: 50%;
  510 + /* background-image: linear-gradient(202deg, #FFACAC 0%, #FFFFFF 71%); */
  511 + /* background-color: #fff; */
  512 + border-radius: 40rpx;
  513 + margin-top: -160rpx;
  514 + position: relative;
  515 +}
  516 +.receive_poup_content{
  517 + position: absolute;
  518 + top: 10%;
  519 + left: 0;
  520 + right: 0;
  521 +}
  522 +
  523 +.success_icon {
  524 + width: 100rpx;
  525 + height: 100rpx;
  526 + margin: 112rpx auto 0;
  527 + display: block;
  528 +}
  529 +
  530 +.receive_text {
  531 + font-weight: 400;
  532 + font-size: 34rpx;
  533 + color: #333333;
  534 + text-align: center;
  535 +}
  536 +.textTip{
  537 + color: #D96531;
  538 +}
  539 +.coninue_scan {
  540 + width: 434rpx;
  541 + height: 94rpx;
  542 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/c_scan.png");
  543 + background-position: center;
  544 + background-size: 100% 100%;
  545 + background-repeat: no-repeat;
  546 + position: absolute;
  547 + left: 0;
  548 + right: 0;
  549 + bottom: 10%;
  550 + text-align: center;
  551 + line-height: 94rpx;
  552 + font-weight: 500;
  553 + font-size: 40rpx;
  554 + color: #FFFFFF;
  555 + margin: 66rpx auto 0;
  556 +}
  557 +
  558 +.close_poup {
  559 + width: 60rpx;
  560 + height: 60rpx;
  561 + position: absolute;
  562 + bottom: -120rpx;
  563 + left: 50%;
  564 + transform: translateX(-50%);
  565 + right: 0;
  566 + background-repeat: no-repeat;
  567 + background-position: top;
  568 + background-size: 100%;
  569 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
  570 +}
  571 +
  572 +
  573 +.redpack_poup {
  574 + width: 704rpx;
  575 + height: 952rpx;
  576 + margin-top: -100rpx;
  577 + background-repeat: no-repeat;
  578 + background-position: center;
  579 + background-size: 100%;
  580 + /* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/red_bg.png"); */
  581 + position: relative;
  582 + z-index: 10;
  583 +}
  584 +
  585 +.red_amount {
  586 + position: absolute;
  587 + top: 280rpx;
  588 + left: 50%;
  589 + transform: translateX(-50%);
  590 + text-align: center;
  591 + font-weight: 600;
  592 + font-family: amount;
  593 + font-size: 120rpx;
  594 + color: #FC0000;
  595 + letter-spacing: 0;
  596 +}
  597 +
  598 +.red_text {
  599 + position: absolute;
  600 + top: 462rpx;
  601 + left: 50%;
  602 + transform: translateX(-50%);
  603 + font-weight: 600;
  604 + font-size: 40rpx;
  605 + color: #E71819;
  606 + text-align: center;
  607 +
  608 +}
  609 +
  610 +.red_btn {
  611 + position: absolute;
  612 + left: 50%;
  613 + transform: translateX(-50%);
  614 + bottom: 160rpx;
  615 + width: 408rpx;
  616 + height: 94rpx;
  617 +}
  618 +
  619 +.red_close_poup {
  620 + width: 60rpx;
  621 + height: 60rpx;
  622 + position: absolute;
  623 + bottom: -28rpx;
  624 + right: 50%;
  625 + transform: translateX(50%);
  626 + background-repeat: no-repeat;
  627 + background-position: top;
  628 + background-size: 100%;
  629 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
  630 +}
  631 +
  632 +.secondRedpack_poup {
  633 + margin-top: -120rpx;
  634 + width: 658rpx;
  635 + height: 712rpx;
  636 + background-repeat: no-repeat;
  637 + background-position: center;
  638 + background-size: 100%;
  639 + /* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png"); */
  640 + position: relative;
  641 +}
  642 +
  643 +.secondRedPackContent {
  644 + left: 0;
  645 + right: 0;
  646 + top: 12%;
  647 + bottom: 0;
  648 + margin: auto;
  649 + text-align: center;
  650 + position: absolute;
  651 +}
  652 +
  653 +.packPrice {
  654 + font-size: 80rpx;
  655 + color: #F90000;
  656 + font-weight: bold;
  657 +}
  658 +.packTips {
  659 + font-size: 50rpx;
  660 + color: #F90000;
  661 + font-weight: bold;
  662 +}
  663 +
  664 +.time2 {
  665 + margin-top: 5%;
  666 + /* transform: translateY(5%); */
  667 + color: #A8A7A7;
  668 +}
  669 +
  670 +.secondRed_amount {
  671 + width: 594rpx;
  672 + height: 256rpx;
  673 + position: absolute;
  674 + transform: translateX(-50%);
  675 + left: 50%;
  676 + top: 266rpx;
  677 +}
  678 +
  679 +.secondRed_btn_box {
  680 + position: absolute;
  681 + bottom: 10%;
  682 + left: 0;
  683 + right: 0;
  684 + display: flex;
  685 + flex-direction: column;
  686 + align-items: center;
  687 + color: #fff;
  688 + margin: auto
  689 +}
  690 +
  691 +.secondRed_btn {
  692 + width: 434rpx;
  693 + height: 94rpx;
  694 + background-repeat: no-repeat;
  695 + background-position: center;
  696 + background-size: 100%;
  697 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_btn.png");
  698 + /* position: absolute; */
  699 + /* transform: translateX(-50%); */
  700 + /* left: 50%; */
  701 + /* bottom: 46rpx; */
  702 + font-weight: 500;
  703 + font-size: 40rpx;
  704 + color: #AA5500;
  705 + letter-spacing: 0;
  706 + text-align: center;
  707 + line-height: 94rpx;
  708 +}
  709 +
  710 +.secondRed_close_poup {
  711 + width: 60rpx;
  712 + height: 60rpx;
  713 + position: absolute;
  714 + transform: translateX(-50%);
  715 + left: 50%;
  716 + bottom: -110rpx;
  717 + background-repeat: no-repeat;
  718 + background-position: top;
  719 + background-size: 100%;
  720 + background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
608 } 721 }
@@ -235,7 +235,7 @@ Page({ @@ -235,7 +235,7 @@ Page({
235 params: { 235 params: {
236 code 236 code
237 } 237 }
238 - }).then(res => { 238 + },true).then(res => {
239 this.setData({ 239 this.setData({
240 'submitForm.phone': res.data 240 'submitForm.phone': res.data
241 }) 241 })