|
@@ -8,7 +8,7 @@ function droitHtml(contents) { |
|
@@ -8,7 +8,7 @@ function droitHtml(contents) { |
8
|
let imageView2 = '?imageView2/2/w/{width}/h/{height}';
|
8
|
let imageView2 = '?imageView2/2/w/{width}/h/{height}';
|
9
|
|
9
|
|
10
|
_.map(contents, item => {
|
10
|
_.map(contents, item => {
|
11
|
- if (item.title === '7天退换货') {
|
11
|
+ if (item.displayName === '7天退换货') {
|
12
|
item.content = {
|
12
|
item.content = {
|
13
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/018a576d12f6f337d8ee4009e060e4137e.jpg${imageView2}`,
|
13
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/018a576d12f6f337d8ee4009e060e4137e.jpg${imageView2}`,
|
14
|
intros: [
|
14
|
intros: [
|
|
@@ -17,7 +17,7 @@ function droitHtml(contents) { |
|
@@ -17,7 +17,7 @@ function droitHtml(contents) { |
17
|
],
|
17
|
],
|
18
|
interlocution: []
|
18
|
interlocution: []
|
19
|
};
|
19
|
};
|
20
|
- } else if (item.title === '极速发货') {
|
20
|
+ } else if (item.displayName === '极速发货') {
|
21
|
item.content = {
|
21
|
item.content = {
|
22
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/013fc1a6ce378be56f3d1470715f741723.jpg${imageView2}`,
|
22
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/013fc1a6ce378be56f3d1470715f741723.jpg${imageView2}`,
|
23
|
intros: [
|
23
|
intros: [
|
|
@@ -26,30 +26,30 @@ function droitHtml(contents) { |
|
@@ -26,30 +26,30 @@ function droitHtml(contents) { |
26
|
],
|
26
|
],
|
27
|
interlocution: []
|
27
|
interlocution: []
|
28
|
};
|
28
|
};
|
29
|
- } else if (item.title === '专享折扣') {
|
29
|
+ } else if (item.displayName === '专享折扣') {
|
30
|
item.content = {
|
30
|
item.content = {
|
31
|
banner: `http://img12.static.yhbimg.com/sort/2018/03/26/13/02ae523f4c97e2c8d184932c3c846a59f9.jpg${imageView2}`,
|
31
|
banner: `http://img12.static.yhbimg.com/sort/2018/03/26/13/02ae523f4c97e2c8d184932c3c846a59f9.jpg${imageView2}`,
|
32
|
intros: [
|
32
|
intros: [
|
33
|
{title: '特权介绍', data: ['会员在有货平台上购买符合活动规则的商品时,可享受对应等级的折扣。会员等级越高,享受的折扣力度越大。']},
|
33
|
{title: '特权介绍', data: ['会员在有货平台上购买符合活动规则的商品时,可享受对应等级的折扣。会员等级越高,享受的折扣力度越大。']},
|
34
|
- {title: '折扣说明', data: ['银卡会员享9.5折优惠,金卡会员享9折优惠,白金卡会员享8.8折优惠。']},
|
34
|
+ {title: '折扣说明', data: ['银卡会员最高可享9.5优惠,金卡会员最高可享9折优惠,白金卡会员最高可享8.8折优惠。']},
|
35
|
],
|
35
|
],
|
36
|
interlocution: []
|
36
|
interlocution: []
|
37
|
};
|
37
|
};
|
38
|
- } else if (item.title === '生日礼包') {
|
38
|
+ } else if (item.displayName === '生日礼包') {
|
39
|
item.content = {
|
39
|
item.content = {
|
40
|
banner: `http://img12.static.yhbimg.com/sort/2018/03/26/13/02402b95df5f0f0f5ef4d4b79edd515577.jpg${imageView2}`,
|
40
|
banner: `http://img12.static.yhbimg.com/sort/2018/03/26/13/02402b95df5f0f0f5ef4d4b79edd515577.jpg${imageView2}`,
|
41
|
intros: [
|
41
|
intros: [
|
42
|
- {title: '特权介绍', data: ['会员专享生日福利,等级越高,优惠力度越大,具体以实际领取为准。']},
|
|
|
43
|
- {title: '权益对象', data: ['银卡及以上会员、且已完善个人生日信息才可领取生日福利券。']},
|
42
|
+ {title: '特权介绍', data: ['会员专享生日礼包,等级越高,礼包价值越高,具体以实际领取为准。']},
|
|
|
43
|
+ {title: '权益对象', data: ['银卡及以上会员、且已完善个人生日信息才可领取生日礼包。']},
|
44
|
{title: '领取说明', data: [
|
44
|
{title: '领取说明', data: [
|
45
|
- '生日福利券在生日当月可领,领取后有效期15天。',
|
|
|
46
|
- '生日福利券可在“我的-生日券”页面领取。',
|
|
|
47
|
- '生日福利券一年内(365天)仅限领取一次。',
|
|
|
48
|
- '若在上述时间段内未领取,将无法补发生日福利。'
|
45
|
+ '生日礼包在生日前7天至生日后7天可领,领取后生日福利券有效期15天。',
|
|
|
46
|
+ '生日礼包可在会员中心-我的礼包页面领取。',
|
|
|
47
|
+ '生日礼包一年内(365天)仅限领取一次。',
|
|
|
48
|
+ '若在上述时间段内未领取,将无法补发生日礼包。'
|
49
|
]},
|
49
|
]},
|
50
|
]
|
50
|
]
|
51
|
};
|
51
|
};
|
52
|
- } else if (item.title === '免邮服务') {
|
52
|
+ } else if (item.displayName === '免邮服务') {
|
53
|
item.content = {
|
53
|
item.content = {
|
54
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/01a583cddfa6fc90be33eab8c1f5a6c892.jpg${imageView2}`,
|
54
|
banner: `http://img10.static.yhbimg.com/sort/2018/03/26/13/01a583cddfa6fc90be33eab8c1f5a6c892.jpg${imageView2}`,
|
55
|
intros: [
|
55
|
intros: [
|
|
@@ -60,25 +60,65 @@ function droitHtml(contents) { |
|
@@ -60,25 +60,65 @@ function droitHtml(contents) { |
60
|
],
|
60
|
],
|
61
|
interlocution: []
|
61
|
interlocution: []
|
62
|
};
|
62
|
};
|
63
|
- } else if (item.title === '购物返币') {
|
63
|
+ } else if (item.displayName === '购物返币') {
|
64
|
item.content = {
|
64
|
item.content = {
|
65
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/0160bd2c93e5730608a7921181eb826ab2.jpg${imageView2}`,
|
65
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/0160bd2c93e5730608a7921181eb826ab2.jpg${imageView2}`,
|
66
|
intros: [
|
66
|
intros: [
|
67
|
- {title: 'Dear:', data: ['近期将针对有货的VIP会员推出购物返有货币服务,成功购物之后自动到账,服务即将开启请随时关注最新APP会员权益动态!']},
|
67
|
+ { title: '特权介绍', data: ['会员在有货平台上购买符合活动规则的商品后,可获得商品实付金额一定比例的有货币。'] },
|
|
|
68
|
+ { title: '领取说明', data: [
|
|
|
69
|
+ '在线支付订单订单完成后可获得该等级对应的有货币奖励,货到付款发货15天后发放有货币,有货币按照该等级对应的比例发放。',
|
|
|
70
|
+ '有货币可抵现,抵现比例100:1。',
|
|
|
71
|
+ '退货后会扣除返还的有货币,若有货币不足,将会从原订单退款金额中扣除相应的退款。'
|
|
|
72
|
+ ]
|
|
|
73
|
+ },
|
|
|
74
|
+ {
|
|
|
75
|
+ title: '返币比例', data: [
|
|
|
76
|
+ `
|
|
|
77
|
+ <table class="return-coin-table">
|
|
|
78
|
+ <tr>
|
|
|
79
|
+ <th>会员等级</th>
|
|
|
80
|
+ <th>购物实付金额</th>
|
|
|
81
|
+ <th style="color: red">返币比例</th>
|
|
|
82
|
+ <th>返币个数</th>
|
|
|
83
|
+ </tr>
|
|
|
84
|
+ <tr>
|
|
|
85
|
+ <td>银卡会员</td>
|
|
|
86
|
+ <td>100元</td>
|
|
|
87
|
+ <td style="color: red">30%</td>
|
|
|
88
|
+ <td>30</td>
|
|
|
89
|
+ </tr>
|
|
|
90
|
+ <tr>
|
|
|
91
|
+ <td>金卡会员</td>
|
|
|
92
|
+ <td>100元</td>
|
|
|
93
|
+ <td style="color: red">30%</td>
|
|
|
94
|
+ <td>30</td>
|
|
|
95
|
+ </tr>
|
|
|
96
|
+ <tr>
|
|
|
97
|
+ <td>白金会员</td>
|
|
|
98
|
+ <td>100元</td>
|
|
|
99
|
+ <td style="color: red">50%</td>
|
|
|
100
|
+ <td>50</td>
|
|
|
101
|
+ </tr>
|
|
|
102
|
+ </table>
|
|
|
103
|
+ `,
|
|
|
104
|
+ '提示:小数点后不计入返币数量,例如:白金会员商品实付金额299,则返149(299*50%=149.5)个有货币。'
|
|
|
105
|
+ ]
|
|
|
106
|
+ },
|
68
|
]
|
107
|
]
|
69
|
};
|
108
|
};
|
70
|
- } else if (item.title === '升级礼包') {
|
109
|
+ } else if (item.displayName === '升级礼包') {
|
71
|
item.content = {
|
110
|
item.content = {
|
72
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/0100d72b57f8c364e69cdfeb708b5d852a.jpg${imageView2}`,
|
111
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/0100d72b57f8c364e69cdfeb708b5d852a.jpg${imageView2}`,
|
73
|
intros: [
|
112
|
intros: [
|
74
|
{title: 'Dear:', data: ['近期将针对有货的VIP会员推出专享升级礼包服务,等级提升后即可领取,服务即将开启请随时关注最新APP会员权益动态!']},
|
113
|
{title: 'Dear:', data: ['近期将针对有货的VIP会员推出专享升级礼包服务,等级提升后即可领取,服务即将开启请随时关注最新APP会员权益动态!']},
|
75
|
]
|
114
|
]
|
76
|
};
|
115
|
};
|
77
|
- } else if (item.title === '优享客服') {
|
116
|
+ } else if (item.displayName === '优享客服') {
|
78
|
item.content = {
|
117
|
item.content = {
|
79
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/01ded1925ced60db1a63937bcd3afbbb1d.jpg${imageView2}`,
|
118
|
banner: `http://img11.static.yhbimg.com/sort/2018/03/26/13/01ded1925ced60db1a63937bcd3afbbb1d.jpg${imageView2}`,
|
80
|
intros: [
|
119
|
intros: [
|
81
|
- {title: 'Dear:', data: ['近期将针对有货的VIP会员推出优享客服服务,感受更优质的客服体验,服务即将开启请随时关注最新APP会员权益动态!']},
|
120
|
+ { title: '特权介绍', data: ['白金会员将由在线客服提供更优质的服务,并享受优先接入的特权,减少等待时间。'] },
|
|
|
121
|
+ {title: '使用说明', data: ['在线客服:app我的->服务与反馈->在线客服->人工客服']}
|
82
|
]
|
122
|
]
|
83
|
};
|
123
|
};
|
84
|
}
|
124
|
}
|