diff --git a/homepage.html b/homepage.html index 7d6031d..3b89cd3 100644 --- a/homepage.html +++ b/homepage.html @@ -490,8 +490,10 @@ if (type == 2) { if (channel === 1) { return 'https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/zfbreduce.png'; - } else { + } else if (channel === 2) { return 'https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/wxreduce.png'; + } else if (channel === 3) { + return 'https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/logo_ysf.png'; } } @@ -528,7 +530,11 @@ window.location.replace("./exchange.html"); } if (type == 2) { - window.location.replace("./reduce.html"); + if (entity.channel === 3) { + window.location.replace("./ysf-redPackets.html"); + } else { + window.location.replace("./reduce.html"); + } } if (type == 3) { if (entity.channel === 3) { diff --git a/ysf-redPackets.html b/ysf-redPackets.html new file mode 100644 index 0000000..307777a --- /dev/null +++ b/ysf-redPackets.html @@ -0,0 +1,258 @@ + + + + + + + 云闪付立减金 + + + + + + + + +
+ +
+ {{prompt_text}} +
+ + + + +
+

{{ysf.entity.batch_goods_name}}

+
+

+ 满{{parseFloat(ysf.entity.denomination)}}元减{{parseFloat(ysf.entity.reduce_amount)}}元 +

+

请在 + {{receive_time.effect_time.start_time}} ~ {{receive_time.effect_time.end_time}} 内领取

+
+

+ {{ysf.entity.card_type|cardType}} +

+
+

+ 领取后{{receive_time.use_time.effect_date_type==0?'立即':'次日凌晨'}}生效,有效期 + {{receive_time.use_time.effect_day}} 天 +

+

+ 可用时间:{{receive_time.use_time.fiexd_time.start_time}} ~ {{receive_time.use_time.fiexd_time.end_time}} +

+
+
+
+

云闪付账号

+ + +

您可在云闪付的个人信息中查看【云闪付账号】

+
+ +
+
+ + + +
+
+

可用时间

+
+
    +
  • +

    {{item}}

    +
    +

    + {{item2[0]}}~{{item2[1]}} +

    +
    +
  • +
+
+
+
    +
  • +

    {{item[0]}}至{{item[1]}}

    +
    +

    + {{item2[0]}}~{{item2[1]}} +

    +
    +
  • +
+
+

活动说明

+

+
+
+
+ + + + + \ No newline at end of file diff --git a/ysf.css b/ysf.css index cd30cf1..5baec73 100644 --- a/ysf.css +++ b/ysf.css @@ -7,6 +7,7 @@ html { font-size: 26.66666667vw; + height: 100%; } body { @@ -14,6 +15,7 @@ body { text-size-adjust: 100% !important; -moz-text-size-adjust: 100% !important; font-size: 0.14rem; + height: 100%; } @media screen and (min-width: 900px) { @@ -301,6 +303,7 @@ body { color: #a8a8a8; margin: 0.04rem 0; } + .type { font-size: 0.1rem; background-color: rgb(238, 25, 32); @@ -310,6 +313,7 @@ body { color: #fff; margin-top: 0.1rem; } + .information-tag { font-size: 0.2rem; }