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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.341-beta3",
3
+ "version": "1.0.341-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -55,7 +55,7 @@ export default {
55
55
  label: "配置套餐描述是否默认展开:",
56
56
  ele: "xd-radio",
57
57
  valueKey: "isExpandDesc",
58
- value: "N",
58
+ value: "Y",
59
59
  list: [
60
60
  { label: "展示", value: "Y" },
61
61
  { label: "隐藏", value: "N" }
@@ -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 === 'Y'&&item.multiple_desc.length >= 16" class="jfb-base-card-info__body-type-choose-item-business-expand" @click="toggleExpand(item.multiple_id)">
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: "101001000009505", //卡号
233
- card_password: "699274151775", //卡密码
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: "N", // 配置套餐描述是否默认展开
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',"N")
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;
@@ -61,7 +61,7 @@ export default {
61
61
  label: "配置套餐描述是否默认展开:",
62
62
  ele: "xd-radio",
63
63
  valueKey: "isExpandDesc",
64
- value: "N",
64
+ value: "Y",
65
65
  list: [
66
66
  { label: "展示", value: "Y" },
67
67
  { label: "隐藏", value: "N" }
@@ -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 === 'Y'&&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)">
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: "N", // 配置套餐描述是否默认展开
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', "N");
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
  },
@@ -43,7 +43,7 @@ export default {
43
43
  label: "配置套餐描述是否默认展开:",
44
44
  ele: "xd-radio",
45
45
  valueKey: "isExpandDesc",
46
- value: "N",
46
+ value: "Y",
47
47
  list: [
48
48
  { label: "展示", value: "Y" },
49
49
  { label: "隐藏", value: "N" }
@@ -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 === 'Y'&&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)">
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: "N", // 配置套餐描述是否默认展开
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', "N");
323
+ this.isExpandDesc = getContainerPropsValue(this.container, 'content.isExpandDesc', "Y");
324
324
  },
325
325
  handleConfirmBind(item) {
326
326
  if (!item) {