jufubao-base 1.0.209-beta1 → 1.0.209-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.209-beta1",
3
+ "version": "1.0.209-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -11,45 +11,6 @@
11
11
  * @type {*[]}
12
12
  */
13
13
  module.exports = [
14
- {
15
- mapFnName: "cardRecharge",
16
- title: "卡券充值下单",
17
- path: "/card/v1/card-recharge/create-order",
18
- isRule: false,
19
- data: {
20
- card_number: ['卡券号', "String", "必填"],
21
- card_point: ['充值点数 单位是分', "String", '必选']
22
- },
23
- isConsole: true,
24
- disabled: true
25
- },
26
- {
27
- mapFnName: "getRechargeAmount",
28
- title: "获得充值点数需要支付的钱",
29
- path: "/card/v1/card-recharge/get-amount",
30
- isRule: false,
31
- params: {
32
- card_number: ['卡券号', "String", "必填"],
33
- card_point: ['充值点数 单位是分', "String", '必选']
34
- },
35
- isConsole: true,
36
- disabled: true
37
- },
38
- {
39
- mapFnName: 'getListRechargeNewsContent', //自定义方法名字(必选)
40
- title: '获取内容',
41
- path: '/cms/v1/news-content',
42
- isRule: false,
43
- params: {
44
- scene: ['使用场景', 'String', '选填'],
45
- container_id: ['插件ID', 'String', '必填'],
46
- page_id: ['页面ID', 'String', '必填'],
47
- page_size: ['记录条数', 'Number', '必填', 1],
48
- code: ['业务线id', 'String', '选填'],
49
- },
50
- isConsole: true,
51
- disabled: true,
52
- },
53
14
  {
54
15
  mapFnName: "cardRechargeNew",
55
16
  title: "获取卡券套餐列表",
@@ -7,39 +7,7 @@ export default {
7
7
  style: [],
8
8
  content: (data) => {
9
9
  return [
10
- {
11
- ele: 'title',
12
- label: '旧券充值',
13
- size: 'small',
14
- groupKey:'content',
15
- },
16
- {
17
- label: '票券框自定义文案:',
18
- ele: 'el-input',
19
- type: 'text',
20
- valueKey: 'card_num_placeholder',
21
- groupKey:'content',
22
- value: data.card_num_placeholder||'',
23
- placeholder: '请输入票券框自定义文案',
24
- className: 'input80'
25
- },
26
- {
27
- label: '票券充值点数自定义文案:',
28
- ele: 'el-input',
29
- type: 'text',
30
- valueKey: 'point_placeholder',
31
- groupKey:'content',
32
- value: data.point_placeholder || '',
33
- placeholder: '请输入票券充值点数自定义文案',
34
- className: 'input80'
35
- },
36
- {
37
- ele: 'title',
38
- label: '新券购买',
39
- size: 'small',
40
- groupKey:'content',
41
- },
42
- {
10
+ 0&&{
43
11
  label: '立即购买自定义文案:',
44
12
  ele: 'el-input',
45
13
  type: 'text',
@@ -49,240 +17,6 @@ export default {
49
17
  placeholder: '请输入立即购买自定义文案',
50
18
  className: 'input80'
51
19
  },
52
-
53
- {
54
- ele: 'title',
55
- label: '其他设置',
56
- size: 'small',
57
- groupKey:'content',
58
- },
59
-
60
- {
61
- label: '注意事项:',
62
- ele: 'xd-site-news',
63
- valueKey: 'notice',
64
- groupKey:'content',
65
- value: data.notice || null,
66
- className: 'input70',
67
- setting: {
68
- config: {
69
- sort: true,
70
- maxlen: 100,
71
- action: 'aliyun',
72
- size: 5,
73
- tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
74
- uploadType: 'aliyun',
75
- type: ['jpg', 'png', 'jpeg']
76
- },
77
- },
78
- handleCustom({action, data}) {
79
- if (data && data.params) {
80
- //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
81
- //data.params = Object.assign({}, data.params, {code: 'g_test_id'});
82
- }
83
-
84
- //获取返回参数(场景类型名称为必填)
85
- //let loading = XdBus.getParentApi('loading')({});
86
-
87
- //获取返回参数(场景类型名称为必填)
88
- let loading = { close(){}}
89
-
90
- //获取显示内容
91
- if (action === 'screen') {
92
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
93
- .then(res => {
94
- loading.close();
95
- data.cb(res['list'])
96
- })
97
- .catch(error => {
98
- console.error(error);
99
- loading.close();
100
- });
101
-
102
- }
103
-
104
- //获取返回参数(广告位高度必选项)
105
- if (action === 'getNewsInfo') {
106
- XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
107
- .then(res => {
108
- loading.close()
109
- data.cb({list: res.list, selectId: res.selected})
110
- })
111
- .catch(error => {
112
- loading.close()
113
- console.error(error);
114
- });
115
- }
116
-
117
- //获取产品业务线列表
118
- if (action === 'namespace') {
119
- XdBus.getParentApi('getOptionsNamespaces')({})
120
- .then(res => {
121
- loading.close()
122
- data.cb(res['list'])
123
- })
124
- .catch(error => {
125
- loading.close()
126
- console.error(error);
127
- });
128
- }
129
-
130
- //使用内容分类
131
- if (action === 'cmsPublishEditxContent') {
132
- loading = XdBus.getParentApi('loading')({});
133
- XdBus.getParentApi('cmsPublishEditxContent')(data.params)
134
- .then(res => {
135
- console.log('cmsPublishEditxContent', res)
136
- loading.close();
137
- data.cb(res)
138
- })
139
- .catch(error => {
140
- loading.close();
141
- console.error(error);
142
- });
143
- }
144
-
145
- //位置列表
146
- if (action === 'getListPostion') {
147
- loading = XdBus.getParentApi('loading')({});
148
- XdBus.getParentApi('getListNewsPosition')(data.params)
149
- .then(res => {
150
- loading.close();
151
- data.cb(res)
152
- })
153
- .catch(error => {
154
- loading.close();
155
- console.error(error);
156
- });
157
- }
158
-
159
- //位置创建
160
- if (action === 'addPostion') {
161
- loading = XdBus.getParentApi('loading')({});
162
- XdBus.getParentApi('addNewsPosition')(data.params)
163
- .then(res => {
164
- loading.close();
165
- data.cb(true)
166
- })
167
- .catch(error => {
168
- console.error(error);
169
- loading.close();
170
- data.cb(false)
171
- });
172
- }
173
-
174
- //位置编辑
175
- if (action === 'editPostion') {
176
- loading = XdBus.getParentApi('loading')({});
177
- XdBus.getParentApi('updateNewsPosition')(data.params)
178
- .then(res => {
179
- loading.close();
180
- data.cb(true)
181
- })
182
- .catch(error => {
183
- console.error(error);
184
- loading.close();
185
- data.cb(false)
186
- });
187
- }
188
-
189
- //位置删除
190
- if (action === 'deleltePostion') {
191
- loading = XdBus.getParentApi('loading')({});
192
- XdBus.getParentApi('deleteNewsPosition')(data.params)
193
- .then(res => {
194
- loading.close();
195
- data.cb(true)
196
- })
197
- .catch(error => {
198
- console.error(error);
199
- loading.close();
200
- data.cb(false)
201
- });
202
- }
203
-
204
- //获取广告位内容列表
205
- if (action === 'getListContent') {
206
- loading = XdBus.getParentApi('loading')({});
207
- XdBus.getParentApi('getListNewsContent')(data.params)
208
- .then(res => {
209
- loading.close();
210
- data.cb(res)
211
- })
212
- .catch(error => {
213
- loading.close();
214
- console.error(error);
215
- });
216
- }
217
-
218
- //广告内容创建
219
- if (action === 'addContent') {
220
- loading = XdBus.getParentApi('loading')({});
221
- XdBus.getParentApi('addNewsContent')(data.params)
222
- .then(res => {
223
- loading.close();
224
- data.cb(true)
225
- })
226
- .catch(error => {
227
- console.error(error);
228
- loading.close();
229
- data.cb(false)
230
- });
231
- }
232
-
233
- //广告内容编辑
234
- if (action === 'editContent') {
235
- loading = XdBus.getParentApi('loading')({});
236
- XdBus.getParentApi('updateNewsContent')(data.params)
237
- .then(res => {
238
- loading.close();
239
- data.cb(true)
240
- })
241
- .catch(error => {
242
- console.error(error);
243
- loading.close();
244
- data.cb(false)
245
- });
246
- }
247
-
248
- //广告内容删除
249
- if (action === 'deleteContent') {
250
- loading = XdBus.getParentApi('loading')({});
251
- XdBus.getParentApi('deleteNewsContent')(data.params)
252
- .then(res => {
253
- loading.close();
254
- data.cb(true)
255
- })
256
- .catch(error => {
257
- console.error(error);
258
- loading.close();
259
- data.cb(false)
260
- });
261
- }
262
-
263
- //内容发布
264
- if (action === 'publish') {
265
- loading = XdBus.getParentApi('loading')({});
266
- console.log('publish', data.params)
267
- XdBus.getParentApi('cmsPublishContent')(data.params)
268
- .then(res => {
269
- loading.close();
270
- data.cb(res)
271
- })
272
- .catch(error => {
273
- loading.close();
274
- console.error(error);
275
- });
276
- }
277
-
278
- //通知页面进行刷新
279
- if (action === 'update') {
280
- loading = XdBus.getParentApi('loading')({});
281
- XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
282
- loading.close()
283
- }
284
- },
285
- },
286
20
  {
287
21
  label: '票券支付路径:',
288
22
  ele: 'xd-select-pages-path',
@@ -14,25 +14,17 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-recharge-new__body">
17
- <view class="recharge" :class="{active:tabsIndex === 'old'}" >
18
- <view class="recharge-tab" v-if="tabs.length > 1">
19
- <view
20
- v-for="item in tabs"
21
- :key="item.value"
22
- @click.stop="handleTabs(item.value)"
23
- :style="{ color: tabsIndex === item.value?mainColor: '#333'}"
24
- >
25
- <text>{{item.label}}</text>
26
- <text class="recharge-tab-index" v-if="tabsIndex === item.value" :style="{background: tabsIndex === item.value?mainColor: '#fff'}"></text>
27
- </view>
28
- </view>
17
+ <view class="recharge">
29
18
  <view class="recharge-list">
30
- <view class="recharge-item" v-if="tabsIndex === 'new'">
19
+ <view class="recharge-item">
31
20
  <view
32
21
  class="recharge-pack"
33
22
  v-for="item in newCardList"
34
23
  :key="item.package_id"
35
- :style="{backgroundImage: 'url('+ item['package_image'] +')'}"
24
+ :style="{
25
+ backgroundImage: 'url('+ item['package_image'] +')',
26
+ color: item['package_color'] ? item['package_color']:'#fff'
27
+ }"
36
28
  >
37
29
  <view class="name">{{item.package_name}}</view>
38
30
  <view class="price">面值:{{item.card_point}}</view>
@@ -40,50 +32,19 @@
40
32
  <view class="line"></view>
41
33
  <view class="buy">
42
34
  <view>
43
- <xd-unit :is-old="false" :price="item.card_amount" color-new="#fff" :font-size="40" :icon-size=".3"></xd-unit>
35
+ <xd-unit
36
+ :is-old="false"
37
+ :price="item.card_amount"
38
+ :color-new="item['package_color'] ? item['package_color']:'#fff'"
39
+ :font-size="40"
40
+ :icon-size=".3"
41
+ ></xd-unit>
44
42
  </view>
45
43
  <view @click="handleNewBuy(item)">{{buyBtnName}}</view>
46
44
  </view>
47
45
  </view>
48
46
  </view>
49
- <view class="recharge-item" v-if="tabsIndex === 'old'">
50
- <view class="jfb-base-recharge-new__body-card">
51
- <view>
52
- <view class="jfb-base-recharge-new__body-form">
53
- <input v-model="cardNumber" :placeholder="card_num_placeholder" />
54
- </view>
55
- <view class="jfb-base-recharge-new__body-form">
56
- <input v-model="card_point" :placeholder="point_placeholder" />
57
- </view>
58
- <view
59
- v-if="amount && card_point"
60
- :style="{
61
- color: mainColor,
62
- fontSize: '24rpx',
63
- paddingBottom: '32rpx',
64
- }"
65
- >支付金额:{{ amount }} 元</view>
66
- <xd-button
67
- size="medium"
68
- type="primary"
69
- :bgColor="mainColor"
70
- @click="handleToRecharge"
71
- :disabled="!amount || !card_point || !cardNumber"
72
- >提交</xd-button>
73
- </view>
74
- </view>
75
- </view>
76
- </view>
77
- <view class="xd-notice-content" v-if="content">
78
- <view>注意事项:</view>
79
- <view v-html="content" class="prod_info"></view>
80
47
  </view>
81
- <view
82
- v-if="isPreview && statusContent === true && content === '' "
83
- class="xd-notice"
84
- :style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
85
- >注意事项未配置数据,因此改模块在正式环境将不显示</view>
86
- <view class="bottom_btn-mask"></view>
87
48
  </view>
88
49
  </view>
89
50
  </view>
@@ -111,22 +72,7 @@ export default {
111
72
  data() {
112
73
  return {
113
74
  closeMask: true,
114
- card_num_placeholder: "",
115
- point_placeholder: "",
116
- cardNumber: "",
117
- card_point: "",
118
- payPath: "",
119
- amount: "",
120
- timer:null,
121
-
122
- //提示文案
123
75
  isPreview: false,
124
- content: "",
125
- statusContent: false,
126
- noticeBgc:'',
127
-
128
- tabs: [],
129
- tabsIndex: '',
130
76
  buyBtnName: '立即购买' ,
131
77
  newCardList:[],
132
78
  };
@@ -136,53 +82,22 @@ export default {
136
82
  if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
137
83
  if (this.$configProject['isPreview']) this.init(value)
138
84
  },
139
- card_point(value) {
140
- if(this.timer) clearTimeout(this.timer);
141
- this.timer = setTimeout(()=>{
142
- if (value && value != 0) {
143
- this.handleGetPrice();
144
- }
145
- }, 1000)
146
- },
147
85
  },
148
86
  created() {
149
87
  this.isPreview = this.$configProject.isPreview;
150
- this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
151
88
  this.init(this.container);
152
89
  },
153
90
  methods: {
154
91
  onJfbLoad(options) {
155
- this.getContent();
92
+ this.getNewCardList();
156
93
  },
157
94
  /**
158
95
  * @description 监听事件变化
159
96
  * @param container {object} 业务组件对象自己
160
97
  */
161
98
  init(container) {
162
- this.card_num_placeholder = getContainerPropsValue(this.container, "content.card_num_placeholder", "输入券号");
163
- this.point_placeholder = getContainerPropsValue(this.container, "content.point_placeholder", "充值点数");
164
99
  this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
165
100
  this.buyBtnName = getContainerPropsValue(container, 'content.buyBtnName', '立即购买')
166
-
167
- //标签设置
168
- let tabs = getContainerPropsValue(container, "content.tabs", [{label:'新券购买', value:'new', check: true},{label:'旧券充值', value:'old', check: true}]);
169
- let isNewCard = false;
170
- this.tabs = tabs.filter(item=>{
171
- if(item.check && item.value === 'new') {
172
- isNewCard = true;
173
- }
174
- return item.check
175
- });
176
- if(tabs.length === 2) this.tabsIndex = 'old';
177
- else {
178
- if(tabs.length > 0) this.tabsIndex = tabs[0].value;
179
- }
180
- if(isNewCard) this.getNewCardList();
181
- },
182
-
183
- handleTabs(value){
184
- if(this.tabsIndex === value) return;
185
- this.tabsIndex = value;
186
101
  },
187
102
 
188
103
  //==套餐购买=============
@@ -249,74 +164,18 @@ export default {
249
164
  },
250
165
 
251
166
  toLink(pay_order_id, order_id){
252
- this.$xdUniHelper.redirectTo({
253
- url: `${this.payPath}?order_id=${pay_order_id}&main_order_id=${order_id}&type=recharge`,
254
- }, false, true);
255
- },
256
-
257
- handleToRecharge() {
258
- if (!this.cardNumber) {
259
- this.$xdAlert({ content: "请输入卡券号" });
260
- return;
261
- }
262
- if (!this.card_point) {
263
- this.$xdAlert({ content: "请输入充值点数" });
264
- return;
265
- }
266
-
267
- if( this.$configProject.isPreview) {
268
- return;
269
- }
270
-
271
- this.$xdShowLoading({});
272
- jfbRootExec("cardRecharge", {
273
- vm: this,
274
- data: {
275
- card_number: this.cardNumber, //页面ID
276
- card_point: this.card_point * 100, //组件ID
277
- },
278
- })
279
- .then((res) => {
280
- this.$xdHideLoading();
281
- this.toLink(res.pay_order_id, res.order_id)
167
+ if(!this.payPath) {
168
+ this.$xdAlert({
169
+ time: 3000,
170
+ content: '支付路径未设置,清检查配置',
171
+ type: 'error',
172
+ isClose: false
282
173
  })
283
- .catch((err) => {
284
- this.$xdHideLoading();
285
- console.log(err, "err");
286
- });
287
- },
288
-
289
- handleGetPrice(e) {
290
- //未填写值
291
- if (!this.cardNumber || !this.card_point) {
292
- return;
293
- }
294
-
295
- //预览模式
296
- if( this.$configProject.isPreview) {
297
- this.amount = this.card_point;
298
174
  return;
299
175
  }
300
-
301
- jfbRootExec("getRechargeAmount", {
302
- vm: this,
303
- data: {
304
- card_number: this.cardNumber, //页面ID
305
- card_point: this.$xdUniHelper.multiplyFloatNumber(Number(this.card_point),100), //组件ID
306
- },
307
- })
308
- .then((res) => {
309
- this.amount = this.$xdUniHelper.divisionFloatNumber(res.amount ,100);
310
- })
311
- .catch((err) => {
312
- });
313
- },
314
-
315
- onJfbUpdate(data) {
316
- if( this.$configProject.isPreview) {
317
- this.getContent();
318
- }
319
-
176
+ this.$xdUniHelper.redirectTo({
177
+ url: `${this.payPath}?order_id=${pay_order_id}&main_order_id=${order_id}&type=recharge`,
178
+ }, false, true);
320
179
  },
321
180
 
322
181
  onJfbShow(options) {
@@ -334,135 +193,93 @@ export default {
334
193
 
335
194
  .jfb-base-recharge-new {
336
195
  &__body {
337
- &-card {
338
- box-shadow: 0 unit(16, rpx) unit(60, rpx) 0 rgba(227, 227, 227, 0.37);
339
- border-radius: unit(20, rpx);
340
- background: #fff;
196
+ .recharge {
341
197
  padding: 30rpx;
342
- }
343
- &-form {
344
- input {
345
- background: #eeeeee;
346
- border-radius: unit(16, rpx);
347
- padding: unit(30, rpx);
348
- margin-bottom: unit(30, rpx);
349
- }
350
- }
351
198
 
352
- .xd-notice-content {
353
- padding: 0 40rpx 40rpx 40rpx;
354
- & > view:first-child {
355
- font-size: 32rpx;
356
- font-weight: 500;
357
- color: #333;
358
- margin-bottom: 20rpx;
359
- }
360
- & > view:last-child {
361
- line-height: 44rpx;
362
- font-size: 26rpx;
363
- color: #666;
364
- /deep/ img, /deep/ image{
365
- max-width: 100% !important;
366
- height: auto !important;
367
- margin: 22rpx 0;
199
+ &-tab {
200
+ height: 100rpx;
201
+ margin-bottom: 15rpx;
202
+ display:flex;
203
+ justify-content: flex-start;
204
+ align-items: center;
205
+ & > view {
206
+ margin: 0 50rpx 0 0;
207
+ font-size: 32rpx;
208
+ position: relative;
209
+ height: 100%;
210
+ line-height: 100rpx;
211
+ cursor: pointer;
368
212
  }
369
213
 
370
- /deep/ *{
371
- max-width: 100% !important;
214
+ &-index {
215
+ height: 6rpx;
216
+ overflow: hidden;
217
+ border-radius: 4rpx;
218
+ position: absolute;
219
+ left: 0;
220
+ right: 0;
221
+ bottom: 16rpx;
372
222
  }
373
223
  }
374
- }
375
- .xd-notice {
376
- margin-top: unit(40, rpx);
377
- padding: unit(40, rpx);
378
- border-radius: unit(15, rpx)
379
- }
380
- }
381
- }
382
-
383
- .recharge {
384
- padding: 30rpx;
385
-
386
- &-tab {
387
- height: 100rpx;
388
- margin-bottom: 15rpx;
389
- display:flex;
390
- justify-content: flex-start;
391
- align-items: center;
392
- & > view {
393
- margin: 0 50rpx 0 0;
394
- font-size: 32rpx;
395
- position: relative;
396
- height: 100%;
397
- line-height: 100rpx;
398
- cursor: pointer;
399
- }
400
-
401
- &-index {
402
- height: 6rpx;
403
- overflow: hidden;
404
- border-radius: 4rpx;
405
- position: absolute;
406
- left: 0;
407
- right: 0;
408
- bottom: 16rpx;
409
- }
410
- }
411
224
 
412
- .recharge-pack {
413
- height: 330rpx;
414
- background-position: top left;
415
- background-size: 100% 100%;
416
- background-repeat: no-repeat;
417
- color: #fff;
418
- padding: 30rpx;
419
- box-sizing: border-box;
420
- border-radius: 16rpx;
421
- margin-bottom: 30rpx;
422
- &:last-child {
423
- margin-bottom: 0;
424
- }
225
+ .recharge-pack {
226
+ height: 330rpx;
227
+ background-position: top left;
228
+ background-size: 100% 100%;
229
+ background-repeat: no-repeat;
230
+ color: #fff;
231
+ padding: 30rpx;
232
+ box-sizing: border-box;
233
+ border-radius: 16rpx;
234
+ margin-bottom: 30rpx;
235
+ &:last-child {
236
+ margin-bottom: 0;
237
+ }
425
238
 
426
- & .name {
427
- font-size: 32rpx;
428
- font-weight: 500;
429
- }
239
+ & .name {
240
+ font-size: 32rpx;
241
+ font-weight: 500;
242
+ }
430
243
 
431
- & .price {
432
- font-size: 28rpx;
433
- font-weight: 400;
434
- padding: 20rpx 0 10rpx;
435
- }
244
+ & .price {
245
+ font-size: 28rpx;
246
+ font-weight: 400;
247
+ padding: 20rpx 0 10rpx;
248
+ }
436
249
 
437
- & .time {
438
- font-size: 28rpx;
439
- font-weight: 400;
440
- }
250
+ & .time {
251
+ font-size: 28rpx;
252
+ font-weight: 400;
253
+ }
441
254
 
442
- & .line {
443
- margin: 20rpx 0;
444
- height: 2rpx;
445
- background: rgba(255,255,255,.2);
446
- }
255
+ & .line {
256
+ margin: 20rpx 0;
257
+ height: 2rpx;
258
+ background: rgba(255,255,255,.2);
259
+ }
447
260
 
448
- & .buy {
449
- display: flex;
450
- justify-content: space-between;
451
- align-items: center;
261
+ & .buy {
262
+ display: flex;
263
+ justify-content: space-between;
264
+ align-items: center;
265
+
266
+ & > view:nth-child(2) {
267
+ height: 60rpx;
268
+ min-width: 120rpx;
269
+ text-align: center;
270
+ border-radius: 40rpx;
271
+ line-height: 60rpx;
272
+ border: 4rpx solid #fff;
273
+ padding: 0 25rpx;
274
+ font-size: 28rpx;
452
275
 
453
- & > view:nth-child(2) {
454
- height: 60rpx;
455
- min-width: 120rpx;
456
- text-align: center;
457
- border-radius: 40rpx;
458
- line-height: 60rpx;
459
- border: 4rpx solid #fff;
460
- padding: 0 25rpx;
461
- font-size: 28rpx;
276
+ }
277
+ }
462
278
 
463
279
  }
464
280
  }
465
-
466
281
  }
467
282
  }
283
+
284
+
468
285
  </style>