jufubao-mall 2.0.77-beta1 → 2.0.78-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbMallConfirm/JfbMallConfirm.vue +1 -5
- package/src/components/JfbMallSpecialHomeV2/Api.js +33 -0
- package/src/components/JfbMallSpecialHomeV2/Attr.js +27 -0
- package/src/components/JfbMallSpecialHomeV2/JfbMallSpecialHomeV2.vue +863 -0
- package/src/components/JfbMallSpecialHomeV2/JfbMallSpecialHomeV2Less.less +80 -0
- package/src/components/JfbMallSpecialHomeV2/JfbMallSpecialHomeV2Mixin.js +30 -0
- package/src/components/JfbMallSpecialHomeV2/Mock.js +245 -0
- package/src/components/JfbMallSpecialHomeV2/cusAttr/advanced.js +24 -0
- package/src/components/JfbMallSpecialHomeV2/cusAttr/content.js +266 -0
- package/src/components/JfbMallSpecialHomeV2/cusAttr/style.js +459 -0
- package/src/components/JfbMallSpecialInfo/Mock.js +6 -386
package/package.json
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
<xd-list-item v-if="shop.takeoutTimeList" :label="shop.time_label" show-right :paddingLR="isCardLayout ? '32rpx' : '48rpx'" paddingTB="24rpx" @click="toSetTakeoutTime(shopIndex,shop)" class="xd-my-list-item">
|
|
103
103
|
<view style="">{{shop.takeoutTime ? shop.takeoutTime.dateTime : '请选择'}}</view>
|
|
104
104
|
</xd-list-item>
|
|
105
|
-
</template>
|
|
105
|
+
</template>
|
|
106
106
|
</template>
|
|
107
107
|
</view>
|
|
108
108
|
<!-- <xd-list-item v-if="shop.delivery_message" :label="shop.delivery_message" paddingLR="48rpx" size="large"></xd-list-item> -->
|
|
@@ -132,9 +132,6 @@
|
|
|
132
132
|
<xd-list-item v-if="showLogisticsAmount&&main_show_delivery_price==='Y'" label="商品运费" :paddingLR="isCardLayout ? '32rpx' : '48rpx'">
|
|
133
133
|
<xd-unit :price="orderFee.user_logistics_amount_origin" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
|
|
134
134
|
</xd-list-item>
|
|
135
|
-
<xd-list-item label="平台服务费" :paddingLR="isCardLayout ? '32rpx' : '48rpx'">
|
|
136
|
-
<xd-unit :price="orderFee.main_user_server_amount" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
|
|
137
|
-
</xd-list-item>
|
|
138
135
|
</view>
|
|
139
136
|
<view v-if="showPrice === 'Y' || otherPayMethod.filter(it => it.method!=='third').length" class="money_box">
|
|
140
137
|
<template v-if="showPrice === 'Y'">
|
|
@@ -1557,7 +1554,6 @@
|
|
|
1557
1554
|
product_amount: res.product_amount,
|
|
1558
1555
|
plus_saving_money: res.plus_saving_money,
|
|
1559
1556
|
origin_amount: res.origin_amount,
|
|
1560
|
-
main_user_server_amount: res.main_user_server_amount,
|
|
1561
1557
|
}
|
|
1562
1558
|
//支付方式跟用户相关,与订单无关。
|
|
1563
1559
|
//只获取一次。
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
{
|
|
5
|
+
mapFnName: 'getCategoriesList',
|
|
6
|
+
title: '专题 - 获取专题分类列表',
|
|
7
|
+
path: '/product/v1/:xnamespace/special/:special_id/categories',
|
|
8
|
+
isRule: false,
|
|
9
|
+
params: {
|
|
10
|
+
xnamespace: ['xnamespace', 'Number', '必选'],
|
|
11
|
+
special_id: ['special_id', 'Number', '必选'],
|
|
12
|
+
},
|
|
13
|
+
isConsole: true,
|
|
14
|
+
disabled: true,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
mapFnName: 'getSpecialProductsList',
|
|
18
|
+
title: '专题 - 分页获取专题分类下商品列表',
|
|
19
|
+
path: '/product/v1/:xnamespace/special/:special_id/specials-products-page',
|
|
20
|
+
isRule: false,
|
|
21
|
+
params: {
|
|
22
|
+
xnamespace: ['xnamespace', 'Number', '必选'],
|
|
23
|
+
special_id: ['special_id', 'Number', '必选'],
|
|
24
|
+
category_id: ['category_id', 'Number'],
|
|
25
|
+
need_show_tags: ['need_show_tags', 'String'],
|
|
26
|
+
is_show_uprice: ['is_show_uprice', 'Number'],
|
|
27
|
+
page_token: ['page_token', 'String', '必选'],
|
|
28
|
+
page_size: ['page_size', 'Number', '必选'],
|
|
29
|
+
},
|
|
30
|
+
isConsole: true,
|
|
31
|
+
disabled: true,
|
|
32
|
+
},
|
|
33
|
+
];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
import { getRemoteOptions } from "@/utils/AttrTools";
|
|
3
|
+
import Content from './cusAttr/content'
|
|
4
|
+
import Style from './cusAttr/style'
|
|
5
|
+
import Advanced from './cusAttr/advanced'
|
|
6
|
+
function checkValue(value, dValue = 0) {
|
|
7
|
+
if (value === undefined || value === '' || value === null) return dValue;
|
|
8
|
+
return Number(value || 0);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
13
|
+
*/
|
|
14
|
+
export default {
|
|
15
|
+
|
|
16
|
+
style: [],
|
|
17
|
+
content: (data, gValue, gColor, oldData = {}) => {
|
|
18
|
+
return [
|
|
19
|
+
...Content(data, gValue, gColor, oldData),
|
|
20
|
+
...Style(data, gValue, gColor, oldData),
|
|
21
|
+
...Advanced(data, gValue, gColor, oldData),
|
|
22
|
+
|
|
23
|
+
].filter(i => i)
|
|
24
|
+
},
|
|
25
|
+
advanced: [
|
|
26
|
+
],
|
|
27
|
+
};
|