浏览代码

docs(elevator): 增加吸顶props

suzigang 3 年之前
父节点
当前提交
7d69396435

+ 1 - 1
src/packages/__VUE/elevator/doc.en-US.md

@@ -234,7 +234,7 @@ app.use(Elevator);
 
 ``` html
 <template>
-  <nut-elevator :index-list="dataList3" :height="220"  @click-item="clickItem" @click-index="clickIndex"></nut-elevator>
+  <nut-elevator :index-list="dataList3" :is-sticky="true" :height="220"  @click-item="clickItem" @click-index="clickIndex"></nut-elevator>
 </template>
 <script lang="ts">
   import { reactive, toRefs } from 'vue';

+ 1 - 1
src/packages/__VUE/elevator/doc.md

@@ -234,7 +234,7 @@ app.use(Elevator);
 
 ``` html
 <template>
-  <nut-elevator :index-list="dataList3" :height="220"  @click-item="clickItem" @click-index="clickIndex"></nut-elevator>
+  <nut-elevator :index-list="dataList3" :is-sticky="true" :height="220"  @click-item="clickItem" @click-index="clickIndex"></nut-elevator>
 </template>
 <script lang="ts">
   import { reactive, toRefs } from 'vue';

+ 2 - 1
src/sites/mobile-taro/vue/project.config.json

@@ -39,7 +39,8 @@
     "minifyWXML": true,
     "showES6CompileOption": false,
     "useCompilerPlugins": false,
-    "ignoreUploadUnusedFiles": true
+    "ignoreUploadUnusedFiles": true,
+    "useStaticServer": true
   },
   "compileType": "miniprogram",
   "simulatorType": "wechat",

+ 2 - 11
src/sites/mobile-taro/vue/project.private.config.json

@@ -2,15 +2,6 @@
   "setting": {},
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "condition": {
-    "plugin": {
-      "list": []
-    },
-    "game": {
-      "list": []
-    },
-    "gamePlugin": {
-      "list": []
-    },
     "miniprogram": {
       "list": [
         {
@@ -48,8 +39,8 @@
           "name": "exhibition/pages/collapse/index",
           "pathName": "exhibition/pages/collapse/index",
           "query": "",
-          "scene": null,
-          "launchMode": "default"
+          "launchMode": "default",
+          "scene": null
         },
         {
           "name": "dentry/pages/textarea/index",