jufubao-base 1.0.233-beta33 → 1.0.234-beta1
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
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
></image>
|
|
288
288
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
289
289
|
</view>
|
|
290
|
-
|
|
290
|
+
<view v-if="info.codes[0].tips" class="jfb-base-order-detail__body-cashier-text">{{ info.codes[0].tips }}</view>
|
|
291
291
|
<view v-if="info.codes[0].can_read_password" class="jfb-base-order-detail__body-cashier-password" @click="showPassword = true">
|
|
292
292
|
{{ showPassword ? info.codes[0].can_read_code : "查看" }}
|
|
293
293
|
</view>
|
|
@@ -801,6 +801,7 @@
|
|
|
801
801
|
</image>
|
|
802
802
|
</view>
|
|
803
803
|
</view>
|
|
804
|
+
<view v-if="dialogCode && dialogCode.tips" class="dialog_password"> {{ dialogCode.tips}}</view>
|
|
804
805
|
<view v-if="dialogPassword" class="dialog_password">{{ dialogPassword }}</view>
|
|
805
806
|
</xd-dailog>
|
|
806
807
|
</view>
|
|
@@ -862,6 +863,7 @@ export default {
|
|
|
862
863
|
|
|
863
864
|
showPassword: false,
|
|
864
865
|
dialogPassword: "",
|
|
866
|
+
dialogCode: null,
|
|
865
867
|
|
|
866
868
|
//基础
|
|
867
869
|
radius: 0,
|
|
@@ -1274,6 +1276,7 @@ export default {
|
|
|
1274
1276
|
this.showType = item.show_type;
|
|
1275
1277
|
this.logo = item.logo;
|
|
1276
1278
|
this.dialogPassword = item.can_read_code;
|
|
1279
|
+
this.dialogCode = item;
|
|
1277
1280
|
console.log(this.codeSrc, "this.codeSrc");
|
|
1278
1281
|
this.showCode = true;
|
|
1279
1282
|
},
|
|
@@ -102,16 +102,17 @@
|
|
|
102
102
|
class="jfb-base-success__body-card jfb-base-success__body-cashier"
|
|
103
103
|
>
|
|
104
104
|
<view class="jfb-base-success__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
<view style="position: relative">
|
|
106
|
+
<image
|
|
107
|
+
:style="{
|
|
108
|
+
height: info.codes[0].show_type === 'qrcode' ? '50vw' : '25vw',
|
|
109
|
+
width: info.codes[0].show_type === 'qrcode' ? '50vw' : '85vw',
|
|
110
|
+
}"
|
|
111
|
+
:src="info.codes[0].code_url"
|
|
112
|
+
></image>
|
|
113
|
+
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
114
|
+
</view>
|
|
115
|
+
<view v-if="info.codes[0].tips" class="jfb-base-success__body-cashier-text">{{ info.codes[0].tips }}</view>
|
|
115
116
|
<view
|
|
116
117
|
v-if="info.codes[0].can_read_password"
|
|
117
118
|
class="jfb-base-success__body-cashier-password"
|
|
@@ -354,6 +355,7 @@
|
|
|
354
355
|
</image>
|
|
355
356
|
</view>
|
|
356
357
|
</view>
|
|
358
|
+
<view v-if="dialogCode && dialogCode.tips" class="jfb-base-success__body-d_password">{{ dialogCode.tips }}</view>
|
|
357
359
|
<view v-if="dialogPassword" class="jfb-base-success__body-d_password">
|
|
358
360
|
{{ dialogPassword }}
|
|
359
361
|
</view>
|
|
@@ -443,6 +445,7 @@ export default {
|
|
|
443
445
|
codeSrc: "",
|
|
444
446
|
logo: "",
|
|
445
447
|
dialogPassword: "",
|
|
448
|
+
dialogCode: null,
|
|
446
449
|
...styleForm.getDataItem(),
|
|
447
450
|
};
|
|
448
451
|
},
|
|
@@ -486,6 +489,7 @@ export default {
|
|
|
486
489
|
this.showType = item.show_type;
|
|
487
490
|
this.logo = item.logo;
|
|
488
491
|
this.dialogPassword = item.can_read_code;
|
|
492
|
+
this.dialogCode = item;
|
|
489
493
|
this.showCode = true;
|
|
490
494
|
},
|
|
491
495
|
/**
|
|
@@ -7,6 +7,9 @@ import CusAttr from "./CusAttr";
|
|
|
7
7
|
export default {
|
|
8
8
|
style: [],
|
|
9
9
|
content: (data) => {
|
|
10
|
+
let entryGroupId = 'default';
|
|
11
|
+
if(data['entryGroupId']) entryGroupId = data['entryGroupId'];
|
|
12
|
+
|
|
10
13
|
return [
|
|
11
14
|
{
|
|
12
15
|
label: '是否支持聚好兑:',
|
|
@@ -239,89 +242,12 @@ export default {
|
|
|
239
242
|
groupKey: "style",
|
|
240
243
|
type: "number",
|
|
241
244
|
},
|
|
242
|
-
// {
|
|
243
|
-
// label: "全部 - 列表单个样式配置",
|
|
244
|
-
// ele: "title",
|
|
245
|
-
// groupKey:'style',
|
|
246
|
-
// size: "small",
|
|
247
|
-
// },
|
|
248
|
-
// {
|
|
249
|
-
// label: "业务板块列表单个背景色",
|
|
250
|
-
// ele: "xd-color",
|
|
251
|
-
// valueKey: 'allModuleItemContBgColor',
|
|
252
|
-
// value: data['allModuleItemContBgColor'] || '#FFFFFF',
|
|
253
|
-
// groupKey:'style',
|
|
254
|
-
// },
|
|
255
|
-
// {
|
|
256
|
-
// label: "业务板块列表单个间距",
|
|
257
|
-
// ele: "el-input",
|
|
258
|
-
// valueKey: "allModuleItemContMargin",
|
|
259
|
-
// value: data.allModuleItemContMargin || 20,
|
|
260
|
-
// groupKey:'style',
|
|
261
|
-
// type: "number",
|
|
262
|
-
// },
|
|
263
|
-
// {
|
|
264
|
-
// label: "业务板块列表单个边框",
|
|
265
|
-
// ele: "xd-border",
|
|
266
|
-
// valueKey: 'allModuleItemContBorder',
|
|
267
|
-
// value: data['allModuleItemContBorder'] || null,
|
|
268
|
-
// groupKey:'style',
|
|
269
|
-
// },
|
|
270
|
-
// {
|
|
271
|
-
// label: "业务板块列表单个阴影",
|
|
272
|
-
// ele: "xd-shadow",
|
|
273
|
-
// groupKey:'style',
|
|
274
|
-
// valueKey: 'allModuleItemContShadow',
|
|
275
|
-
// value: data['allModuleItemContShadow'] || null,
|
|
276
|
-
// handleCustom({action, data}) {
|
|
277
|
-
// XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
278
|
-
// .then(res => {
|
|
279
|
-
// data.cb(res.list)
|
|
280
|
-
// })
|
|
281
|
-
// .catch(error => {
|
|
282
|
-
// console.error(error);
|
|
283
|
-
// data.cb([])
|
|
284
|
-
// });
|
|
285
|
-
// },
|
|
286
|
-
// },
|
|
287
|
-
// {
|
|
288
|
-
// label: "业务板块列表单个内边距",
|
|
289
|
-
// ele: "xd-margin-padding",
|
|
290
|
-
// valueKey: "allModuleItemContPadding",
|
|
291
|
-
// value: data['allModuleItemContPadding'] || null,
|
|
292
|
-
// groupKey:'style',
|
|
293
|
-
// setting: {
|
|
294
|
-
// type: 'padding',
|
|
295
|
-
// },
|
|
296
|
-
// placeholder: '请设置内边距',
|
|
297
|
-
// inline: false,
|
|
298
|
-
// notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
299
|
-
// },
|
|
300
|
-
// {
|
|
301
|
-
// label: "业务板块列表单个圆角",
|
|
302
|
-
// ele: 'xd-site-select-list',
|
|
303
|
-
// valueKey: 'allModuleItemContRadius',
|
|
304
|
-
// value: data.allModuleItemContRadius || 16,
|
|
305
|
-
// groupKey:'style',
|
|
306
|
-
// placeholder: '请选择内容圆角设置',
|
|
307
|
-
// multiple: false,
|
|
308
|
-
// className: 'input80',
|
|
309
|
-
// handleCustom({ action, data }) {
|
|
310
|
-
// XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
311
|
-
// .then(res => {
|
|
312
|
-
// data.cb(res.list)
|
|
313
|
-
// })
|
|
314
|
-
// .catch(error => {
|
|
315
|
-
// console.error(error);
|
|
316
|
-
// });
|
|
317
|
-
// },
|
|
318
|
-
// },
|
|
319
245
|
|
|
320
246
|
{
|
|
321
247
|
label: '选择综合入口类型:',
|
|
322
248
|
ele: 'xd-site-select-list',
|
|
323
249
|
valueKey: 'entryGroupId',
|
|
324
|
-
value:
|
|
250
|
+
value: entryGroupId,
|
|
325
251
|
placeholder: '请选择综合入口类型',
|
|
326
252
|
multiple: false,
|
|
327
253
|
groupKey:'content',
|
|
@@ -349,12 +275,12 @@ export default {
|
|
|
349
275
|
multiple: false,
|
|
350
276
|
className: 'input80',
|
|
351
277
|
setting: {
|
|
352
|
-
group_id:
|
|
278
|
+
group_id: entryGroupId,
|
|
353
279
|
},
|
|
354
|
-
handleCustom(
|
|
355
|
-
XdBus.getParentApi('getSearchSettingOptions')(
|
|
280
|
+
handleCustom(resData) {
|
|
281
|
+
XdBus.getParentApi('getSearchSettingOptions')(resData.data.params)
|
|
356
282
|
.then(res => {
|
|
357
|
-
data.cb(res.list)
|
|
283
|
+
resData.data.cb(res.list)
|
|
358
284
|
})
|
|
359
285
|
.catch(error => {
|
|
360
286
|
console.error(error);
|