Selaa lähdekoodia

'六一活动'

Rorschach 3 vuotta sitten
vanhempi
commit
f1fa3064a2

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

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

+ 2 - 2
pages/index/index.js

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

+ 3 - 3
pages/index/index.wxml

@@ -47,15 +47,15 @@
   </view>
   
   <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 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>
-  </view>
+  </view>-->
   <view wx:if="{{isIos ||  isVip}}" class="activity-buy" bindtap="myPlase">
     <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>
   <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,
     "checkSiteMap": true,
     "uploadWithSourceMap": true,
-    "useMultiFrameRuntime": false,
+    "useMultiFrameRuntime": true,
     "useApiHook": true,
+    "useApiHostProcess": true,
     "babelSetting": {
       "ignore": [],
       "disablePlugins": [],
@@ -28,6 +29,7 @@
     "useIsolateContext": true,
     "useCompilerModule": false,
     "userConfirmedUseCompilerModuleSwitch": false,
+    "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
     "packNpmRelationList": [],
     "minifyWXSS": true

BIN
static/activity/activity_bg.jpg


BIN
static/activity/strategy-img.png