jufubao-base 1.0.179 → 1.0.181-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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardDelay/Api.js +19 -30
  3. package/src/components/JfbBaseCardDelay/Attr.js +237 -35
  4. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +278 -78
  5. package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
  6. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
  7. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  8. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +2 -2
  9. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +8 -8
  10. package/src/components/JfbBaseCardEntry/Attr.js +121 -0
  11. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +205 -29
  12. package/src/components/JfbBaseCardGive/Api.js +18 -34
  13. package/src/components/JfbBaseCardGive/Attr.js +29 -36
  14. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +466 -80
  15. package/src/components/JfbBaseCardGive/Mock.js +2 -9
  16. package/src/components/JfbBaseCardReceive/Api.js +10 -36
  17. package/src/components/JfbBaseCardReceive/Attr.js +9 -39
  18. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +401 -80
  19. package/src/components/JfbBaseCardReceive/Mock.js +1 -7
  20. package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
  21. package/src/components/JfbBaseCardReceiveCover/Attr.js +57 -32
  22. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +147 -82
  23. package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
  24. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  25. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +81 -2
  26. package/src/components/JfbBaseOrderDetail/Mock.js +5 -0
  27. package/src/components/JfbBasePay/Attr.js +12 -0
  28. package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
  29. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
  30. package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
  31. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
  32. package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
  33. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
  34. package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
  35. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  36. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
  37. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +2 -2
@@ -8,49 +8,42 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgcolor',
14
- value: data.bgcolor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80',
17
- rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
22
- },
23
- ]
24
- },
25
- {
26
- label: '选中路径:',
11
+ label: '领取地址:',
27
12
  ele: 'xd-select-pages-path',
28
- valueKey: 'select-pages-path',
29
- value: data['select-pages-path'] || null,
13
+ valueKey: 'get_url',
14
+ groupKey:'advanced',
15
+ placeholder: '请选择领取地址',
16
+ value: data['get_url']||null,
30
17
  setting: {
31
- router: XdBus.getParentApi('getPagesTree')
18
+ router: XdBus.getParentApi('getPagesTree'),
32
19
  },
33
- },
34
- data.bgcolor && {
35
- label: '高度:',
36
- ele: 'el-input',
37
- type: 'number',
38
- valueKey: 'height',
39
- value: data.height || 100,
40
- placeholder: '请输入占位框高度,单位像素,默认:10px',
41
- className: 'input80',
20
+ inline: false,
42
21
  rules: [
43
- {
44
- required: true,
45
- message: '请输入占位框高度',
46
- trigger: 'blur'
47
- },
22
+ { required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
48
23
  ]
49
24
  },
50
25
  {
51
- label: '', //label
52
- ele: 'slot', //package 名称
53
- slot: 'is_reference',
26
+ label: '分享图片:', //label
27
+ ele: 'xd-upload', //package 名称
28
+ valueKey: 'shareImage', //form[valueKey]
29
+ value: data.shareImage || null, //v-model
30
+ defaultValue: data.shareImage || null, //默认图片对象
31
+ groupKey: "style",
32
+ slot: true, //按钮是否使用slot
33
+ oneWidth: 200, //单个图片显示宽度
34
+ oneHeight: 200, //单个图片显示高度
35
+ elinputClassName: 'input40',
36
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
37
+ type: ['jpg', 'png', 'jpeg'],
38
+ styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
39
+ uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
40
+ size: 5, //5M
41
+ action: 'aliyun',
42
+ sort: true, //当上传图片列表时候,是否启用排序
43
+ maxlen: 100, //当上传图片列表时候,最大数量数量
44
+ rules: [
45
+ { required: true, message: '请上传图片', trigger: ['blur', 'change'] },
46
+ ]
54
47
  },
55
48
  ].filter(i=>i)
56
49
  },
@@ -2,110 +2,496 @@
2
2
  <view
3
3
  class="jfb-base-card-give"
