parent
c21e88f45e
commit
8c18027cf2
@ -0,0 +1,22 @@ |
||||
import request from '@/utils/request' |
||||
|
||||
// api地址
|
||||
const api = { |
||||
list: 'user/getFeedBack', |
||||
shopList: 'store/getStore', |
||||
add:'user/addFeedback' |
||||
} |
||||
|
||||
// 我的反馈列表
|
||||
export const list = (param, option) => { |
||||
return request.get(api.list, param, option) |
||||
} |
||||
|
||||
// 获取可用商户
|
||||
export const shopList = (param, option) => { |
||||
return request.get(api.shopList, param, option) |
||||
} |
||||
// 提交反馈
|
||||
export const add=(data)=> { |
||||
return request.post(api.add, data) |
||||
} |
@ -1,914 +0,0 @@ |
||||
{ |
||||
"tabBar": { |
||||
"color": "#000000", |
||||
"selectedColor": "#fa2209", |
||||
"borderStyle": "black", |
||||
"backgroundColor": "#ffffff", |
||||
"list": [{ |
||||
"pagePath": "pages/index/index", |
||||
"iconPath": "static/tabbar/home.png", |
||||
"selectedIconPath": "static/tabbar/home-active.png", |
||||
"text": "首页" |
||||
}, { |
||||
"pagePath": "pages/category/index", |
||||
"iconPath": "static/tabbar/cate.png", |
||||
"selectedIconPath": "static/tabbar/cate-active.png", |
||||
"text": "分类" |
||||
}, { |
||||
"pagePath": "pages/serve/index", |
||||
"iconPath": "static/tabbar/serve.png", |
||||
"selectedIconPath": "static/tabbar/serve-active.png", |
||||
"text": "服务" |
||||
}, { |
||||
"pagePath": "pages/cart/index", |
||||
"iconPath": "static/tabbar/cart.png", |
||||
"selectedIconPath": "static/tabbar/cart-active.png", |
||||
"text": "购物车" |
||||
}, { |
||||
"pagePath": "pages/user/index", |
||||
"iconPath": "static/tabbar/user.png", |
||||
"selectedIconPath": "static/tabbar/user-active.png", |
||||
"text": "我的" |
||||
}] |
||||
}, |
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
||||
|
||||
{ |
||||
"path": "pages/index/index", |
||||
"style": { |
||||
"enablePullDownRefresh": true, |
||||
"navigationStyle": "custom" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/serve/index", |
||||
"style": { |
||||
"enablePullDownRefresh": true, |
||||
"navigationBarTitleText": "服务" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/category/index", |
||||
"style": { |
||||
"navigationBarTitleText": "全部分类" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/cart/index", |
||||
"style": { |
||||
"navigationBarTitleText": "购物车" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/user/index", |
||||
"style": { |
||||
"navigationBarTitleText": "个人中心", |
||||
"enablePullDownRefresh": true, |
||||
"navigationStyle": "custom", |
||||
"mp-alipay": { |
||||
"defaultTitle": "", |
||||
"transparentTitle": "always" |
||||
} |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/member/index", |
||||
"style": { |
||||
// "navigationBarTitleText": "会员中心", |
||||
"navigationStyle": "custom" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/memberInfo/index", |
||||
"style": { |
||||
// "navigationBarTitleText": "会员购买记录", |
||||
"navigationStyle": "custom" |
||||
} |
||||
}, |
||||
|
||||
|
||||
{ |
||||
"path": "pages/invite/index", |
||||
"style": { |
||||
"navigationBarTitleText": "邀请有礼", |
||||
"navigationBarBackgroundColor": "#FF5554", |
||||
"navigationBarTextStyle": "white" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/custom/index", |
||||
"style": { |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/search/index", |
||||
"style": { |
||||
"navigationBarTitleText": "商品搜索" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/login/index", |
||||
"style": { |
||||
"navigationStyle": "custom", |
||||
"navigationBarTitleText": "会员登录" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/user/bind/index", |
||||
"style": { |
||||
"navigationBarTitleText": "绑定手机" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/user/personal/index", |
||||
"style": { |
||||
"navigationBarTitleText": "个人信息" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/article/index", |
||||
"style": { |
||||
"navigationBarTitleText": "资讯列表" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/article/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "资讯详情" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/help/index", |
||||
"style": { |
||||
"navigationBarTitleText": "帮助中心" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/coupon/index", |
||||
"style": { |
||||
"navigationBarTitleText": "领券中心" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/goods/list", |
||||
"style": { |
||||
"navigationBarTitleText": "商品列表", |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/goods/detail", |
||||
"style": { |
||||
"navigationStyle": "custom" |
||||
// "navigationBarTitleText": "商品详情页" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/comment/index", |
||||
"style": { |
||||
"navigationBarTitleText": "商品评价页" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/my-coupon/index", |
||||
"style": { |
||||
"navigationBarTitleText": "我的优惠券" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/address/index", |
||||
"style": { |
||||
"navigationBarTitleText": "收货地址" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/address/create", |
||||
"style": { |
||||
"navigationBarTitleText": "新增收货地址" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/address/update", |
||||
"style": { |
||||
"navigationBarTitleText": "编辑收货地址" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/points/log", |
||||
"style": { |
||||
"navigationBarTitleText": "账单明细" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/wallet/index", |
||||
"style": { |
||||
"navigationBarTitleText": "我的钱包" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/wallet/balance/log", |
||||
"style": { |
||||
"navigationBarTitleText": "账单详情" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/wallet/recharge/index", |
||||
"style": { |
||||
"navigationBarTitleText": "充值中心" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/wallet/recharge/order", |
||||
"style": { |
||||
"navigationBarTitleText": "充值记录" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/checkout/index", |
||||
"style": { |
||||
"navigationBarTitleText": "订单结算台" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/checkout/cashier/index", |
||||
"style": { |
||||
"navigationBarTitleText": "支付订单" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/sureOrder/index", |
||||
"style": { |
||||
"navigationBarTitleText": "确认订单", |
||||
"navigationStyle": "custom" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/center", |
||||
"style": { |
||||
"navigationBarTitleText": "订单中心", |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/index", |
||||
"style": { |
||||
"navigationBarTitleText": "我的订单", |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/detail", |
||||
"style": { |
||||
"navigationStyle": "custom" |
||||
// "navigationBarTitleText": "订单详情", |
||||
// "navigationBarTextStyle": "black", |
||||
// "navigationBarBackgroundColor": "#ffaaff" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/express/index", |
||||
"style": { |
||||
"navigationBarTitleText": "物流跟踪" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/extract/check", |
||||
"style": { |
||||
"navigationBarTitleText": "订单自提核销" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/order/comment/index", |
||||
"style": { |
||||
"navigationBarTitleText": "订单评价" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/refund/index", |
||||
"style": { |
||||
"navigationBarTitleText": "退换/售后" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/refund/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "售后详情" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/refund/apply", |
||||
"style": { |
||||
"navigationBarTitleText": "申请售后" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/shop/extract", |
||||
"style": { |
||||
"navigationBarTitleText": "选择自提门店" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/shop/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "门店详情" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/index", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/apply", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/withdraw/apply", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/withdraw/list", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/poster", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/order", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/dealer/team", |
||||
"style": { |
||||
"navigationBarTitleText": "" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/bargain/index", |
||||
"style": { |
||||
"navigationBarTitleText": "砍价会场" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/bargain/goods/index", |
||||
"style": { |
||||
"navigationBarTitleText": "砍价商品" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/bargain/task", |
||||
"style": { |
||||
"navigationBarTitleText": "砍价任务" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/sharp/index", |
||||
"style": { |
||||
"navigationBarTitleText": "整点秒杀会场", |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/sharp/goods/index", |
||||
"style": { |
||||
"navigationBarTitleText": "秒杀商品详情" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/groupon/index", |
||||
"style": { |
||||
"navigationBarTitleText": "拼团活动" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/groupon/goods/index", |
||||
"style": { |
||||
"navigationBarTitleText": "拼团商品" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/groupon/task/index", |
||||
"style": { |
||||
"navigationBarTitleText": "拼团详情", |
||||
// "navigationStyle": "custom" |
||||
"navigationBarBackgroundColor": "#FF5644", |
||||
"navigationBarTextStyle": "white" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "pages/live/index", |
||||
"style": { |
||||
"navigationBarTitleText": "直播列表", |
||||
"enablePullDownRefresh": true |
||||
} |
||||
}, { |
||||
"path": "pages/invoice/index", |
||||
"style": { |
||||
"navigationBarTitleText": "我的发票抬头", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/invoice/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "我的发票抬头", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/invoice/edit", |
||||
"style": { |
||||
"navigationBarTitleText": "申请发票", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/refund", |
||||
"style": { |
||||
"navigationBarTitleText": "申请退款", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/index", |
||||
"style": { |
||||
"navigationBarTitleText": "申请售后", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/freight", |
||||
"style": { |
||||
"navigationBarTitleText": "退货运费", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/refund1", |
||||
"style": { |
||||
"navigationBarTitleText": "申请退款", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/refundDetail", |
||||
"style": { |
||||
"navigationBarTitleText": "退货退款详情", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/order/refund/refundDetail1", |
||||
"style": { |
||||
"navigationBarTitleText": "退货退款详情", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/invite/list", |
||||
"style": { |
||||
"navigationBarTitleText": "邀请记录", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
}, { |
||||
"path": "pages/user/vip/goods", |
||||
"style": { |
||||
"navigationBarTitleText": "", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
|
||||
} |
||||
], |
||||
"subPackages": [{ |
||||
"root": "pages/news/", |
||||
"pages": [{ |
||||
"path": "consult/store", |
||||
"style": { |
||||
"navigationBarTitleText": "门店相册", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "consult/comment", |
||||
"style": { |
||||
"navigationBarTitleText": "评论", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "consult/about", |
||||
"style": { |
||||
"navigationBarTitleText": "联系我们", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "consult/index", |
||||
"style": { |
||||
"navigationBarTitleText": "咨询", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "park/index", |
||||
"style": { |
||||
"navigationBarTitleText": "停车指引", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "park/recordHistory", |
||||
"style": { |
||||
"navigationBarTitleText": "预约记录", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, { |
||||
"path": "park/addressList", |
||||
"style": { |
||||
"navigationBarTitleText": "地址", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, { |
||||
"path": "park/addressEdit", |
||||
"style": { |
||||
"navigationBarTitleText": "地址", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, { |
||||
"path": "park/personal", |
||||
"style": { |
||||
"navigationBarTitleText": "编辑信息", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "coupon/index", |
||||
"style": { |
||||
"navigationBarTitleText": "领券中心", |
||||
"navigationBarBackgroundColor": "#FB3A22", |
||||
"navigationBarTextStyle": "white", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "coupon/list", |
||||
"style": { |
||||
"navigationBarTitleText": "领券中心", |
||||
"navigationBarBackgroundColor": "#FB3A22", |
||||
"navigationBarTextStyle": "white", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/index", |
||||
"style": { |
||||
"navigationBarTitleText": "上门回收", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "上门回收", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/confirm", |
||||
"style": { |
||||
"navigationBarTitleText": "确认服务订单", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/timer", |
||||
"style": { |
||||
"navigationBarTitleText": "选择时间", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/order", |
||||
"style": { |
||||
"navigationBarTitleText": "订单详情", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"root": "pages/activity/", |
||||
"pages": [{ |
||||
"path": "presale", |
||||
"style": { |
||||
"navigationBarTitleText": "预售专区", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "presaleRule", |
||||
"style": { |
||||
"navigationBarTitleText": "预售规则", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "intimate", |
||||
"style": { |
||||
"navigationBarTitleText": "贴心服务", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "newsshop", |
||||
"style": { |
||||
"navigationBarTitleText": "新年换新", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "newPeople", |
||||
"style": { |
||||
"navigationBarTitleText": "新人首单礼", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
} |
||||
|
||||
] |
||||
}, |
||||
{ |
||||
"root": "pages/news1/", |
||||
"pages": [{ |
||||
"path": "logistics", |
||||
"style": { |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "物流问题" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "help", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "帮助与客服" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "jinqun", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "进社群享更多福利" |
||||
} |
||||
} |
||||
|
||||
] |
||||
} |
||||
|
||||
] |
||||
|
||||
}], |
||||
"subPackages": [{ |
||||
"root": "pages/news/", |
||||
"pages": [{ |
||||
"path": "coupon/index", |
||||
"style": { |
||||
"navigationBarTitleText": "领券中心", |
||||
"navigationBarBackgroundColor": "#FB3A22", |
||||
"navigationBarTextStyle": "white", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "coupon/list", |
||||
"style": { |
||||
"navigationBarTitleText": "领券中心", |
||||
"navigationBarBackgroundColor": "#FB3A22", |
||||
"navigationBarTextStyle": "white", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/index", |
||||
"style": { |
||||
"navigationBarTitleText": "上门回收", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/detail", |
||||
"style": { |
||||
"navigationBarTitleText": "上门回收", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/confirm", |
||||
"style": { |
||||
"navigationBarTitleText": "确认服务订单", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/timer", |
||||
"style": { |
||||
"navigationBarTitleText": "选择时间", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "recycling/order", |
||||
"style": { |
||||
"navigationBarTitleText": "订单详情", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"root": "pages/activity/", |
||||
"pages": [{ |
||||
"path": "presale", |
||||
"style": { |
||||
"navigationBarTitleText": "预售专区", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "presaleRule", |
||||
"style": { |
||||
"navigationBarTitleText": "预售规则", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "intimate", |
||||
"style": { |
||||
"navigationBarTitleText": "贴心服务", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "newsshop", |
||||
"style": { |
||||
"navigationBarTitleText": "新年换新", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "newPeople", |
||||
"style": { |
||||
"navigationBarTitleText": "新人首单礼", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "seckill", |
||||
"style": { |
||||
"navigationBarTitleText": "限时秒杀", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "ranking", |
||||
"style": { |
||||
"navigationBarTitleText": "排行", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
}, |
||||
{ |
||||
"path": "newGoods", |
||||
"style": { |
||||
"navigationBarTitleText": "新品首发", |
||||
"navigationStyle": "custom", |
||||
"enablePullDownRefresh": false |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"root": "pages/news1/", |
||||
"pages": [{ |
||||
"path": "logistics", |
||||
"style": { |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "物流问题" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "help", |
||||
"style": { |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "帮助与客服" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "jinqun", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "进社群享更多福利" |
||||
} |
||||
}, { |
||||
"path": "wallet", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "custom", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "我的钱包" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "huoyuan", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "custom", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "我要货源" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "feedback", |
||||
"style": { |
||||
// "enablePullDownRefresh": true, |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "我要反馈" |
||||
} |
||||
}, |
||||
{ |
||||
"path": "MerchantSettlement", |
||||
"style": { |
||||
"navigationStyle": "default", |
||||
"navigationBarTextStyle": "black", |
||||
"navigationBarTitleText": "商家入驻" |
||||
} |
||||
} |
||||
|
||||
] |
||||
} |
||||
|
||||
], |
||||
"globalStyle": { |
||||
// #ifdef H5 |
||||
// "navigationStyle": "custom", |
||||
"maxWidth": 750, |
||||
"rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 |
||||
"rpxCalcBaseDeviceWidth": 560, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 |
||||
"rpxCalcIncludeWidth": 9999, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 |
||||
// #endif |
||||
"navigationBarBackgroundColor": "#ffffff", |
||||
"navigationBarTitleText": "", |
||||
"navigationBarTextStyle": "black", |
||||
"backgroundTextStyle": "dark" |
||||
}, |
||||
"easycom": { |
||||
"autoscan": true, |
||||
"custom": {} |
||||
} |
||||
} |
@ -1,219 +1,247 @@ |
||||
<template> |
||||
<view class="help"> |
||||
<view class="helpContent"> |
||||
<view class="helpTitle">帮助中心</view> |
||||
<view class="helpItem" v-for="(item,index) in itemList" :key="index"> |
||||
<view class="helpMain"> |
||||
<u-icon name="arrow-left" class="zhishi" color="#dfdbdb" size="28"></u-icon> |
||||
<image :src="item.icon" class="titleIcon" mode="widthFix"></image> |
||||
<view class="mainText"> |
||||
<text>{{item.title}}</text> |
||||
<u-icon name="arrow-right" v-if="item.title!=''" color="#8B8B8B" size="22"></u-icon> |
||||
<view class="help"> |
||||
<view class="helpContent"> |
||||
<view class="helpTitle">帮助中心</view> |
||||
<view class="helpItem" v-for="(item,index) in itemList" :key="index"> |
||||
<view class="helpMain"> |
||||
<u-icon name="arrow-left" class="zhishi" color="#dfdbdb" size="28"></u-icon> |
||||
<image :src="item.icon" class="titleIcon" mode="widthFix"></image> |
||||
<view class="mainText"> |
||||
<text>{{item.name}}</text> |
||||
<u-icon name="arrow-right" v-if="item.name!=''" color="#8B8B8B" size="22"></u-icon> |
||||
</view> |
||||
</view> |
||||
<view class="mainItem"> |
||||
<view class="itemText" v-for="(p,i) in item.child" :key="i">{{p.title}}</view> |
||||
</view> |
||||
</view> |
||||
<view class="mainItem"> |
||||
<view class="itemText" v-for="(p,i) in item.children" :key="i">{{p}}</view> |
||||
<!-- <view class="itemText">如何申请换货</view> |
||||
<view class="itemText">退换货地址如何查看1111111</view> |
||||
<view class="itemText">退换货地址如何查看45643567543567</view> --> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
<view class="footer"> |
||||
<view class="btn"> |
||||
<image src="/static/news1/n7.png" mode="widthFix"></image> |
||||
<text>在线客服(9:00-22:00)</text> |
||||
<view class="footer"> |
||||
<view class="btn"> |
||||
<image src="/static/news1/n7.png" mode="widthFix"></image> |
||||
<text>在线客服(9:00-22:00)</text> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
import * as help from '@/api/help' |
||||
export default { |
||||
data() { |
||||
return { |
||||
itemList: [ |
||||
{ |
||||
title:'物流问题', |
||||
icon:'/static/news1/n1.png', |
||||
children:['发货失效','发货时间','催促物流','修改收货地址'] |
||||
itemList: [{ |
||||
title: '物流问题', |
||||
icon: '/static/news1/n1.png', |
||||
children: ['发货失效', '发货时间', '催促物流', '修改收货地址'] |
||||
}, |
||||
{ |
||||
title:'', |
||||
icon:'', |
||||
children:['延迟发货','物流状态不更新','商品验货与签收','配送快递'] |
||||
title: '', |
||||
icon: '', |
||||
children: ['延迟发货', '物流状态不更新', '商品验货与签收', '配送快递'] |
||||
}, |
||||
{ |
||||
title:'售后问题', |
||||
icon:'/static/news1/n2.png', |
||||
children:['如何申请退货','如何申请换货','退换货运费政策','退换货何时退款'] |
||||
title: '售后问题', |
||||
icon: '/static/news1/n2.png', |
||||
children: ['如何申请退货', '如何申请换货', '退换货运费政策', '退换货何时退款'] |
||||
}, |
||||
{ |
||||
title:'', |
||||
icon:'', |
||||
children:['退换货政策','极速售后服务','维修政策','退换货地址如何查看'] |
||||
title: '', |
||||
icon: '', |
||||
children: ['退换货政策', '极速售后服务', '维修政策', '退换货地址如何查看'] |
||||
}, |
||||
{ |
||||
title:'订单问题', |
||||
icon:'/static/news1/n3.png', |
||||
children:['修改订单','取消订单','价格保护','发票服务'] |
||||
title: '订单问题', |
||||
icon: '/static/news1/n3.png', |
||||
children: ['修改订单', '取消订单', '价格保护', '发票服务'] |
||||
}, |
||||
{ |
||||
title:'', |
||||
icon:'', |
||||
children:['商城理的商品1234567','商城实物与图片3456768','违规订单处理123456','话费充值说明'] |
||||
title: '', |
||||
icon: '', |
||||
children: ['商城理的商品1234567', '商城实物与图片3456768', '违规订单处理123456', '话费充值说明'] |
||||
}, |
||||
{ |
||||
title:'活动问题', |
||||
icon:'/static/news1/n4.png', |
||||
children:['余额','秒杀说明','预售说明','积分规则'] |
||||
title: '活动问题', |
||||
icon: '/static/news1/n4.png', |
||||
children: ['余额', '秒杀说明', '预售说明', '积分规则'] |
||||
}, |
||||
{ |
||||
title:'', |
||||
icon:'', |
||||
children:['红包说明','plus会员','分销员','团购说明'] |
||||
title: '', |
||||
icon: '', |
||||
children: ['红包说明', 'plus会员', '分销员', '团购说明'] |
||||
}, |
||||
{ |
||||
title:'风控规则', |
||||
icon:'/static/news1/n5.png', |
||||
children:['风控规则','','',''] |
||||
title: '风控规则', |
||||
icon: '/static/news1/n5.png', |
||||
children: ['风控规则', '', '', ''] |
||||
}, |
||||
{ |
||||
title:'服务政策', |
||||
icon:'/static/news1/n6.png', |
||||
children:['隐私政策','商务合作','会员协议','分销协议'] |
||||
title: '服务政策', |
||||
icon: '/static/news1/n6.png', |
||||
children: ['隐私政策', '商务合作', '会员协议', '分销协议'] |
||||
}, |
||||
{ |
||||
title:'', |
||||
icon:'', |
||||
children:['常见问题','','退换货细则','争议处理判定标准'] |
||||
title: '', |
||||
icon: '', |
||||
children: ['常见问题', '', '退换货细则', '争议处理判定标准'] |
||||
}, |
||||
], |
||||
|
||||
|
||||
} |
||||
}, |
||||
onShow() { |
||||
this.getHelpList() |
||||
}, |
||||
methods: { |
||||
getHelpList() { |
||||
const that = this |
||||
help.helpList() |
||||
.then(res => { |
||||
if (res.status == 200) { |
||||
that.itemList = res.data.list; |
||||
} |
||||
|
||||
}) |
||||
.finally(() => that.isLoading = false) |
||||
}, |
||||
} |
||||
} |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
page{ |
||||
min-height:100%; |
||||
padding-bottom: 120upx; |
||||
} |
||||
.help{ |
||||
|
||||
height: 100%; |
||||
|
||||
.helpContent{ |
||||
margin: 20upx; |
||||
background: #fff; |
||||
border-radius: 20upx; |
||||
overflow: hidden; |
||||
padding:20upx; |
||||
.helpTitle{ |
||||
font-size: 32upx; |
||||
color:#000000; |
||||
padding: 20upx 0; |
||||
// border-bottom: 3upx solid #dfdbdb; |
||||
} |
||||
.helpItem{ |
||||
display: flex; |
||||
color: #333333; |
||||
font-size: 28upx; |
||||
border-top:1px solid #dfdbdb; |
||||
|
||||
.helpMain{ |
||||
width: 180upx; |
||||
height:180upx; |
||||
border-right:1px solid #dfdbdb; |
||||
flex-shrink:0; |
||||
page { |
||||
min-height: 100%; |
||||
padding-bottom: 120upx; |
||||
} |
||||
|
||||
.help { |
||||
|
||||
height: 100%; |
||||
|
||||
.helpContent { |
||||
margin: 20upx; |
||||
background: #fff; |
||||
border-radius: 20upx; |
||||
overflow: hidden; |
||||
padding: 20upx; |
||||
|
||||
.helpTitle { |
||||
font-size: 32upx; |
||||
color: #000000; |
||||
padding: 20upx 0; |
||||
// border-bottom: 3upx solid #dfdbdb; |
||||
} |
||||
|
||||
.helpItem { |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-direction: column; |
||||
position: relative; |
||||
|
||||
.titleIcon{ |
||||
width: 50upx; |
||||
height:auto; |
||||
} |
||||
.mainText{ |
||||
margin-top:8upx; |
||||
text{ |
||||
color: #333333; |
||||
font-size: 28upx; |
||||
margin-left:5upx; |
||||
color: #333333; |
||||
font-size: 28upx; |
||||
border-top: 1px solid #dfdbdb; |
||||
|
||||
.helpMain { |
||||
width: 180upx; |
||||
height: 180upx; |
||||
border-right: 1px solid #dfdbdb; |
||||
flex-shrink: 0; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-direction: column; |
||||
position: relative; |
||||
|
||||
.titleIcon { |
||||
width: 50upx; |
||||
height: auto; |
||||
} |
||||
|
||||
.mainText { |
||||
margin-top: 8upx; |
||||
|
||||
text { |
||||
color: #333333; |
||||
font-size: 28upx; |
||||
margin-left: 5upx; |
||||
} |
||||
} |
||||
|
||||
.zhishi { |
||||
position: absolute; |
||||
right: -5px; |
||||
background: #fff; |
||||
top: 50%; |
||||
transform: translateY(-50%); |
||||
|
||||
} |
||||
} |
||||
.zhishi{ |
||||
position: absolute; |
||||
right: -5px; |
||||
background: #fff; |
||||
top: 50%; |
||||
transform: translateY(-50%); |
||||
|
||||
|
||||
.mainItem { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
align-items: center; |
||||
width: calc(100% - 90px); |
||||
|
||||
.itemText { |
||||
width: 50%; |
||||
white-space: nowrap; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
text-align: center; |
||||
// padding: 24upx 16upx; |
||||
height: 90upx; |
||||
line-height: 90upx; |
||||
padding: 0 10upx; |
||||
} |
||||
|
||||
:nth-child(2n) { |
||||
// border-bottom:1px solid #dfdbdb; |
||||
border-left: 1px solid #dfdbdb; |
||||
// border-right:1px solid #dfdbdb; |
||||
} |
||||
|
||||
:last-child { |
||||
border-top: 1px solid #dfdbdb; |
||||
// border-left:1px solid #dfdbdb; |
||||
} |
||||
|
||||
:nth-child(3) { |
||||
border-top: 1px solid #dfdbdb; |
||||
} |
||||
} |
||||
} |
||||
.mainItem{ |
||||
} |
||||
|
||||
.footer { |
||||
position: fixed; |
||||
z-index: 9; |
||||
bottom: 0; |
||||
width: 100%; |
||||
background-color: #fff; |
||||
|
||||
.btn { |
||||
height: 100upx; |
||||
margin: 10upx 30upx; |
||||
background: #FE6048; |
||||
border-radius: 28px 28px 28px 28px; |
||||
opacity: 1; |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
align-items: center; |
||||
width: calc(100% - 90px); |
||||
.itemText{ |
||||
width: 50%; |
||||
white-space: nowrap; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
text-align: center; |
||||
// padding: 24upx 16upx; |
||||
height: 90upx; |
||||
line-height: 90upx; |
||||
padding:0 10upx; |
||||
} |
||||
:nth-child(2n){ |
||||
// border-bottom:1px solid #dfdbdb; |
||||
border-left:1px solid #dfdbdb; |
||||
// border-right:1px solid #dfdbdb; |
||||
} |
||||
:last-child{ |
||||
border-top:1px solid #dfdbdb; |
||||
// border-left:1px solid #dfdbdb; |
||||
|
||||
justify-content: center; |
||||
|
||||
image { |
||||
width: 54upx; |
||||
height: auto; |
||||
} |
||||
:nth-child(3){ |
||||
border-top:1px solid #dfdbdb; |
||||
|
||||
text { |
||||
font-size: 28upx; |
||||
font-family: PingFang SC, PingFang SC; |
||||
font-weight: 600; |
||||
color: #FFFFFF; |
||||
margin-left: 100upx; |
||||
|
||||
} |
||||
} |
||||
} |
||||
} |
||||
.footer{ |
||||
position: fixed; |
||||
z-index:9; |
||||
bottom:0; |
||||
width: 100%; |
||||
background-color: #fff; |
||||
.btn{ |
||||
height: 100upx; |
||||
margin:10upx 30upx; |
||||
background: #FE6048; |
||||
border-radius: 28px 28px 28px 28px; |
||||
opacity: 1; |
||||
display: flex; |
||||
align-items: center; |
||||
|
||||
justify-content: center; |
||||
image{ |
||||
width:54upx; |
||||
height:auto; |
||||
} |
||||
text{ |
||||
font-size: 28upx; |
||||
font-family: PingFang SC, PingFang SC; |
||||
font-weight: 600; |
||||
color: #FFFFFF; |
||||
margin-left:100upx; |
||||
|
||||
} |
||||
} |
||||
} |
||||
} |
||||
</style> |
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 52 KiB |
Loading…
Reference in new issue