作者 郑喜程

描述你的更改

... ... @@ -21,17 +21,22 @@
<!-- <lx-button text="取消" plain="{{true}}" lx-class="btn-check-shop" bindtap="goBack" /> -->
<view class="cancel_btn" bindtap="goBack">取消</view>
</view>
<v-popup showPopup="{{showPrivacy}}">
<v-popup showPopup="{{showPrivacy}}" transparent="{{true}}">
<view class="agree-wrap">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="agree-client">
<image src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/wdl.png" />
<view>味动力乳酸菌</view>
<!-- <image src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/wdl.png" /> -->
<!-- <view>味动力乳酸菌</view> -->
<view class="agreeText">用户隐私政策</view>
</view>
<view class="agree-content">
在你使用味动力乳酸菌小程序之前,请仔细阅读<text catchtap="handleOpenPrivacyContract">《小程序用户隐私协议声明》</text>。如你同意,请点击“同意”开始使用小程序。
<!-- 在你使用味动力乳酸菌小程序之前,请仔细阅读<text catchtap="handleOpenPrivacyContract">《小程序用户隐私协议声明》</text>。如你同意,请点击“同意”开始使用小程序。 -->
<view>为了提供更好的服务并确认您的个人信息安全,在您使用小程序服务之前,请仔细阅读《XXXX隐私保护指引》</view>
<view>如您同意《XXX隐私保护指引》,</view>
<view>请点击“同意”开始使用小程序服务。</view>
</view>
<view class="agree-btns">
<button class="agree-btn" bindtap="closePrivacy">拒绝</button>
<button class="agree-btn refuse" bindtap="closePrivacy">拒绝退出</button>
<button class="agree-btn agree" open-type="agreePrivacyAuthorization" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button>
</view>
</view>
... ...
... ... @@ -13,6 +13,14 @@
position: absolute;
}
.packet {
z-index: -2;
top: 0;
bottom: 0;
left: 0;
margin: auto;
}
.logo {
right: 0;
left: 0;
... ... @@ -172,11 +180,13 @@
}
.agree-wrap {
background-color: #fff;
width: 600rpx;
/* background-color: #fff; */
width: 100%;
box-sizing: border-box;
padding: 30rpx 28rpx 50rpx;
border-radius: 20rpx;
height: 53% !important;
padding: 30rpx 50rpx 50rpx;
position: relative;
}
.agree-client {
... ... @@ -187,13 +197,29 @@
color: #333333;
}
.agreeText {
margin: auto;
font-size: 42rpx !important;
font-weight: bold;
position: absolute;
top: -2%;
left: 0;
right: 0;
text-align: center;
}
.agree-content {
color: #333333;
font-size: 30rpx;
font-weight: Regular;
line-height: 48rpx;
margin-top: 34rpx;
margin-top: 15%;
min-height: 216rpx;
padding: 0 10%;
}
.agree-content view {
padding: 6rpx 0;
}
.agree-content text {
... ... @@ -210,8 +236,15 @@
.agree-btns {
display: flex;
justify-content: space-around;
/* justify-content: space-around; */
flex-direction: column;
margin-top: 10rpx;
bottom: 10%;
position: absolute;
width: 80%;
}
.agree-btns button{
margin: 10rpx auto;
}
.agree-btn {
... ... @@ -221,10 +254,15 @@
border-radius: 8rpx;
font-weight: 500;
font-size: 32rpx;
color: #07B300;
color: #fff;
}
.agree-btn.agree {
background: #07B300;
background: #FFE18C;
color: #F90000;
}
.agree-btn.refuse {
background: #FF2222;
color: #fff;
border: 1px solid #fff;
}
\ No newline at end of file
... ...
... ... @@ -31,10 +31,12 @@ Page({
received: false,
isNoAward: false, //没有中奖的情况
showRedPack: false, //红包
showCodeSituation: false, //二维码活动情况
txt: "",
showSecondRedPack: false, //待解锁红包
secondRedPackBg: 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png',
excitationRedPack: false, //激励红包
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>',
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>',
locate: '',
received: false
},
... ... @@ -90,60 +92,95 @@ Page({
async onShow() {
},
getPromotion(pageData){ //查询二维码信息和活动信息
getPromotion(pageData) { //查询二维码信息和活动信息
let latitude = getApp().globalData.userInfo.latitude
let longitude = getApp().globalData.userInfo.longitude
const apiBase = config.dataServer
wx.request({
url: apiBase + `/tag/v2/promotion?longitude=${longitude}&latitude=${latitude}`,
header: {
'Authorization':`Bearer ${getApp().globalData.userInfo?.token}`,
'serialId': getApp().userInfo?.serialId
},
method: "GET",
data: {
code: pageData.qrCode, //wxff6674eabc54fc28 wx0f695ef70a18d602 wx43fc214041ea41da
uri: pageData.qrUri,
wechatSource: "",//小程序场景值 小程序里扫码:-1000
tagCodeType:"STANDARD",//码类型
pageInfo:true //是否需要页面模板信息(需命中方案)
},
timeout: 30 * 1000,
success: (res) => {
wx.hideLoading()
// wx.reLaunch({
// url: this.myrouter ? decodeURIComponent(
// this.myrouter) :
// '/custom-pages/custom-index/index'
// })
},
fail: (res) => {
console.log(res)
// const msg = await getErrortxt()
// wx.showModal({
// title: '提示',
// content: msg,
// showCancel: false,
// confirmText: '知道了',
// confirmColor: '#fe8600'
// })
},
complete: () => {
// wx.hideNavigationBarLoading()
// if (showLoading) {
// wx.hideLoading()
// }
wx.request({
url: apiBase + `/tag/v2/promotion?longitude=${longitude}&latitude=${latitude}`,
header: {
'Authorization': `Bearer ${getApp().globalData.userInfo?.token}`,
'serialId': getApp().userInfo?.serialId
},
method: "GET",
data: {
code: pageData.qrCode, //wxff6674eabc54fc28 wx0f695ef70a18d602 wx43fc214041ea41da
uri: pageData.qrUri,
wechatSource: "", //小程序场景值 小程序里扫码:-1000
tagCodeType: "STANDARD", //码类型
pageInfo: true //是否需要页面模板信息(需命中方案)
},
timeout: 30 * 1000,
success: (res) => {
//拟写
let type = res.type
type = "3"
switch (type) {
case '1':
this.setData({
showCodeSituation: true,
txt: "二维码已经参与活动"
})
break;
case '2':
this.setData({
showCodeSituation: true,
txt: "二维码不可激活"
})
break;
case '3':
this.setData({
showCodeSituation: true,
txt: "激励奖励已达上限"
})
break;
case '4':
this.setData({
showCodeSituation: true,
txt: "前方拥堵,还请耐心等待 请稍后再来试试"
})
break;
case '5':
this.setData({
showCodeSituation: true,
txt: "您扫码的二维码不正确 请换一个试试"
})
break;
}
})
wx.hideLoading()
// wx.reLaunch({
// url: this.myrouter ? decodeURIComponent(
// this.myrouter) :
// '/custom-pages/custom-index/index'
// })
},
fail: (res) => {
console.log(res)
// const msg = await getErrortxt()
// wx.showModal({
// title: '提示',
// content: msg,
// showCancel: false,
// confirmText: '知道了',
// confirmColor: '#fe8600'
// })
},
complete: () => {
// wx.hideNavigationBarLoading()
// if (showLoading) {
// wx.hideLoading()
// }
}
})
},
// 获取地理位置
getLocation() {
return new Promise((resolve, reject) => {
wx.getFuzzyLocation({
type: 'gcj02',
success: (res)=> {
success: (res) => {
getApp().globalData.userInfo.latitude = res.latitude
getApp().globalData.userInfo.longitude = res.longitude
resolve(res.latitude + ',' + res.longitude)
... ... @@ -186,7 +223,7 @@ Page({
wx.request({
url: apiBase + "/lottery/v2/tag?longitude=&latitude=",
header: {
'Authorization':`Bearer ${getApp().globalData.userInfo?.token}`,
'Authorization': `Bearer ${getApp().globalData.userInfo?.token}`,
'serialId': getApp().userInfo?.serialId
},
method: "POST",
... ... @@ -201,11 +238,30 @@ Page({
},
timeout: 30 * 1000,
success: (res) => {
console.log(res,"res");
console.log(res, "res"); //抽奖后返回的结果 新接口
//弹出中奖结果
//1.showRedPack
this.setData({
scanRewardVO: res.data.prizes[0],
showRedPack: true
scanRewardVO: (res.data?.prizes && res.data?.prizes[0]) || {
amount: 1
},
showRedPack: true,
excitationRedPack: true
})
//2.完善个人信息
// this.setData({
// showCouponComMess: true,
// isOneReward:true //手机授权/填写身份信息
// })
// 3.receiveVis
// this.setData({
// receiveVis: true,
// isNoAward:true // 获奖/谢谢参与
// })
// 4.领取成功,继续扫码
// this.setData({
// showSecondRedPack: true,
// })
},
fail: (res) => {
const [title, info] = res.data.errorMsg.split('|')
... ... @@ -290,10 +346,15 @@ Page({
brandId,
voucherNo
}
this.setData({
showRedPack: false //关闭红包
})
return
//原先的接口业务
app.utils.doPost({
url: '/my/getWinGoodsAndCompleteInfo.json',
params: postData
},true)
}, true)
.then(async res => {
await this.getUserInfo()
const data = res.data
... ... @@ -386,21 +447,23 @@ Page({
this.checkIsFilled()
},
getPhoneNumber(e) {
console.log(e, "e");
const {
code
} = e.detail
if (!code) return
app.utils.doPost({
url: '/daNoneUtc/doWechatBindPhone.json',
params: {
code
}
}).then(res => {
this.setData({
'submitForm.phone': res.data
})
this.checkIsFilled()
})
//请求后台获取手机号码
// app.utils.doPost({
// url: '/daNoneUtc/doWechatBindPhone.json',
// params: {
// code
// }
// },true).then(res => {
// this.setData({
// 'submitForm.phone': res.data
// })
// this.checkIsFilled()
// })
},
IdCard(id) {
var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
... ... @@ -521,6 +584,11 @@ Page({
receiveVis: false
})
},
closeCodeSituation() {
this.setData({
showCodeSituation: false
})
},
closeRedPack() {
this.setData({
showRedPack: false
... ... @@ -597,7 +665,7 @@ Page({
}
)
},
... ...
... ... @@ -86,24 +86,41 @@
<image class="index_img pup_activity " src="/images/junyao/pup_activity.png" mode="widthFix"/>
</popup>
<!-- 查询二维码活动后的情况 -->
<v-popup showPopup="{{showCodeSituation}}" transparent="{{true}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="receive_poup">
<!-- <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=""/> -->
<view class="receive_poup_content">
<view class="receive_text packTips">提示</view>
<view class="receive_text textTip" style="margin-top: 150rpx;">{{txt}}</view>
<view class="receive_text"></view>
</view>
<view class="coninue_scan secondRed_btn" bindtap="goIndex">进入首页</view>
<view class="close_poup" bindtap="closeCodeSituation"></view>
</view>
</v-popup>
<!-- showRedPack -->
<v-popup showPopup="{{showRedPack}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="redpack_poup">
<view class="red_amount">{{scanRewardVO.amount}}<text style="font-size: 90rpx;vertical-align: middle;">元</text></view>
<view class="red_text">{{excitationRedPack ? '激励红包' : '现金红包'}}</view>
<view class="red_btn" bindtap="goReceive"></view>
<view class="red_btn secondRed_btn" bindtap="goReceive">收下</view>
<view class="red_close_poup" bindtap="closeRedPack"></view>
</view>
</v-popup>
<!-- 完善信息 showCouponComMess -->
<v-popup showPopup="{{showCouponComMess}}">
<image class="index_img packet" src="/images/junyao/frame.png" mode="widthFix"/>
<view class="{{isOneReward ? 'comMessBox' : 'comMessBox height_little'}}">
<view class="messTitle">完善个人信息</view>
<!-- <view class="messBoxClose" bindtap="messBoxClose"></view> -->
<view class="formBox">
<form bindsubmit="formSubmit">
<view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode>姓&emsp;&emsp;名:</text>
<view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode>&emsp;收货人:</text>
<input
class="inputSelf"
placeholder="请输入姓名"
... ... @@ -114,7 +131,7 @@
value="{{ submitForm.name }}"
/>
</view>
<view class="inputModel"><text class="red">*</text><text class="inputDesc">手机号码:</text>
<view class="inputModel"><text class="red">*</text><text class="inputDesc">联系电话:</text>
<input
class="inputSelf phoneInput"
placeholder=""
... ... @@ -150,12 +167,16 @@
<!-- receiveVis -->
<v-popup showPopup="{{receiveVis}}">
<v-popup showPopup="{{receiveVis}}" transparent="{{true}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="receive_poup">
<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=""/>
<view class="receive_text" style="margin-top: 40rpx;">{{isNoAward ? '很遗憾此次未中奖' : '恭喜您领取成功'}}</view>
<view class="receive_text">{{isNoAward ? '谢谢参与' : '奖励已发放至您的微信账户'}}</view>
<view class="coninue_scan" bindtap="handleScan">继续扫码</view>
<!-- <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=""/> -->
<view class="receive_poup_content">
<view class="receive_text packTips">提示</view>
<view class="receive_text" style="margin-top: 150rpx;">{{isNoAward ? '很遗憾此次未中奖' : '恭喜您领取成功'}}</view>
<view class="receive_text">{{isNoAward ? '谢谢参与' : '奖励已发放至您的微信账户'}}</view>
</view>
<view class="coninue_scan secondRed_btn" bindtap="handleScan">继续扫码</view>
<view class="close_poup" bindtap="closeReceiveModal"></view>
</view>
</v-popup>
... ... @@ -166,9 +187,20 @@
<!-- showSecondRedPack -->
<v-popup showPopup="{{showSecondRedPack}}">
<view class="secondRedpack_poup" style="background-image: url({{secondRedPackBg}});">
<image class="secondRed_amount" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_red.png"></image>
<view class="secondRed_btn" bindtap="handleScan">继续扫码</view>
<view class="secondRedpack_poup">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<!-- <image class="secondRed_amount" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_red.png"></image> -->
<view class="secondRedPackContent">
<view class="packPrice">1.8元</view>
<view>再喝一瓶开盖扫码</view>
<view>即可解锁复购红包</view>
<view class="time2">72小时内有效</view>
</view>
<view class="secondRed_btn_box">
<view>喜上加喜!</view>
<view>恭喜您获得双重好礼</view>
<view class="secondRed_btn" bindtap="handleScan">继续开奖</view>
</view>
<view class="secondRed_close_poup" bindtap="closeSecondRedPack"></view>
</view>
</v-popup>
... ...
/* scanGroup/jyScan/index/index.wxss */
@font-face {
font-family: 'amount';
src: url(https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/DIN%20Alternate%20Bold.ttf);
font-weight: normal;
font-style: normal;
}
page{
height: 100%;
}
.container{
width: 100vw;
/* min-height: 100vh; */
min-height: 1624rpx;
height: 100%;
background-color: #004488;
background-repeat: no-repeat;
background-position: top;
background-size: 100% 100%;
/* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/jy_sacn.png"); */
position: relative;
/* overflow: hidden; */
font-family: 'amount';
src: url(https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/DIN%20Alternate%20Bold.ttf);
font-weight: normal;
font-style: normal;
}
page {
height: 100%;
}
.container {
width: 100vw;
/* min-height: 100vh; */
min-height: 1624rpx;
height: 100%;
background-color: #004488;
background-repeat: no-repeat;
background-position: top;
background-size: 100% 100%;
/* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/jy_sacn.png"); */
position: relative;
/* overflow: hidden; */
}
.index_img {
... ... @@ -28,7 +30,15 @@ page{
position: absolute;
}
.logo{
.packet {
z-index: -2;
top: 0;
bottom: 0;
left: 0;
margin: auto;
}
.logo {
right: 0;
left: 0;
margin: auto;
... ... @@ -36,13 +46,13 @@ page{
top: 11.5%;
}
.myPrize{
.myPrize {
right: 10rpx;
width: 170rpx;
top: 30%;
}
.welfareOfficer{
.welfareOfficer {
right: 10rpx;
width: 170rpx;
bottom: 28%;
... ... @@ -98,7 +108,7 @@ page{
width: 75%;
}
.pup_activity{
.pup_activity {
/* height: ; */
z-index: -2;
/* height: 75%; */
... ... @@ -110,499 +120,602 @@ page{
/* 弹幕消息 */
.wl-msg {
position: absolute;
top: 40rpx;
left: 0rpx;
width: 750rpx;
height: 206rpx;
position: absolute;
top: 40rpx;
left: 0rpx;
width: 750rpx;
height: 206rpx;
}
.marquee-content {
width: 750rpx;
height: 50rpx;
line-height: 34rpx;
font-weight: 500;
font-size: 24rpx;
color: #D81E05;
position: relative;
overflow: hidden;
margin-bottom: 24rpx;
width: 750rpx;
height: 50rpx;
line-height: 34rpx;
font-weight: 500;
font-size: 24rpx;
color: #D81E05;
position: relative;
overflow: hidden;
margin-bottom: 24rpx;
}
.marquee {
position: absolute;
height: 100%;
white-space: nowrap;
}
.marquee view {
display: inline-block;
}
.marquee-item {
display: inline-block;
height: 100%;
}
.wl-opt {
position: fixed;
top: 736rpx;
right: 0;
width: 88rpx;
position: fixed;
top: 736rpx;
right: 0;
width: 88rpx;
}
.wl-opt-btn {
width: 88rpx;
height: 76rpx;
background: #ffffff4d;
border-radius: 46rpx 0 0 46rpx;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
padding-left: 32rpx;
box-sizing: border-box;
line-height: 28rpx;
padding-top: 14rpx;
margin-bottom: 12rpx;
width: 88rpx;
height: 76rpx;
background: #ffffff4d;
border-radius: 46rpx 0 0 46rpx;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
padding-left: 32rpx;
box-sizing: border-box;
line-height: 28rpx;
padding-top: 14rpx;
margin-bottom: 12rpx;
}
.marquee-item_text {
height: 50rpx;
line-height: 50rpx;
border-radius: 38rpx;
height: 50rpx;
line-height: 50rpx;
border-radius: 38rpx;
font-size: 24rpx;
color: #fff;
padding: 0 24rpx;
margin: 0 24rpx;
background-color: rgba(255, 255, 255, 0.33);
color: #fff;
padding: 0 24rpx;
margin: 0 24rpx;
background-color: rgba(255, 255, 255, 0.33);
}
@keyframes marquee {
0% {
left: 0;
}
100% {
left: var(--width);
}
}
.fixed_btn{
width: 85rpx;
height: 80rpx;
/* background: #3f9ed1; */
background: #B03344;
border-radius: 28rpx 0 0 28rpx;
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
text-align: center;
letter-spacing: 0;
line-height: 28rpx;
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.btn_1{
right: 0rpx;
top: 200rpx;
}
.btn_2{
right: 0rpx;
top: 296rpx;
}
.btn_3{
right: 0rpx;
top: 292rpx;
}
.btn_4{
right: 0rpx;
top: 388rpx;
}
.scan_icon{
width: 40rpx;
height: 40rpx;
}
.mt_down{
margin-bottom: 5rpx;
}
.reward_btn{
width: 702rpx;
height: 250rpx;
position: absolute;
left: 50%;
/* bottom: 320rpx; */
top: 1188rpx;
transform: translateX(-50%);
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
font-size: 40rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 168rpx;
font-weight: 600;
}
.reward_btn_none{
width: 702rpx;
height: 250rpx;
position: absolute;
left: 50%;
/* bottom: 320rpx; */
top: 1188rpx;
transform: translateX(-50%);
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn_none.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
font-size: 40rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 168rpx;
font-weight: 600;
}
.id_code{
position: absolute;
bottom: 112rpx;
text-align: center;
width: 100%;
font-weight: 400;
font-size: 30rpx;
color: rgba(255, 255, 255, 1);
}
.id_mes{
position: absolute;
bottom: 52rpx;
text-align: center;
width: 100%;
font-weight: 400;
font-size: 28rpx;
color: rgba(255, 255, 255, 0.5);
.fixed_btn {
width: 85rpx;
height: 80rpx;
/* background: #3f9ed1; */
background: #B03344;
border-radius: 28rpx 0 0 28rpx;
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
text-align: center;
letter-spacing: 0;
line-height: 28rpx;
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.btn_1 {
right: 0rpx;
top: 200rpx;
}
.btn_2 {
right: 0rpx;
top: 296rpx;
}
.btn_3 {
right: 0rpx;
top: 292rpx;
}
.btn_4 {
right: 0rpx;
top: 388rpx;
}
.scan_icon {
width: 40rpx;
height: 40rpx;
}
.mt_down {
margin-bottom: 5rpx;
}
.reward_btn {
width: 702rpx;
height: 250rpx;
position: absolute;
left: 50%;
/* bottom: 320rpx; */
top: 1188rpx;
transform: translateX(-50%);
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
font-size: 40rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 168rpx;
font-weight: 600;
}
.reward_btn_none {
width: 702rpx;
height: 250rpx;
position: absolute;
left: 50%;
/* bottom: 320rpx; */
top: 1188rpx;
transform: translateX(-50%);
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/award_btn_none.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
font-size: 40rpx;
color: #FFFFFF;
letter-spacing: 0;
text-align: center;
line-height: 168rpx;
font-weight: 600;
}
.id_code {
position: absolute;
bottom: 112rpx;
text-align: center;
width: 100%;
font-weight: 400;
font-size: 30rpx;
color: rgba(255, 255, 255, 1);
}
.id_mes {
position: absolute;
bottom: 52rpx;
text-align: center;
width: 100%;
font-weight: 400;
font-size: 28rpx;
color: rgba(255, 255, 255, 0.5);
}
.rule {
width: 100%;
height: 672rpx;
margin-top: 170rpx;
overflow-y: scroll;
width: 100%;
height: 672rpx;
margin-top: 170rpx;
overflow-y: scroll;
}
.icon-close{
bottom: -164px;
.icon-close {
bottom: -200px;
}
.rule-title {
font-weight: 400;
font-size: 34rpx;
color: #10111A;
text-align: center;
margin-top: 20rpx;
font-weight: 400;
font-size: 34rpx;
color: #10111A;
text-align: center;
margin-top: 20rpx;
}
.rule-content {
padding: 20rpx 48rpx 40rpx;
}
.comMessBox{
width: 658rpx;
height: 636rpx;
background: #FFFFFF;
border-radius: 16rpx;
position: relative;
z-index: 100;
}
.height_little{
height: 438rpx;
}
.messBoxClose{
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -124rpx;
left: 288rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.messTitle{
font-weight: 500;
font-size: 34rpx;
color: #333333;
margin: 60rpx auto 36rpx;
text-align: center;
}
.formBox{
padding: 0 40rpx;
}
.red{
color: #d04714;
margin-right: 10rpx;
}
.inputDesc{
display: inline-block;
min-width: 180rpx;
/* border: 1px solid red; */
}
.inputModel{
display: flex;
align-items: center;
/* border-bottom: 1px solid #eaeaea; */
height: 96rpx;
font-size: 34rpx;
line-height: 96rpx;
margin-top: 10rpx;
color: #333;
position: relative;
}
.phone{
border-radius: 8rpx;
line-height: 48rpx;
text-align: center;
font-size: 34rpx;
color: #004487;
position: absolute;
top: center;
left: 190rpx;
z-index: 99;
background-color: #fff;
width: 160rpx;
height: 54rpx;
border: 2rpx solid #004487;
}
.phoneTwo{
width: 160rpx;
height: 48rpx;
border: 2rpx solid #004487;
border-radius: 8rpx;
line-height: 48rpx;
text-align: center;
font-size: 34rpx;
color: #004487;
position: absolute;
top: center;
right: 0rpx;
z-index: 99;
background-color: #fff;
}
.item-input{
/* border: 1px solid red; */
}
.placeholderText{
font-weight: 400;
font-size: 34rpx;
color: #C8C8CF;
}
.local{
position: absolute;
right: 30rpx;
top: center;
width: 48rpx;
height: 48rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/Estore_2.0/wpp/wanzimatou/localRed.png");
z-index: 99;
}
.inputSelf{
height: 60rpx;
border-bottom: 1px solid #ededed;
margin-left: -15rpx;
}
.addInput{
width: 280rpx;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
/* border:1px solid red; */
}
.btn_box{
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20rpx;
margin-top: 48rpx;
}
.cancelBtn{
width: 228rpx;
height: 72rpx;
background: #FFFFFF;
border: 2rpx solid #004487;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: #004487;
}
.submitButtonS{
width: 228rpx;
height: 72rpx;
background: #004487;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: white;
}
.submitButton{
width: 228rpx;
height: 72rpx;
background: #b3c7db;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: white;
}
.receive_poup{
width: 602rpx;
height: 600rpx;
/* background-image: linear-gradient(202deg, #FFACAC 0%, #FFFFFF 71%); */
background-color: #fff;
border-radius: 40rpx;
margin-top: -160rpx;
position: relative;
}
.success_icon{
width: 100rpx;
height: 100rpx;
margin: 112rpx auto 0;
display: block;
}
.receive_text{
font-weight: 400;
font-size: 34rpx;
color: #333333;
text-align: center;
}
.coninue_scan{
width: 434rpx;
height: 94rpx;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/c_scan.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
text-align: center;
line-height: 94rpx;
font-weight: 500;
font-size: 40rpx;
color: #FFFFFF;
margin: 66rpx auto 0;
}
.close_poup{
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -120rpx;
left: 50%;
transform: translateX(-50%);
right: 0;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.redpack_poup{
width: 704rpx;
height: 952rpx;
margin-top: -100rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/red_bg.png");
position: relative;
z-index: 10;
}
.red_amount{
position: absolute;
top: 280rpx;
left: 50%;
transform: translateX(-50%);
text-align: center;
font-weight: 600;
font-family: amount;
font-size: 120rpx;
color: #FC0000;
letter-spacing: 0;
}
.red_text{
position: absolute;
top: 462rpx;
left: 50%;
transform: translateX(-50%);
font-weight: 600;
font-size: 40rpx;
color: #E71819;
text-align: center;
}
.red_btn{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 160rpx;
width: 408rpx;
height: 94rpx;
}
.red_close_poup{
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -28rpx;
right: 50%;
transform: translateX(50%);
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.secondRedpack_poup{
margin-top: -120rpx;
width: 658rpx;
height: 712rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
/* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png"); */
position: relative;
}
.secondRed_amount{
width: 594rpx;
height: 256rpx;
position: absolute;
transform: translateX(-50%);
left: 50%;
top: 266rpx;
}
.secondRed_btn{
width: 434rpx;
height: 94rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_btn.png");
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: 46rpx;
font-weight: 500;
font-size: 40rpx;
color: #AA5500;
letter-spacing: 0;
text-align: center;
line-height: 94rpx;
}
.secondRed_close_poup{
width: 60rpx;
height: 60rpx;
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: -110rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
padding: 20rpx 48rpx 40rpx;
}
.comMessBox {
width: 658rpx;
height: 636rpx;
background: #FFFFFF;
border-radius: 16rpx;
position: relative;
z-index: 100;
}
.height_little {
height: 438rpx;
}
.messBoxClose {
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -124rpx;
left: 288rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.messTitle {
font-weight: 500;
font-size: 34rpx;
color: #333333;
margin: 60rpx auto 36rpx;
text-align: center;
}
.formBox {
padding: 0 40rpx;
}
.red {
color: #d04714;
margin-right: 10rpx;
}
.inputDesc {
display: inline-block;
min-width: 180rpx;
/* border: 1px solid red; */
}
.inputModel {
display: flex;
align-items: center;
/* border-bottom: 1px solid #eaeaea; */
height: 96rpx;
font-size: 34rpx;
line-height: 96rpx;
margin-top: 10rpx;
color: #333;
position: relative;
}
.phone {
border-radius: 8rpx;
line-height: 48rpx;
text-align: center;
font-size: 34rpx;
color: #004487;
position: absolute;
top: center;
left: 190rpx;
z-index: 99;
background-color: #fff;
width: 160rpx;
height: 54rpx;
border: 2rpx solid #004487;
}
.phoneTwo {
width: 160rpx;
height: 48rpx;
border: 2rpx solid #004487;
border-radius: 8rpx;
line-height: 48rpx;
text-align: center;
font-size: 34rpx;
color: #004487;
position: absolute;
top: center;
right: 0rpx;
z-index: 99;
background-color: #fff;
}
.item-input {
/* border: 1px solid red; */
}
.placeholderText {
font-weight: 400;
font-size: 34rpx;
color: #C8C8CF;
}
.local {
position: absolute;
right: 30rpx;
top: center;
width: 48rpx;
height: 48rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/Estore_2.0/wpp/wanzimatou/localRed.png");
z-index: 99;
}
.inputSelf {
height: 60rpx;
border-bottom: 1px solid #ededed;
margin-left: -15rpx;
}
.addInput {
width: 280rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* border:1px solid red; */
}
.btn_box {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20rpx;
margin-top: 48rpx;
}
.cancelBtn {
width: 228rpx;
height: 72rpx;
background: #FFFFFF;
border: 2rpx solid #004487;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: #004487;
}
.submitButtonS {
width: 228rpx;
height: 72rpx;
background: #004487;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: white;
}
.submitButton {
width: 228rpx;
height: 72rpx;
background: #b3c7db;
border-radius: 49rpx;
text-align: center;
line-height: 72rpx;
font-weight: 500;
font-size: 30rpx;
color: white;
}
.receive_poup {
/* width: 602rpx; */
/* height: 600rpx; */
width: 80%;
height: 50%;
/* background-image: linear-gradient(202deg, #FFACAC 0%, #FFFFFF 71%); */
/* background-color: #fff; */
border-radius: 40rpx;
margin-top: -160rpx;
position: relative;
}
.receive_poup_content{
position: absolute;
top: 10%;
left: 0;
right: 0;
}
.success_icon {
width: 100rpx;
height: 100rpx;
margin: 112rpx auto 0;
display: block;
}
.receive_text {
font-weight: 400;
font-size: 34rpx;
color: #333333;
text-align: center;
}
.textTip{
color: #D96531;
}
.coninue_scan {
width: 434rpx;
height: 94rpx;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/c_scan.png");
background-position: center;
background-size: 100% 100%;
background-repeat: no-repeat;
position: absolute;
left: 0;
right: 0;
bottom: 10%;
text-align: center;
line-height: 94rpx;
font-weight: 500;
font-size: 40rpx;
color: #FFFFFF;
margin: 66rpx auto 0;
}
.close_poup {
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -120rpx;
left: 50%;
transform: translateX(-50%);
right: 0;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.redpack_poup {
width: 704rpx;
height: 952rpx;
margin-top: -100rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
/* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/red_bg.png"); */
position: relative;
z-index: 10;
}
.red_amount {
position: absolute;
top: 280rpx;
left: 50%;
transform: translateX(-50%);
text-align: center;
font-weight: 600;
font-family: amount;
font-size: 120rpx;
color: #FC0000;
letter-spacing: 0;
}
.red_text {
position: absolute;
top: 462rpx;
left: 50%;
transform: translateX(-50%);
font-weight: 600;
font-size: 40rpx;
color: #E71819;
text-align: center;
}
.red_btn {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 160rpx;
width: 408rpx;
height: 94rpx;
}
.red_close_poup {
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -28rpx;
right: 50%;
transform: translateX(50%);
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
.secondRedpack_poup {
margin-top: -120rpx;
width: 658rpx;
height: 712rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
/* background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/second_bg1.png"); */
position: relative;
}
.secondRedPackContent {
left: 0;
right: 0;
top: 12%;
bottom: 0;
margin: auto;
text-align: center;
position: absolute;
}
.packPrice {
font-size: 80rpx;
color: #F90000;
font-weight: bold;
}
.packTips {
font-size: 50rpx;
color: #F90000;
font-weight: bold;
}
.time2 {
margin-top: 5%;
/* transform: translateY(5%); */
color: #A8A7A7;
}
.secondRed_amount {
width: 594rpx;
height: 256rpx;
position: absolute;
transform: translateX(-50%);
left: 50%;
top: 266rpx;
}
.secondRed_btn_box {
position: absolute;
bottom: 10%;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
color: #fff;
margin: auto
}
.secondRed_btn {
width: 434rpx;
height: 94rpx;
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_btn.png");
/* position: absolute; */
/* transform: translateX(-50%); */
/* left: 50%; */
/* bottom: 46rpx; */
font-weight: 500;
font-size: 40rpx;
color: #AA5500;
letter-spacing: 0;
text-align: center;
line-height: 94rpx;
}
.secondRed_close_poup {
width: 60rpx;
height: 60rpx;
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: -110rpx;
background-repeat: no-repeat;
background-position: top;
background-size: 100%;
background-image: url("https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/dahaoda/close.png");
}
\ No newline at end of file
... ...
... ... @@ -235,7 +235,7 @@ Page({
params: {
code
}
}).then(res => {
},true).then(res => {
this.setData({
'submitForm.phone': res.data
})
... ...