jufubao-base 1.0.130-beta5 → 1.0.131
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 +3 -4
- package/src/components/JfbBaseAddress/Attr.js +5 -11
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
- package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
- package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
- package/src/components/JfbBaseBackground/Attr.js +8 -9
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
- package/src/components/JfbBaseBlock/Attr.js +2 -12
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
- package/src/components/JfbBaseCard/Attr.js +34 -76
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
- package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
- package/src/components/JfbBaseCardDetail/Attr.js +3 -4
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
- package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
- package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
- package/src/components/JfbBaseCardEntry/Attr.js +67 -86
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
- package/src/components/JfbBaseCardInfo/Attr.js +16 -22
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
- package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
- package/src/components/JfbBaseCardMerge/Attr.js +8 -21
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
- package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
- package/src/components/JfbBaseCardShift/Attr.js +4 -18
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
- package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
- package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
- package/src/components/JfbBaseCardV2/Attr.js +15 -19
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
- package/src/components/JfbBaseCardV3/Attr.js +12 -16
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
- package/src/components/JfbBaseCity/Attr.js +4 -2
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
- package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
- package/src/components/JfbBaseConDialog/Api.js +1 -1
- package/src/components/JfbBaseConDialog/Attr.js +20 -30
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
- package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
- package/src/components/JfbBaseConDialog/Mock.js +1 -20
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
- package/src/components/JfbBaseConList/Attr.js +224 -149
- package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
- package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
- package/src/components/JfbBaseEntry/Attr.js +21 -33
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
- package/src/components/JfbBaseFastLink/Api.js +54 -1
- package/src/components/JfbBaseFastLink/Attr.js +116 -168
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
- package/src/components/JfbBaseFooter/Attr.js +22 -28
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
- package/src/components/JfbBaseHeader/Attr.js +91 -89
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
- package/src/components/JfbBaseLine/Attr.js +59 -0
- package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
- package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
- package/src/components/JfbBaseLogin/Attr.js +88 -111
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
- package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
- package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
- package/src/components/JfbBaseMapSearch/Attr.js +15 -0
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
- package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
- package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
- package/src/components/JfbBaseMySetting/Attr.js +1 -1
- package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
- package/src/components/JfbBaseNotice/Attr.js +56 -97
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
- package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +6 -8
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
- package/src/components/JfbBaseOrderList/Attr.js +43 -55
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
- package/src/components/JfbBasePay/Attr.js +13 -2
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
- package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
- package/src/components/JfbBasePay/Mock.js +1 -2
- package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
- package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
- package/src/components/JfbBasePoster/Attr.js +83 -103
- package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
- package/src/components/JfbBasePosterEntry/Attr.js +33 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
- package/src/components/JfbBasePosterType/Attr.js +48 -82
- package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
- package/src/components/JfbBasePosterType/Screen.vue +284 -0
- package/src/components/JfbBaseRecharge/Attr.js +23 -35
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
- package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
- package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
- package/src/components/JfbBaseSearch/Api.js +60 -0
- package/src/components/JfbBaseSearch/Attr.js +148 -6
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
- package/src/components/JfbBaseSearch/Mock.js +5 -0
- package/src/components/JfbBaseSetPwd/Attr.js +147 -6
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
- package/src/components/JfbBaseSuccess/Attr.js +17 -78
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
- package/src/components/JfbBaseUserCenter/Attr.js +53 -72
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
- package/src/components/JfbBaseUserInfo/Attr.js +45 -54
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
- package/src/components/JfbBaseUserOrder/Attr.js +92 -118
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
- package/src/components/JfbBaseVideo/Attr.js +19 -72
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
- package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
- package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
- package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
- package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
- package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
- package/src/components/JfbBaseCardShift/Mock.js +0 -21
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="jfb-base-line"
|
|
4
|
+
@click="handleEditxSelect"
|
|
5
|
+
:class="{
|
|
6
|
+
editx : isEditx && active,
|
|
7
|
+
noBorder: noBorder
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<!--#ifdef H5-->
|
|
11
|
+
<view
|
|
12
|
+
class="jfb-base-line__edit"
|
|
13
|
+
:class="{ editx : isEditx && active }"
|
|
14
|
+
v-if="isEditx && active && !noBorder"
|
|
15
|
+
>
|
|
16
|
+
<view class="jfb-base-line__edit-icon" @click="delEdit">删除</view>
|
|
17
|
+
</view>
|
|
18
|
+
<!-- #endif -->
|
|
19
|
+
<view class="jfb-base-line__body">
|
|
20
|
+
<view
|
|
21
|
+
:style="{
|
|
22
|
+
height: height * 2 + 'rpx',
|
|
23
|
+
background: bgcolor,
|
|
24
|
+
marginTop: topMargin * 2 + 'rpx',
|
|
25
|
+
marginBottom: bottomMargin * 2 + 'rpx',
|
|
26
|
+
marginLeft: leftMargin * 2 + 'rpx',
|
|
27
|
+
marginRight: rightMargin * 2 + 'rpx',
|
|
28
|
+
}"
|
|
29
|
+
></view>
|
|
30
|
+
</view>
|
|
31
|
+
</view>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
36
|
+
import JfbBaseLineMixin from "./JfbBaseLineMixin";
|
|
37
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
38
|
+
import extsMixins from "@/mixins/extsMixins"
|
|
39
|
+
import {getContainerPropsValue} from "@/utils/xd.base";
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
name: "JfbBaseLine",
|
|
43
|
+
components: {
|
|
44
|
+
XdFontIcon
|
|
45
|
+
},
|
|
46
|
+
mixins: [componentsMixins,extsMixins,JfbBaseLineMixin],
|
|
47
|
+
data() {
|
|
48
|
+
return {
|
|
49
|
+
height: 1, //px
|
|
50
|
+
bgcolor: '#ececec',
|
|
51
|
+
topMargin: 2, //px
|
|
52
|
+
bottomMargin: 2,//px
|
|
53
|
+
leftMargin: 0, //px
|
|
54
|
+
rightMargin: 0 //px
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
watch: {
|
|
58
|
+
container(value) {
|
|
59
|
+
this.init(value)
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
created() {
|
|
63
|
+
this.init(this.container);
|
|
64
|
+
},
|
|
65
|
+
methods: {
|
|
66
|
+
init(value) {
|
|
67
|
+
let bgcolor = getContainerPropsValue(value, 'content.bgcolor');
|
|
68
|
+
let height = getContainerPropsValue(value, 'content.height');
|
|
69
|
+
let margin = getContainerPropsValue(value, 'content.margin');
|
|
70
|
+
if (bgcolor) this.bgcolor = bgcolor;
|
|
71
|
+
if (height) this.height = height;
|
|
72
|
+
|
|
73
|
+
if(margin) {
|
|
74
|
+
this.topMargin = margin.top;
|
|
75
|
+
this.bottomMargin = margin.bottom;
|
|
76
|
+
this.rightMargin = margin.right;
|
|
77
|
+
this.leftMargin = margin.left;
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
</script>
|
|
84
|
+
|
|
85
|
+
<style scoped lang="less">
|
|
86
|
+
@import "./JfbBaseLineLess.less";
|
|
87
|
+
|
|
88
|
+
.jfb-base-line {
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
&__body{
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
align-items: center;
|
|
95
|
+
|
|
96
|
+
& > view {
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-flow: wrap;
|
|
100
|
+
width: 100%;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @desc 获取绝对路径完整地址
|
|
3
|
+
* @param @path
|
|
4
|
+
**/
|
|
5
|
+
//例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
|
|
6
|
+
@basePath: 'business/';
|
|
7
|
+
@doMain: '//sandbox-img.jufubao.cn/';
|
|
8
|
+
|
|
9
|
+
.getBusinessImageUrl(@path, @size: 'size8') {
|
|
10
|
+
@url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
|
|
11
|
+
background-image: url(@url);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//start
|
|
15
|
+
.jfb-base-line {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
min-height: unit(50, rpx);
|
|
19
|
+
|
|
20
|
+
&__body{
|
|
21
|
+
position: relative;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
z-index: 2
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.editx {
|
|
27
|
+
position: relative;
|
|
28
|
+
border: 1px dashed blue;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
z-index: 3
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
border: 1px dashed blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.noBorder {
|
|
39
|
+
border-color: rgba(0,0,0,0);
|
|
40
|
+
border-width: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
&__edit {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
position: absolute;
|
|
47
|
+
right: unit(0, rpx);
|
|
48
|
+
top: unit(-52, rpx);
|
|
49
|
+
height: unit(50, rpx);
|
|
50
|
+
line-height: unit(50, rpx);
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
align-items: center;
|
|
54
|
+
background: rgba(0, 0, 0, .6);
|
|
55
|
+
border-radius: unit(10, rpx);
|
|
56
|
+
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
57
|
+
color: #fff;
|
|
58
|
+
font-size: unit(22, rpx);
|
|
59
|
+
|
|
60
|
+
&-icon{
|
|
61
|
+
padding: 0 unit(20, rpx);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.editx {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//end
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**notPreview**/
|
|
74
|
+
.jfb-base-line {
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**endNotPreview**/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
//@AttrImport
|
|
5
|
+
import Attr from "./Attr";
|
|
6
|
+
//@EndAttrImport
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
data() {
|
|
11
|
+
return {
|
|
12
|
+
//#ifdef H5
|
|
13
|
+
|
|
14
|
+
//@AttrData
|
|
15
|
+
Attr:{}, //对外开发编辑属性
|
|
16
|
+
//@EndAttrData
|
|
17
|
+
|
|
18
|
+
// #endif
|
|
19
|
+
cssRoot: 'jfb-base-line'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created() {
|
|
23
|
+
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
}
|
|
@@ -4,12 +4,97 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: [
|
|
7
|
+
{
|
|
8
|
+
label: 'LOGO文字颜色:',
|
|
9
|
+
ele: 'xd-color',
|
|
10
|
+
valueKey: 'logoTextColor',
|
|
11
|
+
value: '',
|
|
12
|
+
placeholder: '请输入LOGO文字颜色',
|
|
13
|
+
classNmae: 'input80',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: '是否使用体验码功能:',
|
|
17
|
+
ele: 'xd-radio',
|
|
18
|
+
valueKey: 'isPreview',
|
|
19
|
+
value: 'N',
|
|
20
|
+
placeholder: '请选择是否使用体验码功能',
|
|
21
|
+
multiple: false,
|
|
22
|
+
className: 'input80',
|
|
23
|
+
list: [
|
|
24
|
+
{label: '是', value: 'Y'},
|
|
25
|
+
{label: '否', value: 'N'},
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
ele: 'title',
|
|
30
|
+
label: '页面连接设置',
|
|
31
|
+
size: 'small',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: '快速授权失败访问地址:', //label
|
|
35
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
36
|
+
valueKey: 'error_url', //form[valueKey]
|
|
37
|
+
placeholder: '请选择快速授权失败访问地址',
|
|
38
|
+
value: null,
|
|
39
|
+
setting: {
|
|
40
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
41
|
+
},
|
|
42
|
+
inline: false,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: '登录成功跳转地址:', //label
|
|
46
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
47
|
+
valueKey: 'callback_url', //form[valueKey]
|
|
48
|
+
placeholder: '请选择登录成功跳转地址',
|
|
49
|
+
value: null,
|
|
50
|
+
setting: {
|
|
51
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
52
|
+
},
|
|
53
|
+
inline: false,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: '手机号登录地址:', //label
|
|
57
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
58
|
+
valueKey: 'phone_number_login_url', //form[valueKey]
|
|
59
|
+
placeholder: '请选择手机号登录地址',
|
|
60
|
+
value: null,
|
|
61
|
+
setting: {
|
|
62
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
63
|
+
},
|
|
64
|
+
inline: false,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: '收集手机号地址:', //label
|
|
68
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
69
|
+
valueKey: 'phone_number_collect_url', //form[valueKey]
|
|
70
|
+
placeholder: '请选择收集手机号地址',
|
|
71
|
+
value: null,
|
|
72
|
+
setting: {
|
|
73
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
74
|
+
},
|
|
75
|
+
inline: false,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: '忘记密码跳转地址:', //label
|
|
79
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
80
|
+
valueKey: 'forget_pwd_url', //form[valueKey]
|
|
81
|
+
placeholder: '请选择跳转地址',
|
|
82
|
+
value: null,
|
|
83
|
+
setting: {
|
|
84
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
85
|
+
},
|
|
86
|
+
inline: false,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
ele: 'title',
|
|
90
|
+
label: '服务设置',
|
|
91
|
+
size: 'small',
|
|
92
|
+
},
|
|
7
93
|
{
|
|
8
94
|
label: '隐私政策:',
|
|
9
95
|
ele: 'xd-site-news',
|
|
10
96
|
valueKey: 'notice',
|
|
11
97
|
value: {type: 'privacy'},
|
|
12
|
-
groupKey:'content',
|
|
13
98
|
className: 'input70',
|
|
14
99
|
setting: {
|
|
15
100
|
type: 'privacy',
|
|
@@ -30,8 +115,7 @@ export default {
|
|
|
30
115
|
}
|
|
31
116
|
|
|
32
117
|
//获取返回参数(场景类型名称为必填)
|
|
33
|
-
|
|
34
|
-
let loading = { close(){}}
|
|
118
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
35
119
|
|
|
36
120
|
//获取显示内容
|
|
37
121
|
if (action === 'screen') {
|
|
@@ -75,7 +159,6 @@ export default {
|
|
|
75
159
|
|
|
76
160
|
//使用内容分类
|
|
77
161
|
if (action === 'cmsPublishEditxContent') {
|
|
78
|
-
loading = XdBus.getParentApi('loading')({});
|
|
79
162
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
80
163
|
.then(res => {
|
|
81
164
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -90,7 +173,6 @@ export default {
|
|
|
90
173
|
|
|
91
174
|
//位置列表
|
|
92
175
|
if (action === 'getListPostion') {
|
|
93
|
-
loading = XdBus.getParentApi('loading')({});
|
|
94
176
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
95
177
|
.then(res => {
|
|
96
178
|
loading.close();
|
|
@@ -104,7 +186,6 @@ export default {
|
|
|
104
186
|
|
|
105
187
|
//位置创建
|
|
106
188
|
if (action === 'addPostion') {
|
|
107
|
-
loading = XdBus.getParentApi('loading')({});
|
|
108
189
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
109
190
|
.then(res => {
|
|
110
191
|
loading.close();
|
|
@@ -119,7 +200,6 @@ export default {
|
|
|
119
200
|
|
|
120
201
|
//位置编辑
|
|
121
202
|
if (action === 'editPostion') {
|
|
122
|
-
loading = XdBus.getParentApi('loading')({});
|
|
123
203
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
124
204
|
.then(res => {
|
|
125
205
|
loading.close();
|
|
@@ -134,7 +214,6 @@ export default {
|
|
|
134
214
|
|
|
135
215
|
//位置删除
|
|
136
216
|
if (action === 'deleltePostion') {
|
|
137
|
-
loading = XdBus.getParentApi('loading')({});
|
|
138
217
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
139
218
|
.then(res => {
|
|
140
219
|
loading.close();
|
|
@@ -149,7 +228,6 @@ export default {
|
|
|
149
228
|
|
|
150
229
|
//获取广告位内容列表
|
|
151
230
|
if (action === 'getListContent') {
|
|
152
|
-
loading = XdBus.getParentApi('loading')({});
|
|
153
231
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
154
232
|
.then(res => {
|
|
155
233
|
loading.close();
|
|
@@ -163,7 +241,6 @@ export default {
|
|
|
163
241
|
|
|
164
242
|
//广告内容创建
|
|
165
243
|
if (action === 'addContent') {
|
|
166
|
-
loading = XdBus.getParentApi('loading')({});
|
|
167
244
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
168
245
|
.then(res => {
|
|
169
246
|
loading.close();
|
|
@@ -178,7 +255,6 @@ export default {
|
|
|
178
255
|
|
|
179
256
|
//广告内容编辑
|
|
180
257
|
if (action === 'editContent') {
|
|
181
|
-
loading = XdBus.getParentApi('loading')({});
|
|
182
258
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
183
259
|
.then(res => {
|
|
184
260
|
loading.close();
|
|
@@ -193,7 +269,6 @@ export default {
|
|
|
193
269
|
|
|
194
270
|
//广告内容删除
|
|
195
271
|
if (action === 'deleteContent') {
|
|
196
|
-
loading = XdBus.getParentApi('loading')({});
|
|
197
272
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
198
273
|
.then(res => {
|
|
199
274
|
loading.close();
|
|
@@ -208,7 +283,6 @@ export default {
|
|
|
208
283
|
|
|
209
284
|
//内容发布
|
|
210
285
|
if (action === 'publish') {
|
|
211
|
-
loading = XdBus.getParentApi('loading')({});
|
|
212
286
|
console.log('publish', data.params)
|
|
213
287
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
214
288
|
.then(res => {
|
|
@@ -223,7 +297,6 @@ export default {
|
|
|
223
297
|
|
|
224
298
|
//通知页面进行刷新
|
|
225
299
|
if (action === 'update') {
|
|
226
|
-
loading = XdBus.getParentApi('loading')({});
|
|
227
300
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
228
301
|
loading.close()
|
|
229
302
|
}
|
|
@@ -235,7 +308,6 @@ export default {
|
|
|
235
308
|
label: '用户服务协议:',
|
|
236
309
|
ele: 'xd-site-news',
|
|
237
310
|
valueKey: 'notices',
|
|
238
|
-
groupKey:'content',
|
|
239
311
|
value: {type: 'privacy'},
|
|
240
312
|
className: 'input70',
|
|
241
313
|
setting: {
|
|
@@ -256,7 +328,7 @@ export default {
|
|
|
256
328
|
}
|
|
257
329
|
|
|
258
330
|
//获取返回参数(场景类型名称为必填)
|
|
259
|
-
let loading =
|
|
331
|
+
let loading = XdBus.getParentApi('loading')({});
|
|
260
332
|
|
|
261
333
|
//获取显示内容
|
|
262
334
|
if (action === 'screen') {
|
|
@@ -300,7 +372,6 @@ export default {
|
|
|
300
372
|
|
|
301
373
|
//使用内容分类
|
|
302
374
|
if (action === 'cmsPublishEditxContent') {
|
|
303
|
-
loading = XdBus.getParentApi('loading')({});
|
|
304
375
|
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
305
376
|
.then(res => {
|
|
306
377
|
console.log('cmsPublishEditxContent', res)
|
|
@@ -315,7 +386,6 @@ export default {
|
|
|
315
386
|
|
|
316
387
|
//位置列表
|
|
317
388
|
if (action === 'getListPostion') {
|
|
318
|
-
loading = XdBus.getParentApi('loading')({});
|
|
319
389
|
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
320
390
|
.then(res => {
|
|
321
391
|
loading.close();
|
|
@@ -329,7 +399,6 @@ export default {
|
|
|
329
399
|
|
|
330
400
|
//位置创建
|
|
331
401
|
if (action === 'addPostion') {
|
|
332
|
-
loading = XdBus.getParentApi('loading')({});
|
|
333
402
|
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
334
403
|
.then(res => {
|
|
335
404
|
loading.close();
|
|
@@ -344,7 +413,6 @@ export default {
|
|
|
344
413
|
|
|
345
414
|
//位置编辑
|
|
346
415
|
if (action === 'editPostion') {
|
|
347
|
-
loading = XdBus.getParentApi('loading')({});
|
|
348
416
|
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
349
417
|
.then(res => {
|
|
350
418
|
loading.close();
|
|
@@ -359,7 +427,6 @@ export default {
|
|
|
359
427
|
|
|
360
428
|
//位置删除
|
|
361
429
|
if (action === 'deleltePostion') {
|
|
362
|
-
loading = XdBus.getParentApi('loading')({});
|
|
363
430
|
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
364
431
|
.then(res => {
|
|
365
432
|
loading.close();
|
|
@@ -374,7 +441,6 @@ export default {
|
|
|
374
441
|
|
|
375
442
|
//获取广告位内容列表
|
|
376
443
|
if (action === 'getListContent') {
|
|
377
|
-
loading = XdBus.getParentApi('loading')({});
|
|
378
444
|
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
379
445
|
.then(res => {
|
|
380
446
|
loading.close();
|
|
@@ -388,7 +454,6 @@ export default {
|
|
|
388
454
|
|
|
389
455
|
//广告内容创建
|
|
390
456
|
if (action === 'addContent') {
|
|
391
|
-
loading = XdBus.getParentApi('loading')({});
|
|
392
457
|
XdBus.getParentApi('addNewsContent')(data.params)
|
|
393
458
|
.then(res => {
|
|
394
459
|
loading.close();
|
|
@@ -403,7 +468,6 @@ export default {
|
|
|
403
468
|
|
|
404
469
|
//广告内容编辑
|
|
405
470
|
if (action === 'editContent') {
|
|
406
|
-
loading = XdBus.getParentApi('loading')({});
|
|
407
471
|
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
408
472
|
.then(res => {
|
|
409
473
|
loading.close();
|
|
@@ -418,7 +482,6 @@ export default {
|
|
|
418
482
|
|
|
419
483
|
//广告内容删除
|
|
420
484
|
if (action === 'deleteContent') {
|
|
421
|
-
loading = XdBus.getParentApi('loading')({});
|
|
422
485
|
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
423
486
|
.then(res => {
|
|
424
487
|
loading.close();
|
|
@@ -433,7 +496,6 @@ export default {
|
|
|
433
496
|
|
|
434
497
|
//内容发布
|
|
435
498
|
if (action === 'publish') {
|
|
436
|
-
loading = XdBus.getParentApi('loading')({});
|
|
437
499
|
console.log('publish', data.params)
|
|
438
500
|
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
439
501
|
.then(res => {
|
|
@@ -448,7 +510,6 @@ export default {
|
|
|
448
510
|
|
|
449
511
|
//通知页面进行刷新
|
|
450
512
|
if (action === 'update') {
|
|
451
|
-
loading = XdBus.getParentApi('loading')({});
|
|
452
513
|
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
453
514
|
loading.close()
|
|
454
515
|
}
|
|
@@ -456,89 +517,5 @@ export default {
|
|
|
456
517
|
inline: false,
|
|
457
518
|
notice: '',
|
|
458
519
|
},
|
|
459
|
-
{
|
|
460
|
-
label: '是否使用体验码功能:',
|
|
461
|
-
ele: 'xd-radio',
|
|
462
|
-
valueKey: 'isPreview',
|
|
463
|
-
groupKey:'content',
|
|
464
|
-
value: 'N',
|
|
465
|
-
placeholder: '请选择是否使用体验码功能',
|
|
466
|
-
multiple: false,
|
|
467
|
-
className: 'input80',
|
|
468
|
-
list: [
|
|
469
|
-
{label: '是', value: 'Y'},
|
|
470
|
-
{label: '否', value: 'N'},
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
label: '站点名称颜色:',
|
|
475
|
-
ele: 'xd-color',
|
|
476
|
-
valueKey: 'logoTextColor',
|
|
477
|
-
groupKey:'style',
|
|
478
|
-
value: '',
|
|
479
|
-
placeholder: '请选择站点名称颜色',
|
|
480
|
-
classNmae: 'input60',
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
label: '快速授权失败访问地址:', //label
|
|
484
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
485
|
-
valueKey: 'error_url', //form[valueKey]
|
|
486
|
-
groupKey:'advanced',
|
|
487
|
-
placeholder: '请选择快速授权失败访问地址',
|
|
488
|
-
value: null,
|
|
489
|
-
setting: {
|
|
490
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
491
|
-
},
|
|
492
|
-
inline: false,
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
label: '登录成功跳转地址:', //label
|
|
496
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
497
|
-
valueKey: 'callback_url', //form[valueKey]
|
|
498
|
-
groupKey:'advanced',
|
|
499
|
-
placeholder: '请选择登录成功跳转地址',
|
|
500
|
-
value: null,
|
|
501
|
-
setting: {
|
|
502
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
503
|
-
},
|
|
504
|
-
inline: false,
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
label: '手机号登录地址:', //label
|
|
508
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
509
|
-
valueKey: 'phone_number_login_url', //form[valueKey]
|
|
510
|
-
groupKey:'advanced',
|
|
511
|
-
placeholder: '请选择手机号登录地址',
|
|
512
|
-
value: null,
|
|
513
|
-
setting: {
|
|
514
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
515
|
-
},
|
|
516
|
-
inline: false,
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
label: '收集手机号地址:', //label
|
|
520
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
521
|
-
valueKey: 'phone_number_collect_url', //form[valueKey]
|
|
522
|
-
groupKey:'advanced',
|
|
523
|
-
placeholder: '请选择收集手机号地址',
|
|
524
|
-
value: null,
|
|
525
|
-
setting: {
|
|
526
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
527
|
-
},
|
|
528
|
-
inline: false,
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
label: '忘记密码跳转地址:', //label
|
|
532
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
533
|
-
valueKey: 'forget_pwd_url', //form[valueKey]
|
|
534
|
-
groupKey:'advanced',
|
|
535
|
-
placeholder: '请选择跳转地址',
|
|
536
|
-
value: null,
|
|
537
|
-
setting: {
|
|
538
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
539
|
-
},
|
|
540
|
-
inline: false,
|
|
541
|
-
},
|
|
542
|
-
|
|
543
520
|
]
|
|
544
521
|
}
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
15
|
.jfb-base-login {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
16
17
|
box-sizing: border-box;
|
|
17
|
-
min-height: unit(
|
|
18
|
+
min-height: unit(50, rpx);
|
|
18
19
|
|
|
19
20
|
&__body{
|
|
20
21
|
position: relative;
|
|
@@ -22,21 +23,21 @@
|
|
|
22
23
|
z-index: 2
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
&.editx
|
|
26
|
+
&.editx {
|
|
26
27
|
position: relative;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
top:0;
|
|
33
|
-
left:0;
|
|
34
|
-
bottom:0;
|
|
35
|
-
right:0;
|
|
36
|
-
z-index: 4;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
28
|
+
border: 1px dashed blue;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
z-index: 3
|
|
31
|
+
|
|
32
|
+
}
|
|
39
33
|
|
|
34
|
+
&:hover {
|
|
35
|
+
border: 1px dashed blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.noBorder {
|
|
39
|
+
border-color: rgba(0,0,0,0);
|
|
40
|
+
border-width: 0;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
@@ -71,9 +72,9 @@
|
|
|
71
72
|
|
|
72
73
|
/**notPreview**/
|
|
73
74
|
.jfb-base-login {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
&:before {
|
|
76
|
+
content: " ";
|
|
77
|
+
display: table;
|
|
78
|
+
}
|
|
78
79
|
}
|
|
79
80
|
/**endNotPreview**/
|