瀏覽代碼

各种样式调整与分享文案图片替换

bayi 2 年之前
父節點
當前提交
ba13a5daef

+ 6 - 4
components/activityList/index.less

@@ -231,21 +231,21 @@
 
   .yxb {
     .header {
-      background-color: #FF7E6C;
+      background-color: #2DCE66;
     }
 
     .body {
-      background-image: linear-gradient(180deg, #FFB4A8 0%, #FFDCD7 100%);
+      background-image: linear-gradient(180deg, #4cd67c 0%, #66ec95 100%);
     }
   }
 
   .rbb {
     .header {
-      background-color: #6D9FFE;
+      background-color: #FF7E6C;
     }
 
     .body {
-      background-image: linear-gradient(180deg, #A6CDFF 0%, #ECF4FF 100%, #FFFFFF 100%);
+      background-image: linear-gradient(180deg, #FFB4A8 0%, #FFDCD7 100%);
     }
   }
 
@@ -258,6 +258,8 @@
       background-image: linear-gradient(180deg, #8265F9 0%, #B8A7FF 100%);
     }
 
+
+
     .playIcon {
       width: 38rpx !important;
       height: 34rpx !important;

+ 4 - 4
components/activityList/index.wxss

@@ -191,16 +191,16 @@
   font-size: 28rpx;
 }
 .activityList .yxb .header {
-  background-color: #FF7E6C;
+  background-color: #2DCE66;
 }
 .activityList .yxb .body {
-  background-image: linear-gradient(180deg, #FFB4A8 0%, #FFDCD7 100%);
+  background-image: linear-gradient(180deg, #4cd67c 0%, #66ec95 100%);
 }
 .activityList .rbb .header {
-  background-color: #6D9FFE;
+  background-color: #FF7E6C;
 }
 .activityList .rbb .body {
-  background-image: linear-gradient(180deg, #A6CDFF 0%, #ECF4FF 100%, #FFFFFF 100%);
+  background-image: linear-gradient(180deg, #FFB4A8 0%, #FFDCD7 100%);
 }
 .activityList .pkb .header {
   background-color: #967DFF;

+ 2 - 2
mixins/share.js

@@ -15,14 +15,14 @@ module.exports = Behavior({
         return {
           title: '这个小程序太赞了!孩子朗读能力蹭蹭上涨,推荐你试试!',
           path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-          imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png',
+          imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg',
           promise
         }
       } else {
         return {
           title: '这个小程序太赞了!孩子朗读能力蹭蹭上涨,推荐你试试!',
           path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-          imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+          imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg'
         }
       }
     },

+ 1 - 4
pages/match/index.js

@@ -85,7 +85,7 @@ Page({
   },
   jumpIntro() {
     wx.navigateTo({
-      url: `/pages/rankIntro/index?title=榜单说明&img=${this.data.explain}`,
+      url: `/pages/rankIntro/index?title=活动规则&img=${this.data.explain}`,
     })
   },
   selectType({
@@ -101,7 +101,4 @@ Page({
       })
     }
   },
-  onShareAppMessage() {
-
-  }
 })

+ 2 - 2
pages/my/index.js

@@ -170,9 +170,9 @@ Page({
   onShareAppMessage: function (res) {
     const user = wx.getStorageSync('user');
     return {
-      title: '课文朗读,从未如此有趣。',
+      title: '自从用了它,家里朗朗书声,美妙极了!你家孩子也快来试试!',
       path: `/pages/index/index?uid=${user.uid}`,
-      imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+      imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg'
     }
   },
   onShareTimeline: function () {

+ 5 - 5
pages/pkResult/index.js

@@ -235,7 +235,7 @@ Page({
                     canvas: canvas,
                     success(res) {
                       resolve({
-                        title: '请欣赏我的课文朗读作品,点赞+评论。',
+                        title: '我的新作品发布啦,快来捧场点赞!',
                         path: `/pages/pkResult/index?uid=${wx.getStorageSync('uid')}`,
                         imageUrl: res.tempFilePath
                       })
@@ -262,16 +262,16 @@ Page({
         })
       })
       return {
-        title: '课文朗读,从未如此有趣。',
+        title: '自从用了它,家里朗朗书声,美妙极了!你家孩子也快来试试!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png',
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg',
         promise
       }
     } else {
       return {
-        title: '课文朗读,从未如此有趣。',
+        title: '自从用了它,家里朗朗书声,美妙极了!你家孩子也快来试试!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg'
       }
     }
   },

+ 4 - 4
pages/ranking/index.js

@@ -28,7 +28,7 @@ Page({
 
     wx.setNavigationBarColor({
       frontColor: '#ffffff',
-      backgroundColor: options.type == '2' ? '#ff7f6c' : options.type == '3' ? '#6D9FFE' : '#967DFF',
+      backgroundColor: options.type == '2' ? '#2DCE66' : options.type == '3' ? '#FF7E6C' : '#967DFF',
     })
     this.getRankingData(options.id)
   },
@@ -50,7 +50,7 @@ Page({
   },
   jumpIntro() {
     wx.navigateTo({
-      url: `/pages/rankIntro/index?title=榜单说明&img=${this.data.explain}`,
+      url: `/pages/rankIntro/index?title=排名规则&img=${this.data.explain}`,
     })
   },
   jumpIndex() {
@@ -70,9 +70,9 @@ Page({
   },
   onShareAppMessage() {
     return {
-      title: this.data.rankingType == 3 ? '我要上热门,就差你的一个赞,快来帮帮我吧!' : this.data.rankingType == 2 ? '这个小程序太赞了!孩子朗读能力蹭蹭上涨,推荐你试试!' : '',
+      title: this.data.rankingType == 3 ? '我要上热门,就差你的一个赞,快来帮帮我吧!' : '这个小程序太赞了!孩子朗读能力蹭蹭上涨,推荐你试试!',
       path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-      imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+      imageUrl: this.data.rankingType == 3 ? 'http://reader-wx.ai160.com/images/reader/v3/375-300-3.jpg' : 'http://reader-wx.ai160.com/images/reader/v3/375-300-2.jpg'
     }
   }
 })

+ 7 - 7
pages/ranking/index.less

@@ -79,11 +79,11 @@
 
     .tips {
       position: absolute;
-      right: 0px;
+      left: 0px;
       top: 10rpx;
       padding: 6rpx 10rpx 6rpx 24rpx;
-      border-top-left-radius: 25rpx;
-      border-bottom-left-radius: 25rpx;
+      border-top-right-radius: 25rpx;
+      border-bottom-right-radius: 25rpx;
       font-size: 26rpx;
       color: white;
       background-color: rgba(0, 0, 0, 0.15);
@@ -197,18 +197,18 @@
 }
 
 .invitation {
-  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-1.jpg')no-repeat;
+  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-2.jpg')no-repeat;
 
   .tips2 {
-    color: #FF7F6C;
+    color: #2DCE66;
   }
 }
 
 .hot {
-  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-2.jpg')no-repeat;
+  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-1.jpg')no-repeat;
 
   .tips2 {
-    color: #6D9FFE;
+    color: #FF7F6C;
   }
 }
 

+ 1 - 1
pages/ranking/index.wxml

@@ -1,6 +1,6 @@
 <view class="rankingBox">
   <view class="podiumBox {{podiumBoxBg}}">
-    <view class="tips" bindtap="jumpIntro">榜单说明</view>
+    <view class="tips" bindtap="jumpIntro">排名规则</view>
     <view class="tips2">周榜</view>
     <view class="podiumContent">
       <view class="user first">

+ 7 - 7
pages/ranking/index.wxss

@@ -67,11 +67,11 @@
 }
 .rankingBox .podiumBox .tips {
   position: absolute;
-  right: 0px;
+  left: 0px;
   top: 10rpx;
   padding: 6rpx 10rpx 6rpx 24rpx;
-  border-top-left-radius: 25rpx;
-  border-bottom-left-radius: 25rpx;
+  border-top-right-radius: 25rpx;
+  border-bottom-right-radius: 25rpx;
   font-size: 26rpx;
   color: white;
   background-color: rgba(0, 0, 0, 0.15);
@@ -166,16 +166,16 @@
   margin-right: 14rpx;
 }
 .invitation {
-  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-1.jpg') no-repeat;
+  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-2.jpg') no-repeat;
 }
 .invitation .tips2 {
-  color: #FF7F6C;
+  color: #2DCE66;
 }
 .hot {
-  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-2.jpg') no-repeat;
+  background: url('http://reader-wx.ai160.com/images/reader/v3/podium-1.jpg') no-repeat;
 }
 .hot .tips2 {
-  color: #6D9FFE;
+  color: #FF7F6C;
 }
 .pk {
   background: url('http://reader-wx.ai160.com/images/reader/v3/podium-3.jpg') no-repeat;

+ 4 - 4
pages/reading/index.js

@@ -615,16 +615,16 @@ Page({
         })
       })
       return {
-        title: '请欣赏我的课文朗读作品,点赞+评论。',
+        title: '我的新作品发布啦,快来捧场点赞!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png',
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg',
         promise
       }
     } else {
       return {
-        title: '课文朗读,从未如此有趣。',
+        title: '自从用了它,家里朗朗书声,美妙极了!你家孩子也快来试试!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg'
       }
     }
   },

+ 4 - 4
pages/score/index.js

@@ -157,16 +157,16 @@ Page({
         })
       })
       return {
-        title: '请欣赏我的课文朗读作品,点赞+评论。',
+        title: '我的新作品发布啦,快来捧场点赞!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png',
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg',
         promise
       }
     } else {
       return {
-        title: '课文朗读,从未如此有趣。',
+        title: '自从用了它,家里朗朗书声,美妙极了!你家孩子也快来试试!',
         path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/shareContent.png'
+        imageUrl: 'http://reader-wx.ai160.com/images/reader/v3/375-300-1.jpg'
       }
     }
   },

+ 2 - 1
pages/works/index.less

@@ -20,7 +20,8 @@
     .currentType {
       border: none;
       box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
-      background-color: white;
+      color: white;
+      background-color: #00C657;
       font-weight: bold;
     }
 

二進制
static/rbb.png


二進制
static/yxb.png