zmcoding 5 years ago
parent
commit
053f18480c
100 changed files with 4259 additions and 1 deletions
  1. 5 0
      .idea/codeStyles/codeStyleConfig.xml
  2. 6 0
      .idea/misc.xml
  3. 8 0
      .idea/modules.xml
  4. 8 0
      .idea/wechat-Study163-master.iml
  5. 623 0
      .idea/workspace.xml
  6. 1 1
      README.md
  7. 30 0
      app.js
  8. 62 0
      app.json
  9. 73 0
      app.wxss
  10. 1168 0
      data/course_data.js
  11. 1763 0
      data/detail_data.js
  12. 141 0
      data/index_data.js
  13. BIN
      images/arrow_right.png
  14. BIN
      images/email.png
  15. BIN
      images/email_pressed.png
  16. BIN
      images/rlimages/diandongche/dianzibiaoqianF22B.png
  17. BIN
      images/rlimages/diandongche/dianzibiaoqianF25.png
  18. BIN
      images/rlimages/diandongche/gudingjizhanG22.png
  19. BIN
      images/rlimages/diandongche/shouchijiS22.png
  20. BIN
      images/rlimages/hhuoren2.jpg
  21. BIN
      images/rlimages/jjuefangan.jpg
  22. BIN
      images/rlimages/jjuefangan3.jpg
  23. BIN
      images/rlimages/school/card.png
  24. BIN
      images/rlimages/school/jizhan.png
  25. BIN
      images/rlimages/school/kaoqinji.png
  26. BIN
      images/search.png
  27. BIN
      images/section_title_tip.png
  28. BIN
      images/tab_account1.png
  29. BIN
      images/tab_account2.png
  30. BIN
      images/tab_categories1.png
  31. BIN
      images/tab_categories2.png
  32. BIN
      images/tab_course1.png
  33. BIN
      images/tab_course2.png
  34. BIN
      images/tab_email.png
  35. BIN
      images/tab_index1.png
  36. BIN
      images/tab_index2.png
  37. BIN
      images/tab_mystudy1.png
  38. BIN
      images/tab_mystudy2.png
  39. BIN
      images/新建文件夹/abc_ic_search_api_mtrl_alpha.png
  40. BIN
      images/新建文件夹/arrow_left_disabled.png
  41. BIN
      images/新建文件夹/arrow_left_on.png
  42. BIN
      images/新建文件夹/arrow_right_disabled.png
  43. BIN
      images/新建文件夹/arrow_right_on.png
  44. BIN
      images/新建文件夹/ic_arrow_left_disabled.png
  45. BIN
      images/新建文件夹/ic_arrow_left_on.png
  46. BIN
      images/新建文件夹/ic_arrow_rect_right.png
  47. BIN
      images/新建文件夹/ic_arrow_right.png
  48. BIN
      images/新建文件夹/ic_arrow_right_course_detail.png
  49. BIN
      images/新建文件夹/ic_arrow_right_disabled.png
  50. BIN
      images/新建文件夹/ic_arrow_right_green.png
  51. BIN
      images/新建文件夹/ic_arrow_right_list_item.png
  52. BIN
      images/新建文件夹/ic_arrow_right_on.png
  53. BIN
      images/新建文件夹/ic_arrow_right_recommend_section.png
  54. BIN
      images/新建文件夹/ic_arrow_right_recommend_section_pressed.png
  55. BIN
      images/新建文件夹/ic_arrow_right_settings.png
  56. BIN
      images/新建文件夹/ic_arrow_right_translate.png
  57. BIN
      images/新建文件夹/ic_course_detail_message.png
  58. BIN
      images/新建文件夹/ic_courseware_discuss_noraml.png
  59. BIN
      images/新建文件夹/ic_courseware_doc_light.png
  60. BIN
      images/新建文件夹/ic_courseware_doc_normal.png
  61. BIN
      images/新建文件夹/ic_courseware_download_delete_normal.png
  62. BIN
      images/新建文件夹/ic_courseware_download_delete_pressed.png
  63. BIN
      images/新建文件夹/ic_courseware_download_downloading_normal.png
  64. BIN
      images/新建文件夹/ic_courseware_download_normal.png
  65. BIN
      images/新建文件夹/ic_courseware_download_pressed.png
  66. BIN
      images/新建文件夹/ic_courseware_download_stop_normal.png
  67. BIN
      images/新建文件夹/ic_courseware_exam_light.png
  68. BIN
      images/新建文件夹/ic_courseware_exam_normal.png
  69. BIN
      images/新建文件夹/ic_download_delete_normal.png
  70. BIN
      images/新建文件夹/ic_download_delete_pressed.png
  71. BIN
      images/新建文件夹/ic_launcher.png
  72. BIN
      images/新建文件夹/logo.png
  73. BIN
      images/新建文件夹/logo_about.png
  74. BIN
      images/新建文件夹/logo_bg.9.png
  75. BIN
      images/新建文件夹/logo_green.png
  76. BIN
      images/新建文件夹/logo_login.png
  77. BIN
      images/新建文件夹/tab_main_account_n.png
  78. BIN
      images/新建文件夹/tab_main_account_p.png
  79. BIN
      images/新建文件夹/tab_main_categories_n.png
  80. BIN
      images/新建文件夹/tab_main_categories_p.png
  81. BIN
      images/新建文件夹/tab_main_center_n.png
  82. BIN
      images/新建文件夹/tab_main_center_p.png
  83. BIN
      images/新建文件夹/tab_main_course_n.png
  84. BIN
      images/新建文件夹/tab_main_course_p.png
  85. BIN
      images/新建文件夹/tab_main_recommend_n.png
  86. BIN
      images/新建文件夹/tab_main_recommend_p.png
  87. BIN
      images/新建文件夹/tab_main_study_n.png
  88. BIN
      images/新建文件夹/tab_main_study_p.png
  89. 19 0
      pages/accounts/accounts.js
  90. 1 0
      pages/accounts/accounts.json
  91. 2 0
      pages/accounts/accounts.wxml
  92. 1 0
      pages/accounts/accounts.wxss
  93. 84 0
      pages/course/course.js
  94. 1 0
      pages/course/course.json
  95. 22 0
      pages/course/course.wxml
  96. 134 0
      pages/course/course.wxss
  97. 37 0
      pages/detail/detail.js
  98. 3 0
      pages/detail/detail.json
  99. 67 0
      pages/detail/detail.wxml
  100. 0 0
      pages/detail/detail.wxss

