jufubao-base 1.0.341-beta3 → 1.0.341-beta4
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/JfbBaseCardInfo/Attr.js +1 -1
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +6 -7
- package/src/components/JfbBaseCardInfoEntry/Attr.js +1 -1
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +4 -4
- package/src/components/JfbBaseCardSweepInfo/Attr.js +1 -1
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +4 -4
package/package.json
CHANGED
|
@@ -154,10 +154,10 @@
|
|
|
154
154
|
|
|
155
155
|
<!-- 底部业务线描述 -->
|
|
156
156
|
<view v-if="item.multiple_desc" class="jfb-base-card-info__body-type-choose-item-business">
|
|
157
|
-
<view :class="{ 'expanded': isItemExpanded === item.multiple_id, 'no-shadow': isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
157
|
+
<view :class="{ 'expanded': isExpandDesc==='N'?isItemExpanded === item.multiple_id:true, 'no-shadow':isExpandDesc==='Y'|| isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
158
158
|
功能说明: {{ item.multiple_desc}}
|
|
159
159
|
</view>
|
|
160
|
-
<view :style="{color:mainColor}" v-if="isExpandDesc === '
|
|
160
|
+
<view :style="{color:mainColor}" v-if="isExpandDesc === 'N'&&item.multiple_desc.length >= 16" class="jfb-base-card-info__body-type-choose-item-business-expand" @click="toggleExpand(item.multiple_id)">
|
|
161
161
|
{{ isItemExpanded === item.multiple_id ? '收起描述' : '展开描述' }}
|
|
162
162
|
<XdFontIcon style="margin-left:20rpx" size="26" :icon="isItemExpanded === item.multiple_id?'iconshang_up':'iconxia_down'"></XdFontIcon>
|
|
163
163
|
</view>
|
|
@@ -229,8 +229,8 @@ export default {
|
|
|
229
229
|
key: "end_time",
|
|
230
230
|
},
|
|
231
231
|
],
|
|
232
|
-
card_number: "
|
|
233
|
-
card_password: "
|
|
232
|
+
card_number: "", //卡号
|
|
233
|
+
card_password: "", //卡密码
|
|
234
234
|
isPassword: true,
|
|
235
235
|
card_num_placeholder: "",
|
|
236
236
|
card_pwd_placeholder: "",
|
|
@@ -255,7 +255,7 @@ export default {
|
|
|
255
255
|
], // 票券类型列表
|
|
256
256
|
multiple_id: '', // 多场景ID
|
|
257
257
|
multiple_scene: '', // 多场景场景
|
|
258
|
-
isExpandDesc: "
|
|
258
|
+
isExpandDesc: "Y", // 配置套餐描述是否默认展开
|
|
259
259
|
isItemExpanded: null, // 当前展开的项目ID
|
|
260
260
|
};
|
|
261
261
|
},
|
|
@@ -403,8 +403,7 @@ export default {
|
|
|
403
403
|
this.card_pwd_placeholder = getContainerPropsValue(container, "content.card_pwd_placeholder", "请输入密码");
|
|
404
404
|
this.is_show_balance = getContainerPropsValue(container, 'content.is_show_balance', "N");
|
|
405
405
|
this.my_card_url = getContainerPropsValue(container, 'content.my_card_url', { value: "" }).value;
|
|
406
|
-
this.isExpandDesc = getContainerPropsValue(container,'content.isExpandDesc',"
|
|
407
|
-
this.isExpandDesc = "Y"
|
|
406
|
+
this.isExpandDesc = getContainerPropsValue(container,'content.isExpandDesc',"Y")
|
|
408
407
|
},
|
|
409
408
|
onJfbLoad(options) {
|
|
410
409
|
this.qrcode = options.qrcode || options.pa;
|
|
@@ -174,10 +174,10 @@
|
|
|
174
174
|
|
|
175
175
|
<!-- 底部业务线描述 -->
|
|
176
176
|
<view v-if="item.multiple_desc" class="jfb-base-card-info-entry__body-type-choose-item-business">
|
|
177
|
-
<view :class="{ 'expanded': isItemExpanded === item.multiple_id, 'no-shadow': isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
177
|
+
<view :class="{ 'expanded': isExpandDesc==='N'?isItemExpanded === item.multiple_id:true, 'no-shadow':isExpandDesc==='Y'|| isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
178
178
|
功能说明: {{ item.multiple_desc}}
|
|
179
179
|
</view>
|
|
180
|
-
<view v-if="isExpandDesc === '
|
|
180
|
+
<view v-if="isExpandDesc === 'N'&&item.multiple_desc.length >= 16" :style="{color:mainColor}" class="jfb-base-card-info-entry__body-type-choose-item-business-expand" @click="toggleExpand(item.multiple_id)">
|
|
181
181
|
{{ isItemExpanded === item.multiple_id ? '收起描述' : '展开描述' }}
|
|
182
182
|
<xd-font-icon style="margin-left:20rpx" size="26" :icon="isItemExpanded === item.multiple_id?'iconshang_up':'iconxia_down'"></xd-font-icon>
|
|
183
183
|
</view>
|
|
@@ -260,7 +260,7 @@ export default {
|
|
|
260
260
|
cardTypeList: [], // 票券类型列表
|
|
261
261
|
multiple_id: '', // 多场景ID
|
|
262
262
|
multiple_scene: '', // 多场景场景
|
|
263
|
-
isExpandDesc: "
|
|
263
|
+
isExpandDesc: "Y", // 配置套餐描述是否默认展开
|
|
264
264
|
isItemExpanded: null, // 当前展开的项目ID
|
|
265
265
|
};
|
|
266
266
|
},
|
|
@@ -419,7 +419,7 @@ export default {
|
|
|
419
419
|
this.my_card_url = getContainerPropsValue(container, 'content.my_card_url', { value: "" }).value;
|
|
420
420
|
this.is_show_balance = getContainerPropsValue(container, 'content.is_show_balance', "N");
|
|
421
421
|
this.isShowBuss = getContainerPropsValue(container, 'content.isShowBuss', 'N');
|
|
422
|
-
this.isExpandDesc = getContainerPropsValue(container, 'content.isExpandDesc', "
|
|
422
|
+
this.isExpandDesc = getContainerPropsValue(container, 'content.isExpandDesc', "Y");
|
|
423
423
|
//'wechat_mini_program|default'
|
|
424
424
|
this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
|
|
425
425
|
},
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
|
|
110
110
|
<!-- 底部业务线描述 -->
|
|
111
111
|
<view v-if="item.multiple_desc" class="jfb-base-card-sweep-info__body-type-choose-item-business">
|
|
112
|
-
<view :class="{ 'expanded': isItemExpanded === item.multiple_id, 'no-shadow': isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
112
|
+
<view :class="{ 'expanded': isExpandDesc==='N'?isItemExpanded === item.multiple_id:true, 'no-shadow':isExpandDesc==='Y'|| isItemExpanded === item.multiple_id || item.multiple_desc.length < 16 }">
|
|
113
113
|
功能说明: {{ item.multiple_desc}}
|
|
114
114
|
</view>
|
|
115
|
-
<view v-if="isExpandDesc === '
|
|
115
|
+
<view v-if="isExpandDesc === 'N'&&item.multiple_desc.length >= 16" :style="{color:mainColor}" class="jfb-base-card-sweep-info__body-type-choose-item-business-expand" @click="toggleExpand(item.multiple_id)">
|
|
116
116
|
{{ isItemExpanded === item.multiple_id ? '收起描述' : '展开描述' }}
|
|
117
117
|
<xd-font-icon style="margin-left:20rpx" size="26" :icon="isItemExpanded === item.multiple_id?'iconshang_up':'iconxia_down'"></xd-font-icon>
|
|
118
118
|
</view>
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
199
199
|
], // 票券类型列表
|
|
200
200
|
multiple_id: '', // 多场景ID
|
|
201
201
|
multiple_scene: '', // 多场景场景
|
|
202
|
-
isExpandDesc: "
|
|
202
|
+
isExpandDesc: "Y", // 配置套餐描述是否默认展开
|
|
203
203
|
isItemExpanded: null, // 当前展开的项目ID
|
|
204
204
|
};
|
|
205
205
|
},
|
|
@@ -320,7 +320,7 @@ export default {
|
|
|
320
320
|
this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
|
|
321
321
|
this.back_detail_url = getContainerPropsValue( this.container, "content.back_detail_url", { value: "" }).value;
|
|
322
322
|
this.is_show_balance = getContainerPropsValue(this.container, 'content.is_show_balance', "N");
|
|
323
|
-
this.isExpandDesc = getContainerPropsValue(this.container, 'content.isExpandDesc', "
|
|
323
|
+
this.isExpandDesc = getContainerPropsValue(this.container, 'content.isExpandDesc', "Y");
|
|
324
324
|
},
|
|
325
325
|
handleConfirmBind(item) {
|
|
326
326
|
if (!item) {
|