chengjie 7 年之前
父节点
当前提交
d86a3266e8
共有 100 个文件被更改,包括 984 次插入81 次删除
  1. 1 1
      app.js
  2. 4 0
      app.json
  3. 26 0
      app.wxss
  4. 二进制
      images/0101.png
  5. 二进制
      images/0102.png
  6. 二进制
      images/0103.png
  7. 二进制
      images/0104.png
  8. 二进制
      images/0105.png
  9. 二进制
      images/1528426913008.png
  10. 二进制
      images/Artboard.png
  11. 二进制
      images/answerroom_list_conveyer_footer_illus.png
  12. 二进制
      images/answerroom_list_conveyer_headline_illus.png
  13. 二进制
      images/answerroom_list_conveyer_part_left.png
  14. 二进制
      images/answerroom_list_conveyer_part_right.png
  15. 二进制
      images/formula_btn_hide.png
  16. 二进制
      images/formula_btn_show.png
  17. 二进制
      images/formula_division_size01.png
  18. 二进制
      images/formula_dot_size01.png
  19. 二进制
      images/homepage_clipboard_illus_clip.png
  20. 二进制
      images/homepage_clipboard_illus_ruler.png
  21. 二进制
      images/homepage_headline_illus.png
  22. 二进制
      images/homepage_headline_info.png
  23. 二进制
      images/homepage_question_illus_grade01.png
  24. 二进制
      images/homepage_question_illus_grade02.png
  25. 二进制
      images/homepage_question_illus_grade03.png
  26. 二进制
      images/homepage_question_illus_grade04.png
  27. 二进制
      images/makepaper_headline_illus_board.png
  28. 二进制
      images/makepaper_headline_illus_lab.png
  29. 二进制
      images/makepaper_headline_illus_windows.png
  30. 二进制
      images/print.png
  31. 二进制
      images/programstart_footer_illue.png
  32. 二进制
      images/programsystem_screenshot_pic01.png
  33. 二进制
      images/questioncollection_headline_light.png
  34. 二进制
      images/questioncollection_headline_plate.png
  35. 二进制
      images/questioncollection_headline_root.png
  36. 二进制
      images/questioncollection_headline_shelf_illus_grade01.png
  37. 二进制
      images/questioncollection_headline_shelf_illus_grade02.png
  38. 二进制
      images/questioncollection_headline_shelf_illus_grade03.png
  39. 二进制
      images/questioncollection_headline_shelf_illus_grade04.png
  40. 二进制
      images/questioncollection_shelf_board.png
  41. 二进制
      images/questioncollection_shelf_box.png
  42. 二进制
      images/questioncollection_shelf_box_tape.png
  43. 二进制
      images/questioncollection_shelf_footer_illus.png
  44. 二进制
      images/questioncollection_shelf_here.png
  45. 二进制
      images/shopping_guide_bg.png
  46. 二进制
      images/shopping_guide_illus_buy.png
  47. 二进制
      images/shopping_guide_illus_share.png
  48. 二进制
      images/shopping_guide_text_alltime.png
  49. 二进制
      images/testpaper_code_default_allinone.png
  50. 二进制
      images/universalpic_attention_black_size01.png
  51. 二进制
      images/universalpic_attention_blue_size01.png
  52. 二进制
      images/universalpic_attention_light_red.gif
  53. 二进制
      images/universalpic_bg_illus01.png
  54. 二进制
      images/universalpic_face_default_black_size01.png
  55. 二进制
      images/universalpic_face_default_blue_size01.png
  56. 二进制
      images/universalpic_increase_gray.png
  57. 二进制
      images/universalpic_indicator_cell_size01.png
  58. 二进制
      images/universalpic_indicator_gray.png
  59. 二进制
      images/universalpic_indicator_pink.png
  60. 二进制
      images/universalpic_line_dashed_size01.png
  61. 二进制
      images/universalpic_line_zigzag_black_down.png
  62. 二进制
      images/universalpic_line_zigzag_black_up.png
  63. 二进制
      images/universalpic_line_zigzag_brown_down.png
  64. 二进制
      images/universalpic_line_zigzag_brown_up.png
  65. 二进制
      images/universalpic_lock_locked_black_size01.png
  66. 二进制
      images/universalpic_new_red_size01.png
  67. 二进制
      images/universalpic_play_white_size01.png
  68. 二进制
      images/universalpic_print_gray_size01.png
  69. 二进制
      images/universalpic_product_jisuanti_icon_size01.png
  70. 二进制
      images/universalpic_product_kousuan_icon_size01.png
  71. 二进制
      images/universalpic_product_phonics_icon_size01.png
  72. 二进制
      images/universalpic_product_pinyin_icon_size01.png
  73. 二进制
      images/universalpic_product_shizi_icon_size01.png
  74. 二进制
      images/universalpic_product_zhuyili_icon_size01.png
  75. 二进制
      images/universalpic_reduce_gray.png
  76. 二进制
      images/universalpic_rewind_white_size01.png
  77. 二进制
      images/universalpic_right_white_size01.png
  78. 二进制
      images/universalpic_select_on_black.png
  79. 二进制
      images/universalpic_select_on_gray.png
  80. 二进制
      images/universalpic_select_on_orange.png
  81. 二进制
      images/universalpic_select_on_white.png
  82. 二进制
      images/universalpic_share_size01.png
  83. 二进制
      images/universalpic_value_cell_size01.png
  84. 二进制
      images/universalpic_write_gray_size01.png
  85. 二进制
      images/welcomeguide_bg.png
  86. 二进制
      images/welcomeguide_dialogue.png
  87. 二进制
      images/welcomeguide_info.png
  88. 3 66
      pages/index/index.js
  89. 4 4
      pages/index/index.json
  90. 13 4
      pages/index/index.wxml
  91. 22 6
      pages/index/index.wxss
  92. 37 0
      pages/main/answer.js
  93. 8 0
      pages/main/answer.json
  94. 109 0
      pages/main/answer.wxml
  95. 280 0
      pages/main/answer.wxss
  96. 32 0
      pages/main/default.js
  97. 8 0
      pages/main/default.json
  98. 106 0
      pages/main/default.wxml
  99. 331 0
      pages/main/default.wxss
  100. 0 0
      pages/main/detail.js

