Browse Source

增加课程详情页列表

Limengbo 5 years ago
parent
commit
033a112966

File diff suppressed because it is too large
+ 25 - 20
android/app/src/main/assets/index.android.bundle


BIN
android/app/src/main/res/drawable-mdpi/pages_images_userinfo_top.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_video_back.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_video_fullscreen.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_video_pause.png


BIN
android/app/src/main/res/drawable-mdpi/pages_images_video_start.png


BIN
android/app/src/main/res/drawable-xhdpi/pages_images_userinfo_top.png


BIN
android/app/src/main/res/drawable-xhdpi/pages_images_video_back.png


BIN
android/app/src/main/res/drawable-xhdpi/pages_images_video_fullscreen.png


BIN
android/app/src/main/res/drawable-xhdpi/pages_images_video_pause.png


BIN
android/app/src/main/res/drawable-xhdpi/pages_images_video_start.png


BIN
android/app/src/main/res/drawable-xxhdpi/pages_images_userinfo_top.png


BIN
android/app/src/main/res/drawable-xxhdpi/pages_images_video_back.png


BIN
android/app/src/main/res/drawable-xxhdpi/pages_images_video_fullscreen.png


BIN
android/app/src/main/res/drawable-xxhdpi/pages_images_video_pause.png


BIN
android/app/src/main/res/drawable-xxhdpi/pages_images_video_start.png


+ 7 - 21
package-lock.json

@@ -2832,13 +2832,11 @@
         },
         "balanced-match": {
           "version": "1.0.0",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "brace-expansion": {
           "version": "1.1.11",
           "bundled": true,
-          "optional": true,
           "requires": {
             "balanced-match": "^1.0.0",
             "concat-map": "0.0.1"
@@ -2851,18 +2849,15 @@
         },
         "code-point-at": {
           "version": "1.1.0",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "concat-map": {
           "version": "0.0.1",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "console-control-strings": {
           "version": "1.1.0",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "core-util-is": {
           "version": "1.0.2",
@@ -2965,8 +2960,7 @@
         },
         "inherits": {
           "version": "2.0.3",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "ini": {
           "version": "1.3.5",
@@ -2976,7 +2970,6 @@
         "is-fullwidth-code-point": {
           "version": "1.0.0",
           "bundled": true,
-          "optional": true,
           "requires": {
             "number-is-nan": "^1.0.0"
           }
@@ -2989,20 +2982,17 @@
         "minimatch": {
           "version": "3.0.4",
           "bundled": true,
-          "optional": true,
           "requires": {
             "brace-expansion": "^1.1.7"
           }
         },
         "minimist": {
           "version": "0.0.8",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "minipass": {
           "version": "2.3.5",
           "bundled": true,
-          "optional": true,
           "requires": {
             "safe-buffer": "^5.1.2",
             "yallist": "^3.0.0"
@@ -3019,7 +3009,6 @@
         "mkdirp": {
           "version": "0.5.1",
           "bundled": true,
-          "optional": true,
           "requires": {
             "minimist": "0.0.8"
           }
@@ -3092,8 +3081,7 @@
         },
         "number-is-nan": {
           "version": "1.0.1",
-          "bundled": true,
-          "optional": true
+          "bundled": true
         },
         "object-assign": {
           "version": "4.1.1",
@@ -3103,7 +3091,6 @@
         "once": {
           "version": "1.4.0",
           "bundled": true,
-          "optional": true,
           "requires": {
             "wrappy": "1"
           }
@@ -3209,7 +3196,6 @@
         "string-width": {
           "version": "1.0.2",
           "bundled": true,
-          "optional": true,
           "requires": {
             "code-point-at": "^1.0.0",
             "is-fullwidth-code-point": "^1.0.0",

+ 6 - 2
pages/CourseDetails.js

@@ -27,7 +27,12 @@ class CourseList extends Component {
           <Text style={styles.font}>课件</Text>
           <Text style={styles.color}>共28课</Text>
         </View>
-        <ScrollRow itemWidth={106} itemHeight={150} />
+        <View style={{
+            flex: 1,
+            height: 200,
+          }}>
+            <ScrollRow itemWidth={106} itemHeight={150} />
+          </View>
       </View>
     );
   }
@@ -57,7 +62,6 @@ const styles = StyleSheet.create({
   padding: {
     paddingLeft: 20,
     paddingRight: 20,
-    
   },
   title: {
     display: 'flex',