feat: 添加静态资源文件及基础组件
- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示 - 添加字体文件及样式配置,支持自定义字体 - 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件 - 添加网络状态监听、加密工具等基础工具函数 - 配置 Vuex 状态管理,包括购物车数量、热门搜索词等 - 增加页面组件,如用户协议、分销信息、提现状态等 - 配置项目构建和忽略文件,优化开发体验
This commit is contained in:
32
store/getters.js
Normal file
32
store/getters.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
export default {
|
||||
token: state => state.app.token,
|
||||
isLogin: state => !!state.app.token,
|
||||
backgroundColor: state => state.app.backgroundColor,
|
||||
userInfo: state => state.app.userInfo || {},
|
||||
uid: state => state.app.uid,
|
||||
homeActive: state => state.app.homeActive,
|
||||
divisionApplyPhoneVerify: state => state.app.division_apply_phone_verify,
|
||||
brokerageApplyPhoneVerify: state => state.app.brokerage_apply_phone_verify,
|
||||
channelApplyPhoneVerify: state => state.app.channel_apply_phone_verify,
|
||||
supplierApplyPhoneVerify: state => state.app.supplier_apply_phone_verify,
|
||||
home: state => state.app.home,
|
||||
cartNum: state => state.indexData.cartNum,
|
||||
diyProduct: state => state.app.diyProduct,
|
||||
diyCategory: state => state.app.diyCategory,
|
||||
productVideoStatus: state => state.app.productVideoStatus,
|
||||
brokerageFuncStatus: state => state.app.brokerageFuncStatus,
|
||||
tabBarData: state => state.app.tabBarData,
|
||||
storeBrokerageStatus: state => state.app.store_brokerage_status,
|
||||
storeBrokeragePrice: state => state.app.store_brokerage_price,
|
||||
activityModalData: state => state.app.activityModalList,
|
||||
};
|
||||
Reference in New Issue
Block a user