jufubao-third 1.0.21 → 1.0.22-beta10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/package.json +1 -1
  3. package/src/components/JfbThirdPay/WalletMix.js +1 -0
  4. package/src/components/JfbThirdRideCheckPay/Api.js +18 -0
  5. package/src/components/JfbThirdRideCheckPay/Attr.js +17 -0
  6. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPay.vue +217 -0
  7. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPayLess.less +80 -0
  8. package/src/components/JfbThirdRideCheckPay/JfbThirdRideCheckPayMixin.js +30 -0
  9. package/src/components/JfbThirdRideCheckPay/Mock.js +7 -0
  10. package/src/components/JfbThirdRideCheckPay/cusAttr/advanced.js +28 -0
  11. package/src/components/JfbThirdRideCheckPay/cusAttr/content.js +27 -0
  12. package/src/components/JfbThirdRideCheckPay/cusAttr/style.js +7 -0
  13. package/src/components/JfbThirdRideConfirm/Api.js +37 -0
  14. package/src/components/JfbThirdRideConfirm/Attr.js +17 -0
  15. package/src/components/JfbThirdRideConfirm/JfbThirdRideConfirm.vue +527 -0
  16. package/src/components/JfbThirdRideConfirm/JfbThirdRideConfirmLess.less +80 -0
  17. package/src/components/JfbThirdRideConfirm/JfbThirdRideConfirmMixin.js +30 -0
  18. package/src/components/JfbThirdRideConfirm/Mock.js +69 -0
  19. package/src/components/JfbThirdRideConfirm/cusAttr/advanced.js +7 -0
  20. package/src/components/JfbThirdRideConfirm/cusAttr/content.js +27 -0
  21. package/src/components/JfbThirdRideConfirm/cusAttr/style.js +7 -0
  22. package/src/components/JfbThirdRideGenOrder/Api.js +21 -0
  23. package/src/components/JfbThirdRideGenOrder/Attr.js +17 -0
  24. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrder.vue +234 -0
  25. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrderLess.less +80 -0
  26. package/src/components/JfbThirdRideGenOrder/JfbThirdRideGenOrderMixin.js +30 -0
  27. package/src/components/JfbThirdRideGenOrder/Mock.js +11 -0
  28. package/src/components/JfbThirdRideGenOrder/cusAttr/advanced.js +37 -0
  29. package/src/components/JfbThirdRideGenOrder/cusAttr/content.js +7 -0
  30. package/src/components/JfbThirdRideGenOrder/cusAttr/style.js +7 -0
  31. package/src/components/JfbThirdRideHome/Api.js +44 -0
  32. package/src/components/JfbThirdRideHome/Attr.js +17 -0
  33. package/src/components/JfbThirdRideHome/JfbThirdRideHome.vue +831 -0
  34. package/src/components/JfbThirdRideHome/JfbThirdRideHomeLess.less +80 -0
  35. package/src/components/JfbThirdRideHome/JfbThirdRideHomeMixin.js +30 -0
  36. package/src/components/JfbThirdRideHome/Mock.js +13 -0
  37. package/src/components/JfbThirdRideHome/cusAttr/advanced.js +52 -0
  38. package/src/components/JfbThirdRideHome/cusAttr/content.js +27 -0
  39. package/src/components/JfbThirdRideHome/cusAttr/style.js +7 -0
  40. package/src/components/JfbThirdRideLand/Api.js +58 -0
  41. package/src/components/JfbThirdRideLand/Attr.js +17 -0
  42. package/src/components/JfbThirdRideLand/JfbThirdRideLand.vue +256 -0
  43. package/src/components/JfbThirdRideLand/JfbThirdRideLandLess.less +80 -0
  44. package/src/components/JfbThirdRideLand/JfbThirdRideLandMixin.js +30 -0
  45. package/src/components/JfbThirdRideLand/Mock.js +13 -0
  46. package/src/components/JfbThirdRideLand/cusAttr/advanced.js +22 -0
  47. package/src/components/JfbThirdRideLand/cusAttr/content.js +60 -0
  48. package/src/components/JfbThirdRideLand/cusAttr/style.js +109 -0
  49. package/src/components/JfbThirdRideRecord/Api.js +33 -0
  50. package/src/components/JfbThirdRideRecord/Attr.js +17 -0
  51. package/src/components/JfbThirdRideRecord/JfbThirdRideRecord.vue +533 -0
  52. package/src/components/JfbThirdRideRecord/JfbThirdRideRecordLess.less +80 -0
  53. package/src/components/JfbThirdRideRecord/JfbThirdRideRecordMixin.js +30 -0
  54. package/src/components/JfbThirdRideRecord/Mock.js +44 -0
  55. package/src/components/JfbThirdRideRecord/cusAttr/advanced.js +22 -0
  56. package/src/components/JfbThirdRideRecord/cusAttr/content.js +27 -0
  57. package/src/components/JfbThirdRideRecord/cusAttr/style.js +7 -0
  58. package/src/components/JfbThirdRideStartEnd/Api.js +20 -0
  59. package/src/components/JfbThirdRideStartEnd/Attr.js +17 -0
  60. package/src/components/JfbThirdRideStartEnd/JfbThirdRideStartEnd.vue +382 -0
  61. package/src/components/JfbThirdRideStartEnd/JfbThirdRideStartEndLess.less +80 -0
  62. package/src/components/JfbThirdRideStartEnd/JfbThirdRideStartEndMixin.js +30 -0
  63. package/src/components/JfbThirdRideStartEnd/Mock.js +17 -0
  64. package/src/components/JfbThirdRideStartEnd/cusAttr/advanced.js +22 -0
  65. package/src/components/JfbThirdRideStartEnd/cusAttr/content.js +27 -0
  66. package/src/components/JfbThirdRideStartEnd/cusAttr/style.js +7 -0
  67. package/src/mixins/getCoordinatesMixins.js +407 -0
