优化:处理主包过大的问题;将秒杀相关内容移入rush包中,并且将主包的order内容移入rush包中。将部分仅某个分包使用的组件全部放入对应的分包中
|
|
@ -738,7 +738,7 @@ export default {
|
|||
* 支付弹窗关闭
|
||||
*/
|
||||
payClose(){
|
||||
this.$util.redirectTo('/pages/order/detail', {order_id: this.$refs.choosePaymentPopup.payInfo.order_id}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {order_id: this.$refs.choosePaymentPopup.payInfo.order_id}, 'redirectTo');
|
||||
},
|
||||
/**
|
||||
* 选择优惠券
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@ export default {
|
|||
cart_ids: cartIds.toString()
|
||||
},
|
||||
success: () => {
|
||||
this.$util.redirectTo('/pages/order/payment');
|
||||
this.$util.redirectTo('/pages_rush/order/payment');
|
||||
this.isSub = false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
<view class="price-item">采购价:<text class="purchase_price">¥{{ item.price }}</text></view>
|
||||
</view>
|
||||
<view class="buy-button">
|
||||
<view class="buy-btn" @click="$util.redirectTo('/pages_promotion/futures/details', { id: item.id }, 'redirectTo');">前去采购</view>
|
||||
<view class="buy-btn" @click="$util.redirectTo('/pages_rush/futures/details', { id: item.id }, 'redirectTo');">前去采购</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view class="common-wrap" :style="warpCss">
|
||||
<view class="order-wrap">
|
||||
<view class="status-wrap">
|
||||
<view class="item-wrap" @click="redirect('/pages/order/list?status=waitpay')">
|
||||
<view class="item-wrap" @click="redirect('/pages_rush/order/list?status=waitpay')">
|
||||
<view class="icon-block">
|
||||
<template v-if="value.style == 3">
|
||||
<image :src="$util.img('public/uniapp/member/order/wait_pay.png')" mode="widthFix"></image>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
</view>
|
||||
<view class="title">待付款</view>
|
||||
</view>
|
||||
<view class="item-wrap" @click="redirect('/pages/order/list?status=waitsend')">
|
||||
<view class="item-wrap" @click="redirect('/pages_rush/order/list?status=waitsend')">
|
||||
<view class="icon-block">
|
||||
<template v-if="value.style == 3">
|
||||
<image :src="$util.img('public/uniapp/member/order/wait_send.png')" mode="widthFix"></image>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
</view>
|
||||
<view class="title">待发货</view>
|
||||
</view>
|
||||
<view class="item-wrap" @click="redirect('/pages/order/list?status=waitconfirm')">
|
||||
<view class="item-wrap" @click="redirect('/pages_rush/order/list?status=waitconfirm')">
|
||||
<view class="icon-block">
|
||||
<template v-if="value.style == 3">
|
||||
<image :src="$util.img('public/uniapp/member/order/wait_confirm.png')" mode="widthFix"></image>
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
</view>
|
||||
<view class="title">待收货</view>
|
||||
</view>
|
||||
<view class="item-wrap" @click="redirect('/pages/order/list?status=wait_use')">
|
||||
<view class="item-wrap" @click="redirect('/pages_rush/order/list?status=wait_use')">
|
||||
<view class="icon-block">
|
||||
<template v-if="value.style == 3">
|
||||
<image :src="$util.img('public/uniapp/member/order/wait_use.png')" mode="widthFix"></image>
|
||||
|
|
|
|||
|
|
@ -414,7 +414,7 @@ export default {
|
|||
},
|
||||
showImg(e) {
|
||||
//拿到图片的路径里面的内容放在我们数组中
|
||||
let contentimg = e.target.dataset.nodes;
|
||||
let contentimg = e.target.dataset.nodes || e.currentTarget.dataset.nodes;
|
||||
let arrImg = [];
|
||||
for (var i = 0; i < contentimg.length; i++) {
|
||||
var img = contentimg[i].children;
|
||||
|
|
|
|||
|
|
@ -498,7 +498,7 @@ export default {
|
|||
},
|
||||
showImg(e) {
|
||||
//拿到图片的路径里面的内容放在我们数组中
|
||||
let contentimg = e.target.dataset.nodes;
|
||||
let contentimg = e.target.dataset.nodes || e.currentTarget.dataset.nodes;
|
||||
let arrImg = [];
|
||||
for (var i = 0; i < contentimg.length; i++) {
|
||||
var img = contentimg[i].children;
|
||||
|
|
|
|||
|
|
@ -1233,7 +1233,7 @@ export default {
|
|||
key: 'orderCreateData',
|
||||
data: data,
|
||||
success: () => {
|
||||
this.$util.redirectTo('/pages/order/payment');
|
||||
this.$util.redirectTo('/pages_rush/order/payment');
|
||||
this.btnSwitch = false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name" : "单商户V4",
|
||||
"name" : "山野乡涧",
|
||||
"appid" : "__UNI__E00B9A8",
|
||||
"description" : "",
|
||||
"versionName" : "5.1.2",
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx886b46d12e1a234d",
|
||||
"appid" : "wx833c180138b65656",
|
||||
"setting" : {
|
||||
"urlCheck" : false,
|
||||
"postcss" : false,
|
||||
|
|
|
|||
427
pages.json
|
|
@ -52,56 +52,6 @@
|
|||
"navigationStyle": "custom",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
//******************订单模块(12)******************
|
||||
{
|
||||
"path": "pages/order/payment",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/detail",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
// 本地配送订单详情
|
||||
{
|
||||
"path": "pages/order/detail_local_delivery",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
// 自提订单详情
|
||||
{
|
||||
"path": "pages/order/detail_pickup",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
//积分订单详情
|
||||
{
|
||||
"path": "pages/order/detail_point",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
|
|
@ -956,126 +906,6 @@
|
|||
// #endif
|
||||
"navigationBarTitleText": "分销商升级申请"
|
||||
}
|
||||
},
|
||||
//****************** 文章 ******************
|
||||
{
|
||||
"path": "article/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "article/record",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "article/detail",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
//****************** 交易市场 ******************
|
||||
{
|
||||
"path": "futures/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "交易市场"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/seckill",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "限时秒杀"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/details",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "商品详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/my_shop",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "我的小店"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/order",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "我的订单"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/order_details",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/payment",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "交易下单"
|
||||
}
|
||||
},
|
||||
//****************** 通知消息 ******************
|
||||
{
|
||||
"path": "message/index",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "消息中心"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "message/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "消息列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "message/words",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "留言反馈"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1692,87 +1522,198 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages_rush",
|
||||
"pages": [
|
||||
//****************** 文章 ******************
|
||||
{
|
||||
"path": "article/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "article/record",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "article/detail",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "文章"
|
||||
}
|
||||
},
|
||||
//****************** 交易市场 ******************
|
||||
{
|
||||
"path": "futures/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "交易市场"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/seckill",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "限时秒杀"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/details",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "商品详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/my_shop",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "我的小店"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/order",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "我的订单"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/order_details",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/payment",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "交易下单"
|
||||
}
|
||||
},
|
||||
//****************** 通知消息 ******************
|
||||
{
|
||||
"path": "message/index",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "消息中心"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "message/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "消息列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "message/words",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "留言反馈"
|
||||
}
|
||||
},
|
||||
//******************订单模块(12)******************
|
||||
{
|
||||
"path": "order/payment",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "order/list",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "order/detail",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "order/detail_local_delivery",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "order/detail_pickup",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "order/detail_point",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
// #ifdef MP-WEIXIN
|
||||
"usingComponents": {
|
||||
"van-tabs": "/wxcomponents/@vant/weapp/tabs/index",
|
||||
"van-tab": "/wxcomponents/@vant/weapp/tab/index",
|
||||
"van-button": "/wxcomponents/@vant/weapp/button/index",
|
||||
"van-cell": "/wxcomponents/@vant/weapp/cell/index",
|
||||
"van-loading": "/wxcomponents/@vant/weapp/loading/index",
|
||||
"van-popup": "/wxcomponents/@vant/weapp/popup/index",
|
||||
"van-share-sheet": "/wxcomponents/@vant/weapp/share-sheet/index"
|
||||
},
|
||||
// #endif
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#ffffff",
|
||||
"backgroundColor": "#F7f7f7",
|
||||
"backgroundColorTop": "#f7f7f7",
|
||||
"backgroundColorBottom": "#f7f7f7",
|
||||
"usingComponents": {
|
||||
// #ifdef MP-WEIXIN
|
||||
"van-tabs": "/wxcomponents/@vant/weapp/tabs/index",
|
||||
"van-tab": "/wxcomponents/@vant/weapp/tab/index",
|
||||
"van-action-sheet": "/wxcomponents/@vant/weapp/action-sheet/index",
|
||||
"van-area": "/wxcomponents/@vant/weapp/area/index",
|
||||
"van-button": "/wxcomponents/@vant/weapp/button/index",
|
||||
"van-calendar": "/wxcomponents/@vant/weapp/calendar/index",
|
||||
"van-card": "/wxcomponents/@vant/weapp/card/index",
|
||||
"van-cascader": "/wxcomponents/@vant/weapp/cascader/index",
|
||||
"van-cell": "/wxcomponents/@vant/weapp/cell/index",
|
||||
"van-cell-group": "/wxcomponents/@vant/weapp/cell-group/index",
|
||||
"van-checkbox": "/wxcomponents/@vant/weapp/checkbox/index",
|
||||
"van-checkbox-group": "/wxcomponents/@vant/weapp/checkbox-group/index",
|
||||
"van-circle": "/wxcomponents/@vant/weapp/circle/index",
|
||||
"van-col": "/wxcomponents/@vant/weapp/col/index",
|
||||
"van-collapse": "/wxcomponents/@vant/weapp/collapse/index",
|
||||
"van-collapse-item": "/wxcomponents/@vant/weapp/collapse-item/index",
|
||||
"van-config-provider": "/wxcomponents/@vant/weapp/config-provider/index",
|
||||
"van-count-down": "/wxcomponents/@vant/weapp/count-down/index",
|
||||
"van-datetime-picker": "/wxcomponents/@vant/weapp/datetime-picker/index",
|
||||
"van-dialog": "/wxcomponents/@vant/weapp/dialog/index",
|
||||
"van-divider": "/wxcomponents/@vant/weapp/divider/index",
|
||||
"van-dropdown-item": "/wxcomponents/@vant/weapp/dropdown-item/index",
|
||||
"van-dropdown-menu": "/wxcomponents/@vant/weapp/dropdown-menu/index",
|
||||
"van-empty": "/wxcomponents/@vant/weapp/empty/index",
|
||||
"van-field": "/wxcomponents/@vant/weapp/field/index",
|
||||
"van-goods-action": "/wxcomponents/@vant/weapp/goods-action/index",
|
||||
"van-goods-action-button": "/wxcomponents/@vant/weapp/goods-action-button/index",
|
||||
"van-goods-action-icon": "/wxcomponents/@vant/weapp/goods-action-icon/index",
|
||||
"van-grid": "/wxcomponents/@vant/weapp/grid/index",
|
||||
"van-grid-item": "/wxcomponents/@vant/weapp/grid-item/index",
|
||||
"van-icon": "/wxcomponents/@vant/weapp/icon/index",
|
||||
"van-image": "/wxcomponents/@vant/weapp/image/index",
|
||||
"van-index-anchor": "/wxcomponents/@vant/weapp/index-anchor/index",
|
||||
"van-index-bar": "/wxcomponents/@vant/weapp/index-bar/index",
|
||||
"van-info": "/wxcomponents/@vant/weapp/info/index",
|
||||
"van-loading": "/wxcomponents/@vant/weapp/loading/index",
|
||||
"van-nav-bar": "/wxcomponents/@vant/weapp/nav-bar/index",
|
||||
"van-notice-bar": "/wxcomponents/@vant/weapp/notice-bar/index",
|
||||
"van-notify": "/wxcomponents/@vant/weapp/notify/index",
|
||||
"van-overlay": "/wxcomponents/@vant/weapp/overlay/index",
|
||||
"van-panel": "/wxcomponents/@vant/weapp/panel/index",
|
||||
"van-picker": "/wxcomponents/@vant/weapp/picker/index",
|
||||
"van-picker-column": "/wxcomponents/@vant/weapp/picker-column/index",
|
||||
"van-popup": "/wxcomponents/@vant/weapp/popup/index",
|
||||
"van-progress": "/wxcomponents/@vant/weapp/progress/index",
|
||||
"van-radio": "/wxcomponents/@vant/weapp/radio/index",
|
||||
"van-radio-group": "/wxcomponents/@vant/weapp/radio-group/index",
|
||||
"van-rate": "/wxcomponents/@vant/weapp/rate/index",
|
||||
"van-row": "/wxcomponents/@vant/weapp/row/index",
|
||||
"van-search": "/wxcomponents/@vant/weapp/search/index",
|
||||
"van-share-sheet": "/wxcomponents/@vant/weapp/share-sheet/index",
|
||||
"van-sidebar": "/wxcomponents/@vant/weapp/sidebar/index",
|
||||
"van-sidebar-item": "/wxcomponents/@vant/weapp/sidebar-item/index",
|
||||
"van-skeleton": "/wxcomponents/@vant/weapp/skeleton/index",
|
||||
"van-slider": "/wxcomponents/@vant/weapp/slider/index",
|
||||
"van-stepper": "/wxcomponents/@vant/weapp/stepper/index",
|
||||
"van-steps": "/wxcomponents/@vant/weapp/steps/index",
|
||||
"van-sticky": "/wxcomponents/@vant/weapp/sticky/index",
|
||||
"van-submit-bar": "/wxcomponents/@vant/weapp/submit-bar/index",
|
||||
"van-swipe-cell": "/wxcomponents/@vant/weapp/swipe-cell/index",
|
||||
"van-switch": "/wxcomponents/@vant/weapp/switch/index",
|
||||
"van-tabbar": "/wxcomponents/@vant/weapp/tabbar/index",
|
||||
"van-tabbar-item": "/wxcomponents/@vant/weapp/tabbar-item/index",
|
||||
"van-tag": "/wxcomponents/@vant/weapp/tag/index",
|
||||
"van-toast": "/wxcomponents/@vant/weapp/toast/index",
|
||||
"van-transition": "/wxcomponents/@vant/weapp/transition/index",
|
||||
"van-tree-select": "/wxcomponents/@vant/weapp/tree-select/index",
|
||||
"van-uploader": "/wxcomponents/@vant/weapp/uploader/index"
|
||||
// #endif
|
||||
}
|
||||
"backgroundColorBottom": "#f7f7f7"
|
||||
},
|
||||
"tabBar": {
|
||||
// #ifdef H5
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ export default {
|
|||
cart_ids: cart_ids.toString()
|
||||
},
|
||||
success: () => {
|
||||
this.$util.redirectTo('/pages/order/payment');
|
||||
this.$util.redirectTo('/pages_rush/order/payment');
|
||||
this.isSub = false;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -174,13 +174,13 @@
|
|||
</block>
|
||||
<block v-if="launchInfo.status == 1">
|
||||
<button class="btn" @click="buyNow" v-if="launchInfo.order_id == 0">立即支付</button>
|
||||
<button class="btn" v-if="launchInfo.order_id > 0" @click="$util.redirectTo('/pages/order/detail', { order_id: launchInfo.order_id })">
|
||||
<button class="btn" v-if="launchInfo.order_id > 0" @click="$util.redirectTo('/pages_rush/order/detail', { order_id: launchInfo.order_id })">
|
||||
查看订单
|
||||
</button>
|
||||
<button class="btn-vice" @click="$util.redirectTo('/pages/index/index')">低价拿更多商品</button>
|
||||
</block>
|
||||
<block v-if="launchInfo.status == 2">
|
||||
<button class="btn" v-if="launchInfo.order_id > 0" @click="$util.redirectTo('/pages/order/detail', { order_id: launchInfo.order_id })">
|
||||
<button class="btn" v-if="launchInfo.order_id > 0" @click="$util.redirectTo('/pages_rush/order/detail', { order_id: launchInfo.order_id })">
|
||||
查看订单
|
||||
</button>
|
||||
<button class="btn" @click="$util.redirectTo('/pages/index/index')">低价拿更多商品</button>
|
||||
|
|
@ -197,7 +197,7 @@
|
|||
</block>
|
||||
<block v-else>
|
||||
<view class="flex-box success">
|
||||
<button class="btn" v-if="launchInfo.self && launchInfo.order_id > 0" @click="$util.redirectTo('/pages/order/detail', { order_id: launchInfo.order_id })">
|
||||
<button class="btn" v-if="launchInfo.self && launchInfo.order_id > 0" @click="$util.redirectTo('/pages_rush/order/detail', { order_id: launchInfo.order_id })">
|
||||
查看订单
|
||||
</button>
|
||||
<button class="btn-vice disabled">活动已结束</button>
|
||||
|
|
@ -445,7 +445,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import LTime from '@/components/l-time/l-time.vue';
|
||||
import LTime from '@/pages_promotion/components/l-time/l-time.vue';
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import goodsSku from '@/components/ns-goods-sku/ns-goods-sku.vue';
|
||||
import nsLogin from '@/components/ns-login/ns-login.vue';
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
nsAdv
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ export default {
|
|||
});
|
||||
},
|
||||
look(e) {
|
||||
this.$util.redirectTo('/pages/order/list', { order_id: e.order_id });
|
||||
this.$util.redirectTo('/pages_rush/order/list', { order_id: e.order_id });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ export default {
|
|||
success: res => {
|
||||
uni.hideLoading();
|
||||
if (res.code == 0) {
|
||||
this.$util.redirectTo('/pages/order/list', {}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/list', {}, 'redirectTo');
|
||||
} else {
|
||||
if(res.data == ""){
|
||||
this.$util.showToast({
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ export default {
|
|||
},
|
||||
toOrderDetail(item) {
|
||||
if(item.type == "order"){
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: item.order_id
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import yuyueDate from '@/components/yuyue-date/yuyue-date.vue';
|
||||
import yuyueDate from '@/pages_promotion/components/yuyue-date/yuyue-date.vue';
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import yuyueDate from '@/components/yuyue-date/yuyue-date.vue';
|
||||
import yuyueDate from '@/pages_promotion/components/yuyue-date/yuyue-date.vue';
|
||||
export default {
|
||||
components: {
|
||||
yuyueDate
|
||||
|
|
|
|||
|
|
@ -402,5 +402,5 @@ export default {
|
|||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './yuyue-date.scss';
|
||||
@import 'yuyue-date';
|
||||
</style>
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import LTime from '@/components/l-time/l-time.vue';
|
||||
import LTime from '@/pages_promotion/components/l-time/l-time.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import LTime from '@/components/l-time/l-time.vue';
|
||||
import LTime from '@/pages_promotion/components/l-time/l-time.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import LTime from '@/components/l-time/l-time.vue';
|
||||
import LTime from '@/pages_promotion/components/l-time/l-time.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ export default {
|
|||
success: res => {
|
||||
if (res.confirm) {
|
||||
if(this.cardInfo.card_right_type == 'goods'){
|
||||
this.$util.redirectTo('/pages/order/detail',{'order_id':this.cardInfo.use_order_id});
|
||||
this.$util.redirectTo('/pages_rush/order/detail',{'order_id':this.cardInfo.use_order_id});
|
||||
return false;
|
||||
}
|
||||
if(this.cardInfo.card_right_type == 'balance'){
|
||||
|
|
|
|||
|
|
@ -649,18 +649,18 @@ export default {
|
|||
success: res => {
|
||||
if (res.code >= 0 && res.data && res.data.order_id > 0) {
|
||||
this.$util.redirectTo(
|
||||
'/pages/order/detail',
|
||||
'/pages_rush/order/detail',
|
||||
{
|
||||
order_id: res.data.order_id
|
||||
},
|
||||
'redirectTo'
|
||||
);
|
||||
} else {
|
||||
this.$util.redirectTo('/pages/order/list', {}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/list', {}, 'redirectTo');
|
||||
}
|
||||
},
|
||||
fail: res => {
|
||||
this.$util.redirectTo('/pages/order/list', {}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/list', {}, 'redirectTo');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
@ -1075,7 +1075,7 @@ export default {
|
|||
* 支付弹窗关闭
|
||||
*/
|
||||
payClose() {
|
||||
this.$util.redirectTo('/pages/order/detail', { order_id: this.$refs.choosePaymentPopup.payInfo.order_id }, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/detail', { order_id: this.$refs.choosePaymentPopup.payInfo.order_id }, 'redirectTo');
|
||||
},
|
||||
/**
|
||||
* 选择优惠券
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
// 获取系统状态栏的高度
|
||||
let systemInfo = uni.getSystemInfoSync();
|
||||
let menuButtonInfo = {};
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
nsAdv
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<script>
|
||||
import uniTag from '@/components/uni-tag/uni-tag.vue';
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
uniTag,
|
||||
|
|
|
|||
|
|
@ -203,11 +203,11 @@
|
|||
if(delivery_type==''){
|
||||
this.$util.redirectTo('/pages_tool/order/detail_virtual', { order_id: id });
|
||||
}else if(delivery_type=='store'){
|
||||
this.$util.redirectTo('/pages/order/detail_pickup', {order_id: id});
|
||||
this.$util.redirectTo('/pages_rush/order/detail_pickup', {order_id: id});
|
||||
}else if(delivery_type=='local'){
|
||||
this.$util.redirectTo('/pages/order/detail_local_delivery', {order_id: id});
|
||||
this.$util.redirectTo('/pages_rush/order/detail_local_delivery', {order_id: id});
|
||||
}else if(delivery_type=='express'){
|
||||
this.$util.redirectTo('/pages/order/detail', {order_id: id});
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {order_id: id});
|
||||
}
|
||||
},
|
||||
//切换分类
|
||||
|
|
|
|||
|
|
@ -243,13 +243,13 @@ export default {
|
|||
switch (parseInt(data.order_type)) {
|
||||
case 2:
|
||||
// 自提订单
|
||||
this.$util.redirectTo('/pages/order/detail_pickup', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_pickup', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
case 3:
|
||||
// 本地配送订单
|
||||
this.$util.redirectTo('/pages/order/detail_local_delivery', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_local_delivery', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
@ -260,7 +260,7 @@ export default {
|
|||
});
|
||||
break;
|
||||
default:
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
nsAdv
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
});
|
||||
},
|
||||
toOrderDetail(id) {
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: id
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ export default {
|
|||
content: '您有一个拼团订单待付款,是否现在跳转支付?',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
that.$util.redirectTo('/pages/order/detail', {'order_id':that.groupDetail.order_id});
|
||||
that.$util.redirectTo('/pages_rush/order/detail', {'order_id':that.groupDetail.order_id});
|
||||
} else if (res.cancel) {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -353,13 +353,13 @@ export default {
|
|||
switch (parseInt(data.order_type)) {
|
||||
case 2:
|
||||
// 自提订单
|
||||
this.$util.redirectTo('/pages/order/detail_pickup', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_pickup', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
case 3:
|
||||
// 本地配送订单
|
||||
this.$util.redirectTo('/pages/order/detail_local_delivery', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_local_delivery', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
@ -370,7 +370,7 @@ export default {
|
|||
});
|
||||
break;
|
||||
default:
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -214,17 +214,17 @@
|
|||
if (item.type == 1 && item.relate_order_id) {
|
||||
switch (item.delivery_type) {
|
||||
case 'store':
|
||||
this.$util.redirectTo('/pages/order/detail_pickup', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_pickup', {
|
||||
order_id: item.relate_order_id
|
||||
});
|
||||
break;
|
||||
case 'local':
|
||||
this.$util.redirectTo('/pages/order/detail_local_delivery', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_local_delivery', {
|
||||
order_id: item.relate_order_id
|
||||
});
|
||||
break;
|
||||
case 'express':
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: item.relate_order_id
|
||||
});
|
||||
break;
|
||||
|
|
@ -234,7 +234,7 @@
|
|||
});
|
||||
}
|
||||
} else {
|
||||
this.$util.redirectTo('/pages/order/detail_point', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_point', {
|
||||
order_id: item.order_id
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ export default {
|
|||
if (uni.getStorageSync('token')) {
|
||||
this.getOrderData();
|
||||
} else {
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages/order/detail?order_id=' + this.orderId });
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages_rush/order/detail?order_id=' + this.orderId });
|
||||
}
|
||||
this.getMmemberBalance();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_promotion/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
nsAdv
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<!--顶部内容-->
|
||||
<view class="top">
|
||||
<view class="title">推荐阅读</view>
|
||||
<view class="more-info" @click="$util.redirectTo('/pages_promotion/article/list')">
|
||||
<view class="more-info" @click="$util.redirectTo('/pages_rush/article/list')">
|
||||
查看更多<van-icon class="arrow" name="arrow" />
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
|
||||
<script>
|
||||
import htmlParser from '@/common/js/html-parser';
|
||||
import share from '@/components/share-panel/share-panel';
|
||||
import share from '@/pages_rush/components/share-panel/share-panel';
|
||||
|
||||
export default {
|
||||
components:{
|
||||
|
|
@ -148,7 +148,7 @@ export default {
|
|||
title: res.message
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_promotion/article/list', {}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/article/list', {}, 'redirectTo');
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ export default {
|
|||
},
|
||||
// 点击跳转 —— 文章详情
|
||||
goToDetail(id) {
|
||||
this.$util.redirectTo('/pages_promotion/article/detail', { article_id: id });
|
||||
this.$util.redirectTo('/pages_rush/article/detail', { article_id: id });
|
||||
},
|
||||
// 获取分享奖励
|
||||
shareReward(options){
|
||||
|
|
@ -237,7 +237,7 @@ export default {
|
|||
},
|
||||
onShareAppMessage(res) {
|
||||
var title = this.detail.article_title;
|
||||
var path = '/pages_promotion/article/detail?article_id=' + this.articleId;
|
||||
var path = '/pages_rush/article/detail?article_id=' + this.articleId;
|
||||
return {
|
||||
title: title,
|
||||
path: path,
|
||||
|
|
@ -118,7 +118,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
components: { },
|
||||
data() {
|
||||
|
|
@ -311,7 +310,7 @@ export default {
|
|||
},
|
||||
// 点击跳转 —— 文章详情
|
||||
goToDetail(id) {
|
||||
this.$util.redirectTo('/pages_promotion/article/detail', { article_id: id });
|
||||
this.$util.redirectTo('/pages_rush/article/detail', { article_id: id });
|
||||
},
|
||||
// 点击跳转 —— 签到
|
||||
goToSign() {
|
||||
|
|
@ -319,13 +318,14 @@ export default {
|
|||
},
|
||||
// 改变顶部标签
|
||||
changeTabs(event){
|
||||
console.log(event);
|
||||
this.cate_ids = event.detail.name;
|
||||
}
|
||||
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
var title = '文章列表';
|
||||
var path = '/pages_promotion/article/list';
|
||||
var path = '/pages_rush/article/list';
|
||||
return {
|
||||
title: title,
|
||||
path: path,
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
|
@ -118,7 +118,7 @@ export default {
|
|||
},
|
||||
// 点击跳转 —— 文章详情
|
||||
goToDetail(id) {
|
||||
this.$util.redirectTo('/pages_promotion/article/detail', { article_id: id });
|
||||
this.$util.redirectTo('/pages_rush/article/detail', { article_id: id });
|
||||
},
|
||||
// 删除浏览记录、取消点赞
|
||||
deleteBrowseRecord(article_id){
|
||||
|
|
@ -153,7 +153,7 @@ export default {
|
|||
},
|
||||
onShareAppMessage(res) {
|
||||
var title = '记录';
|
||||
var path = '/pages_promotion/article/record.vue';
|
||||
var path = '/pages_rush/article/record.vue';
|
||||
return {
|
||||
title: title,
|
||||
path: path,
|
||||
|
|
@ -34,9 +34,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import uQRCode from 'common/js/uqrcode.js'
|
||||
import {Weixin} from "../../common/js/wx-jssdk";
|
||||
import Http from "../../common/js/http";
|
||||
import uQRCode from '@/common/js/uqrcode.js'
|
||||
import {Weixin} from "@/common/js/wx-jssdk";
|
||||
import Http from "@/common/js/http";
|
||||
|
||||
export default {
|
||||
name: 'share-panel',
|
||||
|
|
@ -80,9 +80,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import uniTransition from '@/components/uni-transition/uni-transition.vue';
|
||||
import uniPopup from '@/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
import uniTransition from '@/pages_rush/components/uni-transition/uni-transition.vue';
|
||||
import uniPopup from '@/pages_rush/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/pages_rush/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -115,7 +115,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/seckill');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/seckill');
|
||||
|
||||
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
|
||||
},
|
||||
|
|
@ -174,7 +174,7 @@ export default {
|
|||
},
|
||||
success: () => {
|
||||
this.isSub = false;//防抖
|
||||
this.$util.redirectTo('/pages_promotion/futures/payment');
|
||||
this.$util.redirectTo('/pages_rush/futures/payment');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/list');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/list');
|
||||
|
||||
|
||||
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
<view class="menu-list">
|
||||
<view class="title">小店订单</view>
|
||||
<view class="menu-list-content">
|
||||
<view class="menu-block" v-for="(item,index) in menu" :key="index" @click="$util.redirectTo('/pages_promotion/futures/order',{ status: item.status })">
|
||||
<view class="menu-block" v-for="(item,index) in menu" :key="index" @click="$util.redirectTo('/pages_rush/futures/order',{ status: item.status })">
|
||||
<view class="left" :style="{ background: item.background}">
|
||||
<image class="top-image" :src="$util.img(item.image)" mode="widthFix"></image>
|
||||
</view>
|
||||
|
|
@ -96,7 +96,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/seckill');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/seckill');
|
||||
this.getMemberInfo();
|
||||
this.getPunish();
|
||||
},
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="buttons">
|
||||
<view class="button-item" @click="$util.redirectTo('/pages_promotion/futures/order_details',{ futures_id: item.id })">查看详情</view>
|
||||
<view class="button-item" @click="$util.redirectTo('/pages_rush/futures/order_details',{ futures_id: item.id })">查看详情</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -101,7 +101,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/list');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/list');
|
||||
},
|
||||
watch:{
|
||||
tabs_active: {
|
||||
|
|
@ -114,8 +114,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
import uniPopup from '@/pages_rush/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/pages_rush/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -150,7 +150,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/list');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/list');
|
||||
},
|
||||
methods: {
|
||||
// 获取订单详情
|
||||
|
|
@ -264,7 +264,7 @@ export default {
|
|||
duration: 2000,
|
||||
success: function () {
|
||||
setTimeout(() => {
|
||||
_this.$util.redirectTo('/pages_promotion/futures/order', { status: 'release' });
|
||||
_this.$util.redirectTo('/pages_rush/futures/order', { status: 'release' });
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<view class="price-item">采购价:<text class="purchase_price">¥{{ item.price }}</text></view>
|
||||
</view>
|
||||
<view class="buy-button">
|
||||
<view class="buy-btn" @click="$util.redirectTo('/pages_promotion/futures/details', { id: item.id }, 'redirectTo');">前去采购</view>
|
||||
<view class="buy-btn" @click="$util.redirectTo('/pages_rush/futures/details', { id: item.id }, 'redirectTo');">前去采购</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -87,7 +87,7 @@ export default {
|
|||
onLoad(option) {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/seckill');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/seckill');
|
||||
},
|
||||
onShow() {},
|
||||
methods: {
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
<view class="titles-block"
|
||||
v-for="(item,index) in titles"
|
||||
:key="index"
|
||||
@click="$util.redirectTo('/pages_promotion/message/list', { message_type: item.type })"
|
||||
@click="$util.redirectTo('/pages_rush/message/list', { message_type: item.type })"
|
||||
>
|
||||
<view class="titles-block-icon">
|
||||
<image class="top-image" :src="$util.img(item.icon)" mode="widthFix"></image>
|
||||
|
|
@ -64,8 +64,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
import uniPopup from '@/pages_rush/components/uni-popup-new/uni-popup.vue';
|
||||
import uniPopupDialog from '@/pages_rush/components/uni-popup-dialog/uni-popup-dialog.vue';
|
||||
export default {
|
||||
components: {
|
||||
uniPopup,
|
||||
|
|
@ -89,7 +89,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/message/index');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/message/index');
|
||||
},
|
||||
methods: {
|
||||
// 获取消息列表
|
||||
|
|
@ -60,7 +60,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/list');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/list');
|
||||
},
|
||||
methods: {
|
||||
// 获取消息列表
|
||||
|
|
@ -49,7 +49,7 @@ export default {
|
|||
onShow() {},
|
||||
onReady(){
|
||||
// 判断是否登录
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_promotion/futures/list');
|
||||
if (!uni.getStorageSync('token')) this.$refs.login.open('/pages_rush/futures/list');
|
||||
|
||||
|
||||
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
|
||||
|
|
@ -100,7 +100,7 @@ export default {
|
|||
duration: 1500,
|
||||
success: function () {
|
||||
setTimeout(() => {
|
||||
_this.$util.redirectTo('/pages_promotion/message/index');
|
||||
_this.$util.redirectTo('/pages_rush/message/index');
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
|
|
@ -675,7 +675,7 @@ export default {
|
|||
this.getEvaluateConfig();
|
||||
this.getOrderData();
|
||||
} else {
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages/order/detail?order_id=' + this.orderId });
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages_rush/order/detail?order_id=' + this.orderId });
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -735,7 +735,7 @@ export default {
|
|||
title: '未获取到订单信息!'
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages/order/list');
|
||||
this.$util.redirectTo('/pages_rush/order/list');
|
||||
}, 1500);
|
||||
}
|
||||
},
|
||||
|
|
@ -12,7 +12,7 @@ export default {
|
|||
},
|
||||
onLoad(option) {
|
||||
if (option.order_id) {
|
||||
this.$util.redirectTo('/pages/order/detail', {order_id: option.order_id}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {order_id: option.order_id}, 'redirectTo');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -12,7 +12,7 @@ export default {
|
|||
},
|
||||
onLoad(option) {
|
||||
if (option.order_id) {
|
||||
this.$util.redirectTo('/pages/order/detail', {order_id: option.order_id}, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {order_id: option.order_id}, 'redirectTo');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -160,7 +160,7 @@ export default {
|
|||
if (uni.getStorageSync('token')) {
|
||||
this.getOrderData();
|
||||
} else {
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages/order/detail_point?order_id=' + this.orderId });
|
||||
this.$util.redirectTo('/pages_tool/login/login', { back: '/pages_rush/order/detail_point?order_id=' + this.orderId });
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -193,7 +193,7 @@ export default {
|
|||
title: '未获取到订单信息!'
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages/order/list');
|
||||
this.$util.redirectTo('/pages_rush/order/list');
|
||||
}, 1500);
|
||||
}
|
||||
},
|
||||
|
|
@ -209,7 +209,7 @@ export default {
|
|||
if (this.$refs.mescroll) this.$refs.mescroll.refresh();
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this.$refs.login.open('/pages/order/list?status=' + this.orderStatus);
|
||||
this.$refs.login.open('/pages_rush/order/list?status=' + this.orderStatus);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
@ -343,13 +343,13 @@ export default {
|
|||
switch (parseInt(data.order_type)) {
|
||||
case 2:
|
||||
// 自提订单
|
||||
this.$util.redirectTo('/pages/order/detail_pickup', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_pickup', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
case 3:
|
||||
// 本地配送订单
|
||||
this.$util.redirectTo('/pages/order/detail_local_delivery', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail_local_delivery', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
@ -360,7 +360,7 @@ export default {
|
|||
});
|
||||
break;
|
||||
default:
|
||||
this.$util.redirectTo('/pages/order/detail', {
|
||||
this.$util.redirectTo('/pages_rush/order/detail', {
|
||||
order_id: data.order_id
|
||||
});
|
||||
break;
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
<script>
|
||||
import SocketTask from '@/common/js/socketTest.js';
|
||||
import chatMessage from '@/components/chat-message/chat-message.vue';
|
||||
import chatMessage from '@/pages_tool/components/chat-message/chat-message.vue';
|
||||
import emjoy from '@/common/js/emjoy.js';
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,95 @@
|
|||
<template>
|
||||
<view v-if="advList.length" class="adv-wrap">
|
||||
<swiper :indicator-dots="advList.length > 1" indicator-active-color="#ffffff" :autoplay="true" :interval="3000" :duration="1000" v-if="advList.length > 1" class="ns-adv">
|
||||
<swiper-item v-for="(item, index) in advList" :key="index" @click="jumppage(item.adv_url)">
|
||||
<view class="image-box" :style="{ 'background-color': item.background }"><image :src="$util.img(item.adv_image)"></image></view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view v-else class="adv-wrap ns-adv">
|
||||
<image :src="$util.img(advList[0]['adv_image'])" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'ns-advert',
|
||||
props: {
|
||||
keyword: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
advList: []
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getAdvList();
|
||||
},
|
||||
methods: {
|
||||
//获取广告位
|
||||
getAdvList() {
|
||||
var item = {
|
||||
adv_image: '',
|
||||
adv_url: ''
|
||||
};
|
||||
this.$api.sendRequest({
|
||||
url: '/api/adv/detail',
|
||||
data: {
|
||||
keyword: this.keyword
|
||||
},
|
||||
success: res => {
|
||||
if (res.code == 0) {
|
||||
var data = res.data.adv_list;
|
||||
for (var index in data) {
|
||||
if (data[index].adv_url) data[index].adv_url = JSON.parse(data[index].adv_url);
|
||||
}
|
||||
this.advList = res.data.adv_list;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
jumppage(e) {
|
||||
this.$util.diyRedirectTo(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.adv-wrap {
|
||||
width: 100%;
|
||||
}
|
||||
.bg {
|
||||
width: 100%;
|
||||
height: 158rpx;
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
/* #ifdef H5 */
|
||||
top: 88rpx;
|
||||
/* #endif */
|
||||
/* #ifdef MP-WEIXIN */
|
||||
top: 0;
|
||||
/* #endif */
|
||||
}
|
||||
.ns-adv {
|
||||
background: #fff;
|
||||
height: 300rpx;
|
||||
border-radius: 10rpx;
|
||||
/* padding: 8rpx 24rpx 24rpx; */
|
||||
}
|
||||
|
||||
.ns-adv .image-box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.ns-adv image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -165,7 +165,7 @@ export default {
|
|||
},
|
||||
// 点击回调
|
||||
onItemClick(e) {
|
||||
let { val } = e.currentTarget.dataset;
|
||||
let { val } = e.currentTarget.dataset || e.currentTarget.dataset;
|
||||
this.toggle(val);
|
||||
},
|
||||
// 修改值
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
@font-face {font-family: "iconfont";
|
||||
src: url('~@/components/sx-rate/sx-rate/iconfont.eot?t=1574760464482'); /* IE9 */
|
||||
src: url('~@/components/sx-rate/sx-rate/iconfont.eot?t=1574760464482#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
src: url('~@/pages_tool/components/sx-rate/sx-rate/iconfont.eot?t=1574760464482'); /* IE9 */
|
||||
src: url('~@/pages_tool/components/sx-rate/sx-rate/iconfont.eot?t=1574760464482#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAK8AAsAAAAABnAAAAJwAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCcAp8gQgBNgIkAwgLBgAEIAWEbQcuG6wFyA4lTcHACOEZBUg8fL/2O3f3fTHEkoh28SSayCSxkkgQG6Uz3UvYITu9Qr5K0Vh6Ij6f+8CXKzVBHDvWa6d0lSfK57mc3gQ6kGt8oBz3ojUG9QLqxYEU6B4YRVYqecPYBS7hMYG6QWF0dlOycoGxxFoViFuxkALGuYAksXRVKNccTOJdSTV7zbSAt/D78Y8XxmRKOavq5CZZAOK+7u2svLVode0TggR0vIQc84BEXNQmjugJxumpJ/SNAvsqD77ui8K3i71aBPvrrNIm6IfSe5K58ltNZ3BbU40Blkf9OmKsIW/Un1qddc4dcSma3ArIX7PPXdlxK5l2zJ+aD6TXnQqmu330wqpeWkYN/OnNm/0trU+YvqNR4UN99f+x/tApIFTfR7u39X4gKPnb9pOX5RAQB6DYyc/zOKCD4OUp6KiiPeqnapbAp56NdegrdhLo5wKq+3UG/0fWcyDpCsuWJVVWO5oZO29bXR0FwJ4uV2ONvTeTCVW9I1wVAylyVeNkYudR0rCOsqoN1M1JPd7QDdMTqYZZXQChwwYybT6Q63BIJvYSJX1eUNYReqi7CrsLGyZDbJqIEUWQAPLroJhWKhjHQUyj8mwkrJJROKsI+XyENeIw5LI4xXQqUiA8xxZNtZBHCAMZrJTDFPAcksmUUIWVEkQTlogQVQSbzdS9iUUr5cDUDgyhEIgAxFcHEqMpKTD+eMK09PlsiFAVGQpu6atJ5kMwDfHsEBcLpweZqlX06ruXVzSqCfEQBANiYEpyUAqYh8jIKEGq+nkSCI1gEY2IqURg28OYvlrW+nr5152AOsuUhV2fSy+EwgAAAA==') format('woff2'),
|
||||
url('~@/components/sx-rate/sx-rate/iconfont.woff?t=1574760464482') format('woff'),
|
||||
url('~@/components/sx-rate/sx-rate/iconfont.ttf?t=1574760464482') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
||||
url('~@/components/sx-rate/sx-rate/iconfont.svg?t=1574760464482#iconfont') format('svg'); /* iOS 4.1- */
|
||||
url('~@/pages_tool/components/sx-rate/sx-rate/iconfont.woff?t=1574760464482') format('woff'),
|
||||
url('~@/pages_tool/components/sx-rate/sx-rate/iconfont.ttf?t=1574760464482') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
||||
url('~@/pages_tool/components/sx-rate/sx-rate/iconfont.svg?t=1574760464482#iconfont') format('svg'); /* iOS 4.1- */
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
|
@ -39,8 +39,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import uniStatusBar from '../uni-status-bar/uni-status-bar.vue';
|
||||
import uniIcons from '../uni-icons/uni-icons.vue';
|
||||
import uniStatusBar from '@/pages_tool/components/uni-status-bar/uni-status-bar.vue';
|
||||
import uniIcons from '@/components/uni-icons/uni-icons.vue';
|
||||
|
||||
export default {
|
||||
name: 'UniNavBar',
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<script>
|
||||
import uniGrid from '@/components/uni-grid/uni-grid.vue';
|
||||
import uniGridItem from '@/components/uni-grid-item/uni-grid-item.vue';
|
||||
import nsAdv from '@/components/ns-adv/ns-adv.vue';
|
||||
import nsAdv from '@/pages_tool/components/ns-adv/ns-adv.vue';
|
||||
export default {
|
||||
components: {
|
||||
uniGrid,
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
|
||||
<script>
|
||||
import validate from 'common/js/validate.js';
|
||||
import mypOne from '@/components/myp-one/myp-one.vue';
|
||||
import mypOne from '@/pages_tool/components/myp-one/myp-one.vue';
|
||||
export default {
|
||||
components: {
|
||||
mypOne
|
||||
|
|
|
|||