1.3 KiB
1.3 KiB
商福通商户通项目
版本要求:
发布微信小程序: HBuilderX 3.6.11(alpha版本) ( 3.6.10 修改 微信小程序中多级插槽不生效的问题 , ) 发布APP: HBuilderX 3.6.5 ( 3.6.11 app调试报错 ) H5, 不影响。
全局文件结构
- commons->style->global.scss 全局公共样式文件
- commons->style->uniStyle.css 覆写uniapp 组件样式文件
- commons->style->variable.css scss 变量
- env->env.development.js 配置请求地址
注意 此项目 多端兼容 注意微信小程序主包超出问题 只有分包使用的资源请放到分包下面
uni 组件注意事项
-
uni-drawer 组件使用的 px :style="{width:drawerWidth+'px'}" 单位 使用时 请将组件内 改为rpx
<view class="uni-drawer__content" :class="{'uni-drawer--right': rightMode,'uni-drawer--left': !rightMode, 'uni-drawer__content--visible': showDrawer}" :style="{width:drawerWidth+'rpx'}">由于是动态传参 所以无法样式复写 -
uni tabBar 配置项 请参考 [tabBar配置网址]https://uniapp.dcloud.net.cn/collocation/pages.html#tabbar
打包注意事项
- 准备资料:
- 包名
- 证书私钥密码
- 小程序AppID
- 高德Key