Browse Source

'六一活动'

Rorschach 3 years ago
parent
commit
f1fa3064a2

+ 14 - 13
pages/activity/index/index.wxss

@@ -5,11 +5,12 @@
   height: 100%;
   height: 100%;
   box-sizing: border-box;
   box-sizing: border-box;
   overflow: scroll;
   overflow: scroll;
-  background: #FFC76C;
+  background: #FE7F79;
 }
 }
 .activity-bg {
 .activity-bg {
   width: 100%;
   width: 100%;
   height: 400rpx;
   height: 400rpx;
+  margin-bottom:18rpx;
 }
 }
 .rule {
 .rule {
   position: absolute;
   position: absolute;
@@ -24,7 +25,7 @@
 }
 }
 .strategy {
 .strategy {
   position: fixed;
   position: fixed;
-  top: 284rpx;
+  top: 384rpx;
   right: 0;
   right: 0;
   width: 205rpx;
   width: 205rpx;
   height: 155rpx;
   height: 155rpx;
@@ -39,16 +40,16 @@
   width: 100%;
   width: 100%;
   height: 484rpx;
   height: 484rpx;
   overflow: hidden;
   overflow: hidden;
-  margin-top: -44rpx;
+  margin-top: -31rpx;
 }
 }
 .gradeText {
 .gradeText {
   position: absolute;
   position: absolute;
-  left: 50%;
-  top: 30rpx;
-  transform: translateX(-50%);
-  font-size: 34rpx;
-  color: #fff;
-  font-weight: 600;
+    left: 50%;
+    top: 125rpx;
+    transform: translateX(-50%);
+    font-size: 36rpx;
+    color: #663c00;
+    font-weight: 600;
 }
 }
 .swiper-bg {
 .swiper-bg {
   position: absolute;
   position: absolute;
@@ -78,14 +79,14 @@
 .activity-ranking {
 .activity-ranking {
   position: relative;
   position: relative;
   width: 100%;
   width: 100%;
-  margin-top: 60rpx;
+  margin-top: 36rpx;
 }
 }
 .activity-ranking-tab {
 .activity-ranking-tab {
   position: relative;
   position: relative;
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   height: 88rpx;
   height: 88rpx;
-  background: #ff7d30;
+  background: #D44A44;
 border-radius: 0 20rpx 0 20rpx;
 border-radius: 0 20rpx 0 20rpx;
 }
 }
 .tab-bg {
 .tab-bg {
@@ -121,14 +122,14 @@ border-radius: 0 20rpx 0 20rpx;
   z-index: 1;
   z-index: 1;
 }
 }
 .activity-ranking-tab .select {
 .activity-ranking-tab .select {
-  color: #FF6000;
+  color: #FF5600;
 }
 }
 .activity-ranking-title {
 .activity-ranking-title {
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   align-items: center;
   align-items: center;
   padding: 21rpx 42rpx;
   padding: 21rpx 42rpx;
-  color: #FF6000;
+  color: #FF5600;
   font-size: 38rpx;
   font-size: 38rpx;
   background: #fff;
   background: #fff;
   box-sizing: border-box;
   box-sizing: border-box;

+ 2 - 2
pages/index/index.js

@@ -1119,8 +1119,8 @@ Page({
       console.log('活动banner', res)
       console.log('活动banner', res)
     })
     })
     wx.navigateTo({
     wx.navigateTo({
-      // url: `../activity/index/index`
-      url: `../activity/rule/rule`
+      url: `../activity/index/index`
+      // url: `../activity/rule/rule`
     });
     });
     // wx.navigateTo({
     // wx.navigateTo({
     //   url: `../activity/goodList/goodList`
     //   url: `../activity/goodList/goodList`

+ 3 - 3
pages/index/index.wxml

@@ -47,15 +47,15 @@
   </view>
   </view>
   
   
   <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity">
   <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity">
-    <image src="http://reader-wx.ai160.com/images/reader/activity/banner.jpg"></image>
+    <image src="http://reader-wx.ai160.com/images/reader/activity/banner61.jpg"></image>
   </view>
   </view>
  
  
   <!-- <view hidden="{{(!isIos && isVip) || 0 != myIndex }}" class="activity-img" bindtap="bannerTap">
   <!-- <view hidden="{{(!isIos && isVip) || 0 != myIndex }}" class="activity-img" bindtap="bannerTap">
     <image src="http://reader-wx.ai160.com/images/reader/pay/{{isIos ? 'ios_banner' : 'android_banner'}}.jpg"></image>
     <image src="http://reader-wx.ai160.com/images/reader/pay/{{isIos ? 'ios_banner' : 'android_banner'}}.jpg"></image>
-  </view>
+  </view>-->
   <view wx:if="{{isIos ||  isVip}}" class="activity-buy" bindtap="myPlase">
   <view wx:if="{{isIos ||  isVip}}" class="activity-buy" bindtap="myPlase">
     <image src="http://reader-wx.ai160.com/images/reader/pay/vip_icon.png"></image>
     <image src="http://reader-wx.ai160.com/images/reader/pay/vip_icon.png"></image>
-  </view> -->
+  </view> 
   <!-- 调用组件 -->
   <!-- 调用组件 -->
   <template is="{{templates}}" wx:if="{{myIndex === 3 || myIndex === 2}}" data="{{myData: myData,coursesData:coursesData,noMoreWork:noMoreWork}}"></template>
   <template is="{{templates}}" wx:if="{{myIndex === 3 || myIndex === 2}}" data="{{myData: myData,coursesData:coursesData,noMoreWork:noMoreWork}}"></template>
   <VideoSwiper wx:if="{{videoList.length > 0}}" class="video-swiper" video-list="{{videoList}}" nextMargin="{{nextMargin}}" isSwiper="{{isSwiper}}" noMoreWork="{{noMoreWork}}" ifHeadTap="{{true}}" bindopenShare="openShare" bindopenComment="openComment" bindheadTap="headTapHandler" bindgoToReading="goToReading" bindcollectTap="collectTap" bindlikeTap="likeTap" binddelHideMyWork="delHideMyWork" bindaddShareAmount="addShareAmount" bindchange="videoChange">
   <VideoSwiper wx:if="{{videoList.length > 0}}" class="video-swiper" video-list="{{videoList}}" nextMargin="{{nextMargin}}" isSwiper="{{isSwiper}}" noMoreWork="{{noMoreWork}}" ifHeadTap="{{true}}" bindopenShare="openShare" bindopenComment="openComment" bindheadTap="headTapHandler" bindgoToReading="goToReading" bindcollectTap="collectTap" bindlikeTap="likeTap" binddelHideMyWork="delHideMyWork" bindaddShareAmount="addShareAmount" bindchange="videoChange">

+ 3 - 1
project.config.json

@@ -17,8 +17,9 @@
     "checkInvalidKey": true,
     "checkInvalidKey": true,
     "checkSiteMap": true,
     "checkSiteMap": true,
     "uploadWithSourceMap": true,
     "uploadWithSourceMap": true,
-    "useMultiFrameRuntime": false,
+    "useMultiFrameRuntime": true,
     "useApiHook": true,
     "useApiHook": true,
+    "useApiHostProcess": true,
     "babelSetting": {
     "babelSetting": {
       "ignore": [],
       "ignore": [],
       "disablePlugins": [],
       "disablePlugins": [],
@@ -28,6 +29,7 @@
     "useIsolateContext": true,
     "useIsolateContext": true,
     "useCompilerModule": false,
     "useCompilerModule": false,
     "userConfirmedUseCompilerModuleSwitch": false,
     "userConfirmedUseCompilerModuleSwitch": false,
+    "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
     "packNpmManually": false,
     "packNpmRelationList": [],
     "packNpmRelationList": [],
     "minifyWXSS": true
     "minifyWXSS": true

BIN
static/activity/activity_bg.jpg


BIN
static/activity/strategy-img.png