+ 5 - 0
.idea/codeStyles/codeStyleConfig.xml

@@ -0,0 +1,5 @@
+<component name="ProjectCodeStyleConfiguration">
+  <state>
+    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
+  </state>
+</component>

+ 6 - 0
.idea/misc.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="JavaScriptSettings">
+    <option name="languageLevel" value="ES6" />
+  </component>
+</project>

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/wechat-Study163-master.iml" filepath="$PROJECT_DIR$/.idea/wechat-Study163-master.iml" />
+    </modules>
+  </component>
+</project>

+ 8 - 0
.idea/wechat-Study163-master.iml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 623 - 0
.idea/workspace.xml

@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ChangeListManager">
+    <list default="true" id="46db4840-7215-4d39-a443-61b0f5881a5b" name="默认的" comment="" />
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
+    <option name="TRACKING_ENABLED" value="true" />
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="FileEditorManager">
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
+      <file leaf-file-name="app.json" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/app.json">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="189">
+              <caret line="38" column="39" selection-start-line="38" selection-start-column="28" selection-end-line="38" selection-end-column="39" />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="mystudy.js" pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/pages/mystudy/mystudy.js">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="285">
+              <caret line="52" column="6" lean-forward="true" selection-start-line="52" selection-start-column="6" selection-end-line="52" selection-end-column="6" />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="tab_course1.png" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/images/tab_course1.png">
+          <provider selected="true" editor-type-id="images" />
+        </entry>
+      </file>
+      <file leaf-file-name="tab_course2.png" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/images/tab_course2.png">
+          <provider selected="true" editor-type-id="images" />
+        </entry>
+      </file>
+    </leaf>
+  </component>
+  <component name="FileTemplateManagerImpl">
+    <option name="RECENT_TEMPLATES">
+      <list>
+        <option value="JavaScript File" />
+      </list>
+    </option>
+  </component>
+  <component name="FindInProjectRecents">
+    <findStrings>
+      <find>item</find>
+      <find>course_grp</find>
+      <find>getCourse</find>
+      <find>courseSrc</find>
+      <find>search-left</find>
+      <find>ddongchetitle</find>
+      <find>.banner .active</find>
+      <find>coursetitle</find>
+      <find>course-grp</find>
+      <find>产品规格</find>
+      <find>art-header</find>
+      <find>relatedBottomArray</find>
+      <find>relatedApplications</find>
+      <find>images</find>
+      <find>rldetail</find>
+      <find>art-content</find>
+      <find>productAppearance</find>
+      <find>productSpecification</find>
+      <find>getmaturitySchemeF25</find>
+      <find>auto-title</find>
+      <find></find>
+      <find>{}</find>
+      <find>maturitySchemeS22</find>
+      <find>productCharacteristics</find>
+      <find>image</find>
+      <find>../../</find>
+      <find>ad</find>
+      <find>navigator</find>
+      <find>ad</find>
+      <find>auto-text</find>
+    </findStrings>
+    <replaceStrings>
+      <replace>https://rlzcgl.oss-cn-beijing.aliyuncs.com/wxminiprogram/images/</replace>
+      <replace>detailData</replace>
+      <replace>·</replace>
+      <replace>detailData.</replace>
+      <replace>https://rlzcgl.oss-cn-beijing.aliyuncs.com/wxminiprogram/</replace>
+    </replaceStrings>
+  </component>
+  <component name="IdeDocumentHistory">
+    <option name="CHANGED_PATHS">
+      <list>
+        <option value="$PROJECT_DIR$/app.wxss" />
+        <option value="$PROJECT_DIR$/pages/detail/detail.wxss" />
+        <option value="$PROJECT_DIR$/pages/detail/detail.js" />
+        <option value="$PROJECT_DIR$/pages/detail/detail.wxml" />
+        <option value="$PROJECT_DIR$/pages/detail/detail.json" />
+        <option value="$PROJECT_DIR$/pages/detailF22B/index.js" />
+        <option value="$PROJECT_DIR$/pages/index/index.js" />
+        <option value="$PROJECT_DIR$/pages/index/index.wxml" />
+        <option value="$PROJECT_DIR$/pages/index/index.wxss" />
+        <option value="$PROJECT_DIR$/pages/detailF25/index.js" />
+        <option value="$PROJECT_DIR$/pages/detailF22B/index.wxss" />
+        <option value="$PROJECT_DIR$/pages/detailF22B/index.wxml" />
+        <option value="$PROJECT_DIR$/pages/detailF25/index.wxml" />
+        <option value="$PROJECT_DIR$/pages/detailG22/index.js" />
+        <option value="$PROJECT_DIR$/pages/detailG22/index.wxml" />
+        <option value="$PROJECT_DIR$/pages/detailG23/index.js" />
+        <option value="$PROJECT_DIR$/pages/detailG23/index.wxml" />
+        <option value="$PROJECT_DIR$/pages/detailK20/index.js" />
+        <option value="$PROJECT_DIR$/pages/detailK20/index.wxml" />
+        <option value="$PROJECT_DIR$/utils/util.js" />
+        <option value="$PROJECT_DIR$/pages/detailS22/index.js" />
+        <option value="$PROJECT_DIR$/pages/detailS22/index.wxml" />
+        <option value="$PROJECT_DIR$/data/index_data.js" />
+        <option value="$PROJECT_DIR$/data/course_data.js" />
+        <option value="$PROJECT_DIR$/data/detail_data.js" />
+        <option value="$PROJECT_DIR$/pages/mystudy/mystudy.wxss" />
+        <option value="$PROJECT_DIR$/pages/mystudy/mystudy.wxml" />
+        <option value="$PROJECT_DIR$/pages/course/course.js" />
+        <option value="$PROJECT_DIR$/pages/course/course.wxml" />
+        <option value="$PROJECT_DIR$/pages/course/course.wxss" />
+        <option value="$PROJECT_DIR$/app.json" />
+        <option value="$PROJECT_DIR$/pages/mystudy/mystudy.js" />
+      </list>
+    </option>
+  </component>
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
+  <component name="JsGulpfileManager">
+    <detection-done>true</detection-done>
+    <sorting>DEFINITION_ORDER</sorting>
+  </component>
+  <component name="PhpServers">
+    <servers />
+  </component>
+  <component name="ProjectFrameBounds" extendedState="6">
+    <option name="x" value="-12" />
+    <option name="y" value="57" />
+    <option name="width" value="1938" />
+    <option name="height" value="972" />
+  </component>
+  <component name="ProjectView">
+    <navigator proportions="" version="1">
+      <foldersAlwaysOnTop value="true" />
+    </navigator>
+    <panes>
+      <pane id="Scope" />
+      <pane id="ProjectPane">
+        <subPane>
+          <expand>
+            <path>
+              <item name="wechat-Study163-master" type="b2602c69:ProjectViewProjectNode" />
+              <item name="wechat-Study163-master" type="2a2b976b:PhpTreeStructureProvider$1" />
+            </path>
+            <path>
+              <item name="wechat-Study163-master" type="b2602c69:ProjectViewProjectNode" />
+              <item name="wechat-Study163-master" type="2a2b976b:PhpTreeStructureProvider$1" />
+              <item name="data" type="2a2b976b:PhpTreeStructureProvider$1" />
+            </path>
+            <path>
+              <item name="wechat-Study163-master" type="b2602c69:ProjectViewProjectNode" />
+              <item name="wechat-Study163-master" type="2a2b976b:PhpTreeStructureProvider$1" />
+              <item name="images" type="2a2b976b:PhpTreeStructureProvider$1" />
+            </path>
+            <path>
+              <item name="wechat-Study163-master" type="b2602c69:ProjectViewProjectNode" />
+              <item name="wechat-Study163-master" type="2a2b976b:PhpTreeStructureProvider$1" />
+              <item name="pages" type="2a2b976b:PhpTreeStructureProvider$1" />
+            </path>
+            <path>
+              <item name="wechat-Study163-master" type="b2602c69:ProjectViewProjectNode" />
+              <item name="wechat-Study163-master" type="2a2b976b:PhpTreeStructureProvider$1" />
+              <item name="pages" type="2a2b976b:PhpTreeStructureProvider$1" />
+              <item name="mystudy" type="2a2b976b:PhpTreeStructureProvider$1" />
+            </path>
+          </expand>
+          <select />
+        </subPane>
+      </pane>
+    </panes>
+  </component>
+  <component name="PropertiesComponent">
+    <property name="SearchEverywhereHistoryKey" value="&#9;FILE&#9;file://C:/Users/duhengchen/Desktop/wechat-Study163-master/pages/detail/detail.wxml" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
+    <property name="settings.editor.selected.configurable" value="preferences.sourceCode.PHP" />
+  </component>
+  <component name="RecentsManager">
+    <key name="CopyFile.RECENT_KEYS">
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master\pages" />
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master\pages\detailG22" />
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master\pages\detailF25" />
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master\pages\detailF22B" />
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master" />
+    </key>
+    <key name="MoveFile.RECENT_KEYS">
+      <recent name="C:\Users\duhengchen\Desktop\wechat-Study163-master\pages" />
+    </key>
+  </component>
+  <component name="RunDashboard">
+    <option name="ruleStates">
+      <list>
+        <RuleState>
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
+        </RuleState>
+        <RuleState>
+          <option name="name" value="StatusDashboardGroupingRule" />
+        </RuleState>
+      </list>
+    </option>
+  </component>
+  <component name="SvnConfiguration">
+    <configuration />
+  </component>
+  <component name="TaskManager">
+    <task active="true" id="Default" summary="Default task">
+      <changelist id="46db4840-7215-4d39-a443-61b0f5881a5b" name="默认的" comment="" />
+      <created>1557832272345</created>
+      <option name="number" value="Default" />
+      <option name="presentableId" value="Default" />
+      <updated>1557832272345</updated>
+      <workItem from="1557832273978" duration="5123000" />
+      <workItem from="1557884485530" duration="26121000" />
+      <workItem from="1557970772484" duration="22781000" />
+      <workItem from="1558058181116" duration="17318000" />
+      <workItem from="1558141811066" duration="21704000" />
+      <workItem from="1558401191912" duration="25557000" />
+      <workItem from="1558445420227" duration="5690000" />
+      <workItem from="1558488773256" duration="28669000" />
+      <workItem from="1558573071542" duration="14332000" />
+    </task>
+    <servers />
+  </component>
+  <component name="TimeTrackingManager">
+    <option name="totallyTimeSpent" value="167295000" />
+  </component>
+  <component name="ToolWindowManager">
+    <frame x="-7" y="-7" width="1295" height="695" extended-state="6" />
+    <editor active="true" />
+    <layout>
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25141472" />
+      <window_info anchor="bottom" id="TODO" order="6" />
+      <window_info anchor="bottom" id="调试" order="7" />
+      <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
+      <window_info anchor="right" id="Database" order="3" />
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
+      <window_info anchor="bottom" id="Terminal" order="7" />
+      <window_info anchor="bottom" id="运行" order="7" />
+      <window_info id="Favorites" order="2" side_tool="true" />
+      <window_info anchor="bottom" id="找到" order="8" weight="0.32920355" />
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
+      <window_info anchor="bottom" id="Run" order="2" />
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
+      <window_info anchor="bottom" id="Message" order="0" />
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
+      <window_info anchor="bottom" id="Find" order="1" />
+    </layout>
+  </component>
+  <component name="TypeScriptGeneratedFilesManager">
+    <option name="version" value="1" />
+  </component>
+  <component name="VcsContentAnnotationSettings">
+    <option name="myLimit" value="2678400000" />
+  </component>
+  <component name="XDebuggerManager">
+    <breakpoint-manager>
+      <option name="time" value="17" />
+    </breakpoint-manager>
+  </component>
+  <component name="editorHistoryManager">
+    <entry file="file://$PROJECT_DIR$/pages/course/course.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="665">
+          <caret line="35" column="26" selection-start-line="35" selection-start-column="26" selection-end-line="35" selection-end-column="26" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="532">
+          <caret line="28" column="12" lean-forward="true" selection-start-line="28" selection-start-column="12" selection-end-line="28" selection-end-column="12" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="2394">
+          <caret line="126" column="21" selection-start-line="126" selection-start-column="21" selection-end-line="126" selection-end-column="21" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1026">
+          <caret line="54" column="5" selection-start-line="54" selection-start-column="3" selection-end-line="54" selection-end-column="5" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="665">
+          <caret line="35" column="26" selection-start-line="35" selection-start-column="26" selection-end-line="35" selection-end-column="26" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/utils/util.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="285">
+          <caret line="15" column="21" selection-start-line="15" selection-start-column="11" selection-end-line="15" selection-end-column="21" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/data/index_data.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1672">
+          <caret line="88" column="53" selection-start-line="88" selection-start-column="42" selection-end-line="88" selection-end-column="53" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/logs/logs.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="190">
+          <caret line="10" column="7" lean-forward="true" selection-start-line="10" selection-start-column="7" selection-end-line="10" selection-end-column="7" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$USER_HOME$/AppData/Local/Temp/360zip$Temp/360$0/index.wxml" />
+    <entry file="file://$PROJECT_DIR$/pages/logs/logs.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="38">
+          <caret line="2" column="23" selection-start-line="2" selection-start-column="19" selection-end-line="2" selection-end-column="23" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="176">
+          <caret line="27" column="21" selection-start-line="27" selection-start-column="15" selection-end-line="27" selection-end-column="21" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detail/detail.json">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="19">
+          <caret line="1" selection-start-line="1" selection-end-line="1" selection-end-column="23" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF22B/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="302">
+          <caret line="34" column="50" selection-start-line="34" selection-start-column="30" selection-end-line="34" selection-end-column="50" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detail/detail.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="99">
+          <caret line="28" selection-start-line="28" selection-end-line="36" selection-end-column="16" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detail/detail.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="266">
+          <caret line="14" column="20" lean-forward="true" selection-start-line="14" selection-start-column="20" selection-end-line="14" selection-end-column="20" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detail/detail.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="133">
+          <caret line="7" column="36" selection-end-line="36" selection-end-column="2" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="228">
+          <caret line="12" column="25" lean-forward="true" selection-start-line="12" selection-start-column="25" selection-end-line="12" selection-end-column="35" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1619">
+          <caret line="140" column="17" selection-start-line="140" selection-start-column="17" selection-end-line="140" selection-end-column="17" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/index/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="57">
+          <caret line="3" column="33" selection-start-line="3" selection-start-column="33" selection-end-line="3" selection-end-column="33" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF25/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="-171" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF25/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="551">
+          <caret line="29" column="32" selection-start-line="29" selection-start-column="12" selection-end-line="29" selection-end-column="32" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF22B/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1748">
+          <caret line="92" column="69" selection-start-line="92" selection-start-column="69" selection-end-line="92" selection-end-column="69" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF22B/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1520">
+          <caret line="80" column="8" selection-start-line="80" selection-start-column="1" selection-end-line="80" selection-end-column="8" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG22/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="456">
+          <caret line="24" column="24" selection-start-line="24" selection-start-column="12" selection-end-line="24" selection-end-column="24" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG22/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1520">
+          <caret line="80" column="8" selection-start-line="80" selection-start-column="1" selection-end-line="80" selection-end-column="8" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailF25/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="156">
+          <caret line="55" selection-start-line="55" selection-end-line="63" selection-end-column="20" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG23/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="265">
+          <caret line="19" column="27" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG23/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="327">
+          <caret line="80" column="8" selection-start-line="80" selection-start-column="1" selection-end-line="80" selection-end-column="8" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG22/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="61">
+          <caret line="53" selection-start-line="53" selection-end-line="63" selection-end-column="14" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailK20/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="265">
+          <caret line="24" column="60" selection-start-line="24" selection-start-column="60" selection-end-line="24" selection-end-column="60" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailG23/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="99">
+          <caret line="43" selection-start-line="43" selection-end-line="53" selection-end-column="15" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/utils/util.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1482">
+          <caret line="78" column="58" selection-start-line="78" selection-start-column="38" selection-end-line="78" selection-end-column="58" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailS22/index.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="456">
+          <caret line="24" column="52" selection-start-line="24" selection-start-column="39" selection-end-line="24" selection-end-column="52" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailK20/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="175">
+          <caret line="35" lean-forward="true" selection-start-line="35" selection-end-line="35" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/data/course_data.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="949">
+          <caret line="1163" column="1" selection-start-line="1163" selection-start-column="1" selection-end-line="1163" selection-end-column="1" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/data/index_data.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="816">
+          <caret line="135" column="1" lean-forward="true" selection-start-line="93" selection-end-line="135" selection-end-column="1" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/data/detail_data.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="607">
+          <caret line="1734" column="13" lean-forward="true" selection-start-line="1734" selection-start-column="13" selection-end-line="1734" selection-end-column="13" />
+          <folding>
+            <element signature="e#17#5026#0" />
+            <element signature="e#5054#10995#0" />
+            <element signature="e#11022#18336#0" />
+            <element signature="e#18363#28505#0" />
+            <element signature="e#29793#32751#0" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/accounts/accounts.wxss">
+      <provider selected="true" editor-type-id="text-editor" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/images/tab_account1.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailS22/index.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="1254">
+          <caret line="66" selection-start-line="66" selection-end-line="66" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/detailS22/index.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="171">
+          <caret line="39" selection-start-line="39" selection-end-line="44" selection-end-column="1" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/mystudy/mystudy.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="373">
+          <caret line="125" selection-start-line="125" selection-end-line="130" selection-end-column="1" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/course/course.wxss">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="677">
+          <caret line="128" column="1" selection-start-line="128" selection-start-column="1" selection-end-line="128" selection-end-column="1" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/course/course.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="304">
+          <caret line="14" column="160" selection-start-line="14" selection-start-column="160" selection-end-line="14" selection-end-column="160" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/mystudy/mystudy.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="114">
+          <caret line="6" column="16" selection-start-line="6" selection-start-column="16" selection-end-line="6" selection-end-column="25" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/course/course.wxml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="114">
+          <caret line="6" column="10" lean-forward="true" selection-start-line="6" selection-start-column="10" selection-end-line="6" selection-end-column="10" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/images/tab_course2.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/images/tab_course1.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/app.json">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="189">
+          <caret line="38" column="39" selection-start-line="38" selection-start-column="28" selection-end-line="38" selection-end-column="39" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external/lib.es6.d.ts">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="170">
+          <caret line="1269" column="4" selection-start-line="1269" selection-start-column="4" selection-end-line="1269" selection-end-column="4" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pages/mystudy/mystudy.js">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="285">
+          <caret line="52" column="6" lean-forward="true" selection-start-line="52" selection-start-column="6" selection-end-line="52" selection-end-column="6" />
+        </state>
+      </provider>
+    </entry>
+  </component>
+</project>