@@ -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-third-ride-home {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
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: var(--preview-z-index);
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(0, rpx);
48
+ height: unit(50, rpx);
49
+ z-index: 100;
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
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-third-ride-home {
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-third-ride-home'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getRideReservationTime:{
6
+ "start_time": 0,
7
+ "end_time": 0
8
+ },
9
+ getRideEstimatePrice:{
10
+ "estimate_id": 0
11
+ }
12
+
13
+ }
@@ -0,0 +1,52 @@
1
+ 'use strict';
2
+
3
+ export default (data, gValue, gColor, oldData) => {
4
+ return [
5
+ //高级
6
+ {
7
+ label: '起终点地址',
8
+ groupKey:'advanced',
9
+ className: 'input100',
10
+ ele: 'xd-select-pages-path',
11
+ valueKey: 'selectLocationPath',
12
+ placeholder: '请选择起终点位置选择页路径',
13
+ labelInline: true,
14
+ inline: false,
15
+ value: data['selectLocationPath'] || null,
16
+ setting: {
17
+ mode:'new',
18
+ router: XdBus.getParentApi('getPagesTree')
19
+ },
20
+ },
21
+ {
22
+ label: '确认用车',
23
+ groupKey:'advanced',
24
+ className: 'input100',
25
+ ele: 'xd-select-pages-path',
26
+ valueKey: 'rideConfirmPath',
27
+ placeholder: '请选择确认用车页路径',
28
+ labelInline: true,
29
+ inline: false,
30
+ value: data['rideConfirmPath'] || null,
31
+ setting: {
32
+ mode:'new',
33
+ router: XdBus.getParentApi('getPagesTree')
34
+ },
35
+ },
36
+ {
37
+ label: '出行记录',
38
+ groupKey:'advanced',
39
+ className: 'input100',
40
+ ele: 'xd-select-pages-path',
41
+ valueKey: 'rideRecordPath',
42
+ placeholder: '请选择出行记录页路径',
43
+ labelInline: true,
44
+ inline: false,
45
+ value: data['rideRecordPath'] || null,
46
+ setting: {
47
+ mode:'new',
48
+ router: XdBus.getParentApi('getPagesTree')
49
+ },
50
+ },
51
+ ].filter(i=>i)
52
+ }
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+ import { dataVal } from "@/utils/AttrTools";
3
+
4
+ export default (data, gValue, gColor, oldData) => {
5
+ return [
6
+ //内容
7
+ {
8
+ label: "业务线",
9
+ ele: "xd-choose-namespace",
10
+ valueKey: "xnamespace",
11
+ value: dataVal({data, key:'xnamespace', dValue:"", gValue}),
12
+ groupKey:'content',
13
+ className: 'input80',
14
+ labelInline:true,
15
+ placeholder: '请选择业务线',
16
+ notice: '空继承上级业务线',
17
+ inline: false,
18
+ handleCustom: (cb) => {
19
+ XdBus.getParentApi('getOptionsNamespaces')()
20
+ .then(res => {
21
+ cb(res.list)
22
+ })
23
+ .catch();
24
+ }
25
+ },
26
+ ].filter(i=>i)
27
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ export default (data, gValue, gColor, oldData) => {
4
+ return [
5
+ //风格
6
+ ].filter(i=>i)
7
+ }
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Ride
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ //设置方法名字当别忘记加上【模块名字】:Ride
10
+ mapFnName: 'getRideByIdFilmSquate',
11
+ title: '获取电影广场列表',
12
+ path: '/api/account/film/list-film-square',
13
+ isRule: false,
14
+ params: {
15
+ last_key: ['当前页', 'Number', '必选'],
16
+ page_size: ['每页数量', 'Number', '必选'],
17
+ },
18
+ isConsole: true,
19
+ disabled: true,
20
+ },
21
+ {
22
+ //设置方法名字当别忘记加上【模块名字】:Ride
23
+ mapFnName: 'updateRideFilmPaiqiDate',
24
+ title: '更新排期',
25
+ path: '/api/account/film/paiqi-date',
26
+ isRule: false,
27
+ params: {
28
+ film_id: ['电影id', 'Number', '必选'],
29
+ cinema_id: ['影院id', 'Number', '必选'],
30
+ },
31
+ isConsole: true,
32
+ disabled: true,
33
+ },
34
+ {
35
+ //设置方法名字当别忘记加上【模块名字】:Ride
36
+ mapFnName: 'removeRideFilmAddress',
37
+ title: '删除我的配送地址',
38
+ path: '/api/account/film/paiqi-date',
39
+ isRule: false,
40
+ params: {
41
+ film_id: ['电影id', 'Number', '必选'],
42
+ },
43
+ isConsole: true,
44
+ disabled: true,
45
+ },
46
+ {
47
+ //设置方法名字当别忘记加上【模块名字】:Ride
48
+ mapFnName: 'addRideFilmcart',
49
+ title: '添加购物车',
50
+ path: '/api/account/film/paiqi-date',
51
+ isRule: false,
52
+ params: {
53
+ film_id: ['电影id', 'Number', '必选'],
54
+ },
55
+ isConsole: true,
56
+ disabled: true,
57
+ },
58
+ ];
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ import style from "./cusAttr/style";
4
+ import advanced from "./cusAttr/advanced";
5
+ import content from "./cusAttr/content";
6
+
7
+ export default {
8
+ style: [],
9
+ advanced: [],
10
+ content: (data, gValue, gColor, oldData = {}) => {
11
+ return [
12
+ ...content(data, gValue, gColor, oldData),
13
+ ...style(data, gValue, gColor, oldData),
14
+ ...advanced(data, gValue, gColor, oldData),
15
+ ].filter(i => i)
16
+ },
17
+ }
@@ -0,0 +1,256 @@
1
+ <template>
2
+ <view
3
+ class="jfb-third-ride-land"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx : isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-third-ride-land__edit"
10
+ :class="{ editx : isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-third-ride-land__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
16
+ </view>
17
+ <!-- #endif -->
18
+ <view class="jfb-third-ride-land__body" :style="[bodyStyle, bgStyle]">
19
+ <view class="land_box" :style="cardStyle" v-html="contentHtml"></view>
20
+ <view
21
+ class="land_btn"
22
+ :class="{ 'land_btn--disabled': btnDisabled }"
23
+ @click="handleBtnClick"
24
+ >
25
+ <text class="land_btn-text">{{ btnText }}{{ countdownText }}</text>
26
+ </view>
27
+ </view>
28
+ </view>
29
+ </template>
30
+
31
+ <script>
32
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
33
+ import { jfbRootExec } from "@/utils/xd.event";
34
+ import JfbThirdRideLandMixin from "./JfbThirdRideLandMixin";
35
+ import { gCPVal } from "@/utils/xd.base";
36
+ import posterMixins from "@/mixins/posterMixins";
37
+ import componentsMixins from "@/mixins/componentsMixins";
38
+ import extsMixins from "@/mixins/extsMixins";
39
+ import getServiceUrl from "@/common/getServiceUrl";
40
+ export default {
41
+ name: "JfbThirdRideLand",
42
+ components: {
43
+ XdFontIcon
44
+ },
45
+ mixins: [
46
+ componentsMixins, extsMixins, JfbThirdRideLandMixin, posterMixins
47
+ ],
48
+ data() {
49
+ return {
50
+ //内容
51
+ contentHtml: '',
52
+ btnText: '我已知晓',
53
+ btnLink: null,
54
+ countdown: 0,
55
+ countdownLeft: 0,
56
+ countdownTimer: null,
57
+ //样式
58
+ bgImage: '',
59
+ margin: {},
60
+ padding: {},
61
+ radius: 24,
62
+ }
63
+ },
64
+ computed: {
65
+ //页面背景(背景图)
66
+ bgStyle(){
67
+ let style = {};
68
+ if(this.bgImage) {
69
+ style.backgroundImage = `url(${getServiceUrl(this.bgImage)})`;
70
+ style.backgroundSize = '100% 100%';
71
+ style.backgroundPosition = 'center';
72
+ style.backgroundRepeat = 'no-repeat';
73
+ }
74
+ return style;
75
+ },
76
+ //外边距
77
+ bodyStyle(){
78
+ let style = {
79
+ padding: this.getMarginAndPadding(this.margin, 32)
80
+ };
81
+ //最小高度为窗口内容区高度
82
+ if(this.layoutInfo && this.layoutInfo.bodyMinHeightRpx) {
83
+ style.minHeight = this.layoutInfo.bodyMinHeightRpx + 'rpx';
84
+ }
85
+ return style;
86
+ },
87
+ //内容卡片样式(内边距 + 圆角)
88
+ cardStyle(){
89
+ return {
90
+ padding: this.getMarginAndPadding(this.padding, 32),
91
+ borderRadius: this.radius + 'rpx'
92
+ }
93
+ },
94
+ //按钮是否处于倒计时禁用状态
95
+ btnDisabled(){
96
+ return this.countdownLeft > 0;
97
+ },
98
+ //倒计时文案
99
+ countdownText(){
100
+ return this.btnDisabled ? `(${this.countdownLeft}s)` : '';
101
+ }
102
+ },
103
+ watch: {
104
+ container(value, oldValue) {
105
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
106
+ if (this.$configProject['isPreview']) this.init(value)
107
+ },
108
+ },
109
+ created() {
110
+ this.init(this.container);
111
+
112
+ //todo
113
+ },
114
+ beforeDestroy() {
115
+ this.clearCountdown();
116
+ },
117
+ methods: {
118
+ onJfbLoad(options) {
119
+
120
+ // jfbRootExec('baiduUserLogin', {
121
+
122
+ // vm: this,// data: {
123
+
124
+ // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
125
+
126
+ // }
127
+
128
+ // }).then().catch()
129
+ },
130
+ /**
131
+ * @description 监听事件变化
132
+ * @param container {object} 业务组件对象自己
133
+ */
134
+ init(container) {
135
+ //内容
136
+ this.contentHtml = gCPVal(container, 'contentHtml', '');
137
+ this.btnText = gCPVal(container, 'btnText', '我已知晓');
138
+ this.btnLink = gCPVal(container, 'btnLink', "");
139
+ this.countdown = gCPVal(container, 'countdown', 0);
140
+ //样式
141
+ let bgImageVal = gCPVal(container, 'bgImage', {});
142
+ this.bgImage = bgImageVal && bgImageVal.url ? bgImageVal.url : '';
143
+ this.margin = gCPVal(container, 'margin', 32, {sKey: 'marginStatus', fields: ['margin'], isPM: true});
144
+ this.padding = gCPVal(container, 'padding', 32, {sKey: 'paddingStatus', fields: ['padding'], isPM: true});
145
+ this.radius = gCPVal(container, 'radius', 24, {sKey: 'radiusStatus', fields: ['radius']});
146
+ //启动倒计时
147
+ this.startCountdown();
148
+ },
149
+ /**
150
+ * @description 开始倒计时
151
+ */
152
+ startCountdown(){
153
+ this.clearCountdown();
154
+ let count = Number(this.countdown) || 0;
155
+ if(count <= 0) return;
156
+ this.countdownLeft = count;
157
+ this.countdownTimer = setInterval(() => {
158
+ this.countdownLeft--;
159
+ if(this.countdownLeft <= 0) this.clearCountdown();
160
+ }, 1000);
161
+ },
162
+ /**
163
+ * @description 清除倒计时
164
+ */
165
+ clearCountdown(){
166
+ if(this.countdownTimer) {
167
+ clearInterval(this.countdownTimer);
168
+ this.countdownTimer = null;
169
+ }
170
+ this.countdownLeft = 0;
171
+ },
172
+ createUrlPosterItem(url=''){
173
+ return {
174
+ redirect_type: 'URL',
175
+ redirect_data: JSON.stringify({url}),
176
+ app_type: 'h5',
177
+ redirect_params: '',
178
+ deploy_dir: ''
179
+ };
180
+ },
181
+ /**
182
+ * @description 点击按钮,倒计时结束后跳转配置的链接
183
+ */
184
+ handleBtnClick(){
185
+ if (this.$configProject['isPreview']) return;
186
+ if(this.btnDisabled) return;
187
+ this.handlePosterClick(this.createUrlPosterItem(this.btnLink))
188
+ // this.$xdUniHelper.navigateTo({
189
+ // url: this.btnLink
190
+ // });
191
+ },
192
+ onJfbScroll(options) {
193
+ console.log('event.onJfbScroll', options)
194
+ },
195
+ onJfbReachBottom(options) {
196
+ console.log('event.onJfbReachBottom', options)
197
+ },
198
+ onJfbShow(options) {
199
+ console.log('event.onJfbShow', options)
200
+ },
201
+ onJfbHide(options) {
202
+ console.log('event.onJfbHide', options)
203
+ },
204
+ onJfbBack(options) {
205
+ console.log('event.onJfbBack', options)
206
+ },
207
+ onJfbUpdate(...data) {
208
+ console.log('event.onJfbUpdate', data)
209
+ },
210
+ onJfbCustomEvent(options) {
211
+ console.log('event.onJfbReachBottom', options)
212
+ },
213
+ }
214
+ }
215
+
216
+ </script>
217
+
218
+ <style scoped lang="less">
219
+ @import "./JfbThirdRideLandLess.less";
220
+
221
+ .jfb-third-ride-land {
222
+ &__body{
223
+ box-sizing: border-box;
224
+
225
+ .land_box{
226
+ background: #FFFFFF;
227
+ }
228
+
229
+ //底部按钮
230
+ .land_btn{
231
+ display: flex;
232
+ align-items: center;
233
+ justify-content: center;
234
+ width: 448rpx;
235
+ margin: 48rpx auto 0;
236
+ padding: 30rpx 0;
237
+ background: #FFFFFF;
238
+ border-radius: 60rpx;
239
+
240
+ .land_btn-text {
241
+ color: #333333;
242
+ font-size: 28rpx;
243
+ letter-spacing: 2rpx;
244
+ }
245
+
246
+ &--disabled {
247
+ background: #E6E6E9;
248
+
249
+ .land_btn-text {
250
+ color: #999999;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ </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-third-ride-land {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
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: var(--preview-z-index);
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(0, rpx);
48
+ height: unit(50, rpx);
49
+ z-index: 100;
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
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-third-ride-land {
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-third-ride-land'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getRideByIdFilmSquate:{},
6
+
7
+ updateRideFilmPaiqiDate:{},
8
+
9
+ removeRideFilmAddress:{},
10
+
11
+ addRideFilmcart:{},
12
+
13
+ }
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ export default (data, gValue, gColor, oldData) => {
4
+ return [
5
+ //高级
6
+ // {
7
+ // label: '按钮跳转',
8
+ // groupKey:'advanced',
9
+ // className: 'input100',
10
+ // ele: 'xd-select-pages-path',
11
+ // valueKey: 'btnLink',
12
+ // placeholder: '请选择按钮跳转页面路径',
13
+ // labelInline: true,
14
+ // inline: false,
15
+ // value: data['btnLink'] || null,
16
+ // setting: {
17
+ // mode:'new',
18
+ // router: XdBus.getParentApi('getPagesTree')
19
+ // },
20
+ // },
21
+ ].filter(i=>i)
22
+ }