4
4
  @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
5
+ :class="{ editx: isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
9
  class="jfb-base-card-give__edit"
10
- :class="{ editx : isEditx && active }"
10
+ :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
13
  <view class="jfb-base-card-give__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
- <view class="jfb-base-card-give__body">
17
- <view>测试插件( {{containerId}} )</view>
16
+ <view class="jfb-base-card-give__body" v-if="info !== null">
17
+ <view
18
+ class="qrcode_card"
19
+ :style="{ background: info['theme']['color'], backgroundSize: '100%' }"
20
+ >
21
+ <view
22
+ :style="{ backgroundImage: 'url(' + info['theme']['image'] + ')' }"
23
+ >
24
+ <view class="card-title"
25
+ ><view>{{ info["card_type_name"] }}</view></view
26
+ >
27
+ <view class="card_info">
28
+ <view class="card_type">券号:{{ info.card_number }}</view>
29
+ <view class="card_sec">有效期:{{ info.end_time }}</view>
30
+ <view class="card_sec"
31
+ >余额:{{ info.card_point }}{{ info.unit }}</view
32
+ >
33
+ <view
34
+ class="card_other"
35
+ v-if="info.other_card_point && info.card_point_type === 2"
36
+ >
37
+ <text>购买其他物品可抵:</text
38
+ ><text>{{ info.other_card_point }} {{ info.unit }}</text>
39
+ </view>
40
+ </view>
41
+ </view>
42
+ </view>
43
+
44
+ <view
45
+ v-if="
46
+ info.transfer_record.status &&
47
+ info.site_entry_settings &&
48
+ info.site_entry_settings.length > 0
49
+ "
50
+ class="jfb-base-card-give__body-business"
51
+ >
52
+ <view class="jfb-base-card-give__body-business-title"
53
+ >支持业务板块</view
54
+ >
55
+ <view
56
+ style="
57
+ display: flex;
58
+ align-content: center;
59
+ justify-content: flex-start;
60
+ "
61
+ >
62
+ <view class="jfb-base-card-give__body-business-content">
63
+ <view
64
+ class="jfb-base-card-give__body-business-content-item"
65
+ v-for="(item, index) in info.site_entry_settings"
66
+ :key="index"
67
+ >
68
+ <view><image :src="item.image_url"></image></view>
69
+ <view>{{ item.entry_name }}</view>
70
+ </view>
71
+ </view>
72
+ </view>
73
+ </view>
74
+
75
+ <view v-if="!info.transfer_record.status" class="greeting">
76
+ <view class="greeting-title">礼品赠言</view>
77
+ <textarea
78
+ v-model="greeting"
79
+ name=""
80
+ id=""
81
+ maxlength="20"
82
+ cols="30"
83
+ rows="10"
84
+ ></textarea>
85
+ <xd-button @click="handleGive" type="primary">确认赠送</xd-button>
86
+ </view>
87
+ <view
88
+ class="jfb-base-card-give__body-footer"
89
+ :style="prod_bottom"
90
+ v-if="
91
+ info.transfer_record.status && info.transfer_record.status === 'N'
92
+ "
93
+ >
94
+ <xd-button type="primary" @click="handleCancel">取消赠送</xd-button>
95
+ <!-- #ifdef H5 -->
96
+ <xd-button type="primary" @click="handleShare">再次分享</xd-button>
97
+ <!-- #endif -->
98
+ <!-- #ifdef MP-WEIXIN -->
99
+ <button class="share-btn" @click="handleShare" open-type="share">
100
+ 再次分享
101
+ </button>
102
+ <!-- #endif -->
103
+ </view>
104
+ <xd-dailog
105
+ title="已赠送"
106
+ :cancel="false"
107
+ :confirm="false"
108
+ :show.sync="dialogShow"
109
+ >
110
+ <view class="dialog">
111
+ <view class="dialog-content"
112
+ >您的票券已赠送,快去告诉朋友及时领取吧!</view
113
+ >
114
+ <view class="dialog-notice"
115
+ >超过24H未领取,票券会自动退回您的账户中。</view
116
+ >
117
+ <!-- #ifdef MP-WEIXIN -->
118
+ <button class="share-btn" @click="handleShare" open-type="share">
119
+ 通知微信好友
120
+ </button>
121
+ <!-- #endif -->
122
+ <!-- #ifdef H5 -->
123
+ <xd-button @click="handleShare" width="360rpx" type="primary"
124
+ >通知微信好友</xd-button
125
+ >
126
+ <!-- #endif -->
127
+ </view>
128
+ </xd-dailog>
129
+ <xd-dailog
130
+ title=""
131
+ :cancel="false"
132
+ :confirm="false"
133
+ :show.sync="resultDialog"
134
+ >
135
+ <view class="dialog">
136
+ <view class="dialog-title">取消失败</view>
137
+ <view class="dialog-content">{{ errMsg }}</view>
138
+ <xd-button @click="resultDialog = false" width="360rpx" type="primary"
139
+ >确定</xd-button
140
+ >
141
+ </view>
142
+ </xd-dailog>
18
143
  </view>
