jufubao-base 1.0.116-beta1 → 1.0.116-beta3
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 +1 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +3 -1
- package/src/components/JfbBaseSaasBlessDetail/Api.js +60 -0
- package/src/components/JfbBaseSaasBlessDetail/Attr.js +106 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +227 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +80 -0
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessDetail/Mock.js +5 -0
- package/src/components/JfbBaseSaasBlessDialog/Api.js +60 -0
- package/src/components/JfbBaseSaasBlessDialog/Attr.js +50 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +265 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +80 -0
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessDialog/Mock.js +5 -0
- package/src/components/JfbBaseSaasBlessReceive/Api.js +60 -0
- package/src/components/JfbBaseSaasBlessReceive/Attr.js +106 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +172 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +80 -0
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +30 -0
- package/src/components/JfbBaseSaasBlessReceive/Mock.js +5 -0
- package/src/components/JfbBaseSaasHome/Api.js +60 -0
- package/src/components/JfbBaseSaasHome/Attr.js +106 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +285 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +80 -0
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +30 -0
- package/src/components/JfbBaseSaasHome/Mock.js +5 -0
- package/src/components/JfbBaseSaasLogin/Api.js +26 -0
- package/src/components/JfbBaseSaasLogin/Attr.js +37 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +353 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +80 -0
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +30 -0
- package/src/components/JfbBaseSaasLogin/Mock.js +5 -0
- package/src/components/JfbBaseSaasNewsDetail/Api.js +60 -0
- package/src/components/JfbBaseSaasNewsDetail/Attr.js +106 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +140 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +80 -0
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +30 -0
- package/src/components/JfbBaseSaasNewsDetail/Mock.js +5 -0
- package/src/components/JfbBaseSaasNewsList/Api.js +60 -0
- package/src/components/JfbBaseSaasNewsList/Attr.js +106 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +155 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +80 -0
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +30 -0
- package/src/components/JfbBaseSaasNewsList/Mock.js +5 -0
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</view>
|
|
14
14
|
<view class="item_sub">{{ item.prize_name }}</view>
|
|
15
15
|
|
|
16
|
-
<xd-font-icon class="ticket_icon" :icon="item.icon"></xd-font-icon>
|
|
16
|
+
<xd-font-icon class="ticket_icon" :color="item.iconColor" :icon="item.icon"></xd-font-icon>
|
|
17
17
|
<view class="btn">
|
|
18
18
|
<xd-button
|
|
19
19
|
size="small"
|
|
@@ -66,10 +66,12 @@ export default{
|
|
|
66
66
|
item.headIcon = getServiceUrl(this.setting.app_coupon_url);
|
|
67
67
|
item.btnImage = `url(${getServiceUrl(this.setting.app_coupon_button_bg_url)})`;
|
|
68
68
|
item.icon = item.can_take_num === "Y" ? "iconyilingqu" : "icondailingqu";
|
|
69
|
+
item.iconColor = item.can_take_num === "Y"?'#D6D6D6':"#FF4D4A"
|
|
69
70
|
}else if(item.can_take_num === "N"){
|
|
70
71
|
item.headIcon = getServiceUrl(this.setting.app_coupon_invalid_url);
|
|
71
72
|
item.btnImage = "";
|
|
72
73
|
item.icon = "iconyifawan";
|
|
74
|
+
item.iconColor = '#D6D6D6'
|
|
73
75
|
}
|
|
74
76
|
return item;
|
|
75
77
|
})
|
|
@@ -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,227 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="jfb-base-saas-bless-detail"
|
|
4
|
+
@click="handleEditxSelect"
|
|
5
|
+
:class="{ editx : isEditx && active }"
|
|
6
|
+
>
|
|
7
|
+
<!--#ifdef H5-->
|
|
8
|
+
<view
|
|
9
|
+
class="jfb-base-saas-bless-detail__edit"
|
|
10
|
+
:class="{ editx : isEditx && active }"
|
|
11
|
+
v-if="isEditx && active"
|
|
12
|
+
>
|
|
13
|
+
<view class="jfb-base-saas-bless-detail__edit-icon" @click="delEdit">删除</view>
|
|
14
|
+
</view>
|
|
15
|
+
<!-- #endif -->
|
|
16
|
+
<view class="jfb-base-saas-bless-detail__body">
|
|
17
|
+
<view class="bless_detail">
|
|
18
|
+
<view class="bless_box">
|
|
19
|
+
<view class="dear">亲爱的张珊珊:</view>
|
|
20
|
+
<view class="desc">同事好比亲兄弟,一个单位共努力,加班加点在一起,齐心协力拼业绩,新年春节悄然到身旁,祝福送你好兄弟,合家欢乐福相伴,年年有余好运随,新年春节快乐哟!</view>
|
|
21
|
+
<view class="salute">某某公司致上</view>
|
|
22
|
+
<xd-button class="sign_btn" style="width: 250rpx;" type="primary">去签收</xd-button>
|
|
23
|
+
</view>
|
|
24
|
+
</view>
|
|
25
|
+
<xd-dailog :show.sync="dialogShow" title="" class="my_dialog">
|
|
26
|
+
<view class="dialog_head">
|
|
27
|
+
<view class="h_main">请签名</view>
|
|
28
|
+
<view class="h_sub">请务必由本人签收,字迹工整</view>
|
|
29
|
+
</view>
|
|
30
|
+
<view class="sign_box">
|
|
31
|
+
<xd-signature ref="signatureRef"></xd-signature>
|
|
32
|
+
</view>
|
|
33
|
+
<view slot="btn" class="btn_wrap">
|
|
34
|
+
<xd-button style="width: 220rpx;" @click="clearSign">重写</xd-button>
|
|
35
|
+
<xd-button style="width: 220rpx;margin-left: 60rpx;" type="primary" @click="submitSign">确定</xd-button>
|
|
36
|
+
</view>
|
|
37
|
+
</xd-dailog>
|
|
38
|
+
<xd-dailog :show.sync="dialogSuccess" title="" class="success_dialog">
|
|
39
|
+
<view class="dialog_main">
|
|
40
|
+
<xd-font-icon icon="iconchenggong" :size="90" :color="mainColor"></xd-font-icon>
|
|
41
|
+
<view class="sign_tit">签收成功</view>
|
|
42
|
+
<view class="sign_cont">节日福利已经放入您的账户</view>
|
|
43
|
+
<view class="sign_ticket">祝福券 X1张</view>
|
|
44
|
+
</view>
|
|
45
|
+
<view slot="btn">
|
|
46
|
+
<xd-button style="width: 280rpx;" type="primary">去使用</xd-button>
|
|
47
|
+
</view>
|
|
48
|
+
</xd-dailog>
|
|
49
|
+
</view>
|
|
50
|
+
</view>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<script>
|
|
54
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
55
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
56
|
+
import XdDailog from "@/components/XdDailog/XdDailog"
|
|
57
|
+
import XdSignature from "@/components/XdSignature/XdSignature"
|
|
58
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
59
|
+
import JfbBaseSaasBlessDetailMixin from "./JfbBaseSaasBlessDetailMixin";
|
|
60
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
61
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
62
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
63
|
+
export default {
|
|
64
|
+
name: "JfbBaseSaasBlessDetail",
|
|
65
|
+
components: {
|
|
66
|
+
XdFontIcon,
|
|
67
|
+
XdButton,
|
|
68
|
+
XdDailog,
|
|
69
|
+
XdSignature
|
|
70
|
+
},
|
|
71
|
+
mixins: [
|
|
72
|
+
componentsMixins, extsMixins, JfbBaseSaasBlessDetailMixin
|
|
73
|
+
],
|
|
74
|
+
data() {
|
|
75
|
+
return {
|
|
76
|
+
dialogShow: true,
|
|
77
|
+
dialogSuccess: false,
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
watch: {
|
|
81
|
+
container(value) {
|
|
82
|
+
this.init(value)
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
created() {
|
|
86
|
+
this.init(this.container);
|
|
87
|
+
|
|
88
|
+
//todo
|
|
89
|
+
},
|
|
90
|
+
methods: {
|
|
91
|
+
onJfbLoad(options) {
|
|
92
|
+
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* @description 监听事件变化
|
|
96
|
+
* @param container {object} 业务组件对象自己
|
|
97
|
+
*/
|
|
98
|
+
init(container) {
|
|
99
|
+
|
|
100
|
+
},
|
|
101
|
+
clearSign(){
|
|
102
|
+
this.$refs.signatureRef.clear()
|
|
103
|
+
},
|
|
104
|
+
submitSign(){
|
|
105
|
+
this.$refs.signatureRef.canvasToTempFilePath({
|
|
106
|
+
success: (res) => {
|
|
107
|
+
console.log(res);
|
|
108
|
+
// 是否为空画板 无签名
|
|
109
|
+
console.log(res.isEmpty)
|
|
110
|
+
// 生成图片的临时路径
|
|
111
|
+
// H5 生成的是base64
|
|
112
|
+
this.url = res.tempFilePath
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
},
|
|
116
|
+
onJfbScroll(options) {
|
|
117
|
+
console.log('event.onJfbScroll', options)
|
|
118
|
+
},
|
|
119
|
+
onJfbReachBottom(options) {
|
|
120
|
+
console.log('event.onJfbReachBottom', options)
|
|
121
|
+
},
|
|
122
|
+
onJfbShow(options) {
|
|
123
|
+
console.log('event.onJfbShow', options)
|
|
124
|
+
},
|
|
125
|
+
onJfbHide(options) {
|
|
126
|
+
console.log('event.onJfbHide', options)
|
|
127
|
+
},
|
|
128
|
+
onJfbBack(options) {
|
|
129
|
+
console.log('event.onJfbBack', options)
|
|
130
|
+
},
|
|
131
|
+
onJfbUpdate(...data) {
|
|
132
|
+
console.log('event.onJfbUpdate', data)
|
|
133
|
+
},
|
|
134
|
+
onJfbCustomEvent(options) {
|
|
135
|
+
console.log('event.onJfbReachBottom', options)
|
|
136
|
+
},
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
</script>
|
|
141
|
+
|
|
142
|
+
<style scoped lang="less">
|
|
143
|
+
@import "./JfbBaseSaasBlessDetailLess.less";
|
|
144
|
+
|
|
145
|
+
.jfb-base-saas-bless-detail {
|
|
146
|
+
&__body{
|
|
147
|
+
box-sizing: border-box;
|
|
148
|
+
.bless_detail{
|
|
149
|
+
padding: 350rpx 48rpx;
|
|
150
|
+
|
|
151
|
+
.bless_box{
|
|
152
|
+
width: 600rpx;
|
|
153
|
+
height: 720rpx;
|
|
154
|
+
border: 1px solid #DDD;
|
|
155
|
+
margin: 0 auto;
|
|
156
|
+
background-color: #FFF2CD;
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
padding: 100rpx 80rpx;
|
|
159
|
+
color: #FA2300;
|
|
160
|
+
font-size: 32rpx;
|
|
161
|
+
font-weight: 400;
|
|
162
|
+
.dear{
|
|
163
|
+
font-weight: 500;
|
|
164
|
+
}
|
|
165
|
+
.desc{
|
|
166
|
+
margin: 50rpx 0;
|
|
167
|
+
}
|
|
168
|
+
.salute{
|
|
169
|
+
text-align: right;
|
|
170
|
+
}
|
|
171
|
+
.sign_btn{
|
|
172
|
+
margin-top: 32rpx;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.my_dialog{
|
|
177
|
+
/deep/ .xd-dailog__body-content-box{
|
|
178
|
+
padding: 0;
|
|
179
|
+
}
|
|
180
|
+
.dialog_head{
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: space-between;
|
|
184
|
+
padding: 48rpx 0;
|
|
185
|
+
|
|
186
|
+
.h_main{
|
|
187
|
+
font-size: 36rpx;
|
|
188
|
+
color: #333333;
|
|
189
|
+
font-weight: 500;
|
|
190
|
+
}
|
|
191
|
+
.h_sub{
|
|
192
|
+
font-size: 24rpx;
|
|
193
|
+
color: #808080;
|
|
194
|
+
font-weight: 400;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
.sign_box{
|
|
198
|
+
width: 600rpx;
|
|
199
|
+
height: 460rpx;
|
|
200
|
+
background-color: #F2F2F2;
|
|
201
|
+
}
|
|
202
|
+
.btn_wrap{
|
|
203
|
+
display: flex;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
.success_dialog{
|
|
207
|
+
.dialog_main{
|
|
208
|
+
padding: 140rpx 0 100rpx;
|
|
209
|
+
.sign_tit{
|
|
210
|
+
color: #FE7A63;
|
|
211
|
+
margin-top: 28rpx;
|
|
212
|
+
font-size: 40rpx;
|
|
213
|
+
}
|
|
214
|
+
.sign_cont{
|
|
215
|
+
font-size: 32rpx;
|
|
216
|
+
color: #333333;
|
|
217
|
+
margin-top: 40rpx;
|
|
218
|
+
}
|
|
219
|
+
.sign_ticket{
|
|
220
|
+
font-size: 32rpx;
|
|
221
|
+
color: #FE7A63;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
</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-saas-bless-detail {
|
|
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-saas-bless-detail {
|
|
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-saas-bless-detail'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created() {
|
|
23
|
+
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
}
|
|
@@ -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,50 @@
|
|
|
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-select-pages-path', //package 名称
|
|
13
|
+
valueKey: 'list_url', //form[valueKey]
|
|
14
|
+
placeholder: '请选择优惠券列表路径',
|
|
15
|
+
value: data['list_url'] ||null,
|
|
16
|
+
setting: {
|
|
17
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
18
|
+
},
|
|
19
|
+
inline: false,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '活动提示方式:',
|
|
23
|
+
ele: 'xd-radio',
|
|
24
|
+
valueKey: 'type',
|
|
25
|
+
value: data['type']||1,
|
|
26
|
+
placeholder: '请选择活动提示方式',
|
|
27
|
+
multiple: false,
|
|
28
|
+
className: 'input80',
|
|
29
|
+
list: [
|
|
30
|
+
{ label: '弹框', value: 1 },
|
|
31
|
+
{ label: '切换', value: 2 },
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: '是否隐藏弹框(仅预览模式生效):',
|
|
36
|
+
ele: 'xd-radio',
|
|
37
|
+
valueKey: 'isHide',
|
|
38
|
+
value: data['isHide']||false,
|
|
39
|
+
placeholder: '请选择是否隐藏弹框',
|
|
40
|
+
multiple: false,
|
|
41
|
+
className: 'input80',
|
|
42
|
+
list: [
|
|
43
|
+
{ label: '是', value: true },
|
|
44
|
+
{ label: '否', value: false },
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
].filter(i=>i)
|
|
48
|
+
},
|
|
49
|
+
advanced: [],
|
|
50
|
+
};
|