Browse Source

Merge branch 'next' of https://github.com/jdf2e/nutui into next

suzigang 4 years ago
parent
commit
bd17738084
3 changed files with 10 additions and 1 deletions
  1. 1 0
      index.html
  2. 2 1
      src/config.json
  3. 7 0
      src/packages/__VUE/video/doc.taro.md

+ 1 - 0
index.html

@@ -9,6 +9,7 @@
       name="viewport"
     />
     <title>NutUI - 移动端Vue组件库</title>
+    <script crossorigin src="https://sgm-static.jd.com/sgm-pc-1.0.1.js" name="SGMH5" sid="3df6f31cb70143f09b19bd426bfdbe30" appKey="nutui-site" ></script>
     <script src="https://h5.m.jd.com/babelDiy/Zeus/2846ykuM7PwipD9E2RzMj2BGEQpA/plugin/share.min.js"></script>
     <style>
       html {

+ 2 - 1
src/config.json

@@ -345,7 +345,8 @@
           "cName": "视频播放器",
           "desc": "视频播放组件",
           "sort": 20,
-          "show": false,
+          "show": true,
+          "tarodoc": true,
           "author": "zy19940510"
         },
         {

+ 7 - 0
src/packages/__VUE/video/doc.taro.md

@@ -0,0 +1,7 @@
+# Video 轮播
+
+### 介绍
+
+原生video实现的视频播放器
+
+#### 直接使用 Taro 现有 video 组件开发 [参考文档](https://docs.taro.zone/docs/components/media/video)