chengjie 8 miesięcy temu
rodzic
commit
58a37b7c49

+ 3 - 5
app.js

@@ -1,16 +1,14 @@
1
-//app.js
2 1
 App({
3
-
4 2
   globalData: {
5
-    Version: "1.2.21",
3
+    Version: "1.2.22",
6 4
     IsProduction: true,
7 5
     //IsProduction: false,
8 6
     ProgramID: 106,
9 7
     AppID: "wx313a8f2c0741efe1",
10
-    ProgramName: "语文识字",
8
+    ProgramName: "秒过识字",
11 9
     ShareTitle:"赢在阅读起跑线",
12 10
     SharePath: "pages/index/index",
13
-    ShareImage: "../../pages/images/07001.png",
11
+    ShareImage: "../../pages/images/program_share-a01.png",
14 12
     userInfo: null,
15 13
     fileUrl: "https://www.kylx365.com/",
16 14
     serverUrl: "https://www.kylx365.com/apiData/",

+ 1 - 1
app.json

@@ -14,7 +14,7 @@
14 14
   "window": {
15 15
     "backgroundTextStyle": "light",
16 16
     "navigationBarBackgroundColor": "#F5E2BE",
17
-    "navigationBarTitleText": "语文识字",
17
+    "navigationBarTitleText": "秒过识字",
18 18
     "navigationBarTextStyle": "black",
19 19
     "resizable": false,
20 20
     "backgroundColor": "#F5E2BE"

BIN
pages/images/07001.png


BIN
pages/images/cpxl_ad_01.gif


BIN
pages/images/cpxl_logo_01.png


BIN
pages/images/cpxl_logo_02.png


BIN
pages/images/cpxl_logo_03.png


BIN
pages/images/cpxl_logo_04.png


BIN
pages/images/cpxl_logo_05.png


BIN
pages/images/cpxl_logo_06.png


BIN
pages/images/cpxl_logo_07.png


BIN
pages/images/cpxl_pic_01.png


BIN
pages/images/cpxl_t01.png


BIN
pages/images/cpxl_t02.png


BIN
pages/images/cpxl_t03.png


BIN
pages/images/program_share-a01.png


BIN
pages/images/sz_home_01.png


+ 1 - 1
pages/index/index.json

@@ -1,4 +1,4 @@
1 1
 {
2
-  "navigationBarTitleText": "语文识字",
2
+  "navigationBarTitleText": "秒过识字",
3 3
   "enablePullDownRefresh": false
4 4
 }

+ 0 - 13
pages/main/detail.js

@@ -62,7 +62,6 @@ Page({
62 62
       IsAudioLengthChecked: true,//显示组词播放音
63 63
       WordType: options.Type,
64 64
     });
65
-
66 65
     var that = this;
67 66
     common.getStorageValue(that, "IsAutoPlay", true, function () {
68 67
       common.getStorageValue(that, "IsAutoPage", false, function () {
@@ -107,18 +106,6 @@ Page({
107 106
         })
108 107
       }
109 108
     }
110
-
111
-    common.getStorageValue(this, "IsShare", 0, function () {
112
-      if (that.data.IsShare == 0
113
-        && app.globalData.userInfo.IsMember == 0
114
-        && app.globalData.userInfo.IsShow == 1
115
-        && app.globalData.IsLocked == 1
116
-      ) {
117
-        wx.navigateTo({
118
-          url: '../../package4/main/share',
119
-        })
120
-      }
121
-    });
122 109
   },
123 110
   onShow: function (e) {
124 111
     if (app.globalData.IsSaveCustom) {

+ 9 - 58
pages/main/index.js

@@ -9,7 +9,6 @@ var isMiaoguoADShow=false;
9 9
 
10 10
 Page({
11 11
   data: {
12
-    Version: app.globalData.Version,
13 12
     List: [
14 13
       {
15 14
         ImageUrl: "home_plate_11.png",
@@ -43,6 +42,9 @@ Page({
43 42
         ImageUrl: "home_plate_42.png",
44 43
         Url: "../main/list?id=8",
45 44
       },
45
+      {
46
+        IsAd:1,
47
+      },
46 48
       {
47 49
         ImageUrl: "home_plate_51.png",
48 50
         Url: "../main/list?id=9",
@@ -71,7 +73,9 @@ Page({
71 73
     IsMemberForeverRemind: 0,
72 74
     IsMiaoguoAD: false,
73 75
     IsMiaoguoAD2:0,
74
-    IsShowGift:0,
76
+    IsShowGift:0,  
77
+    ProgramName:app.globalData.ProgramName,
78
+    version: app.globalData.Version,
75 79
   },
76 80
   onLoad: function (options) {
77 81
     //app.globalData.userInfo.UserID=5;
@@ -81,9 +85,6 @@ Page({
81 85
       IsShowGift:app.globalData.userInfo.IsShowGift,
82 86
     });
83 87
 
84
-    var that = this;
85
-   
86
-    isMiaoguoADShow = false;
87 88
   },
88 89
   onShow: function () {
89 90
     this.setData({
@@ -106,27 +107,6 @@ Page({
106 107
       });
107 108
       app.globalData.goto = "";
108 109
     }
109
-    
110
-    var miaoguoADTime = wx.getStorageSync("miaoguoADTime");
111
-    if (miaoguoADTime) {
112
-      if (this.data.IsShow == 1 && this.data.IsMember == 1 && isMiaoguoADShow && common.formatTime(new Date()) >= miaoguoADTime) {
113
-        this.setData({
114
-          IsMiaoguoAD2: 1,
115
-        });
116
-      }
117
-    }
118
-    else {
119
-      wx.setStorageSync("miaoguoADTime", common.formatTime(common.addDate("d", 1, new Date())));
120
-    }
121
-
122
-    isMiaoguoADShow=true;
123
-
124
-    if (app.globalData.IsShowMiaoguo){
125
-      this.setData({
126
-        IsShowMiaoguo:1,
127
-      });
128
-      app.globalData.IsShowMiaoguo=false;
129
-    }
130 110
   },
131 111
   getData: function () {
132 112
     var that = this;
@@ -205,15 +185,6 @@ Page({
205 185
       url: url
206 186
     });
207 187
 
208
-    if (e.currentTarget.dataset.id == "topAD") {
209
-      this.setData({
210
-        IsMiaoguoAD2: 0,
211
-      });
212
-      wx.setStorageSync('IsMiaoguoAD', false); 
213
-      wx.setStorageSync("miaoguoADTime", common.formatTime(common.addDate("d", 15, new Date())));
214
-    }
215
-
216
-    app.globalData.userInfo.IsShowGift=0;
217 188
   },
218 189
   gotoSearch: function (e) {
219 190
     wx.navigateTo({
@@ -221,16 +192,9 @@ Page({
221 192
     });
222 193
   },
223 194
   gotoReview: function () {
224
-    if (this.data.IsShow == 1 && this.data.IsMember == 0) {
225
-      wx.navigateTo({
226
-        url: '../../package4/main/buyad',
227
-      })
228
-    }
229
-    else {
230
-      wx.navigateTo({
231
-        url: '../main/review',
232
-      });
233
-    }
195
+    wx.navigateTo({
196
+      url: '../main/review',
197
+    });
234 198
   },
235 199
   gotoTest: function (e) {
236 200
     wx.navigateTo({
@@ -285,19 +249,6 @@ Page({
285 249
     }
286 250
     app.globalData.userInfo.IsShowGift=0;
287 251
   },
288
-  showMiaoguo:function(){
289
-    this.setData({
290
-      IsShowMiaoguo: 1,
291
-      IsMiaoguoAD2: 0,
292
-    });
293
-    app.globalData.userInfo.IsShowGift=0;
294
-    wx.setStorageSync("miaoguoADTime", common.formatTime(common.addDate("d", 15, new Date())));
295
-  },
296
-  closeMiaoguo:function(){
297
-    this.setData({
298
-      IsShowMiaoguo: 0,
299
-    });
300
-  },
301 252
   onShareAppMessage: function () {
302 253
     return {
303 254
       title: app.globalData.ShareTitle,

+ 1 - 1
pages/main/index.json

@@ -1,4 +1,4 @@
1 1
 {
2
-  "navigationBarTitleText": "课程",
2
+  "navigationBarTitleText": "秒过识字",
3 3
   "enablePullDownRefresh": false
4 4
 }

+ 62 - 127
pages/main/index.wxml

@@ -1,37 +1,31 @@
1 1
 <view class="container FlexColumn" style='min-height:{{Height}}rpx;'>
2
-
3 2
   <view class="panelTop FlexRow">
4
-    <view class="Avatar FlexColumn">
5
-      <image src='../images/userface_default.png' class="AvatarImage" bindtap="gotoMemberCenter">
6
-      </image>
7
-      <image src='{{AvatarUrl}}' class="AvatarImage1" bindtap="gotoMemberCenter">
8
-      </image>
9
-    </view>
10
-
3
+    <image src='../images/sz_home_01.png' class="home_header_bg" />
11 4
     <view class="panelTop1 FlexColumn">
12 5
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
13 6
       <view class="number" wx:if="{{IsAccredit}}">{{DayNumber}}</view>
14 7
       <view class="panelTop11 FlexRow">持续天数</view>
15 8
     </view>
16
-    <view class="panelTop1 FlexColumn">
9
+    <view class="panelTop1 panelTop1_1 FlexColumn">
17 10
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
18 11
       <view class="number" wx:if="{{IsAccredit}}">{{FinishedCount}}</view>
19 12
       <view class="panelTop11 FlexRow">已学章节</view>
20 13
     </view>
21
-    <view class="panelTop1 FlexColumn">
14
+    <view class="panelTop1 panelTop1_2 FlexColumn">
22 15
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
23 16
       <view class="number" wx:if="{{IsAccredit}}">{{HanziNumber}}</view>
24 17
       <view class="panelTop11 FlexRow">总共识字</view>
25 18
     </view>
26
-    <image src='../images/home_header_bg.png' class="home_header_bg" />
27
-  </view>
28
-  <view class="panelTop2 FlexRow" wx:if="{{IsMember==0 && IsShow==1}}" bindtap="goto" data-url="../../package4/main/buyad">
29
-    <view class="panelTop21">帐户已过期,点这里升级到正式版</view>
30 19
   </view>
20
+  <view style="height:210rpx;"></view>
31 21
   <view class="panelList FlexRow">
32
-    <view class="panelItem btn FlexColumn" wx:for="{{List}}" wx:key="*this">
33
-      <image src='../images/{{item.ImageUrl}}' bindtap="goto" data-url="{{item.Url}}" class="itemImg" />
34
-    </view>
22
+    <block wx:for="{{List}}" wx:key="*this" >
23
+      <view class="panelItem btn FlexColumn" wx:if="{{!item.IsAd}}">
24
+        <image src='../images/{{item.ImageUrl}}'  bindtap="goto" data-url="{{item.Url}}" class="itemImg" />
25
+      </view>
26
+      <view class="panelItemAD" wx:if="{{false}}"></view>
27
+    </block>
28
+   
35 29
     <view class="panelTool FlexColumn">
36 30
       <view class="panelTool1">自测工具</view>
37 31
       <view class="panelTool2 FlexRow">
@@ -47,131 +41,72 @@
47 41
         </view>
48 42
       </view>
49 43
     </view>
50
-
51
-    <image src='../images/png02016.png' class="png02016" />
52
-
53
-    <block wx:if="{{IsShow==1}}">
54
-      <view class="panelOther FlexRow">
55
-        <view class="panelOther1">其它产品</view>
56
-        <image src='../images/home_triangle_up.png' class="home_triangle_up" />
57
-      </view>
58
-
59
-    </block>
60 44
   </view>
61 45
 
62 46
   <block wx:if="{{IsShow==1}}">
47
+    <view class="panelOther0"></view>
48
+    <view class="panelOther FlexColumn">
49
+      <view class="panelOther1">秒过系列</view>
50
+      <view class="panelOther2">辅助各年龄段的练习小程序</view>
51
+      <image src='../images/cpxl_pic_01.png' class="home_triangle_up" />
52
+    </view>
63 53
     <view class="panelProduct FlexColumn">
64
-      <view class="panelProduct10 panelProduct0 FlexColumn">
65
-        <view class="panelProduct1">全科练习</view>
66
-        <view class="panelProduct3 FlexRow" bindtap="showMiaoguo">
67
-          <image src='../images/sofewareicon_mg.png' class="sofewareicon_mg" />
68
-          <view class="panelProduct31 FlexColumn">
69
-            <view class="panelProduct311">秒过</view>
70
-            <view class="panelProduct312">基础知识记忆工具</view>
54
+        <image src="../images/cpxl_t01.png" class="cpxl_t01"></image>
55
+        <view class="panelProduct1 FlexRow">
56
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wxa5e33c61fe37dd01">
57
+            <image src="../images/cpxl_logo_01.png" class="cpxl_logo_01"></image>
58
+            <view class="panelProduct111">注意力</view>
59
+            <view class="panelProduct112">好玩的注意力训练工具</view>
60
+            <view class="panelProduct113">免费</view>
61
+          </view>
62
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wxb54a6d5aff836ee3">
63
+            <image src="../images/cpxl_logo_02.png" class="cpxl_logo_01"></image>
64
+            <view class="panelProduct111">英语自然拼读</view>
65
+            <view class="panelProduct112">词汇大全+点读练习</view>
66
+            <view class="panelProduct113">免费</view>
71 67
           </view>
72 68
         </view>
73
-      </view>
74
-
75
-      <view class="panelProduct1">单科练习</view>
76
-      <view class="panelProduct10 FlexRow" style="width:100%;">
77
-        <view class="panelProduct0 FlexColumn">
78
-          <view class="panelProduct2">数学</view>
79
-          <view class="panelProduct3 FlexRow" bindtap='switchProgram' data-appid='wxa5441bbf344692ba'>
80
-            <image src='../images/sofewareicon_ks.png' class="sofewareicon_mg" />
81
-            <view class="panelProduct31 FlexColumn">
82
-              <view class="panelProduct311">口算星球</view>
83
-              <view class="panelProduct312">好玩的口算敏捷练习</view>
84
-            </view>
69
+        <image src="../images/cpxl_t02.png" class="cpxl_t01 cpxl_t02"></image>
70
+        <view class="panelProduct1 panelProduct100 FlexRow">
71
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wxa5441bbf344692ba">
72
+            <image src="../images/cpxl_logo_03.png" class="cpxl_logo_01"></image>
73
+            <view class="panelProduct111">练口算</view>
74
+            <view class="panelProduct112">好玩的口算敏捷训练</view>
85 75
           </view>
86
-          <view class="panelProduct3 FlexRow" bindtap='switchProgram' data-appid='wx1fef080f74481cbd'>
87
-            <image src='../images/sofewareicon_jst.png' class="sofewareicon_mg" />
88
-            <view class="panelProduct31 FlexColumn">
89
-              <view class="panelProduct311">计算题打印</view>
90
-              <view class="panelProduct312">打印竖式横式计算题</view>
91
-            </view>
76
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wx1fef080f74481cbd">
77
+            <image src="../images/cpxl_logo_04.png" class="cpxl_logo_01"></image>
78
+            <view class="panelProduct111">练笔算</view>
79
+            <view class="panelProduct112">竖式计算题出题+打印</view>
92 80
           </view>
93 81
         </view>
94
-        <view class="panelProduct0 FlexColumn">
95
-          <view class="panelProduct2">语文</view>
96
-          <view class="panelProduct3 FlexRow" bindtap='switchProgram' data-appid='wx331e8dd070f01d0e'>
97
-            <image src='../images/sofewareicon_py.png' class="sofewareicon_mg" />
98
-            <view class="panelProduct31 FlexColumn">
99
-              <view class="panelProduct311">汉语拼音</view>
100
-              <view class="panelProduct312">纯正发音练习</view>
101
-            </view>
82
+        <view class="panelProduct1 FlexRow">
83
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wx331e8dd070f01d0e">
84
+            <image src="../images/cpxl_logo_05.png" class="cpxl_logo_01"></image>
85
+            <view class="panelProduct111">汉语拼音</view>
86
+            <view class="panelProduct112">易错字词发音点读</view>
87
+            <view class="panelProduct113">免费</view>
102 88
           </view>
103
-          <view class="panelProduct3 FlexRow" bindtap='switchProgram' data-appid='wx313a8f2c0741efe1'>
104
-            <image src='../images/sofewareicon_sz.png' class="sofewareicon_mg" />
105
-            <view class="panelProduct31 FlexColumn">
106
-              <view class="panelProduct311">识字</view>
107
-              <view class="panelProduct312">小学六年课本同步</view>
108
-            </view>
89
+          <view class="panelProduct11 FlexColumn" bind:tap="switchProgram" data-appid="wx313a8f2c0741efe1">
90
+            <image src="../images/cpxl_logo_06.png" class="cpxl_logo_01"></image>
91
+            <view class="panelProduct111">识字表点读</view>
92
+            <view class="panelProduct112">一到六年级语文书同步</view>
93
+            <view class="panelProduct113">免费</view>
109 94
           </view>
110 95
         </view>
111
-      </view>
112
-
113
-      <view style="width:100%;height:20rpx;"></view>
114
-      <view class="panelProduct10 panelProduct0 FlexColumn" bindtap='switchProgram' data-appid='wxb54a6d5aff836ee3'>
115
-        <view class="panelProduct1">英语</view>
116
-        <view class="panelProduct3 FlexRow">
117
-          <image src='../images/sofewareicon_pd.png' class="sofewareicon_mg" />
118
-          <view class="panelProduct31 FlexColumn">
119
-            <view class="panelProduct311">自然拼读</view>
120
-            <view class="panelProduct312">英语国家母语学习法</view>
96
+        <image src="../images/cpxl_t03.png" class="cpxl_t01 cpxl_t03"></image>
97
+        <view class="panelProduct1 FlexRow">
98
+          <view class="panelProduct11 panelProduct10 FlexColumn" bind:tap="switchProgram" data-appid="wx84b3feac6069eec3">
99
+            <image src="../images/cpxl_logo_07.png" class="cpxl_logo_01"></image>
100
+            <view class="panelProduct111">秒过 · 错题记忆卡</view>
101
+            <view class="panelProduct114">可以记牢一切基础知识的练习方法和工具。彻底解决语文字词、成语、诗词;英语单词、语法;数物化公式、定理;史地政必考要点等。</view>
102
+            <image src="../images/cpxl_ad_01.gif" class="cpxl_ad_01"></image>
121 103
           </view>
122 104
         </view>
123
-      </view>
124
-      <view style="width:100%;height:60rpx;"></view>
105
+        <view class="panelProduct1 FlexColumn">
106
+          <view class="panelFooter1">2017-2025 {{ProgramName}}</view>
107
+          <view class="panelFooter2">唱意教育微信小程序 版本 {{version}}</view>
108
+        </view>
125 109
     </view>
126 110
 
127
-    <image bindtap="showMiaoguo" src='../images/home_banner.png' class="home_banner" />
128 111
   </block>
129 112
 </view>
130
-
131
-<view class="HelpInfo2 FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsMiaoguoAD2==1}}">
132
-  <view class="btn">
133
-    <view class="btn1 FlexColumn" catchtap="showMiaoguo">
134
-      <image src='../images/home_banner_window.png' class="home_banner_window" />
135
-      <view class="btn2">去领取</view>
136
-    </view>
137
-  </view>
138
-  <view class="close2 FlexColumn" bindtap='close' data-num="1">
139
-    以后再看
140
-  </view>
141
-  <view class="close FlexColumn" bindtap='close' data-num="0">
142
-    <image src='../images/02024.png' class="closeImage" />
143
-  </view>
144
-</view>
145
-
146
-<view class="HelpInfo2 FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsShowGift==1}}">
147
-  <view class="btn">
148
-    <view class="btn1 FlexColumn" catchtap="showMiaoguo">
149
-      <view class="HelpInfo21 FlexColumn">
150
-        <image src='../images/02023.png' class="png02014" />
151
-        <view class="HelpInfo211">有效期已延长</view>
152
-        <view class="HelpInfo212">识字20天礼品卡已兑换成功</view>
153
-      </view>
154
-      <view class="btn2" catchtap='goto' data-url='../../package4/main/getgiftlist'>查看记录</view>
155
-    </view>
156
-  </view>
157
-  <view class="close FlexColumn" bindtap='close' data-num="0">
158
-    <image src='../images/02024.png' class="closeImage" />
159
-  </view>
160
-</view>
161
-
162
-<view class="PanelMiaoguo FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsShowMiaoguo==1}}" catchtap="closeMiaoguo">
163
-  <view class="PanelMiaoguo1 FlexColumn">
164
-    <image src='../images/bm_sy_illus.png' class="bm_sy_illus" />
165
-    <view class="Text1">该记的记不住</view>
166
-    <view class="Text2">用「秒过」</view>
167
-    <text class="Text3">帮助孩子记牢语数外基础知识的\n工具和练习方法</text>
168
-    <view class="Text4">了解详情,欢迎参加</view>
169
-    <view class="Text5">新手培训</view>
170
-    <view class="btn3 FlexColumn" bindtap='switchProgram' data-appid='wx84b3feac6069eec3'>
171
-      <image src='../images/bm_sy_banner-open.png' class="bm_sy_banner-open" />
172
-    </view>
173
-
174
-    <view class="btnReadme" catchtap='goto' data-url='../../package4/main/miaoguoreadme'></view>
175
-    <view class="btnRecord" catchtap='goto' data-url='../../package4/main/getgiftlist'></view>
176
-  </view>
177
-</view>

+ 118 - 560
pages/main/index.wxss

@@ -1,510 +1,38 @@
1
-/* .container {
1
+.container {
2 2
   background-color: #F5E2BE;
3 3
   justify-content: flex-start;
4 4
   font-weight: 500;
5
-  color:#1e1e1e;
6
-  overflow-x:hidden;
7
-}
8
-
9
-.index0{
10
-  width:100%;
11
-}
12
-.home_banner_header_sz{
13
-  width:100%;
14
-  height:150rpx;
15
-}
16
-.index1{
17
-  width:100%;
18
-  height:190rpx;
19
-  justify-content: space-between;
20
-  align-items: flex-end;
21
-}
22
-
23
-.index1 .nav{
24
-  border-bottom: 10rpx solid #593613;
25
-  width:250rpx;
26
-  height: 80rpx;
27
-  padding-bottom: 10rpx;
28
-  justify-content: flex-end;
29
-}
30
-
31
-.index1 .nav2{
32
-  border-bottom: 10rpx solid #F5E2BE;
33
-}
34
-
35
-.index1 .nav3{
36
-  border-bottom: 10rpx solid #3D76C7;
37
-}
38
-
39
-.index1 .img{
40
-  width:174rpx;
41
-  height:190rpx;
42
-}
43
-.index1 .img3{
44
-  width:158rpx;
45
-  height:37rpx;
46
-  margin-bottom: 6rpx;
47
-}
48
-.index1 .img2{
49
-  width:154rpx;
50
-  height:39rpx;
51
-  margin-bottom: 6rpx;
52
-}
53
-.index1 .hand{
54
-  width:60rpx;
55
-  height:90rpx;
56
-  position: absolute;
57
-  right:106rpx;
58
-  top:20rpx;
59
-}
60
-
61
-.index6{
62
-  width:100%;
63
-  justify-content: flex-start;
64
-  flex-wrap: wrap;
65 5
 }
66 6
 
67
-.index6 .btn2{
68
-  width:100%;
69
-  height:350rpx;
70
-}
71
-
72
-.index2{
7
+.panelTop{
73 8
   width:100%;
74
-  height:2876rpx;
75
-  background-color: #DFC7A4;
76
-  justify-content: flex-start;
77
-}
78
-
79
-.index2 .index2_1{
80
-  margin: 0 30rpx 0 30rpx;
81
-  width:690rpx;
82
-  flex-wrap: wrap;
83 9
   justify-content: space-between;
84
-}
85
-.index2 .btn {
86
-  width: 330rpx;
87
-  height: 448rpx;
88
-  background-color: #CDB797;
89
-  border-radius: 20rpx;
90
-  margin-bottom: 20rpx;
91
-}
92
-.index2 .btn1 {
93
-  width: 100%;
94
-  height: 428rpx;
95
-  background-color: #F8F8F8;
96
-  border-radius: 20rpx;
97
-  position:relative;
98
-  top:0;
99
-}
100
-
101
-.index2 .panel1 {
102
-  width: 100%;
103
-  height: 298rpx;
104
-  border-bottom:2rpx solid #DFDFDF;
105
-}
106
-
107
-.index2 .panel2 {
108
-  width: 100%;
109
-  height: 130rpx;
110
-  background-color: #F0F0F0;
111
-  border-bottom-left-radius: 20rpx;
112
-  border-bottom-right-radius: 20rpx;
113
-}
114
-
115
-.index2 .img {
116
-  width: 223rpx;
117
-  height: 202rpx;
118
-}
119
-.index2 .img2 {
120
-  width: 94rpx;
121
-  height: 71rpx;
122
-}
123
-
124
-
125
-.index7{
126
-  width:100%;
127
-  height:35rpx;
128
-  background-color: #DFC7A4;
129
-  
130
-}
131
-.imgWave {
132
-  width: 100%;
133
-  height: 35rpx;
134
-}
135
-
136
-.index8{
137
-  width:100%;
138
-  height:406rpx;
139
-  background-color: #CDB797;
140
-  justify-content: flex-start;
141
-}
142
-
143
-.index8 .img{
144
-  width:198rpx;
145
-  height:37rpx;
146
-  margin-top: 102rpx;
147
-}
148
-
149
-.index8 .index8_1{
150
-  width:690rpx;
151
-  height:120rpx;
152
-  margin-top: 30rpx;
153
-  border-radius: 20rpx;
154
-  text-align: center;
155
-  line-height: 120rpx;
156
-  font-size:32rpx;
157
-  color:#1e1e1e;
158
-  background-color: #F0F0F0;
159
-}
160
-
161
-
162
-.index3{
163
-  width:100%;
164
-  justify-content: flex-start;
165
-  background-color: #F0F0F0;
166
-  align-items: center;
167 10
   position: relative;
168
-  color:#1E1E1E;
169 11
 }
170 12
 
171
-.index3 .Avatar{
172
-  width:160rpx;
173
-  height:160rpx;
174
-  background-color: #9B9B9B;
175
-  border-radius: 20rpx;
176
-  margin-top: 120rpx;
177
-  position: relative;
178
-}
179
-
180
-.index3 .Avatar .gear{
181
-  width:40rpx;
182
-  height:40rpx;
13
+.home_header_bg{
14
+  width:750rpx;
15
+  height: 220rpx;
183 16
   position: absolute;
184
-  bottom:0;
17
+  top:0;
185 18
   left:0;
186
-  border-bottom-left-radius: 10rpx;
187
-  border-top-right-radius: 10rpx;
188
-  background-color: #fff;
189
-}
190
-.index3 .Avatar .img{
191
-  width:24rpx;
192
-  height:24rpx;
193
-}
194
-
195
-.index3 .NickName{
196
-  font-size:48rpx;
197
-  color:#1E1E1E;
198
-  margin-top: 40rpx;
199
-  width:90%;
200
-  text-align: center;
201 19
 }
202 20
 
203
-.index3 .Member{
204
-  font-size:24rpx;
205
-  color:#fff;
206
-  background-color: #C29F6D;
207
-  border-radius: 8rpx;
208
-  height:42rpx;
209
-  line-height: 42rpx;
210
-  text-align: center;
211
-  padding: 0 10rpx;
212
-  margin-top: 10rpx;
213
-}
214
-
215
-.index3 .Member2{
216
-  background-color: #4A4A4A;
217
-}
218
-
219
-.index3 .index3_0{
220
-  width:100%;
221
-  margin-top: 50rpx;
222
-  justify-content: center;
223
-}
224
-.index3 .index3_1{
225
-  width:216rpx;
21
+.panelTop1{
226 22
   justify-content: center;
227
-}
228
-
229
-.index3 .index3_1_2{
230
-  width:116rpx;
231
-  height:42rpx;
232
-  text-align: center;
233
-  line-height: 42rpx;
234
-  color:#1E1E1E;
235
-  font-size:26rpx;
236
-}
237
-.index3 .number{
238
-  font-family: 'SF UI Display Light';
239
-  font-weight: 200;
240
-  font-style: normal;
241
-  font-size:56rpx;
242
-}
243
-.index3 .text{
244
-  font-size:24rpx;
245
-  margin: 25rpx 0 0 10rpx;
246
-}
247
-.index3 .Circle{
248
-  width:160rpx;
249
-  height:160rpx;
250
-  background-color: #ffffff;
251
-  border-radius: 50%;
252
-  margin-top: 100rpx;
253
-  padding-left: 0;
254
-  padding-right: 0;
255
-  margin-bottom: 80rpx;
256
-  font-size:24rpx;
257
-  justify-content: flex-start;
258
-}
259
-
260
-.index3 .Circle::after {
261
-  border: 0px;
262
-}
263
-
264
-.index3 .Share{
265
-  width:50rpx;
266
-  height:50rpx;
267
-  margin: 39rpx 0 0rpx 0;
268
-}
269
-
270
-.index3 .btn {
271
-  width: 600rpx;
272
-  height: 100rpx;
273
-  background-color: #035834;
274
-  border-radius: 14rpx;
275
-}
276
-.index3 .btn1 {
277
-  width: 100%;
278
-  height: 90rpx;
279
-  background-color: #03AF69;
280
-  border-radius: 14rpx;
281
-  color:#fff;
282
-  text-align: center;
283
-  line-height: 90rpx;
284
-  font-size:36rpx;
285
-  position:relative;
286
-  top:0;
287
-}
288
-
289
-.index3 .btn2 {
290
-  margin-top: 60rpx;
291
-}
292
-
293
-.index3 .btn3 {
294
-  background-color: #262626;
295
-}
296
-
297
-.index3 .btn4 {
298
-  background-color: #4D4D4D;
299
-  color:#787878;
300
-}
301
-
302
-.index3 .btn5 {
303
-  margin-top: 40rpx;
304
-}
305
-
306
-
307
-.index3 .btn6 {
308
-  background-color: #A63917;
309
-}
310
-
311
-.index3 .btn7 {
312
-  background-color: #FF7245;
313
-  position: relative;
314
-}
315
-
316
-.index3 .btn8 {
317
-  margin-top: 50rpx;
318
-}
319
-
320
-.index3 .ReviewCount {
321
-  min-width: 53rpx;
322
-  height:50rpx;
323
-  background-color: #D54F24;
324
-  color:#fff;
325
-  border-radius: 8rpx;
326
-  text-align: center;
327
-  line-height: 50rpx;
328 23
   position: absolute;
329
-  right: 20rpx;
330
-  top: 20rpx;
331
-  font-size:24rpx;
332
-  font-family: 'Arial BoldMT';
333
-  font-weight: bold;
334
-  font-style: normal;
335
-}
336
-
337
-
338
-.index9{
339
-  width:100%;
340
-  height:35rpx;
341
-  background-color: #F0F0F0;
342
-  
343
-}
344
-.index10{
345
-  background-color: #fff;
346
-}
347
-
348
-.index4{
349
-  width:100%;
350
-  height:10rpx;
351
-  background-color: #EB8A95;
352
-}
353
-
354
-.index5{
355
-  width:100%;
356
-  background-color: #F5E2BE;
357
-  font-size:20rpx;
358
-  justify-content: flex-start;
359
-  color:#1e1e1e;
360
-}
361
-
362
-.home_banner{
363
-   width:100%;
364
-}
365
-
366
-
367
-
368
-.IsExitContainer{
369
-  background-color: #F5E2BE;
370
-  z-index: 100;
371
-  position: fixed;
372
-  top:0;
373
-}
374
-.IsExitText{
375
-  margin-top: 200rpx;
376
-  color:#1e1e1e;
377
-  font-size:36rpx;
378
-}
379
-.isExit{
380
-  border: 1rpx solid #1e1e1e;
381
-  color:#1e1e1e;
382
-  border-radius: 10rpx;
383
-  margin-top: 80rpx;
384
-  padding: 20rpx;
385
-  width:100rpx;
386
-  font-size:36rpx;
387
-  text-align: center;
388
-}
389
-
390
-
391
-.HelpInfo2 {
392
-  position: fixed;
393
-  left: 0;
394
-  top: 0;
395
-  width: 100%;
396
-  background-color: rgba(245, 226, 190, 0.95);
397
-  justify-content: flex-start;
398
-  z-index: 100;
399
-}
400
-
401
-.HelpInfo2 .btn {
402
-  width: 600rpx;
403
-  height: 640rpx;
404
-  background-color: #D2D2D2;
405
-  border-radius: 40rpx;
406
-  margin: 15rpx;
407
-  position: relative;
408
-  margin-top: 222rpx;
409
-  box-shadow: 0 0 30rpx rgba(0, 0, 0, 0.5);
410
-}
411
-
412
-.HelpInfo2 .btn1 {
413
-  width: 100%;
414
-  height: 640rpx;
415
-  border-radius: 40rpx;
416
-  color: #1e1e1e;
417
-  text-align: center;
418
-  font-size: 36rpx;
419
-  justify-content: flex-start;
420
-}
421
-
422
-.HelpInfo2 .home_banner_window {
423
-  width: 600rpx;
424
-  height: 500rpx;
425
-  border-top-left-radius: 40rpx;
426
-  border-top-right-radius: 40rpx;
427
-}
428
-
429
-.HelpInfo2 .btn2 {
430
-  width: 100%;
431
-  height: 120rpx;
432
-  line-height: 120rpx;
433
-  background-color: #F0F0F0;
434
-  color: #1e1e1e;
435
-  text-align: center;
436
-  font-size: 48rpx;
437
-  font-weight: 500;
438
-  border-bottom-left-radius: 40rpx;
439
-  border-bottom-right-radius: 40rpx;
440
-}
441
-.HelpInfo2 .close2 {
442
-  position: fixed;
443
-  bottom:207rpx;
444
-  font-size:26rpx;
445
-  color: #1e1e1e;
446
-  text-decoration: underline;
447
-  font-weight: 500;
448
-  z-index: 100;
449
-  width:100%;
450
-  height:50rpx;
451
-}
452
-.HelpInfo2 .close {
453
-  width: 100%;
454
-  height: 235rpx;
455
-  position: fixed;
456
-  bottom:0;
457
-}
458
-
459
-.HelpInfo2 .closeImage{
460
-  width:33rpx;
461
-  height:33rpx;
462
-} */
463
-
464
-.container {
465
-  background-color: #F5E2BE;
466
-  justify-content: flex-start;
467
-  font-weight: 500;
468
-}
469
-.panelTop{
470
-  width:100%;
471
-  height:120rpx;
472
-  justify-content: flex-start;
473
-  position: relative;
474
-}
475
-
476
-.Avatar{
477
-  width:80rpx;
478
-  height:80rpx;
479
-  background-color: #FEF5DA;
480
-  border-radius: 20rpx;
481
-  margin:0 45rpx 0 70rpx;
482
-  justify-content: flex-end;
483
-  position: relative;
484
-}
485
-.AvatarImage{
486
-  width:80rpx;
487
-  height:90rpx;
24
+  top:50rpx;
25
+  left:50rpx;
26
+  z-index: 10;
488 27
 }
489
-.AvatarImage1{
490
-  width:80rpx;
491
-  height:80rpx;
492
-  border-radius: 18rpx;
493
-  position: absolute;
494
-  top:-10rpx;
495
-  left:0;
496
-
28
+.panelTop1_1{
29
+  left:170rpx;
497 30
 }
498
-.panelTop1{
499
-  width:120rpx;
500
-  justify-content: center;
501
-  position: relative;
502
-  z-index: 10;
31
+.panelTop1_2{
32
+  left:290rpx;
503 33
 }
504 34
 
505 35
 .number{
506
-  font-family: 'SF UI Display Light';
507
-  font-weight: 200;
508 36
   font-style: normal;
509 37
   font-size:36rpx;
510 38
 }
@@ -514,40 +42,6 @@
514 42
   font-size:22rpx;
515 43
 }
516 44
 
517
-.home_header_bg{
518
-  width:250rpx;
519
-  height: 120rpx;
520
-  position: absolute;
521
-  right:0;
522
-  z-index: 5;
523
-}
524
-
525
-.message_home_01{
526
-  width:265rpx;
527
-  height: 127rpx;
528
-  position: absolute;
529
-  top:80rpx;
530
-  left:70rpx;
531
-  z-index: 10;
532
-}
533
-
534
-.panelTop2{
535
-  width:100%;
536
-  height:80rpx;
537
-  background-color: #DFC7A4;
538
-  align-items: flex-end;
539
-}
540
-
541
-.panelTop21{
542
-  width:400rpx;
543
-  height:42rpx;
544
-  background-color: #593613;
545
-  text-align: center;
546
-  border-radius: 8rpx;
547
-  line-height:42rpx;
548
-  font-size:24rpx;
549
-  color:#fff;
550
-}
551 45
 
552 46
 .panelList{
553 47
   width:100%;
@@ -566,7 +60,13 @@
566 60
   height:306rpx;
567 61
   background-color: #F8F8F8;
568 62
   margin:40rpx 15rpx 0 15rpx;
569
-  
63
+}
64
+
65
+.panelItemAD{
66
+  width:690rpx;
67
+  height:238rpx;
68
+  margin:40rpx 0 0 0;
69
+  background-color: #fff;
570 70
 }
571 71
 
572 72
 .itemImg{
@@ -627,80 +127,138 @@
627 127
   height:35rpx;
628 128
 }
629 129
 
130
+.panelOther0{
131
+  width:100%;
132
+  height:26rpx;
133
+  background-color: #AA6C33;
134
+}
630 135
 .panelOther{
631 136
   width:100%;
632
-  height:197rpx;
633
-  background-color: #CDB797;
634
-  position: relative;
137
+  height:190rpx;
138
+  justify-content: flex-start;
635 139
   align-items: flex-start;
140
+  background-color: #55382B;
141
+  position: relative;
636 142
 }
637 143
 
638 144
 .panelOther1{
639
-  color:#593613;
640
-  margin:80rpx 0 0 0;
145
+  color:#fff;
146
+  margin:50rpx 0 0 50rpx;
641 147
   font-size:48rpx; 
642 148
 }
149
+.panelOther2{
150
+  color:#fff;
151
+  margin:0rpx 0 0 50rpx;
152
+  font-size:28rpx; 
153
+}
643 154
 
644 155
 .home_triangle_up{
645 156
   width:34rpx;
646 157
   height:20rpx;
647 158
   position: absolute;
648 159
   bottom:0;
160
+  left:100rpx;
649 161
   z-index: 10;
650 162
 }
651
-
652 163
 .panelProduct{
653 164
   width:100%;
654
-  background-color: #fff;
165
+  background-color: #D5CAC6;
655 166
   align-items: flex-start;
656 167
 }
657
-.panelProduct0{
658
-  width:50%;
659
-  font-size:32rpx;
660
-  color:#4D4D4D;
661
-  justify-content: flex-start;
662
-  align-items: flex-start;
168
+
169
+.cpxl_t01{
170
+  width: 156rpx;
171
+  height:52rpx;
172
+  margin: 60rpx 0 0 50rpx;
663 173
 }
664
-.panelProduct1{
665
-  background-color: #fff;
666
-  margin: 50rpx 0 0 50rpx;
667
-  font-size:32rpx;
668
-  color:#4D4D4D;
174
+.cpxl_t02{
175
+  width: 190rpx;
176
+}
177
+.cpxl_t03{
178
+  width: 300rpx;
669 179
 }
670 180
 
671
-.panelProduct10{
181
+.panelProduct1{
672 182
   width:100%;
183
+  margin: 40rpx 0 20rpx 0;
673 184
 }
674 185
 
675
-.panelProduct2{
676
-  background-color: #fff;
677
-  margin: 0 0 0 50rpx;
678
-  font-size:32rpx;
679
-  color:#4D4D4D;
186
+.panelProduct100{
187
+  margin: 40rpx 0 0 0;
680 188
 }
681 189
 
682
-.panelProduct3{
683
-  width:300rpx;
684
-  margin:30rpx 0 0 50rpx;
685
-  justify-content: flex-start;
190
+.panelProduct11{
191
+  width:330rpx;
192
+  height:285rpx;
193
+  background: #F8F8F8;
194
+  border: 4rpx solid #B67249;
195
+  box-shadow: 0 16rpx 0 0 rgba(0,0,0,0.30), inset 0 -20rpx 0 0 rgba(0,0,0,0.20);
196
+  border-radius: 30rpx;
197
+  margin: 0 15rpx;
198
+  align-items: flex-start;
199
+  position: relative;
686 200
 }
687 201
 
688
-.sofewareicon_mg{
689
-  width:66rpx;
690
-  height:66rpx;
202
+.panelProduct10{
203
+  width:690rpx;
204
+  height:811rpx;
691 205
 }
692 206
 
207
+.cpxl_logo_01{
208
+  width:90rpx;
209
+  height:90rpx;
210
+  margin-left: 40rpx;
211
+}
693 212
 
694
-.panelProduct31{
695
-  margin:0 0 0 30rpx;
696
-  align-items: flex-start;
213
+
214
+.panelProduct111{
215
+  font-size: 34rpx;
216
+  font-weight: 600;
217
+  color:#1E1E1E;
218
+  margin: 20rpx 0 0 40rpx;
219
+}
220
+
221
+.panelProduct112{
222
+  font-weight: 400;
223
+  font-size: 24rpx;
224
+  color: #4D4D4D;
225
+  margin: 0 0 10rpx 40rpx;
226
+}
227
+.panelProduct113{
228
+  background: #B67249;
229
+  border-radius: 6rpx;
230
+  font-size: 20rpx;
231
+  color: #FFFFFF;
232
+  text-align: center;
233
+  width: 60rpx;
234
+  height:34rpx;
235
+  line-height: 34rpx;
236
+  position: absolute;
237
+  top:50rpx;
238
+  right:40rpx;
697 239
 }
698
-.panelProduct311{
699
-  font-size:28rpx;
240
+.panelProduct114{
241
+  font-weight: 400;
242
+  font-size: 24rpx;
243
+  color: #4D4D4D;
244
+  margin: 0 0 0 40rpx;
245
+  width: 610rpx;
700 246
 }
701
-.panelProduct312{
702
-  font-size:20rpx;
703
-  color:#4D4D4D;
247
+.cpxl_ad_01{
248
+  width:610rpx;
249
+  height:410rpx;
250
+  margin: 40rpx 0 0 40rpx;
251
+}
252
+
253
+.panelFooter1{
254
+  font-size:24rpx;
255
+  color:#695852;
256
+  margin-top: 20rpx;
257
+}
258
+.panelFooter2{
259
+  font-size:24rpx;
260
+  color:#695852;
261
+  margin-bottom: 100rpx;
704 262
 }
705 263
 
706 264
 .home_banner{

+ 2 - 8
pages/main/list.js

@@ -117,13 +117,7 @@ Page({
117 117
     }
118 118
   },
119 119
   goto: function (e) {
120
-    var islocked = e.currentTarget.dataset.islocked;
121
-    if (islocked == 1 && app.globalData.userInfo.IsShow == 1) {
122
-      wx.navigateTo({
123
-        url: '../../package4/main/buyad',
124
-      })
125
-    }
126
-    else {
120
+    
127 121
       var word = e.currentTarget.dataset.word;
128 122
       if (word) {
129 123
         var bookid = e.currentTarget.dataset.bookid;
@@ -140,7 +134,7 @@ Page({
140 134
           url: "../main/detail?bookid=" + bookid + "&unitid=" + unitid + "&wordid=" + wordid + "&isfinished=" + isfinished,
141 135
         });
142 136
       }
143
-    }
137
+    
144 138
   },
145 139
   getFinished: function () {
146 140
     var that = this;

+ 4 - 6
pages/main/list.wxml

@@ -21,12 +21,10 @@
21 21
       <view class="btn" bindtap="goto" data-bookid='{{BookID}}' data-islocked='{{item.IsLocked}}' data-word='true' data-unitid='{{item.ID}}' data-isfinished='{{item.IsFinished}}' wx:for="{{List}}" wx:key="index">
22 22
         <view class="btn1 FlexRow">
23 23
           <view class="left FlexRow">
24
-            <image wx:if="{{IsShow==1 && item.IsLocked==0 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
25
-            <image wx:if="{{IsShow==1 && item.IsLocked==0 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
26
-            <image wx:if="{{IsShow==1 && item.IsLocked==1}}" src='../images/04005.png' class="img04005" />
27
-            <image wx:if="{{IsShow==0 && item.IsLocked==0 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
28
-            <image wx:if="{{IsShow==0 && item.IsLocked==0 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
29
-            <image wx:if="{{IsShow==0 && item.IsLocked==1}}" src='../images/04007.png' class="img04007" />
24
+            <image wx:if="{{IsShow==1 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
25
+            <image wx:if="{{IsShow==1 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
26
+            <image wx:if="{{IsShow==0 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
27
+            <image wx:if="{{IsShow==0 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
30 28
             <view class="title">{{item.Title}}</view>
31 29
           </view>
32 30
           <view class="right FlexColumn">

+ 5 - 0
project.private.config.json

@@ -32,5 +32,10 @@
32 32
         }
33 33
       ]
34 34
     }
35
+  },
36
+  "libVersion": "3.1.5",
37
+  "projectname": "%E8%AF%86%E5%AD%97",
38
+  "setting": {
39
+    "compileHotReLoad": true
35 40
   }
36 41
 }