+ 1 - 1
README.md

@@ -1,3 +1,3 @@
 # wxminiprogram-renlian
 
-任联官网微信小程序
+任联官网微信小程序

+ 30 - 0
app.js

@@ -0,0 +1,30 @@
+//app.js
+App({
+  onLaunch: function () {
+    //调用API从本地缓存中获取数据
+    var logs = wx.getStorageSync('logs') || []
+    logs.unshift(Date.now())
+    wx.setStorageSync('logs', logs)
+  },
+  getUserInfo:function(cb){
+    var that = this
+    if(this.globalData.userInfo){
+      typeof cb == "function" && cb(this.globalData.userInfo)
+    }else{
+      //调用登录接口
+      wx.login({
+        success: function () {
+          wx.getUserInfo({
+            success: function (res) {
+              that.globalData.userInfo = res.userInfo
+              typeof cb == "function" && cb(that.globalData.userInfo)
+            }
+          })
+        }
+      })
+    }
+  },
+  globalData:{
+    userInfo:null
+  }
+})

+ 62 - 0
app.json

@@ -0,0 +1,62 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/course/course",
+    "pages/mystudy/mystudy",
+    "pages/accounts/accounts",
+    "pages/other/other",
+    "pages/logs/logs",
+    "pages/detailF22B/index",
+    "pages/detailF25/index",
+    "pages/detailG22/index",
+    "pages/detailG23/index",
+    "pages/detailK20/index",
+    "pages/detailS22/index",
+    "pages/detail/detail"
+  ],
+  "window": {
+    "backgroundColor": "#31a030",
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#fff",
+    "navigationBarTitleText": "杭州任联科技",
+    "navigationBarTextStyle": "black"
+  },
+  "tabBar": {
+    "color": "#666",
+    "selectedColor": "#31a030",
+    "backgroundColor": "#FFF",
+    "borderStyle": "black",
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": "首页",
+        "iconPath": "images/tab_index1.png",
+        "selectedIconPath": "images/tab_index2.png"
+      },
+      {
+        "pagePath": "pages/course/course",
+        "text": "电动车产品",
+        "iconPath": "images/tab_course1.png",
+        "selectedIconPath": "images/tab_course2.png"
+      },
+      {
+        "pagePath": "pages/mystudy/mystudy",
+        "text": "校园产品",
+        "iconPath": "images/tab_mystudy1.png",
+        "selectedIconPath": "images/tab_mystudy2.png"
+      },
+      {
+        "pagePath": "pages/accounts/accounts",
+        "text": "联系我们",
+        "iconPath": "images/tab_account1.png",
+        "selectedIconPath": "images/tab_account1.png"
+      }
+    ]
+  },
+  "networkTimeout": {
+    "request": 10000,
+    "downloadFile": 10000
+  },
+  "debug": true,
+  "sitemapLocation": "sitemap.json"
+}

