diff --git a/api/distribution.js b/api/distribution.js
new file mode 100644
index 0000000..9d2a946
--- /dev/null
+++ b/api/distribution.js
@@ -0,0 +1,215 @@
+/**
+ * 分销员相关 API
+ */
+
+import { http, Method } from '@/utils/request.js'
+
+/**
+ * 绑定分销员
+ * @param distributionId 分销员ID
+ */
+export function getGoodsDistribution(distributionId) {
+ return http.request({
+ url: `/distribution/distribution/bindingDistribution/${distributionId}`,
+ method: Method.GET,
+ })
+}
+
+/**
+ * 获取当前会员的分销员信息(含待提现、冻结金额等)
+ */
+export function distribution() {
+ return http.request({
+ url: `/distribution/distribution`,
+ method: Method.GET,
+ })
+}
+
+/** 推广海报上下文(邀请好友锁客) */
+export function getPromotionPoster() {
+ return http.request({
+ url: `/distribution/distribution/promotion-poster`,
+ method: Method.GET,
+ })
+}
+
+/** 邀请卡上下文(招募下级分销员) */
+export function getInviteCard() {
+ return http.request({
+ url: `/distribution/distribution/invite-card`,
+ method: Method.GET,
+ })
+}
+
+/** 我邀请的下级分销员列表 */
+export function getDistributionInvitees(params) {
+ return http.request({
+ url: `/distribution/distribution/invite/invitees`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 分销员业绩统计 */
+export function getDistributionPerformance(params) {
+ return http.request({
+ url: `/distribution/distribution/performance`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 我的客户列表 */
+export function getDistributionCustomers(params) {
+ return http.request({
+ url: `/distribution/distribution/customers`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 客户详情 */
+export function getDistributionCustomerDetail(id) {
+ return http.request({
+ url: `/distribution/distribution/customers/${id}`,
+ method: Method.GET,
+ })
+}
+
+/** 设置/取消客户星标 */
+export function updateDistributionCustomerStarred(id, starred) {
+ return http.request({
+ url: `/distribution/distribution/customers/${id}/starred`,
+ method: Method.PUT,
+ params: { starred },
+ })
+}
+
+/** 分销等级列表(买家端可见时) */
+export function getDistributionGrades() {
+ return http.request({
+ url: `/distribution/distribution/grades`,
+ method: Method.GET,
+ })
+}
+
+/** 分销员提现 */
+export function cash(params) {
+ return http.request({
+ url: `/distribution/cash`,
+ method: Method.POST,
+ params,
+ })
+}
+
+/** 分销员提现历史 */
+export function cashLog(params) {
+ return http.request({
+ url: `/distribution/cash`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 推广/邀请订单分页列表 */
+export function getDistributionOrders(params) {
+ return http.request({
+ url: `/distribution/order/orders`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 推广/邀请订单详情 */
+export function getDistributionOrderDetail(params) {
+ return http.request({
+ url: `/distribution/order/orders/detail`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 获取分销商品设置 */
+export function getDistributionGoodsSetting() {
+ return http.request({
+ url: `/distribution/goods/setting`,
+ method: Method.GET,
+ })
+}
+
+/** 获取分销员商品列表 */
+export function distributionGoods(params) {
+ return http.request({
+ url: `/distribution/goods`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 获取分销员中心推荐商品 */
+export function getDistributionFeaturedGoods() {
+ return http.request({
+ url: `/distribution/goods/featured`,
+ method: Method.GET,
+ })
+}
+
+/** 获取分销商品分享上下文(推广图文) */
+export function getDistributionGoodsShareContext(params) {
+ return http.request({
+ url: `/distribution/goods/share-context`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 获取分销商品海报上下文(生成葵花码,服务端记录分享) */
+export function getDistributionGoodsPosterContext(params) {
+ return http.request({
+ url: `/distribution/goods/poster-context`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 分享商品访问(记录访问并绑定客户关系) */
+export function recordDistributionGoodsVisit(params) {
+ return http.request({
+ url: `/distribution/distribution/share-visit`,
+ method: Method.GET,
+ params,
+ })
+}
+
+/** 招募页信息 */
+export function getRecruitPage() {
+ return http.request({
+ url: `/distribution/distribution/recruit/page`,
+ method: Method.GET,
+ })
+}
+
+/** 提交招募申请 */
+export function submitRecruitApplication(data) {
+ return http.request({
+ url: `/distribution/distribution/recruit/apply`,
+ method: Method.POST,
+ data,
+ })
+}
+
+/** 招募条件进度 */
+export function getRecruitProgress() {
+ return http.request({
+ url: `/distribution/distribution/recruit/progress`,
+ method: Method.GET,
+ })
+}
+
+/** 上级分销员信息 */
+export function getDistributionParent() {
+ return http.request({
+ url: `/distribution/distribution/parent`,
+ method: Method.GET,
+ })
+}
diff --git a/api/goods.js b/api/goods.js
index 06a2986..65bc8f1 100644
--- a/api/goods.js
+++ b/api/goods.js
@@ -37,18 +37,6 @@ export function getGoodsRelated(params) {
});
}
-/**
- * 获取商品分销
- * @param distributionId 商品分销ID
- */
- export function getGoodsDistribution(distributionId) {
- return http.request({
- url: `/distribution/distribution/bindingDistribution/${distributionId}`,
- method: Method.GET,
- });
-}
-
-
/**
* 获取商品列表
* @param params
@@ -118,85 +106,6 @@ export function getCategoryList(id) {
});
}
-
-
-
-/**
- * 获取当前会员的分销商信息 可根据分销商信息查询待提现金额以及冻结金额等信息
- */
-export function distribution() {
- return http.request({
- url: `/distribution/distribution`,
- method: Method.GET,
- });
-}
-
-/**
- * 申请分销商
- */
-export function applyDistribution(params) {
- return http.request({
- url: `/distribution/distribution`,
- method: Method.POST,
- params,
- });
-}
-
-/**
- * 分销商提现
- */
-export function cash(params) {
- return http.request({
- url: `/distribution/cash`,
- method: Method.POST,
- params,
- });
-}
-
-/**
- * 分销商提现历史
- */
-export function cashLog(params) {
- return http.request({
- url: `/distribution/cash`,
- method: Method.GET,
- params
-
- });
-}
-
-/**
- * 获取分销商分页订单列表
- */
-export function distributionOrderList(params) {
- return http.request({
- url: `/distribution/distribution/distributionOrder`,
- method: Method.GET,
- params
- });
-}
-
-/**
- * 获取分销商商品列表
- */
-export function distributionGoods(params) {
- return http.request({
- url: `/distribution/goods`,
- method: Method.GET,
- params,
- });
-}
-/**
- * 选择分销商品 分销商品id
- */
-export function checkedDistributionGoods(params) {
- return http.request({
- url: `/distribution/goods/checked/${params.id}`,
- method: Method.GET,
- params
- });
-}
-
/**
* 获取 小程序码
*/
diff --git a/components/distribution-goods-share/index.vue b/components/distribution-goods-share/index.vue
new file mode 100644
index 0000000..ee44849
--- /dev/null
+++ b/components/distribution-goods-share/index.vue
@@ -0,0 +1,459 @@
+
+
+
+
+ 推广图文
+
+
+
+ 生成海报
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+ {{ shareContext.defaultShareText }}
+
+
+ {{ shareBodyText }}
+
+
+
+
+
+
+
+
+
+
+ 保存图文
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/distribution-goods-share/poster-panel.vue b/components/distribution-goods-share/poster-panel.vue
new file mode 100644
index 0000000..47e93dd
--- /dev/null
+++ b/components/distribution-goods-share/poster-panel.vue
@@ -0,0 +1,539 @@
+
+
+ 点击海报预览后可保存到相册
+
+
+ 海报生成中...
+
+
+
+ {{ loadError }}
+ 重新生成
+
+
+
+ 暂无商品图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存海报
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/config/api.js b/config/api.js
index 7c5dd28..466c86e 100644
--- a/config/api.js
+++ b/config/api.js
@@ -3,13 +3,13 @@
*/
// 开发环境
const dev = {
- buyer: "https://buyer-api.pickmall.cn",
+ buyer: "http://127.0.0.1:8888",
im: "https://im-api.pickmall.cn",
mqtt: "wss://lilishop-mqtt-pull.dllll.xyz/mqtt",
};
// 生产环境
const prod = {
- buyer: "https://buyer-api.pickmall.cn",
+ buyer: "http://127.0.0.1:8888",
im: "https://im-api.pickmall.cn",
mqtt: "wss://lilishop-mqtt-pull.dllll.xyz/mqtt",
};
diff --git a/js_sdk/u-draw-poster/utils/global.js b/js_sdk/u-draw-poster/utils/global.js
index 872b77d..9914e52 100644
--- a/js_sdk/u-draw-poster/utils/global.js
+++ b/js_sdk/u-draw-poster/utils/global.js
@@ -1,5 +1,20 @@
var _a;
-export const PLATFORM = typeof process !== 'undefined' ? (_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.VUE_APP_PLATFORM : undefined;
+function detectPlatform() {
+ if (typeof process !== 'undefined' && (_a = process === null || process === void 0 ? void 0 : process.env) !== null && _a !== void 0 && _a.VUE_APP_PLATFORM) {
+ return process.env.VUE_APP_PLATFORM;
+ }
+ if (typeof wx !== 'undefined' && typeof wx.getSystemInfoSync === 'function') {
+ return 'mp-weixin';
+ }
+ if (typeof uni !== 'undefined' && typeof uni.getSystemInfoSync === 'function') {
+ const info = uni.getSystemInfoSync();
+ if (info && info.uniPlatform === 'mp-weixin') {
+ return 'mp-weixin';
+ }
+ }
+ return undefined;
+}
+export const PLATFORM = detectPlatform();
/** 全局对象 */
const _uni = (function () {
if (typeof uni != "undefined")
diff --git a/js_sdk/u-draw-poster/utils/utils.js b/js_sdk/u-draw-poster/utils/utils.js
index 8f38812..5aa9c65 100644
--- a/js_sdk/u-draw-poster/utils/utils.js
+++ b/js_sdk/u-draw-poster/utils/utils.js
@@ -37,7 +37,9 @@ export const handleBuildOpts = (options) => {
}
const oldSelector = defaultOpts.selector;
if (PLATFORM === 'mp-weixin' && defaultOpts.type2d) {
- defaultOpts.selector = '#' + defaultOpts.selector;
+ defaultOpts.selector = oldSelector.startsWith('#')
+ ? oldSelector
+ : '#' + oldSelector;
}
if (!PLATFORM) {
console.error('注意! draw-poster未开启uni条件编译! 当环境是微信小程序将不会动态切换为type2d模式');
diff --git a/manifest.json b/manifest.json
index f87ecaf..050da72 100644
--- a/manifest.json
+++ b/manifest.json
@@ -210,6 +210,7 @@
},
"plugins" : {},
"libVersion" : "3.5.8",
+ "__usePrivacyCheck__" : true,
"requiredPrivateInfos" : [ "chooseLocation", "getLocation" ]
},
"h5" : {
diff --git a/pages.json b/pages.json
index 618ac78..dcc8154 100644
--- a/pages.json
+++ b/pages.json
@@ -1,917 +1,1006 @@
-{
-
- "easycom": {
- "autoscan": true,
- "custom": {
- "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^u-loading$": "uview-plus/components/u-loading-icon/u-loading-icon.vue",
- "^u-alert-tips$": "uview-plus/components/u-alert/u-alert.vue",
- "^u-time-line-item$": "@/components/u-time-line/u-time-line-item.vue",
- "^u-time-line$": "@/components/u-time-line/u-time-line.vue",
- "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
- }
- },
- "pages": [
-
- {
- "path": "pages/tabbar/home/index",
- "style": {
- "navigationBarTitleText": "首页",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh":true
- }
- },
- {
- "path":"pages/tabbar/screen/fullScreen",
- "style": {
- "navigationStyle": "custom", // 隐藏系统导航栏
- "app-plus":{
- "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
- "background": "transparent", // 背景透明
- "backgroundColor": "rgba(0,0,0,0)", // 背景透明
- "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能
- }
- }
- },
- {
- "path": "pages/tabbar/home/title",
- "style": {
- "navigationBarTitleText": "消息"
- }
- },
- {
- "path": "pages/tabbar/cart/cartList",
- "style": {
- "navigationBarTitleText": "购物车",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarBackgroundColor": "#fff",
- "enablePullDownRefresh":true //实现下拉刷新样式
-
- }
- }, {
- "path": "pages/tabbar/category/category",
- "style": {
- "navigationBarTitleText": "分类",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTextStyle": "black",
- "disableScroll": true,
- "app-plus": {
- "bounce": "none",
- "scrollIndicator": "none"
- }
- }
- },
-
- {
- "path": "pages/navigation/search/searchPage",
- "style": {
- "navigationBarTitleText": "搜索",
- "navigationStyle": "custom",
-
- "app-plus": {
- //app页面不显示滚动条
- "scrollIndicator": "none",
- "bottom": "0",
- "contentAdjust": "false",
- "bounce": "none",
- "safearea": {
- "bottom": "none"
- }
- }
- }
- }, {
- "path": "pages/tabbar/user/my",
- "style": {
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": true,
- "navigationStyle": "custom"
- }
- },
-
- {
- "path": "pages/tabbar/home/web-view",
- "style": {
-
- }
- },
- {
- "path": "pages/tabbar/special/special",
- "style": {
- "navigationBarTitleText": "专题"
- }
- }
-
- ],
- "subPackages": [
-
- {
- "root": "pages/mine",
- "pages": [
-
- {
- "path": "signIn",
- "style": {
- "navigationBarTitleText": "签到"
- }
- }, {
- "path": "myTracks",
- "style": {
- "navigationBarTitleText": "我的足迹",
- "enablePullDownRefresh": true,
- "navigationStyle": "custom"
- }
- }, {
- "path": "myCollect",
- "style": {
- "navigationBarTitleText": "收藏",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom",
- "app-plus": {
- "scrollIndicator": "none"
- }
- }
- },
- {
- "path": "distribution/list",
- "style": {
- "navigationBarTitleText": "推广分佣",
- "app-plus": {
- //app页面不显示滚动条
- "scrollIndicator": "none"
- }
- }
- },
- {
- "path": "distribution/withdrawal",
- "style": {
- "navigationBarTitleText": "提现",
- "app-plus": {
- //app页面不显示滚动条
- "scrollIndicator": "none"
- }
- }
- },
- {
- "path": "distribution/join",
- "style": {
- "navigationBarTitleText": "推广资格申请",
- "navigationBarTextStyle": "black",
- "app-plus": {
- //app页面不显示滚动条
- "scrollIndicator": "none"
- }
- }
- },
- {
- "path": "distribution/history",
- "style": {
- "navigationBarTitleText": "提现历史"
-
- }
- },
- {
- "path": "distribution/auth",
- "style": {
- "navigationBarTitleText": "会员实名认证"
-
- }
- },
- {
- "path": "distribution/achievement",
- "style": {
- "navigationBarTitleText": "我的分销业绩"
-
- }
- },
- {
- "path": "distribution/home",
- "style": {
- "navigationBarTitleText": "推广分佣"
-
- }
- },
- {
- "path": "deposit/index",
- "style": {
- "navigationStyle": "custom"
-
- }
- },
- {
- "path": "deposit/operation",
- "style": {
- "navigationStyle": "custom"
-
- }
- },
- {
- "path": "deposit/recharge",
- "style": {
- "navigationBarTitleText": "充值金额"
-
- }
- },
- {
- "path": "deposit/withdrawal",
- "style": {
- "navigationBarTitleText": "提现金额"
-
- }
- },
- {
- "path": "deposit/withdrawApply",
- "style": {
- "navigationStyle": "custom"
- }
- },
-
- {
- "path": "deposit/info",
- "style": {
- "navigationBarTitleText": "预存款详情"
-
- }
- },
- {
- "path": "address/address",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "地址管理"
- }
- },
- {
- "path": "address/storeAddress",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "自提点"
- }
- },
- {
- "path": "address/add",
- "style": {
- "navigationBarTitleText": "收货人"
- }
- },
- {
- "path": "address/addressManage",
- "style": {
- "navigationBarTitleText": "地址管理"
- }
- },
- {
- "path": "set/versionFunctionList",
- "style": {
- "navigationBarTitleText": "功能介绍"
- }
- },
-
- {
- "path": "set/securityCenter/fingerLogin",
- "style": {
- "navigationBarTitleText": "指纹登录"
- }
- },
- {
- "path": "set/securityCenter/faceLogin",
- "style": {
- "navigationBarTitleText": "面容登录"
- }
- },
-
-
- {
- "path": "set/securityCenter/editPassword",
- "style": {
- "navigationBarTitleText": "修改密码",
- "app-plus": {
-
- }
- }
- },
-
- {
- "path": "set/securityCenter/bindMobile",
- "style": {
- "navigationBarTitleText": "绑定手机号",
- "app-plus": {
-
- }
- }
- },
-
- {
- "path": "im/list",
- "style": {
- "navigationStyle": "custom", // 隐藏系统导航栏
- "enablePullDownRefresh": true,
- "app-plus": {
- }
-
- }
- },
- {
- "path": "im/index",
- "style": {
- "navigationStyle": "custom", // 隐藏系统导航栏
- "enablePullDownRefresh": true,
- "app-plus": {
- }
-
- }
- },
- {
- "path": "set/feedBack",
- "style": {
- "navigationBarTitleText": "意见反馈"
- }
- },
- {
- "path": "set/securityCenter/updatePwdTab",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
- },
- {
- "path": "set/securityCenter/editLoginPassword",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
- },
- {
- "path": "set/securityCenter/securityCenter",
- "style": {
- "navigationBarTitleText": "安全中心"
- }
- },
-
- {
- "path": "set/editionIntro",
- "style": {
- "navigationBarTitleText": "关于我们"
- }
- },
- {
- "path": "set/setUp",
- "style": {
- "navigationBarTitleText": "设置"
- }
- },
- {
- "path": "set/personMsg",
- "style": {
- "navigationBarTitleText": "个人信息",
- "app-plus": {
- "titleNView": {
- "padding-right": "12",
- "buttons": [{
- "text": "保存",
- "fontSize": "16",
- "width": "auto",
- "color": "#FFFFFF"
- }]
- }
- }
- }
- }, {
- "path": "help/tips",
- "style": {
- "navigationBarTitleText": ""
- }
- }, {
- "path": "point/myPoint",
- "style": {
- "navigationBarTitleText": "我的积分"
- }
- },
- {
- "path": "msgTips/main",
- "style": {
- "navigationBarTitleText": "消息中心"
- }
- },
- {
- "path": "msgTips/sysMsg/index",
- "style": {
- "navigationBarTitleText": "系统消息"
- }
- },
- {
- "path": "msgTips/serviceMsg/index",
- "style": {
- "navigationBarTitleText": "客服记录"
- }
- },
- {
- "path": "msgTips/packageMsg/index",
- "style": {
- "navigationBarTitleText": "物流消息"
- }
- },
- {
- "path": "msgTips/packageMsg/logisticsDetail",
- "style": {
- "navigationBarTitleText": "订单跟踪"
- }
- }
-
- ]
-
- },
-
-
- {
- "root": "pages/product",
- "pages": [{
- "path": "shopPage",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom"
- }
- },{
- "path": "shopList",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom"
- }
- },{
- "path": "licencePhoto",
- "style": {
- "navigationBarTitleText": "营业执照"
- }
- },{
- "path": "shopPageGoods",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "goods",
- "style": {
- "backgroundColor": "#fff",
- "navigationStyle": "custom",
- "app-plus": {
- // 将回弹属性关掉
- "bounce": "none",
- // 禁止页面滚动
- "scrollIndicator": "none",
- "safearea": {
- "bottom": {
- "offset": "none"
- }
- }
- }
- }
- },
- {
- "path": "askList",
- "style": {
- "navigationBarTitleText": "问答专区"
- }
- },
- { //商品评价
- "path": "comment",
- "style": {
- "navigationBarTitleText": "商品评价",
- "navigationStyle": "custom",
- "app-plus": {
- //app页面不显示滚动条
- "scrollIndicator": "none"
- }
- }
- },
- { // 客服
- "path": "customerservice/index",
- "style": {
- "navigationBarTitleText": "客服",
- "usingComponents": {
- // #ifdef MP-WEIXIN
- "chat": "plugin://myPlugin/chat"
- // #endif
- }
- }
- }
-
- ]
-
- },
- {
- "root": "pages/floor",
- "pages": [{
- "path": "empty"
- }]
-
- },
- {
- "root": "pages/passport",
- "pages": [{
- "path": "login",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleNView": false,
- "animationType": "slide-in-bottom",
- "scrollIndicator": "none",
- "safearea": {
- "bottom": {
- "offset": "none"
- }
- }
- }
- }
- },
-
- {
- "path": "entry/seller/index",
- "style": {
- "navigationBarTitleText": "店铺入驻",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "entry/seller/control",
- "style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "article",
- "style": {
- "navigationBarTitleText": "文章"
- }
- },
- {
- "path": "wechatMPLogin",
- "style": {
- "navigationBarTitleText": "小程序登录",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "black"
- }
- },
- {
- "path": "scannerCodeLoginConfirm",
- "style": {
- "navigationBarTitleText": "扫码登录",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "black"
- }
- }
- ]
-
- },
-
- {
- "root": "pages/promotion",
- "pages": [ {
- "path": "seckill",
- "style": {
- "navigationBarTitleText": "限时抢购",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTextStyle": "black" ,
- "app-plus": {
- "titleNView": {
- "homeButton":true
- }
- }
- }
- },
-
- // #ifndef MP-WEIXIN
- {
- "path": "live/room",
- "style": {
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white",
- "disableScroll": true
- }
- },
- // #endif
- {
- "path": "joinGroup",
- "style": {
- "navigationBarTitleText": "拼团活动",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTextStyle": "black" ,
- "app-plus": {
- // 将回弹属性关掉
- "bounce": "none"
- }
- }
- },
- // #ifndef MP-WEIXIN
- {
- "path": "lives",
- "style": {
- "navigationStyle": "custom",
- "navigationBarTextStyle": "black"
- }
- },
- // #endif
- {
- "path": "bargain/list",
- "style": {
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
-
- }
- },{
- "path": "bargain/detail",
- "style": {
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
-
- }
- },{
- "path": "bargain/log",
- "style": {
- "navigationBarTitleText": "砍价记录"
- }
- },{
- "path": "point/detail",
- "style": {
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
-
- }
- },{
- "path": "point/pointList",
- "style": {
- "navigationBarTitleText": "积分商城"
-
-
- }
- }
-
- ]
-
- },
- {
- "root": "pages/cart",
- "pages": [{
- "path": "coupon/myCoupon",
- "style": {
- "navigationBarTitleText": "我的优惠券",
- "app-plus": {
- "bounce": "coupon/none"
-
- }
- }
- },
- {
- "path": "coupon/couponDetail",
- "style": {
- "navigationBarTitleText": "优惠券详情"
- }
- },
- {
- "path": "coupon/index",
- "style": {
- "navigationBarTitleText": "优惠券"
- }
- },
-
- {
- "path": "coupon/couponCenter",
- "style": {
- "navigationBarTitleText": "领券中心",
- "enablePullDownRefresh": true
-
- }
- },
- {
- "path": "payment/payOrder",
- "style": {
- "navigationBarTitleText": "支付订单",
- "app-plus": {
- "popGesture": "none" //禁止侧滑退出
-
- }
- }
- },
- {
- "path": "payment/success",
- "style": {
- "navigationBarTitleText": "支付成功",
- "navigationStyle": "custom", // 隐藏系统导航栏
- "navigationBarTextStyle": "white",
- "app-plus": {
- "popGesture": "none", //禁止侧滑退出
- "titleNView": false
- }
- }
- },
- {
- "path": "payment/error",
- "style": {
- "navigationBarTitleText": "支付失败",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "black",
- "app-plus": {
- "popGesture": "none"
- }
- }
- },
- {
- "path": "payment/shareOrderGoods",
- "style": {
- "navigationBarTitleText": "",
- "app-plus": {
-
- }
- }
- }
-
- ]
-
- },
- {
- "root": "pages/order",
- "pages": [{
- "path": "complain/complain",
- "style": {
- "navigationBarTitleText": "订单商品投诉"
- }
- },
- {
- "path": "complain/complainInfo",
- "style": {
- "navigationBarTitleText": "投诉详情"
- }
- },
- {
- "path": "complain/complainList",
- "style": {
- "navigationBarTitleText": "投诉列表"
- }
- },
- {
- "path": "myOrder",
- "style": {
- "navigationBarTitleText": "我的订单",
- "enablePullDownRefresh": true,
- "app-plus": {
- "bounce": "none"
-
- }
- }
- },
- {
- "path": "invoice/invoiceDetail",
- "style": {
- "navigationBarTitleText": "发票详情"
- }
- },
- {
- "path": "orderDetail",
- "style": {
- "navigationBarTitleText": "订单详情"
- }
- },
- {
- "path": "deliverDetail",
- "style": {
- "navigationBarTitleText": "物流详情"
- }
- },
- {
- "path": "evaluate/evaluateDetail",
- "style": {
- "navigationBarTitleText": "评价详情"
- }
- },
-
- {
- "path": "evaluate/releaseEvaluate",
- "style": {
- "navigationBarTitleText": "发布评价"
- }
- },
- {
- "path": "evaluate/myEvaluate",
- "style": {
- "navigationBarTitleText": "我的评价"
- }
- },
-
- {
- "path": "afterSales/applyProgress",
- "style": {
- "navigationBarTitleText": "售后服务"
- }
- },
- {
- "path": "afterSales/applyDetail",
- "style": {
- "navigationBarTitleText": "售后服务"
- }
- },
- {
- "path": "afterSales/applySuccess",
- "style": {
- "navigationBarTitleText": "提交成功",
- "app-plus": {
- "bounce": "none",
- "titleNView": {
- "titleColor": "#FFFFFF",
- "buttons": [{
- "text": "完成",
- "fontSize": "14",
- "color": "#FFFFFF",
- "width": "36px"
- // "background": "rgba(0,0,0,0)"
- }]
- }
- }
- }
- },
- {
- "path": "afterSales/afterSalesDetailExpress"
- },
- {
- "path": "afterSales/afterSalesSelect",
- "style": {
- "navigationBarTitleText": "申请售后"
- }
- },
- {
- "path": "afterSales/afterSalesDetail",
- "style": {
- "navigationBarTitleText": "申请售后"
- }
- },
- {
- "path": "afterSales/afterSales",
- "style": {
- "navigationBarTitleText": "售后管理",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "fillorder",
- "style": {
- "navigationBarTitleText": "填写订单"
- }
- }
- ]
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "Lili商城",
- "navigationBarBackgroundColor": "#fff",
- "backgroundColor": "#fff",
- "app-plus": {
- // 全局关闭回弹功能
- "bounce": "none"
-
- }
- },
- "tabBar": {
- "color": "#666",
- "selectedColor": "#ff3c2a",
- "borderStyle": "black",
- "backgroundColor": "#ffffff",
- "list": [{
- "pagePath": "pages/tabbar/home/index",
- "iconPath": "static/tabbar/home.png",
- "selectedIconPath": "static/tabbar/home-s.png",
- "text": "首页"
- },
- {
- "pagePath": "pages/tabbar/category/category",
- "iconPath": "static/tabbar/category.png",
- "selectedIconPath": "static/tabbar/category-s.png",
- "text": "分类"
- },
-
- {
- "pagePath": "pages/tabbar/cart/cartList",
- "iconPath": "static/tabbar/cart.png",
- "selectedIconPath": "static/tabbar/cart-s.png",
- "text": "购物车"
- },
- {
- "pagePath": "pages/tabbar/user/my",
- "iconPath": "static/tabbar/mine.png",
- "selectedIconPath": "static/tabbar/mine-s.png",
- "text": "我的"
- }
- ]
- },
- // #todo 为什么要注释condition下代码?
- // IOS plus.runtime.arguments 添加 condition节点后, 框架会修改 runtime.arguments
- // 会影响什么功能?
- // -在h5中唤醒app会一直返回默认值 {"name":"","path":"","query":"","id":0}
- "condition": { //模式配置,仅开发期间生效
- // "current": 0, //当前激活的模式(list 的索引项)
- // "list": [{
- // "name": "", //模式名称
- // "path":"", //启动页面,必选
- // "query": "" //启动参数,在页面的onLoad函数里面得到
- // }]
- }
-}
+{
+
+ "easycom": {
+ "autoscan": true,
+ "custom": {
+ "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^u-loading$": "uview-plus/components/u-loading-icon/u-loading-icon.vue",
+ "^u-alert-tips$": "uview-plus/components/u-alert/u-alert.vue",
+ "^u-time-line-item$": "@/components/u-time-line/u-time-line-item.vue",
+ "^u-time-line$": "@/components/u-time-line/u-time-line.vue",
+ "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
+ }
+ },
+ "pages": [
+
+ {
+ "path": "pages/tabbar/home/index",
+ "style": {
+ "navigationBarTitleText": "首页",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "black",
+ "enablePullDownRefresh":true
+ }
+ },
+ {
+ "path":"pages/tabbar/screen/fullScreen",
+ "style": {
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "app-plus":{
+ "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
+ "background": "transparent", // 背景透明
+ "backgroundColor": "rgba(0,0,0,0)", // 背景透明
+ "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能
+ }
+ }
+ },
+ {
+ "path": "pages/tabbar/home/title",
+ "style": {
+ "navigationBarTitleText": "消息"
+ }
+ },
+ {
+ "path": "pages/tabbar/cart/cartList",
+ "style": {
+ "navigationBarTitleText": "购物车",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarBackgroundColor": "#fff",
+ "enablePullDownRefresh":true //实现下拉刷新样式
+
+ }
+ }, {
+ "path": "pages/tabbar/category/category",
+ "style": {
+ "navigationBarTitleText": "分类",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "black",
+ "disableScroll": true,
+ "app-plus": {
+ "bounce": "none",
+ "scrollIndicator": "none"
+ }
+ }
+ },
+
+ {
+ "path": "pages/navigation/search/searchPage",
+ "style": {
+ "navigationBarTitleText": "搜索",
+ "navigationStyle": "custom",
+
+ "app-plus": {
+ //app页面不显示滚动条
+ "scrollIndicator": "none",
+ "bottom": "0",
+ "contentAdjust": "false",
+ "bounce": "none",
+ "safearea": {
+ "bottom": "none"
+ }
+ }
+ }
+ }, {
+ "path": "pages/tabbar/user/my",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": true,
+ "navigationStyle": "custom"
+ }
+ },
+
+ {
+ "path": "pages/tabbar/home/web-view",
+ "style": {
+
+ }
+ },
+ {
+ "path": "pages/tabbar/special/special",
+ "style": {
+ "navigationBarTitleText": "专题"
+ }
+ }
+
+ ],
+ "subPackages": [
+
+ {
+ "root": "pages/mine",
+ "pages": [
+
+ {
+ "path": "signIn",
+ "style": {
+ "navigationBarTitleText": "签到"
+ }
+ }, {
+ "path": "myTracks",
+ "style": {
+ "navigationBarTitleText": "我的足迹",
+ "enablePullDownRefresh": true,
+ "navigationStyle": "custom"
+ }
+ }, {
+ "path": "myCollect",
+ "style": {
+ "navigationBarTitleText": "收藏",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom",
+ "app-plus": {
+ "scrollIndicator": "none"
+ }
+ }
+ },
+ {
+ "path": "distribution/list",
+ "style": {
+ "navigationBarTitleText": "推广商品",
+ "app-plus": {
+ //app页面不显示滚动条
+ "scrollIndicator": "none"
+ }
+ }
+ },
+ {
+ "path": "distribution/withdrawal",
+ "style": {
+ "navigationBarTitleText": "提现",
+ "app-plus": {
+ //app页面不显示滚动条
+ "scrollIndicator": "none"
+ }
+ }
+ },
+ {
+ "path": "distribution/join",
+ "style": {
+ "navigationBarTitleText": "推广资格申请",
+ "navigationBarTextStyle": "black",
+ "app-plus": {
+ //app页面不显示滚动条
+ "scrollIndicator": "none"
+ }
+ }
+ },
+ {
+ "path": "distribution/history",
+ "style": {
+ "navigationBarTitleText": "提现历史"
+
+ }
+ },
+ {
+ "path": "distribution/auth",
+ "style": {
+ "navigationBarTitleText": "会员实名认证"
+
+ }
+ },
+ {
+ "path": "distribution/achievement",
+ "style": {
+ "navigationBarTitleText": "业绩统计",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f6f8"
+ }
+ },
+ {
+ "path": "distribution/grade",
+ "style": {
+ "navigationBarTitleText": "分销等级"
+ }
+ },
+ {
+ "path": "distribution/home",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "分销员中心"
+ }
+ },
+ {
+ "path": "distribution/invite-list",
+ "style": {
+ "navigationBarTitleText": "我的邀请",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f6f8"
+ }
+ },
+ {
+ "path": "distribution/customer-list",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "客户列表",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f6f8"
+ }
+ },
+ {
+ "path": "distribution/invite-friends",
+ "style": {
+ "navigationBarTitleText": "邀请卡",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#fff7f0"
+ }
+ },
+ {
+ "path": "distribution/invite",
+ "style": {
+ "navigationBarTitleText": "图文邀请卡",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f5f5"
+ }
+ },
+ {
+ "path": "distribution/order-list",
+ "style": {
+ "navigationBarTitleText": "推广订单",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f6f8"
+ }
+ },
+ {
+ "path": "distribution/order-detail",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "分销订单详情",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f6f8"
+ }
+ },
+ {
+ "path": "distribution/poster",
+ "style": {
+ "navigationBarTitleText": "平台海报",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#f5f5f5"
+ }
+ },
+ {
+ "path": "distribution/bind",
+ "style": {
+ "navigationBarTitleText": "加载中",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "distribution/share",
+ "style": {
+ "navigationBarTitleText": "分享给好友",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black",
+ "backgroundColor": "#ffffff"
+ }
+ },
+ {
+ "path": "deposit/index",
+ "style": {
+ "navigationStyle": "custom"
+
+ }
+ },
+ {
+ "path": "deposit/operation",
+ "style": {
+ "navigationStyle": "custom"
+
+ }
+ },
+ {
+ "path": "deposit/recharge",
+ "style": {
+ "navigationBarTitleText": "充值金额"
+
+ }
+ },
+ {
+ "path": "deposit/withdrawal",
+ "style": {
+ "navigationBarTitleText": "提现金额"
+
+ }
+ },
+ {
+ "path": "deposit/withdrawApply",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+
+ {
+ "path": "deposit/info",
+ "style": {
+ "navigationBarTitleText": "预存款详情"
+
+ }
+ },
+ {
+ "path": "address/address",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "地址管理"
+ }
+ },
+ {
+ "path": "address/storeAddress",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "自提点"
+ }
+ },
+ {
+ "path": "address/add",
+ "style": {
+ "navigationBarTitleText": "收货人"
+ }
+ },
+ {
+ "path": "address/addressManage",
+ "style": {
+ "navigationBarTitleText": "地址管理"
+ }
+ },
+ {
+ "path": "set/versionFunctionList",
+ "style": {
+ "navigationBarTitleText": "功能介绍"
+ }
+ },
+
+ {
+ "path": "set/securityCenter/fingerLogin",
+ "style": {
+ "navigationBarTitleText": "指纹登录"
+ }
+ },
+ {
+ "path": "set/securityCenter/faceLogin",
+ "style": {
+ "navigationBarTitleText": "面容登录"
+ }
+ },
+
+
+ {
+ "path": "set/securityCenter/editPassword",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "app-plus": {
+
+ }
+ }
+ },
+
+ {
+ "path": "set/securityCenter/bindMobile",
+ "style": {
+ "navigationBarTitleText": "绑定手机号",
+ "app-plus": {
+
+ }
+ }
+ },
+
+ {
+ "path": "im/list",
+ "style": {
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ }
+
+ }
+ },
+ {
+ "path": "im/index",
+ "style": {
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ }
+
+ }
+ },
+ {
+ "path": "set/feedBack",
+ "style": {
+ "navigationBarTitleText": "意见反馈"
+ }
+ },
+ {
+ "path": "set/securityCenter/updatePwdTab",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "set/securityCenter/editLoginPassword",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "set/securityCenter/securityCenter",
+ "style": {
+ "navigationBarTitleText": "安全中心"
+ }
+ },
+
+ {
+ "path": "set/editionIntro",
+ "style": {
+ "navigationBarTitleText": "关于我们"
+ }
+ },
+ {
+ "path": "set/setUp",
+ "style": {
+ "navigationBarTitleText": "设置"
+ }
+ },
+ {
+ "path": "set/personMsg",
+ "style": {
+ "navigationBarTitleText": "个人信息",
+ "app-plus": {
+ "titleNView": {
+ "padding-right": "12",
+ "buttons": [{
+ "text": "保存",
+ "fontSize": "16",
+ "width": "auto",
+ "color": "#FFFFFF"
+ }]
+ }
+ }
+ }
+ }, {
+ "path": "help/tips",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ }, {
+ "path": "point/myPoint",
+ "style": {
+ "navigationBarTitleText": "我的积分"
+ }
+ },
+ {
+ "path": "msgTips/main",
+ "style": {
+ "navigationBarTitleText": "消息中心"
+ }
+ },
+ {
+ "path": "msgTips/sysMsg/index",
+ "style": {
+ "navigationBarTitleText": "系统消息"
+ }
+ },
+ {
+ "path": "msgTips/serviceMsg/index",
+ "style": {
+ "navigationBarTitleText": "客服记录"
+ }
+ },
+ {
+ "path": "msgTips/packageMsg/index",
+ "style": {
+ "navigationBarTitleText": "物流消息"
+ }
+ },
+ {
+ "path": "msgTips/packageMsg/logisticsDetail",
+ "style": {
+ "navigationBarTitleText": "订单跟踪"
+ }
+ }
+
+ ]
+
+ },
+
+
+ {
+ "root": "pages/product",
+ "pages": [{
+ "path": "shopPage",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },{
+ "path": "shopList",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },{
+ "path": "licencePhoto",
+ "style": {
+ "navigationBarTitleText": "营业执照"
+ }
+ },{
+ "path": "shopPageGoods",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "goods",
+ "style": {
+ "backgroundColor": "#fff",
+ "navigationStyle": "custom",
+ "app-plus": {
+ // 将回弹属性关掉
+ "bounce": "none",
+ // 禁止页面滚动
+ "scrollIndicator": "none",
+ "safearea": {
+ "bottom": {
+ "offset": "none"
+ }
+ }
+ }
+ }
+ },
+ {
+ "path": "askList",
+ "style": {
+ "navigationBarTitleText": "问答专区"
+ }
+ },
+ { //商品评价
+ "path": "comment",
+ "style": {
+ "navigationBarTitleText": "商品评价",
+ "navigationStyle": "custom",
+ "app-plus": {
+ //app页面不显示滚动条
+ "scrollIndicator": "none"
+ }
+ }
+ },
+ { // 客服
+ "path": "customerservice/index",
+ "style": {
+ "navigationBarTitleText": "客服",
+ "usingComponents": {
+ // #ifdef MP-WEIXIN
+ "chat": "plugin://myPlugin/chat"
+ // #endif
+ }
+ }
+ }
+
+ ]
+
+ },
+ {
+ "root": "pages/floor",
+ "pages": [{
+ "path": "empty"
+ }]
+
+ },
+ {
+ "root": "pages/passport",
+ "pages": [{
+ "path": "login",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false,
+ "animationType": "slide-in-bottom",
+ "scrollIndicator": "none",
+ "safearea": {
+ "bottom": {
+ "offset": "none"
+ }
+ }
+ }
+ }
+ },
+
+ {
+ "path": "entry/seller/index",
+ "style": {
+ "navigationBarTitleText": "店铺入驻",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "entry/seller/control",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "article",
+ "style": {
+ "navigationBarTitleText": "文章"
+ }
+ },
+ {
+ "path": "wechatMPLogin",
+ "style": {
+ "navigationBarTitleText": "小程序登录",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "black"
+ }
+ },
+ {
+ "path": "scannerCodeLoginConfirm",
+ "style": {
+ "navigationBarTitleText": "扫码登录",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "black"
+ }
+ }
+ ]
+
+ },
+
+ {
+ "root": "pages/promotion",
+ "pages": [ {
+ "path": "seckill",
+ "style": {
+ "navigationBarTitleText": "限时抢购",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "black" ,
+ "app-plus": {
+ "titleNView": {
+ "homeButton":true
+ }
+ }
+ }
+ },
+
+ // #ifndef MP-WEIXIN
+ {
+ "path": "live/room",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white",
+ "disableScroll": true
+ }
+ },
+ // #endif
+ {
+ "path": "joinGroup",
+ "style": {
+ "navigationBarTitleText": "拼团活动",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "black" ,
+ "app-plus": {
+ // 将回弹属性关掉
+ "bounce": "none"
+ }
+ }
+ },
+ // #ifndef MP-WEIXIN
+ {
+ "path": "lives",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "black"
+ }
+ },
+ // #endif
+ {
+ "path": "bargain/list",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+
+ }
+ },{
+ "path": "bargain/detail",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+
+ }
+ },{
+ "path": "bargain/log",
+ "style": {
+ "navigationBarTitleText": "砍价记录"
+ }
+ },{
+ "path": "point/detail",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+
+ }
+ },{
+ "path": "point/pointList",
+ "style": {
+ "navigationBarTitleText": "积分商城"
+
+
+ }
+ }
+
+ ]
+
+ },
+ {
+ "root": "pages/cart",
+ "pages": [{
+ "path": "coupon/myCoupon",
+ "style": {
+ "navigationBarTitleText": "我的优惠券",
+ "app-plus": {
+ "bounce": "coupon/none"
+
+ }
+ }
+ },
+ {
+ "path": "coupon/couponDetail",
+ "style": {
+ "navigationBarTitleText": "优惠券详情"
+ }
+ },
+ {
+ "path": "coupon/index",
+ "style": {
+ "navigationBarTitleText": "优惠券"
+ }
+ },
+
+ {
+ "path": "coupon/couponCenter",
+ "style": {
+ "navigationBarTitleText": "领券中心",
+ "enablePullDownRefresh": true
+
+ }
+ },
+ {
+ "path": "payment/payOrder",
+ "style": {
+ "navigationBarTitleText": "支付订单",
+ "app-plus": {
+ "popGesture": "none" //禁止侧滑退出
+
+ }
+ }
+ },
+ {
+ "path": "payment/success",
+ "style": {
+ "navigationBarTitleText": "支付成功",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "popGesture": "none", //禁止侧滑退出
+ "titleNView": false
+ }
+ }
+ },
+ {
+ "path": "payment/error",
+ "style": {
+ "navigationBarTitleText": "支付失败",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "black",
+ "app-plus": {
+ "popGesture": "none"
+ }
+ }
+ },
+ {
+ "path": "payment/shareOrderGoods",
+ "style": {
+ "navigationBarTitleText": "",
+ "app-plus": {
+
+ }
+ }
+ }
+
+ ]
+
+ },
+ {
+ "root": "pages/order",
+ "pages": [{
+ "path": "complain/complain",
+ "style": {
+ "navigationBarTitleText": "订单商品投诉"
+ }
+ },
+ {
+ "path": "complain/complainInfo",
+ "style": {
+ "navigationBarTitleText": "投诉详情"
+ }
+ },
+ {
+ "path": "complain/complainList",
+ "style": {
+ "navigationBarTitleText": "投诉列表"
+ }
+ },
+ {
+ "path": "myOrder",
+ "style": {
+ "navigationBarTitleText": "我的订单",
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ "bounce": "none"
+
+ }
+ }
+ },
+ {
+ "path": "invoice/invoiceDetail",
+ "style": {
+ "navigationBarTitleText": "发票详情"
+ }
+ },
+ {
+ "path": "orderDetail",
+ "style": {
+ "navigationBarTitleText": "订单详情"
+ }
+ },
+ {
+ "path": "deliverDetail",
+ "style": {
+ "navigationBarTitleText": "物流详情"
+ }
+ },
+ {
+ "path": "evaluate/evaluateDetail",
+ "style": {
+ "navigationBarTitleText": "评价详情"
+ }
+ },
+
+ {
+ "path": "evaluate/releaseEvaluate",
+ "style": {
+ "navigationBarTitleText": "发布评价"
+ }
+ },
+ {
+ "path": "evaluate/myEvaluate",
+ "style": {
+ "navigationBarTitleText": "我的评价"
+ }
+ },
+
+ {
+ "path": "afterSales/applyProgress",
+ "style": {
+ "navigationBarTitleText": "售后服务"
+ }
+ },
+ {
+ "path": "afterSales/applyDetail",
+ "style": {
+ "navigationBarTitleText": "售后服务"
+ }
+ },
+ {
+ "path": "afterSales/applySuccess",
+ "style": {
+ "navigationBarTitleText": "提交成功",
+ "app-plus": {
+ "bounce": "none",
+ "titleNView": {
+ "titleColor": "#FFFFFF",
+ "buttons": [{
+ "text": "完成",
+ "fontSize": "14",
+ "color": "#FFFFFF",
+ "width": "36px"
+ // "background": "rgba(0,0,0,0)"
+ }]
+ }
+ }
+ }
+ },
+ {
+ "path": "afterSales/afterSalesDetailExpress"
+ },
+ {
+ "path": "afterSales/afterSalesSelect",
+ "style": {
+ "navigationBarTitleText": "申请售后"
+ }
+ },
+ {
+ "path": "afterSales/afterSalesDetail",
+ "style": {
+ "navigationBarTitleText": "申请售后"
+ }
+ },
+ {
+ "path": "afterSales/afterSales",
+ "style": {
+ "navigationBarTitleText": "售后管理",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "fillorder",
+ "style": {
+ "navigationBarTitleText": "填写订单"
+ }
+ }
+ ]
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "Lili商城",
+ "navigationBarBackgroundColor": "#fff",
+ "backgroundColor": "#fff",
+ "app-plus": {
+ // 全局关闭回弹功能
+ "bounce": "none"
+
+ }
+ },
+ "tabBar": {
+ "color": "#666",
+ "selectedColor": "#ff3c2a",
+ "borderStyle": "black",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/tabbar/home/index",
+ "iconPath": "static/tabbar/home.png",
+ "selectedIconPath": "static/tabbar/home-s.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/tabbar/category/category",
+ "iconPath": "static/tabbar/category.png",
+ "selectedIconPath": "static/tabbar/category-s.png",
+ "text": "分类"
+ },
+
+ {
+ "pagePath": "pages/tabbar/cart/cartList",
+ "iconPath": "static/tabbar/cart.png",
+ "selectedIconPath": "static/tabbar/cart-s.png",
+ "text": "购物车"
+ },
+ {
+ "pagePath": "pages/tabbar/user/my",
+ "iconPath": "static/tabbar/mine.png",
+ "selectedIconPath": "static/tabbar/mine-s.png",
+ "text": "我的"
+ }
+ ]
+ },
+ // #todo 为什么要注释condition下代码?
+ // IOS plus.runtime.arguments 添加 condition节点后, 框架会修改 runtime.arguments
+ // 会影响什么功能?
+ // -在h5中唤醒app会一直返回默认值 {"name":"","path":"","query":"","id":0}
+ "condition": { //模式配置,仅开发期间生效
+ // "current": 0, //当前激活的模式(list 的索引项)
+ // "list": [{
+ // "name": "", //模式名称
+ // "path":"", //启动页面,必选
+ // "query": "" //启动参数,在页面的onLoad函数里面得到
+ // }]
+ }
+}
diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue
index ba9f50e..326df8b 100644
--- a/pages/mine/address/add.vue
+++ b/pages/mine/address/add.vue
@@ -1,375 +1,386 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ form.___path || '请选择所在地区' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/mine/distribution/achievement.vue b/pages/mine/distribution/achievement.vue
index 1977201..9bf0664 100644
--- a/pages/mine/distribution/achievement.vue
+++ b/pages/mine/distribution/achievement.vue
@@ -1,10 +1,555 @@
-
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+ 自定义时间
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+ 累计收益
+
+
+
+
+
+ {{ formatMoney(stats.totalEarnings) }}
+ 元
+
+ 含待结算 {{ formatMoney(stats.pendingEarnings) }}元
+
+
+
+
+ 已结算收益
+ {{ formatMoney(stats.settledEarnings) }}元
+
+
+ 商品佣金
+ {{ formatMoney(stats.directCommission) }}元
+ 含待结算: {{ formatMoney(stats.directPending) }}元
+
+
+ 邀请奖励
+ {{ formatMoney(stats.inviteReward) }}元
+ 含待结算: {{ formatMoney(stats.invitePending) }}元
+
+
+
+
+
+ 累计销售额(元)
+ {{ formatMoney(stats.totalSales) }}
+
+
+ 累计订单(笔)
+ {{ stats.totalOrders || 0 }}
+
+
+ 累计客户(人)
+ {{ stats.totalCustomers || 0 }}
+
+
+ 累计邀请(人)
+ {{ stats.totalInvites || 0 }}
+
+
+
+ 查看业绩指标说明
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/mine/distribution/auth.vue b/pages/mine/distribution/auth.vue
index 954da91..eabd78e 100644
--- a/pages/mine/distribution/auth.vue
+++ b/pages/mine/distribution/auth.vue
@@ -1,99 +1,24 @@
-
- 实名认证(请上传真实的个人信息,认证通过后将无法修改)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
- 您提交的信息正在审核
- 提交认证申请后,工作人员将在三个工作日进行核对完成审核
+ 分销员申请已改为招募流程
+ 请前往招募页面提交申请
+
+ 前往招募页
+
@@ -102,8 +27,8 @@ function submitForm() {
padding: 32rpx;
}
.tips {
- margin-top: 20rpx;
- font-size: 24rpx;
- color: #999;
+ font-size: 28rpx;
+ color: #666;
+ line-height: 1.6;
}
diff --git a/pages/mine/distribution/bind.vue b/pages/mine/distribution/bind.vue
new file mode 100644
index 0000000..bcf48a0
--- /dev/null
+++ b/pages/mine/distribution/bind.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
diff --git a/pages/mine/distribution/customer-list.vue b/pages/mine/distribution/customer-list.vue
new file mode 100644
index 0000000..300b26f
--- /dev/null
+++ b/pages/mine/distribution/customer-list.vue
@@ -0,0 +1,833 @@
+
+
+
+
+
+
+
+ 客户详情
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+ 客户不存在
+
+
+
+
+
+
+
+ {{ detail.memberNickname || '客户' }}
+ ★
+
+
+ {{ detail.starred ? '取消星标' : '设为星标' }}
+
+
+
+
+
+ {{ detail.orderCount || 0 }}
+ 订单数量
+
+
+ {{ formatMoney(detail.tradeAmount) }}
+ 成交金额(元)
+
+
+ {{ formatMoney(detail.averageOrderAmount) }}
+ 客单价(元)
+
+
+ {{ formatTime(detail.lastTradeTime) }}
+ 最后成交时间
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+ 自定义时间
+
+
+
+
+
+
+
+ 共{{ customerTotal }}个客户
+
+
+
+ 加载中...
+
+
+
+ 暂无客户
+
+
+
+
+
+
+
+ {{ item.memberNickname || '客户' }}
+
+
+
+
+ 手机号:
+ {{ item.memberMobile || '-' }}
+
+
+ 状态:
+
+ {{ item.relationStatusText || '-' }}
+
+
+
+ 绑定时间:{{ formatTime(item.bindTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/mine/distribution/grade.vue b/pages/mine/distribution/grade.vue
new file mode 100644
index 0000000..d8c09a8
--- /dev/null
+++ b/pages/mine/distribution/grade.vue
@@ -0,0 +1,611 @@
+
+
+
+ 加载中...
+
+
+
+ 暂无等级信息
+
+
+
+
+
+
+
+
+ {{ currentGradeName }}
+
+
+
+
+
+
+
+ V{{ grade.sortOrder }}
+
+
+
+
+
+
+
+
+
+ 推
+
+ {{ formatRate(currentGrade.goodsCommissionRate) }}%
+ 商品佣金比
+
+
+
+
+ 邀
+
+ {{ formatRate(currentGrade.inviteCommissionRate) }}%
+ 邀请佣金比
+
+
+
+
+
+
+
+
+ 满足以下规则可升级为{{ nextGrade.gradeName }}
+
+
+
+
+ {{ item.achieved ? '已达标' : '未达标' }}
+
+
+ {{ item.label }}
+ {{ item.gapText }}
+
+
+
+ 暂无升级条件配置
+
+
+
+ 当前已是最高等级
+ 继续保持优秀业绩吧
+
+
+
+
+ 等级规则
+
+
+
+
+
+
+
+ {{ grade.gradeName }}
+
+ 规则介绍
+ {{ buildGradeRule(grade) }}
+
+
+ 权益介绍
+ {{ buildGradeBenefit(grade) }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/mine/distribution/history.vue b/pages/mine/distribution/history.vue
index 65c5b42..be76a08 100644
--- a/pages/mine/distribution/history.vue
+++ b/pages/mine/distribution/history.vue
@@ -32,11 +32,10 @@
{{ item.goodsName }}
- 提成金额:+{{ unitPrice(item.rebate) }}
+ 提成金额:+{{ unitPrice(item.commissionAmount) }}
创建时间:{{ item.createTime }}
- 店铺:{{ item.storeName }}