19
144
  </view>
20
145
  </template>
21
146
 
22
147
  <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseCardGiveMixin from "./JfbBaseCardGiveMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseCardGive",
31
- components: {
32
- XdFontIcon
33
- },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCardGiveMixin
36
- ],
37
- data() {
38
- return {
148
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
149
+ import XdButton from "@/components/XdButton/XdButton";
150
+ import XdDailog from "@/components/XdDailog/XdDailog";
151
+ import { jfbRootExec } from "@/utils/xd.event";
152
+ import JfbBaseCardGiveMixin from "./JfbBaseCardGiveMixin";
153
+ import colorCardMixins from "@/mixins/colorCardMixins";
154
+ import { getContainerPropsValue } from "@/utils/xd.base";
155
+ import componentsMixins from "@/mixins/componentsMixins";
156
+ import { mapState, mapMutations } from "vuex";
157
+ import extsMixins from "@/mixins/extsMixins";
158
+ import getServiceUrl from "@/common/getServiceUrl";
39
159
 
40
- //todo
41
- }
160
+ export default {
161
+ name: "JfbBaseCardGive",
162
+ components: {
163
+ XdFontIcon,
164
+ XdButton,
165
+ XdDailog,
166
+ },
167
+ mixins: [componentsMixins, extsMixins, JfbBaseCardGiveMixin, colorCardMixins],
168
+ data() {
169
+ return {
170
+ info: null,
171
+ card_number: null,
172
+ greeting: "",
173
+ dialogShow: false,
174
+ get_url: null,
175
+ shareImage: "",
176
+ isPreview: false,
177
+ errMsg: "",
178
+ resultDialog: false,
179
+ };
180
+ },
181
+ computed: {
182
+ ...mapState(["shareInfo"]),
183
+ prod_bottom() {
184
+ return this.fixedStyle({ height: 0, zIndex: 111 });
42
185
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
186
+ },
187
+ watch: {
188
+ container(value, oldValue) {
189
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
190
+ if (this.$configProject["isPreview"]) this.init(value);
48
191
  },
49
- created() {
50
- this.init(this.container);
51
-
52
- //todo
192
+ },
193
+ async created() {
194
+ this.isPreview = this.$configProject["isPreview"];
195
+ this.init(this.container);
196
+ console.log(this.projectAttr, "this.projectAttr");
197
+ },
198
+ methods: {
199
+ ...mapMutations(["setShareInfo"]),
200
+ async onJfbLoad(options) {
201
+ this.card_number = options.card_number;
202
+ await this.getDetail();
53
203
  },
54
- methods: {
55
- onJfbLoad(options) {
56
-
57
- // jfbRootExec('baiduUserLogin', {
58
-
59
- // vm: this,// data: {
60
-
61
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
-
63
- // }
64
-
65
- // }).then().catch()
66
- },
67
- /**
68
- * @description 监听事件变化
69
- * @param container {object} 业务组件对象自己
70
- */
71
- init(container) {
72
-
73
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
74
-
75
- //this.height = getContainerPropsValue(container, 'content.height', 10);
76
- },
77
- onJfbScroll(options) {
78
- console.log('event.onJfbScroll', options)
79
- },
80
- onJfbReachBottom(options) {
81
- console.log('event.onJfbReachBottom', options)
82
- },
83
- onJfbShow(options) {
84
- console.log('event.onJfbShow', options)
85
- },
86
- onJfbHide(options) {
87
- console.log('event.onJfbHide', options)
88
- },
89
- onJfbBack(options) {
90
- console.log('event.onJfbBack', options)
91
- },
92
- onJfbUpdate(...data) {
93
- console.log('event.onJfbUpdate', data)
94
- },
95
- onJfbCustomEvent(options) {
96
- console.log('event.onJfbReachBottom', options)
97
- },
98
- }
99
- }
204
+ getDetail() {
205
+ jfbRootExec("getBaseByIdCardDetailGive", {
206
+ vm: this,
207
+ data: {
208
+ card_number: this.card_number,
209
+ is_show_entry_settings: "Y",
210
+ },
211
+ })
212
+ .then((res) => {
213
+ this.info = res;
214
+ this.info.card_point = this.$xdUniHelper.divisionFloatNumber(
215
+ this.info.card_point,
216
+ 100
217
+ );
218
+ this.greeting = res.transfer_record.greeting;
219
+ this.info["theme"] = this.getCardThemes(this.info["card_type_name"]);
220
+ if (
221
+ this.info &&
222
+ this.info.site_entry_settings &&
223
+ this.info.site_entry_settings.length > 0
224
+ ) {
225
+ this.info.site_entry_settings =
226
+ this.info.site_entry_settings.filter((item) => {
227
+ item["image_url"] = getServiceUrl(item["image_url"]);
228
+ return this.info.business_codes.includes(item.business_code);
229
+ });
230
+ }
231
+ })
232
+ .catch((err) => {
233
+ console.log(err, "err");
234
+ });
235
+ },
236
+ /**
237
+ * @description 监听事件变化
238
+ * @param container {object} 业务组件对象自己
239
+ */
240
+ init(container) {
241
+ this.get_url = getContainerPropsValue(container, "content.get_url", {
242
+ value: "",
243
+ }).value;
244
+ this.shareImage = getContainerPropsValue(
245
+ container,
246
+ "content.shareImage",
247
+ { url: "" }
248
+ ).url;
249
+ },
250
+ handleCancel() {
251
+ jfbRootExec("cancelGiveCard", {
252
+ vm: this,
253
+ data: {
254
+ transfer_auth_code: this.info.transfer_record.transfer_auth_code,
255
+ },
256
+ })
257
+ .then((res) => {
258
+ if (res.error_code) {
259
+ this.resultDialog = true;
260
+ this.errMsg = res.error_msg;
261
+ } else {
262
+ this.getDetail();
263
+ }
264
+ })
265
+ .catch((err) => {
266
+ console.log(err, "err");
267
+ });
268
+ },
269
+ handleGive() {
270
+ jfbRootExec("confirmGiveCard", {
271
+ vm: this,
272
+ data: {
273
+ card_number: this.card_number,
274
+ greeting: this.greeting,
275
+ },
276
+ })
277
+ .then((res) => {
278
+ this.getDetail();
279
+ this.dialogShow = true;
280
+ })
281
+ .catch((err) => {
282
+ console.log(err, "err");
283
+ });
284
+ },
285
+ copy(text) {
286
+ // #ifdef H5
287
+ this.$copyText(text).then((res) => {
288
+ this.$xdAlert({ content: "复制成功" });
289
+ });
290
+ // #endif
291
+ // #ifndef H5
292
+ uni.setClipboardData({
293
+ data: text,
294
+ success: () => {
295
+ //this.$xdAlert({ content: "复制成功" });
296
+ },
297
+ });
298
+ // #endif
299
+ },
300
+ handleShare() {
301
+ //#ifdef H5
302
+ let share = `${document.location.origin}/${this.projectAttr.deploy_dir}${this.get_url}?transfer_auth_code=${this.info.transfer_record.transfer_auth_code}`;
303
+ this.copy(share);
304
+ // #endif
305
+ // #ifdef MP-WEIXIN
306
+ this.setShareInfo({
307
+ title: "您的好友送你一张票券,快来领取吧",
308
+ imageUrl: getServiceUrl(this.shareImage),
309
+ path: `${this.get_url}?transfer_auth_code=${this.info.transfer_record.transfer_auth_code}`,
310
+ });
311
+ console.log(this.shareInfo, "shareInfoshareInfo");
100
312
 
313
+ // #endif
314
+ },
315
+ },
316
+ };
101
317
  </script>
102
318
 
103
319
  <style scoped lang="less">
104
- @import "./JfbBaseCardGiveLess.less";
320
+ @import "./JfbBaseCardGiveLess.less";
105
321
 
106
- .jfb-base-card-give {
107
- &__body{
322
+ .jfb-base-card-give {
323
+ &__body {
324
+ padding: 28rpx;
325
+ color: #333;
326
+ .qrcode_card {
327
+ position: relative;
328
+ border-radius: unit(16, rpx);
329
+ &-title {
330
+ display: flex;
331
+ font-size: 32rpx;
332
+ }
333
+ .card-title {
334
+ height: unit(56, rpx);
335
+ display: flex;
336
+ justify-content: flex-start;
337
+ align-items: center;
108
338
 
339
+ & > view {
340
+ padding: 0 unit(50, rpx);
341
+ font-size: unit(24, rpx);
342
+ line-height: unit(56, rpx);
343
+ background: rgba(102, 102, 102, 0.4);
344
+ color: #fff;
345
+ border-radius: unit(16, rpx) 0 unit(16, rpx) 0;
346
+ display: flex;
347
+ align-items: center;
348
+ }
349
+ }
350
+ .card_info {
351
+ color: #ffffff;
352
+ font-size: 28rpx;
353
+ padding-left: 40rpx;
354
+ background-size: 100%;
355
+ min-height: unit(200, rpx);
356
+
357
+   .card_type {
358
+ font-size: 40rpx;
359
+ font-weight: 600;
360
+ margin-top: 20rpx;
361
+ }
362
+ .card_sec {
363
+ margin: 12rpx 0;
364
+ }
365
+ .card_other {
366
+ background-color: rgba(255, 255, 255, 0.2);
367
+ border-radius: 8rpx;
368
+ padding: 8rpx 20rpx;
369
+ display: inline-block;
370
+ margin-bottom: 30rpx;
371
+ }
372
+ }
373
+ }
374
+ .greeting {
375
+ border-radius: 16rpx;
376
+ background: rgba(255, 255, 255, 1);
377
+ padding: 40rpx;
378
+ margin-top: 26rpx;
379
+ &-title {
380
+ font-size: 26rpx;
381
+ margin-bottom: 40rpx;
382
+ }
383
+ textarea {
384
+ border-radius: 16rpx;
385
+ border: 2rpx solid #eeeeee;
386
+ padding: 18rpx 26rpx;
387
+ margin: 0 auto 40rpx auto;
388
+ width: 90%;
389
+ }
390
+ }
391
+ .dialog {
392
+ .dialog-title {
393
+ font-size: 40rpx;
394
+ font-weight: 500;
395
+ text-align: center;
396
+ }
397
+ .dialog-content {
398
+ font-size: 36rpx;
399
+ margin: 40rpx 0;
400
+ text-align: left;
401
+ }
402
+ .dialog-notice {
403
+ font-size: 24rpx;
404
+ color: rgba(255, 87, 51, 1);
405
+ text-align: left;
406
+ margin-bottom: 40rpx;
407
+ }
408
+ }
409
+ &-footer {
410
+ position: fixed;
411
+ left: 0;
412
+ right: 0;
413
+ height: unit(100, rpx);
414
+ display: flex;
415
+ justify-content: space-around;
416
+ align-items: center;
417
+ background: #fff;
418
+ }
419
+ &-business {
420
+ background: #fff;
421
+ border-radius: unit(16, rpx);
422
+ margin-top: unit(24, rpx);
423
+
424
+ &-title {
425
+ font-size: unit(28, rpx);
426
+ font-weight: 500;
427
+ text-align: center;
428
+ padding: unit(28, rpx);
429
+ }
430
+
431
+ &-content {
432
+ display: flex;
433
+ justify-content: flex-start;
434
+ align-items: center;
435
+ flex-flow: wrap;
436
+ padding-left: unit(30, rpx);
437
+
438
+ & > view {
439
+ width: unit(120, rpx);
440
+ margin-right: unit(10, rpx);
441
+ flex-shrink: 0;
442
+ display: flex;
443
+ justify-content: center;
444
+ flex-direction: column;
445
+ align-items: center;
446
+
447
+ & > view:first-child {
448
+ width: unit(76, rpx);
449
+ height: unit(76, rpx);
450
+ overflow: hidden;
451
+
452
+ & > image {
453
+ height: 100%;
454
+ width: 100%;
455
+ }
456
+ }
457
+
458
+ & > view:nth-child(2) {
459
+ margin-top: unit(10, rpx);
460
+ font-size: unit(24, rpx);
461
+ line-height: unit(36, rpx);
462
+ margin-bottom: unit(10, rpx);
463
+ .uni-cut(1,36);
464
+ }
465
+
466
+ & > view:nth-child(3) {
467
+ display: flex;
468
+ justify-content: flex-start;
469
+ align-items: center;
470
+ flex-shrink: 0;
471
+ font-size: unit(20, rpx);
472
+ color: #999;
473
+ }
474
+
475
+ &:last-child {
476
+ margin-right: 0;
477
+ }
478
+ }
479
+ }
480
+ }
481
+ .share-btn {
482
+ opacity: 1;
483
+ background: #ff5a39;
484
+ font-size: 19px;
485
+ height: 44px;
486
+ line-height: 44px;
487
+ border-radius: 22px;
488
+ color: #fff;
489
+ width: auto;
490
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0);
491
+ border: 0;
492
+ padding: 0 33px;
493
+ margin: 0;
109
494
  }
110
495
  }
496
+ }
111
497
  </style>
@@ -1,13 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
-
5
- getCardByIdFilmSquate:{},
6
-
7
- updateCardFilmPaiqiDate:{},
8
-
9
- removeCardFilmAddress:{},
10
-
11
- addCardFilmcart:{},
12
-
4
+ getBaseByIdCardDetailGive:{"card_number":"101001000008485","card_point":88705,"card_type_name":"聚福宝福","end_time":"2025-05-30","card_status":"Y","card_status_name":"开启","unit":"点","main_business_code_name":"","other_card_point":0,"is_exchange":"N","exchange_card_type_name":"","exchange_card_point":0,"card_point_type":1,"is_can_unbind":"","business_codes":["movie","market","cake","book","video"],"site_entry_settings":[],"transfer_record":[],"request_id":"970de3fe6285d556"},
5
+ confirmGive:{"transfer_auth_code":"FM9DFOlHKt5x4tX7s1e_b","record_id":6,"expired_time":1723100884,"request_id":"259819d9ed24f218"},
13
6
  }