+ 73 - 0
app.wxss

@@ -0,0 +1,73 @@
+/**app.wxss**/
+.pageContainer {
+  height: 100%;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: flex-start;
+  box-sizing: border-box;
+} 
+.flex{
+  display: flex;
+}
+.flex-wrap{
+  flex-wrap: wrap;
+}
+.flex-col{
+  flex-direction: column;
+}
+
+/*head   search*/
+.pageContainer .search{
+  width: 735rpx;
+  height: 65rpx;
+  padding: 12.5rpx 0 12.5rpx 15rpx;
+}
+.pageContainer .search-left{
+  flex: 15;
+  background: #52CC9F;
+  text-align: left;
+}
+.pageContainer .search-left input{
+  display: inline-block;
+  height: 65rpx;
+  color:#FFF;
+  font-size: 26rpx;
+}
+.search-placeholder{
+  color: #FFF;
+  line-height: 26rpx;
+  padding-top: 5rpx;
+}
+.pageContainer .search .search-left image{
+  display: inline-block;
+  width: 35rpx;
+  height: 35rpx;
+  padding: 15rpx 15rpx 15rpx 20rpx;
+}
+.pageContainer .search .search-right{
+  flex: 2;
+  margin-left:20rpx;
+}
+.pageContainer .search .search-right image{
+  width: 35rpx;
+  height: 35rpx;
+  padding: 15rpx;
+}
+/*ad*/
+.ad ,.course-grp-item{
+  width:700rpx;
+  margin:20rpx 0;
+  flex-wrap:wrap;
+  justify-content:space-between;
+}
+.ad navigator:first-child image{
+  width:700rpx;
+  height: 160rpx;
+}
+.ad image,.course-grp-item image{
+  margin-top: 10rpx;
+  width:335rpx;
+  height: 160rpx;
+}
+

