panyong 2 жил өмнө
parent
commit
b2210b05c6

+ 2 - 1
htmldev/wxMini/pages/business/business.wxml

@@ -8,7 +8,8 @@
 </view>
 <scroll-view
   class="app_nav-wrap"
-  scroll-x="{{true}}">
+  scroll-x="{{true}}"
+  scroll-with-animation="{{true}}">
   <view
     class="nav {{currentCategory === item.id ? 'active' : ''}}"
     wx:for="{{category}}"

+ 3 - 1
htmldev/wxMini/project.config.json

@@ -50,7 +50,9 @@
     "disableUseStrict": false,
     "minifyWXML": true,
     "showES6CompileOption": false,
-    "useCompilerPlugins": false,
+    "useCompilerPlugins": [
+      "sass"
+    ],
     "useStaticServer": true
   },
   "compileType": "miniprogram",