uView2.0
uView2.0 copied to clipboard
Grid 宫格布局
版本
2.0.33
转载链接
www.uviewui.com https://www.uviewui.com/components/grid.html
重现步骤
文档里的示例代码用起来会报错 05:30:08.861 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js): 05:30:08.865 SassError: Undefined variable: "$u-border-color". 05:30:08.867 on line 221 of E:\UniAppProject\小小品审核\uni_modules\uview-ui\components\u-grid-item\u-grid-item.vue 05:30:08.871 >> $u-grid-item-border-right-color:$u-border-color !default; 05:30:08.873 --------------------------------------^ 05:30:08.874 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js): 05:30:08.877 SassError: Undefined variable: "$u-content-color". 05:30:08.877 on line 244 of E:\UniAppProject\小小品审核\uni_modules\uview-ui\components\u-loading-icon\u-loading-icon.vue 05:30:08.881 >> $u-loading-icon-text-color:$u-content-color !default; 05:30:08.883 ---------------------------^ 05:30:08.886 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js): 05:30:08.888 SassError: Undefined variable: "$u-primary". 05:30:08.890 on line 203 of E:\UniAppProject\小小品审核\uni_modules\uview-ui\components\u-icon\u-icon.vue 05:30:08.896 >> $u-icon-primary: $u-primary !default; 05:30:08.898 -----------------^ 05:30:08.900 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js): 05:30:08.902 SassError: Undefined variable: "$u-primary". 05:30:08.904 on line 245 of E:\UniAppProject\小小品审核\uni_modules\uview-ui\components\u-toast\u-toast.vue 05:30:08.907 >> $u-toast-u-type-primary-color:$u-primary !default; 05:30:08.907 ------------------------------^
期望的结果是什么?
通过
实际的结果是什么?
报错