File diff suppressed because it is too large
+ 1168 - 0
data/course_data.js


File diff suppressed because it is too large
+ 1763 - 0
data/detail_data.js


+ 141 - 0
data/index_data.js

@@ -0,0 +1,141 @@
+
+var bannerSrc = {
+    banner:[
+        {
+            imgurl:"http://edu-image.nosdn.127.net/c5064b6d-a0ab-4f9c-9982-c963d7420882.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/3B1D0D4AC10815212E54EFE41778B8AA.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/03568d83-32fb-4d6c-ae04-c64b346fe2a2.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/7A90F82CD5464E306B95AC158E90F8B6.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/5348B382098E03D958B8A8ED3FEB4182.png",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/40680a35-a866-4ff7-9032-17f8f6f43a24.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/1D821F1ACACC2610AF4768D0E850083B.jpg",
+            navigator:"../other/other",
+        }
+    ]
+}
+var navSrc={
+    nav:[
+        {
+            imgurl:"http://edu-image.nosdn.127.net/A0ED3BAF7A2572B19FD7FF1ECF71C21C.jpg",
+            navigator:"../other/other",
+            title:"微专业"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/24c80eb7-148d-4520-92b3-19de174561d2.jpg",
+            navigator:"../other/other",
+            title:"互联网"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/65ECBB4D91707E1BF49A8757F01909AC.jpg",
+            navigator:"../other/other",
+            title:"设计创作"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/1da4c76a-e2be-4474-bd27-f8167b338b670.jpg",
+            navigator:"../other/other",
+            title:"职场/金融"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/4e2c978b-b1a4-4258-836a-1815c4894ad4.jpg",
+            navigator:"../other/other",
+            title:"兴趣生活"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/2EF8DA3AEB2B91D100E649D651426F46.jpg",
+            navigator:"../other/other",
+            title:"语言/留学"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/edf60979-e0fd-42ae-b8ca-9558232ab289.jpg",
+            navigator:"../other/other",
+            title:"中小学"
+        },
+        {
+            imgurl:"http://edu-image.nosdn.127.net/C23BB54D90D7E22754C91959B36B9461.jpg",
+            navigator:"../other/other",
+            title:"考试认证"
+        }
+    ]
+
+}
+var adSrc={
+    ad:[
+        {
+            imgurl:"../../images/rlimages/hhuoren2.jpg",
+            navigator:"../other/other",
+        },
+        {
+            imgurl:"../../images/rlimages/jjuefangan.jpg",
+            navigator:"../other/other",
+        },{
+            imgurl:"../../images/rlimages/jjuefangan3.jpg",
+            navigator:"../other/other",
+        }
+    ]
+}
+var courseSrc={
+  course_grp:[
+    {
+      navigator:"../other/other",
+      title:{
+        left:"校园产品"
+      },
+      courses:[
+          {
+          imgurl:"../../images/rlimages/school/card.png",
+          navigator:"../detail/detail"
+        },{
+          imgurl:"../../images/rlimages/school/jizhan.png",
+          navigator:"../detailG23/index"
+        },{
+          imgurl:"../../images/rlimages/school/kaoqinji.png",
+          navigator:"../detailK20/index"
+        }
+      ]
+    },
+    {
+      navigator:"../other/other",
+      title:{
+        left:"电动车产品",
+      },
+      courses:[
+        {
+          imgurl:"../../images/rlimages/diandongche/dianzibiaoqianF22B.png",
+          navigator:"../detailF22B/index"
+        },{
+          imgurl:"../../images/rlimages/diandongche/dianzibiaoqianF25.png",
+          navigator:"../detailF25/index"
+        },{
+          imgurl:"../../images/rlimages/diandongche/gudingjizhanG22.png",
+          navigator:"../detailG22/index"
+        },{
+          imgurl:"../../images/rlimages/diandongche/shouchijiS22.png",
+          navigator:"../detailS22/index"
+        }
+      ]
+    }
+  ]
+}
+
+module.exports.navSrc = navSrc;
+module.exports.bannerSrc = bannerSrc;
+module.exports.adSrc = adSrc;
+module.exports.courseSrc = courseSrc;

