jufubao-base 1.0.56-beta2 → 1.0.56-beta2000
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 -3
- package/src/components/JfbBaseCard/Attr.js +4 -4
- package/src/components/JfbBaseCard/JfbBaseCard.vue +13 -11
- package/src/components/JfbBaseCardDetailEntry/Api.js +60 -0
- package/src/components/JfbBaseCardDetailEntry/Attr.js +106 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +110 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +80 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryMixin.js +30 -0
- package/src/components/JfbBaseCardDetailEntry/Mock.js +5 -0
- package/src/components/JfbBaseCardDisabledEntry/Api.js +34 -0
- package/src/components/JfbBaseCardDisabledEntry/Attr.js +14 -0
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +555 -0
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +80 -0
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryMixin.js +30 -0
- package/src/components/JfbBaseCardDisabledEntry/Mock.js +226 -0
- package/src/components/JfbBaseCardEntry/Api.js +43 -0
- package/src/components/JfbBaseCardEntry/Attr.js +287 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +920 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +80 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryMixin.js +30 -0
- package/src/components/JfbBaseCardEntry/Mock.js +231 -0
- package/src/components/JfbBaseCardInfoEntry/Api.js +60 -0
- package/src/components/JfbBaseCardInfoEntry/Attr.js +106 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +110 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +80 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryMixin.js +30 -0
- package/src/components/JfbBaseCardInfoEntry/Mock.js +5 -0
- package/src/components/JfbBaseCardV2/Attr.js +2 -2
- package/src/components/JfbBaseCardV3/Attr.js +2 -2
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +2 -33
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +35 -19
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +7 -6
- package/src/components/JfbBaseSuccess/Mock.js +3 -3
- package/src/mixins/colorCardMixins.js +60 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jufubao-base",
|
|
3
|
-
"version": "1.0.56-
|
|
3
|
+
"version": "1.0.56-beta2000",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "聚福宝业务组件基础插件包",
|
|
6
6
|
"main": "index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"core-js": "^2.6.5",
|
|
51
51
|
"flyio": "^0.6.2",
|
|
52
52
|
"gxd-commands-bussiness": "^1.0.12",
|
|
53
|
-
"gxd-uni-library-editx": "1.0.
|
|
53
|
+
"gxd-uni-library-editx": "1.0.13-beta5",
|
|
54
54
|
"jweixin-module": "^1.6.0",
|
|
55
55
|
"md5": "^2.3.0",
|
|
56
56
|
"path-to-regexp": "^6.2.1",
|
|
@@ -119,4 +119,4 @@
|
|
|
119
119
|
"uni-app": {
|
|
120
120
|
"scripts": {}
|
|
121
121
|
}
|
|
122
|
-
}
|
|
122
|
+
}
|
|
@@ -59,10 +59,10 @@ export default {
|
|
|
59
59
|
inline: false,
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
label: '
|
|
62
|
+
label: '卡券密码绑定地址:', //label
|
|
63
63
|
ele: 'xd-select-pages-path', //package 名称
|
|
64
64
|
valueKey: 'bind_url', //form[valueKey]
|
|
65
|
-
placeholder: '
|
|
65
|
+
placeholder: '请选择卡券密码绑定地址',
|
|
66
66
|
value: null,
|
|
67
67
|
setting: {
|
|
68
68
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -70,10 +70,10 @@ export default {
|
|
|
70
70
|
inline: false,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
label: '
|
|
73
|
+
label: '扫码绑定卡券确认地址:', //label
|
|
74
74
|
ele: 'xd-select-pages-path', //package 名称
|
|
75
75
|
valueKey: 'confirm_url', //form[valueKey]
|
|
76
|
-
placeholder: '
|
|
76
|
+
placeholder: '请选择扫码绑定卡券确认地址',
|
|
77
77
|
value: null,
|
|
78
78
|
setting: {
|
|
79
79
|
router: XdBus.getParentApi('getPagesTree'),
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}"
|
|
30
30
|
>
|
|
31
31
|
<xd-font-icon
|
|
32
|
-
style="
|
|
32
|
+
:style="{marginBottom: '15rpx'}"
|
|
33
33
|
size="80"
|
|
34
34
|
icon="iconsaoma"
|
|
35
35
|
></xd-font-icon>
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}"
|
|
46
46
|
>
|
|
47
47
|
<xd-font-icon
|
|
48
|
-
|
|
48
|
+
:style="{marginBottom: '15rpx'}"
|
|
49
49
|
size="80"
|
|
50
50
|
icon="iconyuechi"
|
|
51
51
|
></xd-font-icon>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</view>
|
|
68
68
|
</template>
|
|
69
69
|
</view>
|
|
70
|
-
<view class="jfb-base-card__body-line"></view>
|
|
70
|
+
<view class="jfb-base-card__body-line" v-if="!notice"></view>
|
|
71
71
|
<view
|
|
72
72
|
class="jfb-base-card__body-notice"
|
|
73
73
|
:style="{ background: noticeBackgroundColor }"
|
|
@@ -119,10 +119,9 @@
|
|
|
119
119
|
</view>
|
|
120
120
|
<view
|
|
121
121
|
class="jfb-base-card__body-tips"
|
|
122
|
-
:style="{ color:
|
|
122
|
+
:style="{ color: warningColor }"
|
|
123
123
|
v-if="tabIndex === 2"
|
|
124
|
-
|
|
125
|
-
>
|
|
124
|
+
>* 目前仅支持电影票兑换券进行转换</view>
|
|
126
125
|
<view
|
|
127
126
|
v-if="tabIndex === 2 || tabIndex === 1"
|
|
128
127
|
class="jfb-base-card__body-card"
|
|
@@ -300,15 +299,17 @@ export default {
|
|
|
300
299
|
this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
|
|
301
300
|
this.isPreview = this.$configProject.isPreview;
|
|
302
301
|
|
|
303
|
-
|
|
304
302
|
//#ifdef H5
|
|
305
|
-
this.isWx = isWechat();
|
|
303
|
+
this.isWx = this.isPreview || isWechat();
|
|
304
|
+
|
|
306
305
|
if (!this.$configProject.isPreview) {
|
|
307
306
|
jfbRootExec("getH5WxAuthorize", {
|
|
308
307
|
vm: this,
|
|
309
308
|
data: {site_id: "wx_pub"},
|
|
310
309
|
})
|
|
311
|
-
.then(
|
|
310
|
+
.then(res => {
|
|
311
|
+
console.log(0)
|
|
312
|
+
})
|
|
312
313
|
.catch(error=>{
|
|
313
314
|
this.$xdAlert({
|
|
314
315
|
content: error,
|
|
@@ -330,6 +331,7 @@ export default {
|
|
|
330
331
|
this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
|
|
331
332
|
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
332
333
|
},
|
|
334
|
+
|
|
333
335
|
handleToLink(path) {
|
|
334
336
|
this.$xdUniHelper.navigateTo({
|
|
335
337
|
url: path,
|
|
@@ -621,13 +623,13 @@ export default {
|
|
|
621
623
|
|
|
622
624
|
&-line {
|
|
623
625
|
width: 120%;
|
|
624
|
-
height:
|
|
626
|
+
height: 1px;
|
|
625
627
|
background: #eee;
|
|
626
628
|
margin: unit(60, rpx) unit(-35, rpx) 0 unit(-35, rpx);
|
|
627
629
|
}
|
|
628
630
|
|
|
629
631
|
&-notice {
|
|
630
|
-
margin:
|
|
632
|
+
margin: unit(46, rpx) unit(-35, rpx) 0 unit(-35, rpx);
|
|
631
633
|
padding: unit(22, rpx) unit(35, rpx);
|
|
632
634
|
line-height: unit(70, rpx);
|
|
633
635
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description API模型
|
|
5
|
+
* 建议:Ffff=>模块 Xxxx=>自定义名字
|
|
6
|
+
* 获取单记录(getByIdFfffXxxx)
|
|
7
|
+
* 获取列表记录(getByListFfffXxxx)
|
|
8
|
+
* 添加列表记录(addFfffXxxxx)
|
|
9
|
+
* 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
|
|
10
|
+
* 更新列表记录(updateFfffXxxxx)
|
|
11
|
+
* @type {*[]}
|
|
12
|
+
*/
|
|
13
|
+
module.exports = [
|
|
14
|
+
{
|
|
15
|
+
mapFnName: 'getByIdFilmSquate', //自定义方法名字(必选)
|
|
16
|
+
title: '获取电影广场列表',
|
|
17
|
+
path: '/api/account/film/list-film-square',
|
|
18
|
+
isRule: false,
|
|
19
|
+
params: {
|
|
20
|
+
last_key: ['当前页', 'Number', '必选'],
|
|
21
|
+
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
+
},
|
|
23
|
+
isConsole: true,
|
|
24
|
+
disabled: true,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
+
title: '更新排期',
|
|
29
|
+
path: '/api/account/film/paiqi-date',
|
|
30
|
+
isRule: false,
|
|
31
|
+
params: {
|
|
32
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
+
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
+
},
|
|
35
|
+
isConsole: true,
|
|
36
|
+
disabled: true,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
+
title: '删除我的配送地址',
|
|
41
|
+
path: '/api/account/film/paiqi-date',
|
|
42
|
+
isRule: false,
|
|
43
|
+
params: {
|
|
44
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
+
},
|
|
46
|
+
isConsole: true,
|
|
47
|
+
disabled: true,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
+
title: '添加购物车',
|
|
52
|
+
path: '/api/account/film/paiqi-date',
|
|
53
|
+
isRule: false,
|
|
54
|
+
params: {
|
|
55
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
56
|
+
},
|
|
57
|
+
isConsole: true,
|
|
58
|
+
disabled: true,
|
|
59
|
+
},
|
|
60
|
+
];
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
style: [],
|
|
8
|
+
content: (data) => {
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: '背景颜色:', //label
|
|
12
|
+
ele: 'xd-color', //package 名称
|
|
13
|
+
valueKey: 'bgcolor', //form[valueKey]
|
|
14
|
+
value: data.bgcolor || '', //v-model
|
|
15
|
+
placeholder: '请输入占位框背景颜色',
|
|
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-select-pages-path', //package 名称
|
|
28
|
+
valueKey: 'select-pages-path', //form[valueKey]
|
|
29
|
+
value: data['select-pages-path'] || {},
|
|
30
|
+
setting: {
|
|
31
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
32
|
+
},
|
|
33
|
+
inline: false,
|
|
34
|
+
},
|
|
35
|
+
data.bgcolor && {
|
|
36
|
+
label: '高度:', //label
|
|
37
|
+
ele: 'el-input', //package 名称
|
|
38
|
+
type: 'number',
|
|
39
|
+
valueKey: 'height', //form[valueKey]
|
|
40
|
+
value: data.height || 100, //v-model
|
|
41
|
+
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
42
|
+
className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
43
|
+
rules: [
|
|
44
|
+
{
|
|
45
|
+
required: true,
|
|
46
|
+
message: '请输入占位框高度',
|
|
47
|
+
trigger: 'blur'
|
|
48
|
+
},
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: '', //label
|
|
53
|
+
ele: 'slot', //package 名称
|
|
54
|
+
slot: 'is_reference',
|
|
55
|
+
},
|
|
56
|
+
].filter(i=>i)
|
|
57
|
+
},
|
|
58
|
+
advanced: [
|
|
59
|
+
{
|
|
60
|
+
label: '背景颜色:', //label
|
|
61
|
+
ele: 'xd-color', //package 名称
|
|
62
|
+
valueKey: 'bgcolor', //form[valueKey]
|
|
63
|
+
value: '', //v-model
|
|
64
|
+
placeholder: '请输入占位框背景颜色',
|
|
65
|
+
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
66
|
+
rules: [
|
|
67
|
+
{
|
|
68
|
+
required: true,
|
|
69
|
+
message: '请输入占位框背景颜色',
|
|
70
|
+
trigger: 'blur'
|
|
71
|
+
},
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: '选中路径:', //label
|
|
76
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
77
|
+
valueKey: 'select-pages-path', //form[valueKey]
|
|
78
|
+
value: null,
|
|
79
|
+
setting: {
|
|
80
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
81
|
+
},
|
|
82
|
+
inline: false,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: '高度:', //label
|
|
86
|
+
ele: 'el-input', //package 名称
|
|
87
|
+
type: 'number',
|
|
88
|
+
valueKey: 'height', //form[valueKey]
|
|
89
|
+
value: null, //v-model
|
|
90
|
+
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
91
|
+
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
92
|
+
rules: [
|
|
93
|
+
{
|
|
94
|
+
required: true,
|
|
95
|
+
message: '请输入占位框高度',
|
|
96
|
+
trigger: 'blur'
|
|
97
|
+
},
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: '', //label
|
|
102
|
+
ele: 'slot', //package 名称
|
|
103
|
+
slot: 'is_reference',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="jfb-base-card-detail-entry"
|
|
4
|
+
@click="handleEditxSelect"
|
|
5
|
+
:class="{ editx : isEditx && active }"
|
|
6
|
+
>
|
|
7
|
+
<!--#ifdef H5-->
|
|
8
|
+
<view
|
|
9
|
+
class="jfb-base-card-detail-entry__edit"
|
|
10
|
+
:class="{ editx : isEditx && active }"
|
|
11
|
+
v-if="isEditx && active"
|
|
12
|
+
>
|
|
13
|
+
<view class="jfb-base-card-detail-entry__edit-icon" @click="delEdit">删除</view>
|
|
14
|
+
</view>
|
|
15
|
+
<!-- #endif -->
|
|
16
|
+
<view class="jfb-base-card-detail-entry__body">
|
|
17
|
+
<view>测试插件( {{containerId}} )</view>
|
|
18
|
+
</view>
|
|
19
|
+
</view>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
24
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
|
+
import JfbBaseCardDetailEntryMixin from "./JfbBaseCardDetailEntryMixin";
|
|
26
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
27
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
28
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
29
|
+
export default {
|
|
30
|
+
name: "JfbBaseCardDetailEntry",
|
|
31
|
+
components: {
|
|
32
|
+
XdFontIcon
|
|
33
|
+
},
|
|
34
|
+
mixins: [
|
|
35
|
+
componentsMixins, extsMixins, JfbBaseCardDetailEntryMixin
|
|
36
|
+
],
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
|
|
40
|
+
//todo
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
watch: {
|
|
44
|
+
container(value) {
|
|
45
|
+
this.init(value)
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
created() {
|
|
49
|
+
this.init(this.container);
|
|
50
|
+
|
|
51
|
+
//todo
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
onJfbLoad(options) {
|
|
55
|
+
|
|
56
|
+
// jfbRootExec('baiduUserLogin', {
|
|
57
|
+
|
|
58
|
+
// vm: this,// data: {
|
|
59
|
+
|
|
60
|
+
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
61
|
+
|
|
62
|
+
// }
|
|
63
|
+
|
|
64
|
+
// }).then().catch()
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
* @description 监听事件变化
|
|
68
|
+
* @param container {object} 业务组件对象自己
|
|
69
|
+
*/
|
|
70
|
+
init(container) {
|
|
71
|
+
|
|
72
|
+
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
73
|
+
|
|
74
|
+
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
75
|
+
},
|
|
76
|
+
onJfbScroll(options) {
|
|
77
|
+
console.log('event.onJfbScroll', options)
|
|
78
|
+
},
|
|
79
|
+
onJfbReachBottom(options) {
|
|
80
|
+
console.log('event.onJfbReachBottom', options)
|
|
81
|
+
},
|
|
82
|
+
onJfbShow(options) {
|
|
83
|
+
console.log('event.onJfbShow', options)
|
|
84
|
+
},
|
|
85
|
+
onJfbHide(options) {
|
|
86
|
+
console.log('event.onJfbHide', options)
|
|
87
|
+
},
|
|
88
|
+
onJfbBack(options) {
|
|
89
|
+
console.log('event.onJfbBack', options)
|
|
90
|
+
},
|
|
91
|
+
onJfbUpdate(...data) {
|
|
92
|
+
console.log('event.onJfbUpdate', data)
|
|
93
|
+
},
|
|
94
|
+
onJfbCustomEvent(options) {
|
|
95
|
+
console.log('event.onJfbReachBottom', options)
|
|
96
|
+
},
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
</script>
|
|
101
|
+
|
|
102
|
+
<style scoped lang="less">
|
|
103
|
+
@import "./JfbBaseCardDetailEntryLess.less";
|
|
104
|
+
|
|
105
|
+
.jfb-base-card-detail-entry {
|
|
106
|
+
&__body{
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
</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-card-detail-entry {
|
|
16
|
+
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
min-height: unit(100, 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-card-detail-entry {
|
|
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-card-detail-entry'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created() {
|
|
23
|
+
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description API模型
|
|
5
|
+
* 建议:Ffff=>模块 Xxxx=>自定义名字
|
|
6
|
+
* 获取单记录(getByIdFfffXxxx)
|
|
7
|
+
* 获取列表记录(getByListFfffXxxx)
|
|
8
|
+
* 添加列表记录(addFfffXxxxx)
|
|
9
|
+
* 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
|
|
10
|
+
* 更新列表记录(updateFfffXxxxx)
|
|
11
|
+
* @type {*[]}
|
|
12
|
+
*/
|
|
13
|
+
module.exports = [
|
|
14
|
+
{
|
|
15
|
+
mapFnName: 'disabledCardUnbindEntry',
|
|
16
|
+
isRule: false,
|
|
17
|
+
title: '解绑卡',
|
|
18
|
+
prefix: 'unbind',
|
|
19
|
+
path: '/card/v1/card-bind/unbind-card',
|
|
20
|
+
data: {
|
|
21
|
+
card_number: ['卡号', 'String', '必选'],
|
|
22
|
+
},
|
|
23
|
+
disabled: true,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
mapFnName: 'getDisableCardListEntry',
|
|
27
|
+
isRule: false,
|
|
28
|
+
title: '获得绑定卡',
|
|
29
|
+
prefix: 'list',
|
|
30
|
+
path: '/card/v1/card-bind/list-bind-card',
|
|
31
|
+
params: {},
|
|
32
|
+
disabled: true,
|
|
33
|
+
},
|
|
34
|
+
];
|