+ 1 - 1
app.js

@@ -18,7 +18,7 @@ App({
18 18
     IsProduction: false,
19 19
     ProgramID: 105,
20 20
     StartSecond: 4,
21
-    fileUrl: "https://kylx365-1253256735.file.myqcloud.com/",
21
+    fileUrl: "https://math-1253256735.file.myqcloud.com/",
22 22
     serverUrl: "https://www.kylx365.com/apiData/",
23 23
     serverUrlServer: "https://www.kylx365.com/apiData/",
24 24
     serverUrlLocalhost: "http://localhost:3020/apiData/",

+ 4 - 0
app.json

@@ -1,5 +1,9 @@
1 1
 {
2 2
   "pages": [
3
+    "pages/main/answer",
4
+    "pages/main/detail",
5
+    "pages/main/list",
6
+    "pages/main/default",
3 7
     "pages/index/index",
4 8
     "pages/index/detail",
5 9
     "pages/index/list"

文件差异内容过多而无法显示
+ 26 - 0
app.wxss


二进制
images/0101.png


二进制
images/0102.png


二进制
images/0103.png


二进制
images/0104.png


二进制
images/0105.png


二进制
images/1528426913008.png


二进制
images/Artboard.png


二进制
images/answerroom_list_conveyer_footer_illus.png


二进制
images/answerroom_list_conveyer_headline_illus.png


二进制
images/answerroom_list_conveyer_part_left.png


二进制
images/answerroom_list_conveyer_part_right.png


二进制
images/formula_btn_hide.png


二进制
images/formula_btn_show.png


二进制
images/formula_division_size01.png


二进制
images/formula_dot_size01.png


二进制
images/homepage_clipboard_illus_clip.png


二进制
images/homepage_clipboard_illus_ruler.png


二进制
images/homepage_headline_illus.png


二进制
images/homepage_headline_info.png


二进制
images/homepage_question_illus_grade01.png


二进制
images/homepage_question_illus_grade02.png


二进制
images/homepage_question_illus_grade03.png


二进制
images/homepage_question_illus_grade04.png


二进制
images/makepaper_headline_illus_board.png


二进制
images/makepaper_headline_illus_lab.png


二进制
images/makepaper_headline_illus_windows.png


二进制
images/print.png


二进制
images/programstart_footer_illue.png


二进制
images/programsystem_screenshot_pic01.png


二进制
images/questioncollection_headline_light.png


二进制
images/questioncollection_headline_plate.png


二进制
images/questioncollection_headline_root.png


二进制
images/questioncollection_headline_shelf_illus_grade01.png


二进制
images/questioncollection_headline_shelf_illus_grade02.png


二进制
images/questioncollection_headline_shelf_illus_grade03.png


二进制
images/questioncollection_headline_shelf_illus_grade04.png


二进制
images/questioncollection_shelf_board.png


二进制
images/questioncollection_shelf_box.png


二进制
images/questioncollection_shelf_box_tape.png


二进制
images/questioncollection_shelf_footer_illus.png


二进制
images/questioncollection_shelf_here.png


二进制
images/shopping_guide_bg.png


二进制
images/shopping_guide_illus_buy.png


二进制
images/shopping_guide_illus_share.png


二进制
images/shopping_guide_text_alltime.png


二进制
images/testpaper_code_default_allinone.png


二进制
images/universalpic_attention_black_size01.png


二进制
images/universalpic_attention_blue_size01.png


二进制
images/universalpic_attention_light_red.gif


二进制
images/universalpic_bg_illus01.png


二进制
images/universalpic_face_default_black_size01.png


二进制
images/universalpic_face_default_blue_size01.png


二进制
images/universalpic_increase_gray.png


二进制
images/universalpic_indicator_cell_size01.png


二进制
images/universalpic_indicator_gray.png


二进制
images/universalpic_indicator_pink.png


二进制
images/universalpic_line_dashed_size01.png


二进制
images/universalpic_line_zigzag_black_down.png


二进制
images/universalpic_line_zigzag_black_up.png


二进制
images/universalpic_line_zigzag_brown_down.png


二进制
images/universalpic_line_zigzag_brown_up.png


二进制
images/universalpic_lock_locked_black_size01.png


二进制
images/universalpic_new_red_size01.png


二进制
images/universalpic_play_white_size01.png


二进制
images/universalpic_print_gray_size01.png


二进制
images/universalpic_product_jisuanti_icon_size01.png


二进制
images/universalpic_product_kousuan_icon_size01.png


二进制
images/universalpic_product_phonics_icon_size01.png


二进制
images/universalpic_product_pinyin_icon_size01.png


二进制
images/universalpic_product_shizi_icon_size01.png


二进制
images/universalpic_product_zhuyili_icon_size01.png


二进制
images/universalpic_reduce_gray.png


二进制
images/universalpic_rewind_white_size01.png


二进制
images/universalpic_right_white_size01.png


二进制
images/universalpic_select_on_black.png


二进制
images/universalpic_select_on_gray.png


二进制
images/universalpic_select_on_orange.png


二进制
images/universalpic_select_on_white.png


二进制
images/universalpic_share_size01.png


二进制
images/universalpic_value_cell_size01.png


二进制
images/universalpic_write_gray_size01.png


二进制
images/welcomeguide_bg.png


二进制
images/welcomeguide_dialogue.png


二进制
images/welcomeguide_info.png


+ 3 - 66
pages/index/index.js

@@ -1,6 +1,5 @@
1 1
 import common from '../../utils/util';
2 2
 import server from '../../utils/main';
3
-const innerAudioContext1 = wx.createInnerAudioContext();
4 3
 
5 4
 const app = getApp()
6 5
 Page({
@@ -9,72 +8,10 @@ Page({
9 8
     FileUrl: app.globalData.fileUrl,
10 9
   },
11 10
   onLoad: function () {
12
-    var that = this;
13
-    server.getLocalHost(function () {
14
-      that.getEnumerationData(function () {
15
-        that.getQuestionTypesList(function () {
16
-          var data = wx.getStorageSync('QuestionTypeList');
17
-          that.setData({
18
-            QuestionCategory: data,
19
-            Containnerheight: common.getSystemHeight(),
20
-
21
-          });
22
-        });
23
-      });
24
-    });
25
-
26
-    var url = app.globalData.audioUrlBaidu;
27
-    url = url.replace("[token]", "24.6dbece3e76e486120456e6f6fc5dee15.2592000.1531286017.282335-10850912");
28
-    url = url.replace("[word]", "答案:45,159,55,197,781,1456,745,159,55,197,781,1456,7");
29
-    url = encodeURI(url);
30
-    innerAudioContext1.src=url;
31
-    innerAudioContext1.play();
32
-
33
-  },
34
-  gotoList: function (e) {
35
-    var questionTypeID = e.currentTarget.dataset.id;
36
-    wx.navigateTo({
37
-      url: './list?id=' + questionTypeID
38
-    });
39
-  },
40
-  //得到题型数据列表
41
-  getQuestionTypesList: function (callback) {
42
-    server.getData('GetQuestionTypes', function (data) {
43
-      var QuestionTypeList = data;
44
-
45
-      QuestionTypeList[QuestionTypeList.length - 1].List[QuestionTypeList[QuestionTypeList.length - 1].List.length - 1].NextID = QuestionTypeList[0].List[0].ID
46
-      for (var i = 0; i < QuestionTypeList.length; i++) {
47
-        if (i > 0)
48
-          QuestionTypeList[i - 1].List[QuestionTypeList[i - 1].List.length - 1].NextID = QuestionTypeList[i].List[0].ID
49
-        for (var j = 1; j < QuestionTypeList[i].List.length; j++) {
50
-          QuestionTypeList[i].List[j - 1].NextID = QuestionTypeList[i].List[j].ID;
51
-        }
52
-      }
53
-      //格式化或补充数据
54
-      for (var i = 0; i < QuestionTypeList.length; i++) {
55
-        for (var j = 0; j < QuestionTypeList[i].List.length; j++) {
56
-          var item = QuestionTypeList[i].List[j];
57
-          item.DifficultyName = common.getEnumerationName(item.Difficulty, app.globalData.Enumeration);
58
-        }
59
-      }
60
-
61
-      wx.setStorage({
62
-        key: "QuestionTypeList",
63
-        data: data
64
-      });
65
-      callback();
66
-    });
67
-  },
68
-  //得到枚举数据
69
-  getEnumerationData: function (callback) {
70
-    server.getData('GetEnumerationList', function (data) {
71
-      app.globalData.Enumeration = data;
72
-      wx.setStorage({
73
-        key: "Enumeration",
74
-        data: data
75
-      });
76
-      callback();
11
+    this.setData({
12
+      Containnerheight: server.getWindowHeight(),
77 13
     });
14
+    this.updateProgram();
78 15
   },
79 16
   updateProgram: function () {
80 17
     if (wx.canIUse("getUpdateManager")) {

+ 4 - 4
pages/index/index.json

@@ -1,8 +1,8 @@
1 1
 {
2
-  "navigationBarBackgroundColor": "#fff",
3
-  "navigationBarTextStyle": "black",
4
-  "navigationBarTitleText": "数学计算题",
5
-  "backgroundColor": "#1E1E1E",
2
+  "navigationBarBackgroundColor": "#213A5B",
3
+  "navigationBarTextStyle": "white",
4
+  "navigationBarTitleText": "",
5
+  "backgroundColor": "#213A5B",
6 6
   "backgroundTextStyle": "light",
7 7
   "enablePullDownRefresh": false
8 8
 }

+ 13 - 4
pages/index/index.wxml

@@ -1,5 +1,14 @@
1
-<view class="container FlexColumn">
2
-  <block wx:for="{{QuestionCategory}}" wx:key="index">
3
-    <image src="{{FileUrl}}images/QuestionLibrary/{{item.ImageUrl}}?2" class="QuestionTypeImage" bindtap="gotoList" data-id="{{item.ID}}" />
4
-  </block>
1
+<view class="container FlexColumn" style="height:{{Containnerheight}}rpx;">
2
+  <view class="text1">数学计算题</view>
3
+  <view class="panel FlexRow">
4
+    <view class="text2">选题</view>
5
+    <view class="text2">+</view>
6
+    <view class="text2">打印</view>
7
+    <view class="text2">·</view>
8
+    <view class="text2">扫码</view>
9
+    <view class="text2">+</view>
10
+    <view class="text2">批改</view>
11
+  </view>
12
+
13
+  <image class="programstart_footer_illue" src="../../images/programstart_footer_illue.png" />
5 14
 </view>

+ 22 - 6
pages/index/index.wxss

@@ -1,10 +1,26 @@
1 1
 .container {
2
-  background-color: #1E1E1E;
2
+  background-color: #213a5b;
3 3
   justify-content: flex-start;
4
-} 
4
+}
5 5
 
6
-.QuestionTypeImage{
6
+.programstart_footer_illue {
7 7
   width: 100%;
8
-  height:400rpx;
9
-  position: relative;
10
-}
8
+  height: 540rpx;
9
+  position: fixed;
10
+  bottom: 0;
11
+}
12
+
13
+.text1 {
14
+  margin-top: 142rpx;
15
+  color: #fff;
16
+  font-size: 48rpx;
17
+  text-shadow: 0 7rpx 0 #112331;
18
+}
19
+
20
+.panel {
21
+  margin-top: 20rpx;
22
+  color: #fff;
23
+  font-size: 24rpx;
24
+  width:281rpx;
25
+  justify-content: space-around;
26
+}

+ 37 - 0
pages/main/answer.js

@@ -0,0 +1,37 @@
1
+import common from '../../utils/util';
2
+import server from '../../utils/main';
3
+
4
+const app = getApp()
5
+Page({
6
+  data: {
7
+    version: app.globalData.version,
8
+    FileUrl: app.globalData.fileUrl,
9
+    IsEdit:false,
10
+  },
11
+  onLoad: function () {
12
+    this.setData({
13
+      Containnerheight: server.getWindowHeight(),
14
+    });
15
+  },
16
+  btnEdit:function(){
17
+    var that=this;
18
+    that.data.IsEdit=!that.data.IsEdit;
19
+    that.setData({
20
+      IsEdit: that.data.IsEdit,
21
+    });
22
+  },
23
+  onShareAppMessage: function () {
24
+    return {
25
+      title: '',
26
+      path: 'pages/index/index',
27
+      success: function (res) {
28
+      },
29
+      fail: function (err) {
30
+        console.log(err);
31
+      },
32
+      complete: function (res) {
33
+        console.log(res);
34
+      },
35
+    }
36
+  },
37
+})

+ 8 - 0
pages/main/answer.json

@@ -0,0 +1,8 @@
1
+{
2
+  "navigationBarBackgroundColor": "#326FAE",
3
+  "navigationBarTextStyle": "white",
4
+  "navigationBarTitleText": "答案资料室",
5
+  "backgroundColor": "#326FAE",
6
+  "backgroundTextStyle": "light",
7
+  "enablePullDownRefresh": false
8
+}

+ 109 - 0
pages/main/answer.wxml

@@ -0,0 +1,109 @@
1
+<view class="container FlexColumn" style="min-height:{{Containnerheight}}rpx;">
2
+  <view class="line0"></view>
3
+  <view class="line1"></view>
4
+
5
+  <image class="answerroom_list_conveyer_headline_illus" src="../../images/answerroom_list_conveyer_headline_illus.png" />
6
+  <view class="panelTop FlexRow">
7
+    <view class="panelTop0 FlexColumn">
8
+      <view class="panelTop00 FlexRow" wx:if="{{IsEdit}}">
9
+        <image class="universalpic_select_on_white" src="../../images/universalpic_select_on_white.png" />
10
+        <view class="text">删除选中 0个</view>
11
+      </view>
12
+      <view class="line" wx:if="{{IsEdit}}"></view>
13
+    </view>
14
+    <view class="panelTop1 FlexRow" bindtap='btnEdit'>
15
+      <view class="btn" wx:if="{{IsEdit}}"></view>
16
+      <view class="btn2 btn" wx:if="{{!IsEdit}}"></view>
17
+      <view class="text2 text" wx:if="{{IsEdit}}">完成</view>
18
+      <view class="text2 text" wx:if="{{!IsEdit}}">编辑</view>
19
+    </view>
20
+  </view>
21
+
22
+  <view class="panel0 FlexColumn">
23
+    <view class="panel00 FlexRow">
24
+      <view class="panel0MainBG panel0Main">
25
+        <view class="line2"></view>
26
+        <view class="item FlexColumn">
27
+          <view class="itemLine0"></view>
28
+          <view class="itemChild FlexRow">
29
+            <view class="FlexRow">
30
+              <image wx:if="{{IsEdit}}" class="universalpic_select_on_gray" src="../../images/universalpic_select_on_gray.png" />
31
+              <image wx:if="{{!IsEdit}}" class="questioncard_icon" src="{{FileUrl}}questioncard_icon_grade0602_size01.png" />
32
+              <view class="title FlexColumn">
33
+                <view class="title1">
34
+                  2018年12月23日 23:14
35
+                </view>
36
+                <view class="title2 FlexRow">
37
+                  四则运算a+b+c
38
+                </view>
39
+              </view>
40
+            </view>
41
+            <view class="title3 FlexRow">
42
+              <view class="title30">#</view>
43
+              <view class="title31">48</view>
44
+              <image class="universalpic_new_red_size01" src="../../images/universalpic_new_red_size01.png" />
45
+
46
+            </view>
47
+          </view>
48
+          <view class="itemLine1"></view>
49
+        </view>
50
+
51
+        <view class="item FlexColumn">
52
+          <view class="itemLine00 itemLine0"></view>
53
+          <view class="itemChild0 itemChild FlexRow">
54
+            <view class="FlexRow">
55
+              <image wx:if="{{IsEdit}}" class="universalpic_select_on_gray" src="../../images/universalpic_select_on_gray.png" />
56
+              <image wx:if="{{!IsEdit}}" class="questioncard_icon" src="{{FileUrl}}questioncard_icon_grade0602_size01.png" />
57
+              <view class="title FlexColumn">
58
+                <view class="title1">
59
+                  2018年12月23日 23:14
60
+                </view>
61
+                <view class="title2 FlexRow">
62
+                  四则运算a+b+c
63
+                </view>
64
+              </view>
65
+            </view>
66
+            <view class="title3 FlexRow">
67
+              <view class="title30">#</view>
68
+              <view class="title31">13</view>
69
+
70
+            </view>
71
+          </view>
72
+          <view class="itemLine1"></view>
73
+        </view>
74
+
75
+        <view class="item FlexColumn">
76
+          <view class="itemLine0"></view>
77
+          <view class="itemChild"></view>
78
+          <view class="itemLine1"></view>
79
+        </view>
80
+      </view>
81
+    </view>
82
+    <image class="answerroom_list_conveyer_footer_illus" src="../../images/answerroom_list_conveyer_footer_illus.png" />
83
+
84
+    <view class="textFooter FlexRow">
85
+      <image class="universalpic_attention_blue_size01" src="../../images/universalpic_attention_blue_size01.png" />
86
+      <view class="textFooter1">删除小程序时,答案也会被删除。</view>
87
+    </view>
88
+
89
+    <view class="panel01 panel00 FlexRow">
90
+
91
+      <view class="panel000 FlexColumn">
92
+        <image class="answerroom_list_conveyer_part_left" src="../../images/answerroom_list_conveyer_part_left.png" />
93
+        <image class="answerroom_list_conveyer_part_left" src="../../images/answerroom_list_conveyer_part_left.png" />
94
+      </view>
95
+      <view class="panel001"></view>
96
+      <view class="line2"></view>
97
+      <view class="panel001"></view>
98
+      <view class="panel000 FlexColumn">
99
+        <image class="answerroom_list_conveyer_part_right" src="../../images/answerroom_list_conveyer_part_right.png" />
100
+        <image class="answerroom_list_conveyer_part_right" src="../../images/answerroom_list_conveyer_part_right.png" />
101
+      </view>
102
+    </view>
103
+
104
+    <view class="line21 line2"></view>
105
+  </view>
106
+
107
+
108
+
109
+</view>

+ 280 - 0
pages/main/answer.wxss

@@ -0,0 +1,280 @@
1
+.container {
2
+  background-color: #213a53;
3
+  justify-content: flex-start;
4
+}
5
+
6
+.line0 {
7
+  width: 100%;
8
+  height: 112rpx;
9
+  background-color: #326fae;
10
+}
11
+
12
+.line1 {
13
+  width: 100%;
14
+  height: 146rpx;
15
+  background-color: #8c3d34;
16
+  z-index: 10;
17
+}
18
+
19
+.answerroom_list_conveyer_headline_illus {
20
+  width: 710rpx;
21
+  height: 170rpx;
22
+  position: absolute;
23
+  top: 20rpx;
24
+  z-index: 20;
25
+}
26
+
27
+
28
+.panelTop {
29
+  width: 710rpx;
30
+  position: absolute;
31
+  top: 80rpx;
32
+  z-index: 30;
33
+  justify-content: space-between;
34
+}
35
+.panelTop .panelTop0 {
36
+  width: 280rpx;
37
+  height: 90rpx;
38
+  margin-left: 50rpx;
39
+}
40
+.panelTop .panelTop1 {
41
+  margin-right: 69rpx;
42
+}
43
+.panelTop .panelTop00 {
44
+  width: 280rpx;
45
+  height: 80rpx;
46
+
47
+  border-top-left-radius: 20rpx;
48
+  border-top-right-radius: 20rpx;
49
+  background-color: #D79E59;
50
+}
51
+.panelTop .line {
52
+  width: 280rpx;
53
+  height: 10rpx;
54
+  background-color: #B98043;
55
+}
56
+
57
+.panelTop .text {
58
+  color: #fff;
59
+  font-size: 26rpx;
60
+  text-shadow: 3rpx 3rpx 3rpx #906A3C, 
61
+    3rpx -3rpx 3rpx #906A3C, 
62
+    -3rpx 3rpx 3rpx #906A3C, 
63
+    -3rpx -3rpx 3rpx #906A3C;
64
+}
65
+
66
+
67
+.panelTop .btn {
68
+  width: 16rpx;
69
+  height: 16rpx;
70
+  background-color: #9EE74F;
71
+  margin-right: 10rpx;
72
+  border-radius: 3rpx;
73
+  box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.10);
74
+}
75
+
76
+.panelTop .btn {
77
+  background-color: #F0BE7B;
78
+}
79
+
80
+.panelTop .text2 {
81
+  text-shadow: 3rpx 3rpx 6rpx #C34738, 
82
+  3rpx -3rpx 6rpx #C34738, 
83
+  -3rpx 3rpx 6rpx #C34738, 
84
+  -3rpx -3rpx 6rpx #C34738;
85
+}
86
+
87
+.universalpic_select_on_white{
88
+  width: 30rpx;
89
+  height: 30rpx;
90
+  margin-right: 20rpx;
91
+}
92
+
93
+.universalpic_select_on_gray{
94
+  width: 30rpx;
95
+  height: 30rpx;
96
+  margin-right: 12rpx;
97
+  margin-left: 42rpx;
98
+}
99
+
100
+.panel0 {
101
+  width: 100%;
102
+  position: absolute;
103
+  top: 170rpx;
104
+  background-color: #213a53;
105
+}
106
+
107
+.panel0 .panel00 {
108
+  width: 100%;
109
+  z-index: 20;
110
+  align-items: flex-start;
111
+}
112
+
113
+.panel0 .panel01 {
114
+  width: 100%;
115
+  z-index: 20;
116
+  align-items: flex-start;
117
+  position: absolute;
118
+  top: 0;
119
+}
120
+
121
+.panel0 .panel000 {
122
+  width: 10rpx;
123
+  height: 1490rpx;
124
+  background-color: #929292;
125
+  z-index: 30;
126
+  justify-content: space-between;
127
+}
128
+
129
+.panel0 .panel001 {
130
+  width: 20rpx;
131
+  height: 1490rpx;
132
+  background-color: #4d4d4d;
133
+  z-index: 30;
134
+}
135
+
136
+.panel0 .panel0Main {
137
+  width: 610rpx;
138
+  height: 1320rpx;
139
+}
140
+
141
+.panel0 .panel0MainBG {
142
+  background-color: #6a6d6f;
143
+}
144
+
145
+.panel0 .item {
146
+  width: 100%;
147
+  height: 130rpx;
148
+  background-color: #797c7d;
149
+  justify-content: space-between;
150
+}
151
+
152
+.panel0 .itemLine0 {
153
+  width: 100%;
154
+  height: 10rpx;
155
+  background-color: rgba(0, 0, 0, 0.36);
156
+}
157
+
158
+.panel0 .itemLine00 {
159
+  width: 100%;
160
+  height: 10rpx;
161
+  background-color: rgba(0, 0, 0, 0.46);
162
+}
163
+
164
+.panel0 .itemLine1 {
165
+  width: 100%;
166
+  height: 10rpx;
167
+  background-color: #979595;
168
+}
169
+
170
+.panel0 .itemChild {
171
+  width: 100%;
172
+  height: 110rpx;
173
+  justify-content: space-between;
174
+}
175
+
176
+.panel0 .itemChild0 {
177
+  background-color: #5e6164;
178
+}
179
+
180
+.questioncard_icon {
181
+  width: 54rpx;
182
+  height: 60rpx;
183
+  margin-left: 30rpx;
184
+}
185
+
186
+.itemChild .title {
187
+  color: #fff;
188
+  margin-left: 30rpx;
189
+  align-items: flex-start;
190
+}
191
+
192
+.itemChild .title1 {
193
+  font-size: 20rpx;
194
+}
195
+
196
+.itemChild .title2 {
197
+  font-size: 30rpx;
198
+  color: #c9c9c9;
199
+}
200
+
201
+.itemChild .title3 {
202
+  width: 122rpx;
203
+  height: 70rpx;
204
+  background-color: #3e3e3e;
205
+  color: #fff;
206
+  border-top-left-radius: 4rpx;
207
+  border-bottom-left-radius: 4rpx;
208
+  position: relative;
209
+}
210
+
211
+.itemChild .title30 {
212
+  font-size: 20rpx;
213
+  font-family: 'Roboto-Bold';
214
+  position: absolute;
215
+  top: 10rpx;
216
+  left: 14rpx;
217
+}
218
+
219
+.itemChild .title31 {
220
+  font-size: 38rpx;
221
+  font-family: 'Roboto-Black';
222
+  margin-top: 7rpx;
223
+}
224
+
225
+.panel0 .line2 {
226
+  width: 610rpx;
227
+  height: 20rpx;
228
+  background-color: #6a6d6f;
229
+}
230
+
231
+.answerroom_list_conveyer_footer_illus {
232
+  width: 100%;
233
+  height: 320rpx;
234
+  position: relative;
235
+  z-index: 20;
236
+}
237
+
238
+.universalpic_attention_blue_size01 {
239
+  width: 20rpx;
240
+  height: 20rpx;
241
+  margin-right: 10rpx;
242
+}
243
+
244
+.answerroom_list_conveyer_part_left {
245
+  width: 18rpx;
246
+  height: 60rpx;
247
+  margin: 55rpx 0 50rpx -30rpx;
248
+}
249
+
250
+.answerroom_list_conveyer_part_right {
251
+  width: 18rpx;
252
+  height: 60rpx;
253
+  margin: 55rpx -28rpx 50rpx 0;
254
+}
255
+
256
+.panel0 .line21 {
257
+  background-color: rgba(0, 0, 0, 0.2);
258
+  z-index: 30;
259
+  position: absolute;
260
+  top: 0;
261
+  width: 670rpx;
262
+}
263
+
264
+.universalpic_new_red_size01 {
265
+  width: 70rpx;
266
+  height: 30rpx;
267
+  position: absolute;
268
+  top: -15rpx;
269
+  left:40rpx;
270
+}
271
+
272
+.textFooter {
273
+  margin-top: 40rpx;
274
+  margin-bottom: 100rpx;
275
+}
276
+
277
+.textFooter1 {
278
+  color: #4f92ba;
279
+  font-size: 22rpx;
280
+}

+ 32 - 0
pages/main/default.js

@@ -0,0 +1,32 @@
1
+import common from '../../utils/util';
2
+import server from '../../utils/main';
3
+
4
+const app = getApp()
5
+Page({
6
+  data: {
7
+    version: app.globalData.version,
8
+    FileUrl: app.globalData.fileUrl,
9
+  },
10
+  onLoad: function () {
11
+    this.setData({
12
+      Containnerheight: server.getWindowHeight(),
13
+      ProgramList: server.getProgramList(),
14
+    });
15
+
16
+
17
+  },
18
+  onShareAppMessage: function () {
19
+    return {
20
+      title: '',
21
+      path: 'pages/index/index',
22
+      success: function (res) {
23
+      },
24
+      fail: function (err) {
25
+        console.log(err);
26
+      },
27
+      complete: function (res) {
28
+        console.log(res);
29
+      },
30
+    }
31
+  },
32
+})

+ 8 - 0
pages/main/default.json

@@ -0,0 +1,8 @@
1
+{
2
+  "navigationBarBackgroundColor": "#B9DC5D",
3
+  "navigationBarTextStyle": "black",
4
+  "navigationBarTitleText": "数学计算题",
5
+  "backgroundColor": "#B9DC5D",
6
+  "backgroundTextStyle": "light",
7
+  "enablePullDownRefresh": false
8
+}

+ 106 - 0
pages/main/default.wxml

@@ -0,0 +1,106 @@
1
+<view class="container FlexColumn" style="min-height:{{Containnerheight}}rpx;">
2
+  <scroll-view class="scroll-view_H" scroll-x>
3
+    <image class="homepage_headline_illus" src="../../images/homepage_headline_illus.png" />
4
+  </scroll-view>
5
+
6
+  <view class="panel FlexColumn">
7
+    <view class="line1"></view>
8
+    <view class="line2"></view>
9
+    <view class="panel0 FlexRow">
10
+      <view class="panel00Left"></view>
11
+      <view class="panel00 FlexColumn">
12
+        <view class="panel000 FlexRow">
13
+          <view class="text">选题</view>
14
+          <view class="text">·</view>
15
+          <view class="text">打印</view>
16
+        </view>
17
+        <view class="panel001 FlexRow">
18
+          <view class="panel0010 FlexRow">
19
+            <image class="homepage_question_illus_grade01" src="../../images/homepage_question_illus_grade01.png" />
20
+            <image class="homepage_question_illus_grade01" src="../../images/homepage_question_illus_grade02.png" />
21
+            <image class="homepage_question_illus_grade01" src="../../images/homepage_question_illus_grade03.png" />
22
+            <image class="homepage_question_illus_grade01" src="../../images/homepage_question_illus_grade04.png" />
23
+          </view>
24
+        </view>
25
+        <image class="universalpic_line_zigzag_brown_down" src="../../images/universalpic_line_zigzag_brown_down.png" />
26
+        <image class="universalpic_line_zigzag_brown_up" src="../../images/universalpic_line_zigzag_brown_up.png" />
27
+        <view class="panel002 FlexRow">
28
+          <view class="panel0020 FlexRow">
29
+            <view class="panel00200 FlexColumn">
30
+              <view class="text0">批改</view>
31
+              <view class="line"></view>
32
+              <view class="panel002000 FlexRow">
33
+                <view class="text1">制题次数</view>
34
+                <view class="text2">232</view>
35
+              </view>
36
+              <view class="line2 line"></view>
37
+              <view class="panel002000 FlexRow">
38
+                <view class="text1">制题日期</view>
39
+                <view class="text">2018年1月13日</view>
40
+              </view>
41
+              <view class="line2 line"></view>
42
+              <view class="panel002000 FlexRow">
43
+                <view class="btn">
44
+                  <view class="btn1">
45
+                    登录
46
+                  </view>
47
+                </view>
48
+                <view class="btn2 btn">
49
+                  <view class="btn3 btn1">
50
+                    答案
51
+                  </view>
52
+                </view>
53
+              </view>
54
+            </view>
55
+            <view class="panel00201 FlexRow">
56
+              <image class="universalpic_face_default_black_size01" src="../../images/universalpic_face_default_black_size01.png" />
57
+            </view>
58
+          </view>
59
+          <image class="homepage_clipboard_illus_clip" src="../../images/homepage_clipboard_illus_clip.png" />
60
+          <image class="homepage_clipboard_illus_ruler" src="../../images/homepage_clipboard_illus_ruler.png" />
61
+
62
+        </view>
63
+        <image class="universalpic_line_zigzag_brown_down" src="../../images/universalpic_line_zigzag_brown_down.png" />
64
+        <image class="universalpic_line_zigzag_brown_up" src="../../images/universalpic_line_zigzag_brown_up.png" />
65
+        <view class="panel003 circularBottom FlexColumn">
66
+          <view class="panel0030 FlexRow">
67
+            <view class="panel00300 FlexColumn">
68
+              <text class="text">©2018 唱意教育 - 数学计算题\n微信小程序 版本 1.0.0</text>
69
+              <view class="panel003000 FlexRow">
70
+                <view>帮助</view>
71
+                <view class="line"></view>
72
+                <view>反馈</view>
73
+                <view class="line"></view>
74
+                <view>合作</view>
75
+              </view>
76
+            </view>
77
+            <view class="btn4 btn">
78
+              <view class="btn5 btn1 FlexColumn">
79
+                <image class="universalpic_share_size01" src="../../images/universalpic_share_size01.png" />
80
+                <view>转发分享</view>
81
+              </view>
82
+            </view>
83
+          </view>
84
+
85
+          <view class="panel0031 FlexColumn">
86
+            <view class="panel00310 FlexColumn">
87
+              唱意教育其它练习产品
88
+            </view>
89
+            <view class="line"></view>
90
+            <block wx:for="{{ProgramList}}" wx:key="index">
91
+              <view class="panel00311 FlexRow">
92
+                <view class="panel003110 FlexRow">
93
+                  <image class="universalpic_product_kousuan_icon_size01" src="../../images/{{item.imageName}}.png" />
94
+                  <view class="text">{{item.Name}}</view>
95
+                </view>
96
+                <image class="universalpic_indicator_pink" src="../../images/universalpic_indicator_pink.png" />
97
+              </view>
98
+              <view class="line"></view>
99
+            </block>
100
+          </view>
101
+        </view>
102
+      </view>
103
+      <view class="panel00Right"></view>
104
+    </view>
105
+  </view>
106
+</view>

+ 331 - 0
pages/main/default.wxss

@@ -0,0 +1,331 @@
1
+.container {
2
+  background-color: #583027;
3
+  justify-content: flex-start;
4
+}
5
+
6
+.scroll-view_H {
7
+  width: 100%;
8
+  height: 460rpx;
9
+}
10
+
11
+.homepage_headline_illus {
12
+  width: 1500rpx;
13
+  height: 460rpx;
14
+}
15
+
16
+.panel {
17
+  width: 100%;
18
+  background-color: #583027;
19
+  height: 2364rpx;
20
+  justify-content: flex-start;
21
+}
22
+
23
+.line1 {
24
+  width: 100%;
25
+  height: 10rpx;
26
+  background-color: rgba(0, 0, 0, 0.16);
27
+}
28
+
29
+.line2 {
30
+  width: 100%;
31
+  height: 90rpx;
32
+  background-color: #291112;
33
+  margin-top: 30rpx;
34
+}
35
+
36
+.panel0 {
37
+  width: 100%;
38
+  position: absolute;
39
+  top: 460rpx;
40
+  align-items: flex-start;
41
+}
42
+
43
+.panel00 {
44
+  width: 680rpx;
45
+  height: 2264rpx;
46
+  justify-content: flex-start;
47
+}
48
+
49
+.panel00Left {
50
+  width: 15rpx;
51
+  height: 90rpx;
52
+  background-color: #3d211b;
53
+  border-top-left-radius: 6rpx;
54
+  border-bottom-left-radius: 6rpx;
55
+}
56
+
57
+.panel00Right {
58
+  width: 15rpx;
59
+  height: 90rpx;
60
+  background-color: #3d211b;
61
+  border-top-right-radius: 6rpx;
62
+  border-bottom-right-radius: 6rpx;
63
+}
64
+
65
+.panel000 {
66
+  width: 100%;
67
+  height: 90rpx;
68
+  background-color: #4f2921;
69
+}
70
+
71
+.panel000 .text {
72
+  margin: 0 6rpx;
73
+  color: #e3e3e3;
74
+  font-size: 36rpx;
75
+  text-shadow: 8rpx 8rpx 6rpx #1e1e1e, -8rpx -8rpx 6rpx #1e1e1e;
76
+}
77
+
78
+.panel001 {
79
+  width: 100%;
80
+  height: 368rpx;
81
+  background-color: #723c30;
82
+}
83
+
84
+.panel0010 {
85
+  flex-wrap: wrap;
86
+}
87
+
88
+.homepage_question_illus_grade01 {
89
+  width: 290rpx;
90
+  height: 134rpx;
91
+  margin: 10rpx 15rpx 10rpx 15rpx;
92
+}
93
+
94
+.universalpic_line_zigzag_brown_down {
95
+  width: 100%;
96
+  height: 49rpx;
97
+}
98
+
99
+.universalpic_line_zigzag_brown_up {
100
+  width: 100%;
101
+  height: 79rpx;
102
+  margin-top: 10rpx;
103
+}
104
+
105
+.panel002 {
106
+  width: 100%;
107
+  height: 638rpx;
108
+  background-color: #723c30;
109
+  position: relative;
110
+}
111
+
112
+.panel0020 {
113
+  width: 560rpx;
114
+  height: 568rpx;
115
+  background-color: #aa5d49;
116
+  border-radius: 14rpx;
117
+  position: relative;
118
+}
119
+
120
+.homepage_clipboard_illus_clip {
121
+  width: 220rpx;
122
+  height: 116rpx;
123
+  position: absolute;
124
+  left: 230rpx;
125
+  top: 5rpx;
126
+}
127
+
128
+.homepage_clipboard_illus_ruler {
129
+  width: 218rpx;
130
+  height: 57rpx;
131
+  position: absolute;
132
+  right: 77rpx;
133
+  bottom: 14rpx;
134
+}
135
+
136
+.panel00200 {
137
+  margin-top: -14rpx;
138
+  width: 490rpx;
139
+  height: 478rpx;
140
+  background-color: #ffc76d;
141
+  border-radius: 14rpx;
142
+  box-shadow: 0px 3px 0px #77472a;
143
+  justify-content: flex-start;
144
+  font-size: 24rpx;
145
+  font-weight: 500;
146
+}
147
+
148
+.panel00200 .text0 {
149
+  font-size: 36rpx;
150
+  color: #fff;
151
+  margin-top: 70rpx;
152
+  text-shadow: -3rpx -3rpx 4rpx #bd682d,
153
+                 -3rpx 3rpx 4rpx #bd682d,
154
+                 3rpx -3rpx 4rpx #bd682d,
155
+                 3rpx 3rpx 4rpx #bd682d;
156
+}
157
+
158
+.panel00200 .line {
159
+  margin-top: 50rpx;
160
+  width: 430rpx;
161
+  height: 4rpx;
162
+  background-color: #638a79;
163
+  border-radius: 2rpx;
164
+}
165
+
166
+.panel00200 .line2 {
167
+  margin-top: 20rpx;
168
+}
169
+
170
+.panel002000 {
171
+  width: 410rpx;
172
+  justify-content: space-between;
173
+  margin-top: 20rpx;
174
+}
175
+
176
+.panel00200 .text2 {
177
+  font-size: 24rpx;
178
+  font-weight: 600;
179
+}
180
+
181
+.btn {
182
+  width: 208rpx;
183
+  height: 90rpx;
184
+  background-color: #035834;
185
+  border-radius: 8rpx;
186
+  position: relative;
187
+}
188
+
189
+.btn1 {
190
+  width: 100%;
191
+  height: 70rpx;
192
+  background-color: #03af69;
193
+  border-radius: 8rpx;
194
+  line-height: 70rpx;
195
+  text-align: center;
196
+  color: #fff;
197
+  font-size: 32rpx;
198
+}
199
+
200
+.btn2 {
201
+  background-color: #315982;
202
+  margin-left: 14rpx;
203
+}
204
+
205
+.btn3 {
206
+  background-color: #3b85d0;
207
+}
208
+
209
+.panel00201 {
210
+  width: 160rpx;
211
+  height: 160rpx;
212
+  background-color: #fff;
213
+  border-radius: 4rpx;
214
+  position: absolute;
215
+  left: 18rpx;
216
+  top: 30rpx;
217
+}
218
+
219
+.universalpic_face_default_black_size01 {
220
+  width: 140rpx;
221
+  height: 140rpx;
222
+  border-radius: 4rpx;
223
+}
224
+
225
+.panel003 {
226
+  width: 100%;
227
+  height: 888rpx;
228
+  background-color: #723c30;
229
+  box-shadow: 0px 10px 0px rgba(0, 0, 0, 0.10);
230
+  color: #edc1b4;
231
+  justify-content: flex-start;
232
+}
233
+
234
+.circularBottom {
235
+  border-bottom-left-radius: 20rpx;
236
+  border-bottom-right-radius: 20rpx;
237
+}
238
+
239
+.panel0030 {
240
+  width: 100%;
241
+  font-size: 20rpx;
242
+  justify-content: space-between;
243
+  align-items: flex-start;
244
+  margin-top: 30rpx;
245
+}
246
+
247
+.panel00300 {
248
+  margin-left: 40rpx;
249
+  align-items: flex-start;
250
+}
251
+
252
+.panel003000 {
253
+  font-size: 24rpx;
254
+  width: 314rpx;
255
+  justify-content: space-between;
256
+  margin-top: 30rpx;
257
+}
258
+
259
+.panel003000 .line {
260
+  width: 5rpx;
261
+  height: 20rpx;
262
+  background-color: #583027;
263
+}
264
+
265
+.btn4 {
266
+  background-color: #583027;
267
+  margin-right: 80rpx;
268
+  width: 140rpx;
269
+  height: 154rpx;
270
+  border-radius: 20rpx;
271
+}
272
+
273
+.btn5 {
274
+  height: 140rpx;
275
+  background-color: #9d4d3c;
276
+  font-size: 22rpx;
277
+  color: #fff;
278
+  border-radius: 20rpx;
279
+}
280
+
281
+
282
+.universalpic_share_size01 {
283
+  width: 50rpx;
284
+  height: 50rpx;
285
+  margin-top: 24rpx;
286
+}
287
+
288
+.panel0031 {
289
+  margin-top: 35rpx;
290
+  width: 100%;
291
+  font-size:24rpx;
292
+  color:#EDC1B4;
293
+  align-items: flex-start;
294
+}
295
+
296
+.panel00310 {
297
+  margin-left: 40rpx;
298
+}
299
+
300
+.panel0031 .line{
301
+  margin-top: 30rpx;
302
+  width: 100%;
303
+  height:1rpx;
304
+  background-color: #985546;
305
+}
306
+
307
+.panel00311 {
308
+  margin-top: 30rpx;
309
+  width: 100%;
310
+  justify-content: space-between;
311
+}
312
+
313
+
314
+.panel003110 {
315
+  margin-left: 40rpx;
316
+  font-size:28rpx;
317
+}
318
+
319
+
320
+.universalpic_product_kousuan_icon_size01 {
321
+  width: 40rpx;
322
+  height: 40rpx;
323
+  border-radius: 50%;
324
+  margin-right: 20rpx;
325
+}
326
+
327
+.universalpic_indicator_pink {
328
+  width: 16rpx;
329
+  height: 26rpx;
330
+  margin-right: 30rpx;
331
+}

+ 0 - 0
pages/main/detail.js


部分文件因为文件数量过多而无法显示