BIN
images/arrow_right.png


BIN
images/email.png


BIN
images/email_pressed.png


BIN
images/rlimages/diandongche/dianzibiaoqianF22B.png


BIN
images/rlimages/diandongche/dianzibiaoqianF25.png


BIN
images/rlimages/diandongche/gudingjizhanG22.png


BIN
images/rlimages/diandongche/shouchijiS22.png


BIN
images/rlimages/hhuoren2.jpg


BIN
images/rlimages/jjuefangan.jpg


BIN
images/rlimages/jjuefangan3.jpg


BIN
images/rlimages/school/card.png


BIN
images/rlimages/school/jizhan.png


BIN
images/rlimages/school/kaoqinji.png


BIN
images/search.png


BIN
images/section_title_tip.png


BIN
images/tab_account1.png


BIN
images/tab_account2.png


BIN
images/tab_categories1.png


BIN
images/tab_categories2.png


BIN
images/tab_course1.png


BIN
images/tab_course2.png


BIN
images/tab_email.png


BIN
images/tab_index1.png


BIN
images/tab_index2.png


BIN
images/tab_mystudy1.png


BIN
images/tab_mystudy2.png


BIN
images/新建文件夹/abc_ic_search_api_mtrl_alpha.png


BIN
images/新建文件夹/arrow_left_disabled.png


BIN
images/新建文件夹/arrow_left_on.png


BIN
images/新建文件夹/arrow_right_disabled.png


BIN
images/新建文件夹/arrow_right_on.png


BIN
images/新建文件夹/ic_arrow_left_disabled.png


BIN
images/新建文件夹/ic_arrow_left_on.png


BIN
images/新建文件夹/ic_arrow_rect_right.png


BIN
images/新建文件夹/ic_arrow_right.png


BIN
images/新建文件夹/ic_arrow_right_course_detail.png


BIN
images/新建文件夹/ic_arrow_right_disabled.png


BIN
images/新建文件夹/ic_arrow_right_green.png


BIN
images/新建文件夹/ic_arrow_right_list_item.png


BIN
images/新建文件夹/ic_arrow_right_on.png


BIN
images/新建文件夹/ic_arrow_right_recommend_section.png


BIN
images/新建文件夹/ic_arrow_right_recommend_section_pressed.png


BIN
images/新建文件夹/ic_arrow_right_settings.png


BIN
images/新建文件夹/ic_arrow_right_translate.png


BIN
images/新建文件夹/ic_course_detail_message.png


BIN
images/新建文件夹/ic_courseware_discuss_noraml.png


BIN
images/新建文件夹/ic_courseware_doc_light.png


BIN
images/新建文件夹/ic_courseware_doc_normal.png


BIN
images/新建文件夹/ic_courseware_download_delete_normal.png


BIN
images/新建文件夹/ic_courseware_download_delete_pressed.png


BIN
images/新建文件夹/ic_courseware_download_downloading_normal.png


BIN
images/新建文件夹/ic_courseware_download_normal.png


BIN
images/新建文件夹/ic_courseware_download_pressed.png


BIN
images/新建文件夹/ic_courseware_download_stop_normal.png


BIN
images/新建文件夹/ic_courseware_exam_light.png


BIN
images/新建文件夹/ic_courseware_exam_normal.png


BIN
images/新建文件夹/ic_download_delete_normal.png


BIN
images/新建文件夹/ic_download_delete_pressed.png


BIN
images/新建文件夹/ic_launcher.png


BIN
images/新建文件夹/logo.png


BIN
images/新建文件夹/logo_about.png


BIN
images/新建文件夹/logo_bg.9.png


BIN
images/新建文件夹/logo_green.png


BIN
images/新建文件夹/logo_login.png


BIN
images/新建文件夹/tab_main_account_n.png


BIN
images/新建文件夹/tab_main_account_p.png


