jufubao-base 1.0.132 → 1.0.134-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 +4 -3
- package/src/components/JfbBaseAddress/Attr.js +11 -5
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
- package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
- package/src/components/JfbBaseBackground/Attr.js +9 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
- package/src/components/JfbBaseBlock/Attr.js +12 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
- package/src/components/JfbBaseCard/Attr.js +78 -36
- package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
- package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +7 -1
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
- package/src/components/JfbBaseCardDetail/Attr.js +4 -3
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
- package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -13
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
- package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
- package/src/components/JfbBaseCardEntry/Api.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +86 -67
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
- package/src/components/JfbBaseCardInfo/Attr.js +22 -16
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
- package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
- package/src/components/JfbBaseCardMerge/Attr.js +21 -8
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
- package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
- package/src/components/JfbBaseCardShift/Attr.js +18 -4
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
- package/src/components/JfbBaseCardShift/Mock.js +21 -0
- package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
- package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
- package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
- package/src/components/JfbBaseCardV2/Attr.js +21 -17
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
- package/src/components/JfbBaseCardV3/Attr.js +18 -14
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
- package/src/components/JfbBaseCity/Attr.js +2 -4
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
- package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
- package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
- package/src/components/JfbBaseConDialog/Api.js +2 -2
- package/src/components/JfbBaseConDialog/Attr.js +30 -20
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
- package/src/components/JfbBaseConDialog/Mock.js +20 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
- package/src/components/JfbBaseConList/Api.js +1 -1
- package/src/components/JfbBaseConList/Attr.js +149 -224
- package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
- package/src/components/JfbBaseEntry/Attr.js +33 -21
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
- package/src/components/JfbBaseFastLink/Api.js +1 -54
- package/src/components/JfbBaseFastLink/Attr.js +168 -116
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
- package/src/components/JfbBaseFooter/Attr.js +28 -22
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
- package/src/components/JfbBaseHeader/Attr.js +89 -91
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
- package/src/components/JfbBaseLogin/Api.js +1 -1
- package/src/components/JfbBaseLogin/Attr.js +111 -88
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
- package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
- package/src/components/JfbBaseMapSearch/Attr.js +0 -15
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
- package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
- package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
- package/src/components/JfbBaseNotice/Attr.js +97 -56
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
- package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +8 -3
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
- package/src/components/JfbBaseOrderList/Attr.js +56 -44
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
- package/src/components/JfbBasePay/Attr.js +2 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
- package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
- package/src/components/JfbBasePay/Mock.js +2 -1
- package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
- package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
- package/src/components/JfbBasePoster/Attr.js +103 -83
- package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +47 -34
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
- package/src/components/JfbBasePosterType/Attr.js +82 -48
- package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
- package/src/components/JfbBaseRecharge/Attr.js +35 -23
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
- package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
- package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
- package/src/components/JfbBaseSearch/Attr.js +6 -148
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
- package/src/components/JfbBaseSetPwd/Attr.js +6 -147
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
- package/src/components/JfbBaseSuccess/Attr.js +89 -19
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +39 -18
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
- package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
- package/src/components/JfbBaseUserCenter/Attr.js +72 -53
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
- package/src/components/JfbBaseUserInfo/Attr.js +54 -45
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
- package/src/components/JfbBaseUserOrder/Attr.js +119 -94
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
- package/src/components/JfbBaseVideo/Attr.js +72 -19
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
- package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
- package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
- package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
- package/src/components/JfbBaseLine/Attr.js +0 -59
- package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
- package/src/components/JfbBasePosterType/Screen.vue +0 -284
- package/src/components/JfbBaseSearch/Api.js +0 -60
- package/src/components/JfbBaseSearch/Mock.js +0 -5
|
@@ -16,92 +16,102 @@
|
|
|
16
16
|
<view class="jfb-base-con-list__edit-icon" @click="delEdit">删除</view>
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
|
-
<view class="jfb-base-con-list__body"
|
|
20
|
-
backgroundImage: `url(${background})`,
|
|
21
|
-
backgroundSize: '100%',
|
|
22
|
-
backgroundRepeat: 'no-repeat',
|
|
23
|
-
minHeight: `${layoutInfo.bodyMinHeightRpx}rpx`,
|
|
24
|
-
}">
|
|
19
|
+
<view class="jfb-base-con-list__body">
|
|
25
20
|
<view
|
|
26
|
-
v-if="
|
|
21
|
+
v-if="done"
|
|
22
|
+
:style="{
|
|
23
|
+
backgroundImage: `url(${background})`,
|
|
24
|
+
backgroundSize: '100%',
|
|
25
|
+
backgroundRepeat: 'no-repeat',
|
|
26
|
+
minHeight: `${layoutInfo.bodyMinHeightRpx}rpx`,
|
|
27
|
+
}"
|
|
27
28
|
>
|
|
28
|
-
<view
|
|
29
|
-
<view class="jfb-base-con-list__body-content
|
|
30
|
-
<view class="jfb-base-con-list__body-content-header
|
|
31
|
-
<view
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
:style="{ color: '#FA2125', backgroundColor: contentBackground }"
|
|
36
|
-
class="jfb-base-con-list__body-content-header-right"
|
|
37
|
-
@click="showRule = true"
|
|
38
|
-
>
|
|
39
|
-
<text>领券规则</text>
|
|
40
|
-
<xd-font-icon size="20" icon="iconxiangyou_xian"></xd-font-icon>
|
|
41
|
-
</view>
|
|
42
|
-
</view>
|
|
43
|
-
<view v-if="can_take === 'Y' && has_times === 'Y'" class="jfb-base-con-list__body-content-list">
|
|
44
|
-
<view v-for="(item, index) in couponList" :key="index">
|
|
29
|
+
<view v-if="couponList&&couponList.length > 0" >
|
|
30
|
+
<view class="jfb-base-con-list__body-content">
|
|
31
|
+
<view class="jfb-base-con-list__body-content-header">
|
|
32
|
+
<view class="jfb-base-con-list__body-content-header-left">
|
|
33
|
+
<view :style="{ backgroundColor: '#FF4D4A' }"></view>
|
|
34
|
+
<view>赠送优惠券</view>
|
|
35
|
+
</view>
|
|
45
36
|
<view
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
|
|
50
|
-
}"
|
|
37
|
+
:style="{ color: '#FA2125', backgroundColor: contentBackground }"
|
|
38
|
+
class="jfb-base-con-list__body-content-header-right"
|
|
39
|
+
@click="showRule = true"
|
|
51
40
|
>
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
41
|
+
<text>领券规则</text>
|
|
42
|
+
<xd-font-icon size="20" icon="iconxiangyou_xian"></xd-font-icon>
|
|
43
|
+
</view>
|
|
44
|
+
</view>
|
|
45
|
+
<view v-if="can_take === 'Y' && has_times === 'Y'" class="jfb-base-con-list__body-content-list">
|
|
46
|
+
<view v-for="(item, index) in couponList" :key="index">
|
|
47
|
+
<view
|
|
48
|
+
class="jfb-base-con-list__body-content-list-item"
|
|
49
|
+
:class="'status_' + item.can_take_num"
|
|
59
50
|
:style="{
|
|
60
|
-
|
|
61
|
-
position: 'absolute',
|
|
62
|
-
right: '0rpx',
|
|
63
|
-
top: '0rpx',
|
|
51
|
+
backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
|
|
64
52
|
}"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
style="
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
53
|
+
>
|
|
54
|
+
<view class="item_head">
|
|
55
|
+
<image class="t_icon" mode="widthFix" :src="item.headIcon" ></image>
|
|
56
|
+
<view>{{ item.prize_type }}</view>
|
|
57
|
+
</view>
|
|
58
|
+
<view class="item_sub">{{ item.prize_name }}</view>
|
|
59
|
+
<xd-font-icon
|
|
60
|
+
size="100"
|
|
61
|
+
:style="{
|
|
62
|
+
color: item.iconColor,
|
|
63
|
+
position: 'absolute',
|
|
64
|
+
right: '0rpx',
|
|
65
|
+
top: '0rpx',
|
|
66
|
+
}"
|
|
67
|
+
:icon="item.icon"
|
|
68
|
+
></xd-font-icon>
|
|
69
|
+
<view class="btn_wrap">
|
|
70
|
+
<xd-button
|
|
71
|
+
size="small"
|
|
72
|
+
:disabled="item.can_take_num !=='Y' && item.remain_card_count == 0"
|
|
73
|
+
@click="getCoupont(item)"
|
|
74
|
+
type="primary"
|
|
75
|
+
style="width: 170rpx;height: 60rpx;"
|
|
76
|
+
:style="item.btn"
|
|
77
|
+
:color="item.infoColor"
|
|
78
|
+
>{{ item.btn_txt }}</xd-button>
|
|
79
|
+
</view>
|
|
77
80
|
</view>
|
|
78
81
|
</view>
|
|
79
82
|
</view>
|
|
83
|
+
<view v-else class="jfb-base-con-list__body-content-list" style="padding-bottom: 60rpx;">
|
|
84
|
+
<image mode="widthFix" :src="used_up_url"></image>
|
|
85
|
+
</view>
|
|
80
86
|
</view>
|
|
81
|
-
<view
|
|
82
|
-
<
|
|
87
|
+
<view class="jfb-base-con-list__body-content-foot" @click="toCoupon" >
|
|
88
|
+
<view
|
|
89
|
+
:style="{
|
|
90
|
+
padding:outPadding,
|
|
91
|
+
border:border,
|
|
92
|
+
borderRadius:radius + 'rpx',
|
|
93
|
+
color: btnTextColor,
|
|
94
|
+
backgroundColor: btnBgColor,
|
|
95
|
+
boxShadow:shadow
|
|
96
|
+
}">查看已领票券</view>
|
|
83
97
|
</view>
|
|
84
98
|
</view>
|
|
85
|
-
<view
|
|
86
|
-
|
|
87
|
-
|
|
99
|
+
<view
|
|
100
|
+
v-else
|
|
101
|
+
class="empty_data"
|
|
88
102
|
>
|
|
103
|
+
<image :src="emptyBg"></image>
|
|
104
|
+
{{ message }}
|
|
105
|
+
</view>
|
|
106
|
+
<xd-dailog
|
|
107
|
+
:cancel="false"
|
|
108
|
+
:confirm="false"
|
|
109
|
+
title="活动规则说明"
|
|
110
|
+
:show.sync="showRule"
|
|
111
|
+
>
|
|
112
|
+
<xd-content-xss style="text-align:left" :html="notice"></xd-content-xss>
|
|
113
|
+
</xd-dailog>
|
|
89
114
|
</view>
|
|
90
|
-
<view
|
|
91
|
-
v-else
|
|
92
|
-
class="empty_data"
|
|
93
|
-
>
|
|
94
|
-
<image :src="emptyBg"></image>
|
|
95
|
-
{{ message }}
|
|
96
|
-
</view>
|
|
97
|
-
<xd-dailog
|
|
98
|
-
:cancel="false"
|
|
99
|
-
:confirm="false"
|
|
100
|
-
title="活动规则说明"
|
|
101
|
-
:show.sync="showRule"
|
|
102
|
-
>
|
|
103
|
-
<xd-content-xss style="text-align:left" :html="notice"></xd-content-xss>
|
|
104
|
-
</xd-dailog>
|
|
105
115
|
</view>
|
|
106
116
|
</view>
|
|
107
117
|
</template>
|
|
@@ -154,8 +164,21 @@ export default {
|
|
|
154
164
|
message: "",
|
|
155
165
|
options: {},
|
|
156
166
|
next_url: "",
|
|
157
|
-
|
|
158
167
|
collectedPath: "",
|
|
168
|
+
|
|
169
|
+
//按钮设置
|
|
170
|
+
btnBgColor:'',
|
|
171
|
+
btnTextColor:'',
|
|
172
|
+
padding:{},
|
|
173
|
+
radius: 0,
|
|
174
|
+
//边框
|
|
175
|
+
is_border:'N',
|
|
176
|
+
is_border_c:'',
|
|
177
|
+
is_border_w:'',
|
|
178
|
+
//投影
|
|
179
|
+
is_shadow: 'Y',
|
|
180
|
+
is_shadow_bg: 0,
|
|
181
|
+
is_shadow_w: 0,
|
|
159
182
|
};
|
|
160
183
|
},
|
|
161
184
|
computed: {
|
|
@@ -163,6 +186,21 @@ export default {
|
|
|
163
186
|
emptyBg() {
|
|
164
187
|
return this.getNoData();
|
|
165
188
|
},
|
|
189
|
+
outPadding() {
|
|
190
|
+
let str = `${this.checkValue(this.padding.top, 0)}rpx`;
|
|
191
|
+
str = `${str} ${this.checkValue(this.padding.right, 0)}rpx`;
|
|
192
|
+
str = `${str} ${this.checkValue(this.padding.bottom, 0)}rpx`;
|
|
193
|
+
str = `${str} ${this.checkValue(this.padding.left, 0)}rpx`;
|
|
194
|
+
return str
|
|
195
|
+
},
|
|
196
|
+
border() {
|
|
197
|
+
if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
198
|
+
else return '0';
|
|
199
|
+
},
|
|
200
|
+
shadow(){
|
|
201
|
+
if(this.is_shadow === 'Y') return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
|
|
202
|
+
else return '0 0 0 rgba(0,0,0,0)';
|
|
203
|
+
},
|
|
166
204
|
},
|
|
167
205
|
watch: {
|
|
168
206
|
container(value) {
|
|
@@ -182,7 +220,21 @@ export default {
|
|
|
182
220
|
this.contentBackground = '#FFF8F8';
|
|
183
221
|
this.iconColor = '#FF4D4A';
|
|
184
222
|
this.collectedPath = getContainerPropsValue(value, "content.collectedPath", {value: ''}).value;
|
|
223
|
+
|
|
224
|
+
this.padding = getContainerPropsValue(value, "content.padding", {});
|
|
225
|
+
this.btnBgColor = getContainerPropsValue(value, "content.btnBgColor", 'rgba(0,0,0,0)');
|
|
226
|
+
this.btnTextColor = getContainerPropsValue(value, "content.btnTextColor", '#666');
|
|
227
|
+
this.radius = getContainerPropsValue(value, "content.radius", '0');
|
|
228
|
+
|
|
229
|
+
this.is_border = getContainerPropsValue(value, "content.is_border", 'N');
|
|
230
|
+
this.is_border_c = getContainerPropsValue(value, "content.is_border_c", '#e5e5e5');
|
|
231
|
+
this.is_border_w = getContainerPropsValue(value, "content.is_border_w", 1);
|
|
232
|
+
|
|
233
|
+
this.is_shadow = getContainerPropsValue(value, 'content.is_shadow', 'N');
|
|
234
|
+
this.is_shadow_bg = getContainerPropsValue(value, 'content.is_shadow_bg', '#fff');
|
|
235
|
+
this.is_shadow_w = getContainerPropsValue(value, 'content.is_shadow_w', '10');
|
|
185
236
|
},
|
|
237
|
+
|
|
186
238
|
getList() {
|
|
187
239
|
jfbRootExec("getCouponList", {
|
|
188
240
|
vm: this,
|
|
@@ -199,7 +251,7 @@ export default {
|
|
|
199
251
|
this.can_take = res.can_take;
|
|
200
252
|
this.has_times = res.has_times;
|
|
201
253
|
this.next_url = res.next_url;
|
|
202
|
-
|
|
254
|
+
|
|
203
255
|
this.couponList =
|
|
204
256
|
res.list &&
|
|
205
257
|
res.list.length > 0 &&
|
|
@@ -267,11 +319,13 @@ export default {
|
|
|
267
319
|
console.log(err, "err");
|
|
268
320
|
});
|
|
269
321
|
},
|
|
322
|
+
|
|
270
323
|
toCoupon(){
|
|
271
324
|
this.$xdUniHelper.navigateTo({
|
|
272
325
|
url: this.next_url || this.collectedPath,
|
|
273
326
|
});
|
|
274
327
|
},
|
|
328
|
+
|
|
275
329
|
getCoupont(item) {
|
|
276
330
|
if(item.can_take_num === "Y") {
|
|
277
331
|
this.toCoupon();
|
|
@@ -309,6 +363,7 @@ export default {
|
|
|
309
363
|
console.log(err, "err");
|
|
310
364
|
});
|
|
311
365
|
},
|
|
366
|
+
|
|
312
367
|
getResult() {
|
|
313
368
|
jfbRootExec("getCouponResult", {
|
|
314
369
|
vm: this,
|
|
@@ -368,25 +423,7 @@ export default {
|
|
|
368
423
|
console.log(err, "err");
|
|
369
424
|
});
|
|
370
425
|
},
|
|
371
|
-
|
|
372
|
-
// jfbRootExec("getListBaseNewsContentCoupon", {
|
|
373
|
-
// vm: this,
|
|
374
|
-
// data: {
|
|
375
|
-
// page_id: this.pageAttr["page_id"], //页面ID
|
|
376
|
-
// container_id: this.containerId, //组件ID
|
|
377
|
-
// limit: 1,
|
|
378
|
-
// },
|
|
379
|
-
// })
|
|
380
|
-
// .then((res) => {
|
|
381
|
-
// console.log(res, "ajajajajaj");
|
|
382
|
-
// if (res.list&&res.list.length > 0) {
|
|
383
|
-
// this.notice = res.list[0].content;
|
|
384
|
-
// }
|
|
385
|
-
// })
|
|
386
|
-
// .catch((error) => {
|
|
387
|
-
// console.error(error);
|
|
388
|
-
// });
|
|
389
|
-
// },
|
|
426
|
+
|
|
390
427
|
onJfbLoad(options) {
|
|
391
428
|
console.log(this.pageBusinessCode, "pageNamespace");
|
|
392
429
|
this.options = options;
|
|
@@ -428,11 +465,14 @@ export default {
|
|
|
428
465
|
|
|
429
466
|
.jfb-base-con-list {
|
|
430
467
|
&__body {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
468
|
+
& > view {
|
|
469
|
+
position: relative;
|
|
470
|
+
overflow-y: auto;
|
|
471
|
+
padding-top: 220rpx;
|
|
472
|
+
box-sizing: border-box;
|
|
473
|
+
background-color: #FAFAFA;
|
|
474
|
+
}
|
|
475
|
+
|
|
436
476
|
.empty_data {
|
|
437
477
|
text-align: center;
|
|
438
478
|
color: #999999;
|
|
@@ -446,6 +486,7 @@ export default {
|
|
|
446
486
|
height: unit(400, rpx);
|
|
447
487
|
}
|
|
448
488
|
}
|
|
489
|
+
|
|
449
490
|
&-content {
|
|
450
491
|
border-radius: unit(20, rpx);
|
|
451
492
|
background: #fff;
|
|
@@ -503,16 +544,18 @@ export default {
|
|
|
503
544
|
right: 30rpx;
|
|
504
545
|
bottom: 40rpx;
|
|
505
546
|
}
|
|
506
|
-
|
|
547
|
+
|
|
507
548
|
.item_head{
|
|
508
549
|
display: flex;
|
|
509
550
|
align-items: center;
|
|
510
551
|
font-size: 40rpx;
|
|
511
552
|
color: #000000;
|
|
512
553
|
font-weight: 500;
|
|
554
|
+
|
|
513
555
|
.t_icon{
|
|
514
556
|
width: 44rpx;
|
|
515
557
|
margin-right: 20rpx;
|
|
558
|
+
max-height: 80rpx;
|
|
516
559
|
}
|
|
517
560
|
}
|
|
518
561
|
.item_sub{
|
|
@@ -521,44 +564,18 @@ export default {
|
|
|
521
564
|
font-size: 36rpx;
|
|
522
565
|
font-weight: 400;
|
|
523
566
|
}
|
|
524
|
-
|
|
525
|
-
// display: flex;
|
|
526
|
-
// &-info {
|
|
527
|
-
// padding: unit(20, rpx) unit(36, rpx);
|
|
528
|
-
// & > view:first-child {
|
|
529
|
-
// font-size: unit(44, rpx);
|
|
530
|
-
// font-weight: 500;
|
|
531
|
-
// margin-bottom: unit(36, rpx);
|
|
532
|
-
// }
|
|
533
|
-
// & > view:nth-child(2) {
|
|
534
|
-
// font-size: unit(28, rpx);
|
|
535
|
-
// color: #fff;
|
|
536
|
-
// }
|
|
537
|
-
// }
|
|
538
|
-
// }
|
|
539
|
-
// &-right {
|
|
540
|
-
// margin-left: unit(24, rpx);
|
|
541
|
-
// flex: 1;
|
|
542
|
-
// &-name {
|
|
543
|
-
// font-size: unit(40, rpx);
|
|
544
|
-
// color: #000;
|
|
545
|
-
// display: flex;
|
|
546
|
-
// align-items: center;
|
|
547
|
-
// justify-content: space-between;
|
|
548
|
-
// }
|
|
549
|
-
// &-num {
|
|
550
|
-
// margin-top: unit(40, rpx);
|
|
551
|
-
// display: flex;
|
|
552
|
-
// justify-content: space-between;
|
|
553
|
-
// }
|
|
554
|
-
// }
|
|
567
|
+
|
|
555
568
|
}
|
|
556
569
|
}
|
|
557
570
|
&-foot {
|
|
558
|
-
color: #a6a6a6;
|
|
559
|
-
font-size: unit(24, rpx);
|
|
560
|
-
text-align: center;
|
|
561
571
|
margin: unit(40, rpx) 0;
|
|
572
|
+
display: flex;
|
|
573
|
+
justify-items: center;
|
|
574
|
+
align-items: center;
|
|
575
|
+
flex-flow: column;
|
|
576
|
+
& > view {
|
|
577
|
+
flex-shrink: 0;
|
|
578
|
+
}
|
|
562
579
|
}
|
|
563
580
|
}
|
|
564
581
|
}
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-con-list {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
z-index: 3;
|
|
28
|
+
&::after {
|
|
29
|
+
border: 2rpx dashed blue;
|
|
30
|
+
content: " ";
|
|
31
|
+
position: absolute;
|
|
32
|
+
top:0;
|
|
33
|
+
left:0;
|
|
34
|
+
bottom:0;
|
|
35
|
+
right:0;
|
|
36
|
+
z-index: 4;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-con-list {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-con-phone {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
16
|
box-sizing: border-box;
|
|
18
|
-
min-height: unit(
|
|
17
|
+
min-height: unit(100, rpx);
|
|
19
18
|
|
|
20
19
|
&__body{
|
|
21
20
|
position: relative;
|
|
@@ -23,21 +22,21 @@
|
|
|
23
22
|
z-index: 2
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
&.editx {
|
|
25
|
+
&.editx,&:hover {
|
|
27
26
|
position: relative;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
z-index: 3;
|
|
28
|
+
&::after {
|
|
29
|
+
border: 2rpx dashed blue;
|
|
30
|
+
content: " ";
|
|
31
|
+
position: absolute;
|
|
32
|
+
top:0;
|
|
33
|
+
left:0;
|
|
34
|
+
bottom:0;
|
|
35
|
+
right:0;
|
|
36
|
+
z-index: 4;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
37
39
|
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
|
|
@@ -72,9 +71,9 @@
|
|
|
72
71
|
|
|
73
72
|
/**notPreview**/
|
|
74
73
|
.jfb-base-con-phone {
|
|
75
|
-
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
79
78
|
}
|
|
80
79
|
/**endNotPreview**/
|
|
@@ -8,25 +8,11 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '每行显示数量', //label
|
|
27
|
-
ele: 'xd-radio', //package 名称
|
|
28
|
-
valueKey: 'rowNum', //form[valueKey]
|
|
29
|
-
value: data.rowNum || 1, //v-model
|
|
11
|
+
label: '每行显示数量',
|
|
12
|
+
ele: 'xd-radio',
|
|
13
|
+
valueKey: 'rowNum',
|
|
14
|
+
groupKey: 'content',
|
|
15
|
+
value: data.rowNum || 1,
|
|
30
16
|
rules: [
|
|
31
17
|
{required: true, message: '请选择', trigger: ['blur', 'change']}
|
|
32
18
|
],
|
|
@@ -36,14 +22,40 @@ export default {
|
|
|
36
22
|
{"label": "一行三列", "value": 3},
|
|
37
23
|
]
|
|
38
24
|
},
|
|
25
|
+
{
|
|
26
|
+
label: '背景颜色:',
|
|
27
|
+
ele: 'xd-color',
|
|
28
|
+
valueKey: 'bgcolor',
|
|
29
|
+
value: data.bgcolor || '',
|
|
30
|
+
groupKey: 'style',
|
|
31
|
+
placeholder: '请输入背景颜色',
|
|
32
|
+
classNmae: 'input80',
|
|
33
|
+
},
|
|
39
34
|
{
|
|
40
35
|
label: '间隔边距',
|
|
41
36
|
ele: 'el-input',
|
|
42
37
|
type: 'number',
|
|
43
38
|
valueKey: "paddingInput",
|
|
44
|
-
|
|
39
|
+
groupKey: 'style',
|
|
40
|
+
value: data.paddingInput || '',
|
|
45
41
|
placeholder: '请输入间隔边距',
|
|
46
|
-
|
|
42
|
+
inline: false,
|
|
43
|
+
className:'input60',
|
|
44
|
+
notice: '设置间隔边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: '边距设置:',
|
|
48
|
+
ele: 'xd-margin-padding',
|
|
49
|
+
valueKey: 'margin',
|
|
50
|
+
groupKey:'style',
|
|
51
|
+
value: data.margin || null,
|
|
52
|
+
setting: {
|
|
53
|
+
type: 'margin',
|
|
54
|
+
},
|
|
55
|
+
placeholder: '请设置边距设置',
|
|
56
|
+
inline: false,
|
|
57
|
+
notice: '设置边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span> 像素',
|
|
58
|
+
},
|
|
47
59
|
].filter(i=>i)
|
|
48
60
|
},
|
|
49
61
|
advanced: [
|