ankkiunit
v0.1.83
Published
## Project setup ``` npm install ```
Readme
ankkiunit
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildCustomize configuration
1 color值都使用 rgba, 因为date-picker 使用rgba好控制 2 图片路径中 不要包含 !@符号,因为用来判断是源服务器中路径还是node服务器中路径 3 fontWeight 使用 400 或者700 4 slot-modal组件 改名为 AOriginDialog 注意 ADialog setStyleVars函数 需要和 AOringinDialog setStyleVars函数 内容保持一致,因为css 用的变量是一的 适配工作 1 .add-modify-modal 去除padding 2 原来的规则组等位置,写了样式 3 footer 类名使用 Ankki-footer 替换
5 Vue.use(ElementUI); Vue.use(ankkiunit); 先注册ElementUI 再注册ankkiunit,因为 #message函数 6 APagination 需要store中的两个值 // true : 菜单栏展开 false:菜单栏收起 launchSidebar() { return this.$store.state.launchSidebar }, // true: 有版权信息 false: 无版权 信息 copyrightInfo() { return !!this.$store.state.productMode?.systemInfo?.copyrightInfo },