BIN
images/新建文件夹/tab_main_categories_n.png


BIN
images/新建文件夹/tab_main_categories_p.png


BIN
images/新建文件夹/tab_main_center_n.png


BIN
images/新建文件夹/tab_main_center_p.png


BIN
images/新建文件夹/tab_main_course_n.png


BIN
images/新建文件夹/tab_main_course_p.png


BIN
images/新建文件夹/tab_main_recommend_n.png


BIN
images/新建文件夹/tab_main_recommend_p.png


BIN
images/新建文件夹/tab_main_study_n.png


BIN
images/新建文件夹/tab_main_study_p.png


+ 19 - 0
pages/accounts/accounts.js

@@ -0,0 +1,19 @@
+// pages/accounts/accounts.js
+Page({
+  data:{},
+  onLoad:function(options){
+    // 页面初始化 options为页面跳转所带来的参数
+  },
+  onReady:function(){
+    // 页面渲染完成
+  },
+  onShow:function(){
+    // 页面显示
+  },
+  onHide:function(){
+    // 页面隐藏
+  },
+  onUnload:function(){
+    // 页面关闭
+  }
+})

+ 1 - 0
pages/accounts/accounts.json

@@ -0,0 +1 @@
+{}

+ 2 - 0
pages/accounts/accounts.wxml

@@ -0,0 +1,2 @@
+<!--pages/accounts/accounts.wxml-->
+<text>pages/accounts/accounts.wxml</text>

+ 1 - 0
pages/accounts/accounts.wxss

@@ -0,0 +1 @@
+/* pages/accounts/accounts.wxss */

+ 84 - 0
pages/course/course.js

@@ -0,0 +1,84 @@
+// pages/course/course.js
+var util = require("../../utils/util.js");
+Page({
+  data:{
+    courses:[],
+      banner:{
+          delay:3000,
+          timeoutProcess:null,
+          currindex:0,
+          bannerimg:[]
+      },
+      bannerTitle:"·项目概述·",
+      chanpinTitle:"·相关产品·",
+      bannerTitleImages : "https://rlzcgl.oss-cn-beijing.aliyuncs.com/wxminiprogram/images/Rlianimage/superBike.jpg",
+      bannerText : "任联电动车防盗系统解决方案是杭州任联自主研发的成熟解决方案。其基本原理为:基于物联网超低功耗RFID有源技术和大数据轨迹刻画技术,监控中心、固定基站、车载基站、手持搜索机无缝...共同打造城市公共安全。(详情请登录任联官网http://www.renlianiot.com/查看)",
+      ad:[]
+  },
+  onLoad:function(options){
+    // 页面初始化 options为页面跳转所带来的参数
+    var that=this;
+    var coursesArr = util.getCourses(),
+        bannerArr = util.getBanner(),
+        bannerTitle = that.data.bannerTitle,
+        chanpinTitle = that.chanpinTitle,
+        ddongcheAD = util.getdiaodongcheData();
+
+    that.setData({
+      courses:coursesArr,
+        banner:{
+            currindex:0,
+            bannerimg:bannerArr
+        },
+        ad:ddongcheAD
+    });
+    console.log(that.data.ad);
+    that.changeBanner(0);
+  },
+  onReady:function(){
+    // 页面渲染完成
+  },
+  onShow:function(){
+    // 页面显示
+  },
+  onHide:function(){
+    // 页面隐藏
+  },
+  onUnload:function(){
+    // 页面关闭
+  },
+    changeBanner:function(index){
+        var that = this,
+            banner = that.data.banner,
+            currindex = banner.currindex;
+
+        banner.bannerimg[currindex].class ='';
+        banner.bannerimg[index].class = 'active';
+        banner.currindex = index;
+        that.setData({
+            "banner":banner
+        });
+        //showImg  todo
+    },
+    timetochange:function(){
+
+        var that = this,
+            banner = that.data.banner,
+            currindex = banner.currindex;
+        if(currindex < banner.bannerimg.length - 1)
+        {
+            currindex ++;
+        }else{
+            currindex = 0;
+        }
+        that.changeBanner(currindex);
+    },
+    bindStlBanner:function(e){
+        console.log(e);
+        var that = this;
+        var bannerIdx = e.currentTarget.dataset.index;
+        clearTimeout(that.data.banner.timeoutProcess);
+        that.changeBanner(bannerIdx);
+        that.data.banner.timeoutProcess = setInterval(that.timetochange,3000);
+    }
+})

+ 1 - 0
pages/course/course.json

@@ -0,0 +1 @@
+{}

+ 22 - 0
pages/course/course.wxml

@@ -0,0 +1,22 @@
+<!--pages/course/course.wxml-->
+<!--<import src="../other/template.wxml"/>-->
+<view class="pageContainer  bgC">
+   <image src="{{bannerTitleImages}}"></image>
+   <view class="auto-text">
+    <text>{{bannerText}}</text>
+   </view>
+  <view class="course-grp flex"role=""aria-label="">
+  <view class="course-grp-name flex"role=""aria-label="">
+  <text>{{chanpinTitle}}</text>
+  </view>
+      <view class="ad flex">
+        <block wx:for="{{ad}}" wx:for-item="item">
+          <navigator url="{{item.navigator}}">
+            <image src="{{item.imgurl}}"></image>
+          </navigator>
+        </block>
+      </view>
+  </view>
+  <!--ad-->
+
+</view>

+ 134 - 0
pages/course/course.wxss

@@ -0,0 +1,134 @@
+/* pages/course/course.wxss */
+.courses{
+  width:750rpx;
+  height: 1050rpx;
+  justify-content: space-around;
+}
+/*left*/
+.courses-left{
+    width:25%;
+    padding-top: 20rpx;
+    background-color: rgba(217,217,217,0.3);
+}
+.courses-left view{
+    box-sizing: border-box;
+    width:100%;
+    display: block;
+    line-height: 60rpx;
+    font-size: 24rpx;
+    padding-left: 5rpx;
+}
+.courses-left text{
+    padding-left: 15rpx;
+}
+.active{
+    background:url("../../images/section_title_tip.png") left no-repeat;
+    background-size: 5rpx 60rpx;
+}
+.active text{
+    display: block;
+    background-color: #FFF;
+}
+/*banner*/
+.bannerbox{
+  height: 400rpx;
+  width:750rpx;
+  position: relative;
+}
+.banner{
+  flex-direction:row;
+  align-items:center;
+}
+.bannerimg{
+  width:750rpx;
+  height: 400rpx;
+  display: none;
+}
+.banner .active{
+  width:750rpx;
+  height: 400rpx;
+  display: inline-block;
+}
+.banner-btn{
+  width:100%;
+  position: absolute;
+  bottom:20rpx;
+  flex-direction:row;
+  justify-content:center;
+}
+.banner-btn view{
+  width:20rpx;
+  height: 20rpx;
+  margin: 10rpx;
+  background-color: rgba(255,255,255,0.4);
+  border-radius: 50%;
+}
+.banner-btn  .active{
+  background-color: #FFF;
+}
+.ddongchetitle{
+    font-size:50rpx;
+}
+.coursetitle{
+    font-size:35rpx;
+    font-weight: bold;
+    color:#99ccff;
+}
+.clearfloat{
+position:relative;
+height:20rpx;
+margin-bottom:10rpx;
+}
+/*courseGrp*/
+.course-grp {
+  flex-wrap:wrap;
+  margin-top:20rpx;
+  justify-content: space-around;
+}
+.course-grp-name{
+  width: 750rpx;
+  height: 50rpx;
+  justify-content:space-between;
+  align-items:center;
+  background-color: rgba(217, 217, 217, 0.2)
+}
+.course-grp-name text{
+  font-size: 30rpx;
+  line-height: 50rpx;
+  padding-left: 30rpx;
+  background:url("../../images/section_title_tip.png") left no-repeat;
+}
+.course-grp-name navigator{
+  font-size: 24rpx;
+  color: rgba(217, 217, 217, 0.8);
+  padding-right: 20rpx;
+}
+
+.course-grp-item navigator{
+  width:340rpx;
+}
+.course-grp-item text{
+  margin: 20rpx 0;
+  color:#000;
+  font-size: 30rpx;
+}
+.course-grp-item wx-text:last-child{
+  margin-top: 0;
+  color:red;
+  font-size: 24rpx;
+}
+.ad navigator:first-child image{
+    width:700rpx;
+    height:300rpx;
+}
+.auto-text{
+    margin-top : 10rpx;
+    margin-left : 16rpx;
+    margin-right : 16rpx;
+    font-size : 30rpx;
+}
+
+
+
+
+

+ 37 - 0
pages/detail/detail.js

@@ -0,0 +1,37 @@
+var util = require("../../utils/util.js");
+Page({
+  data : {
+      art : {},
+      body : "",
+      detaildata : {}, //详情页数据
+      productOverview : {}, //产品概述
+      productAppearance : {}, //产品外观
+      productCharacteristics : {}, //产品特点
+      productSpecification : {}, //产品规格
+      relatedProducts : {}, //4G无感知考勤系统相关产品
+      relatedApplications : {}, //ul li
+      relatedBottomArray : {}, //底部图片加介绍
+      relatedBottomImageArray : {} //底部纯图片
+  },
+  onReady () {
+    wx.setNavigationBarTitle({
+      title: '智能学生卡C21'
+    })
+  },
+  onLoad (options) {
+    var that = this,
+        detailData = util.getproductC21();//产品概述
+        that.setData({
+            detaildata : detailData,
+            productOverview : detailData.productOverview,
+            productAppearance : detailData.productAppearance,
+            productCharacteristics : detailData.productCharacteristics,
+            productSpecification : detailData.productSpecification,
+            relatedProducts : detailData.relatedProducts,
+            relatedApplications : detailData.relatedApplications,
+            relatedBottomArray : detailData.relatedBottomArray,
+            relatedBottomImageArray : detailData.relatedBottomImageArray
+        });
+      console.log(that.data.relatedBottomArray);
+    }
+})

+ 3 - 0
pages/detail/detail.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 67 - 0
pages/detail/detail.wxml

@@ -0,0 +1,67 @@
+<!--detail.wxml-->
+<view class="container">
+    <view class="art-header">
+        <view class="auto-title">
+            <text>{{productOverview.tiele}}</text>
+        </view>
+        <view class="auto-text">
+            <text>{{productOverview.text}}</text>
+        </view>
+    </view>
+    <view class="art-content">
+        <view class="auto-title">
+            <text>{{productAppearance.title}}</text>
+        </view>
+        <view class="auto-text">
+             <image src="{{productAppearance.image}}"></image>
+        </view>
+        <view class="auto-title">
+            <text>{{productCharacteristics.title}}</text>
+        </view>
+        <view class="auto-text">
+             <view wx:for="{{productCharacteristics.array}}" wx:for-item="item">
+                <view><text>{{item.text}}</text></view>
+             </view>
+        </view>
+         <view class="auto-title">
+              <text>{{productSpecification.text}}</text>
+         </view>
+         <view wx:for="{{productSpecification.array}}" wx:for-item="item">
+             <view class="caption"><text>{{item.text}}</text></view>
+             <view class="table" wx:for="{{item.array}}" wx:for-item="tableitem">
+                   <view class="tr">
+                       <view class="td td1">{{tableitem.key}}</view>
+                       <view class="td td3">{{tableitem.value}}</view>
+                   </view>
+             </view>
+         </view>
+         <view class="auto-title">
+             <text>{{relatedProducts.text}}</text>
+         </view>
+         <view class="auto-text">
+                <view wx:for="{{relatedProducts.array}}" wx:for-item="item">
+                    <image src="{{item.image}}"></image>
+                     <view class="caption"><text>{{item.text}}</text></view>
+                </view>
+         </view>
+         <view class="auto-title">
+             <text>{{relatedApplications.text}}</text>
+         </view>
+         <view class="auto-text">
+              <view wx:for="{{relatedApplications.array}}" wx:for-item="item">
+                 <view><text>{{item.text}}</text></view>
+              </view>
+         </view>
+          <view class="auto-text">
+                 <view wx:for="{{relatedBottomArray.array}}" wx:for-item="item">
+                     <image src="{{item.image}}"></image>
+                      <view class="caption"><text>{{item.text}}</text></view>
+                 </view>
+          </view>
+          <view class="auto-text">
+                <view wx:for="{{relatedBottomImageArray.array}}" wx:for-item="item">
+                      <image src="{{item.image}}"></image>
+                </view>
+          </view>
+    </view>
+</view>

+ 0 - 0
pages/detail/detail.wxss


Some files were not shown because too many files changed in this diff