jufubao-base 1.0.183 → 1.0.184-beta2

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 (47) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAddress/Attr.js +50 -1
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
  4. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  5. package/src/components/JfbBaseCardDelay/Api.js +19 -30
  6. package/src/components/JfbBaseCardDelay/Attr.js +237 -35
  7. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +279 -78
  8. package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
  9. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
  10. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  11. package/src/components/JfbBaseCardEntry/Attr.js +121 -0
  12. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +206 -29
  13. package/src/components/JfbBaseCardGive/Api.js +18 -34
  14. package/src/components/JfbBaseCardGive/Attr.js +40 -32
  15. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +502 -79
  16. package/src/components/JfbBaseCardGive/Mock.js +2 -9
  17. package/src/components/JfbBaseCardReceive/Api.js +10 -36
  18. package/src/components/JfbBaseCardReceive/Attr.js +9 -39
  19. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +403 -80
  20. package/src/components/JfbBaseCardReceive/Mock.js +1 -7
  21. package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
  22. package/src/components/JfbBaseCardReceiveCover/Attr.js +119 -30
  23. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +189 -82
  24. package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
  25. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  26. package/src/components/JfbBaseOrderDetail/Attr.js +18 -74
  27. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +26 -22
  28. package/src/components/JfbBaseOrderList/Attr.js +23 -0
  29. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
  30. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
  31. package/src/components/JfbBasePay/Attr.js +12 -0
  32. package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
  33. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
  34. package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
  35. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
  36. package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
  37. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
  38. package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
  39. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  40. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
  41. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
  42. package/src/components/JfbBaseUserCenter/Attr.js +240 -48
  43. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
  44. package/src/components/JfbBaseUserInfo/Attr.js +179 -30
  45. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
  46. package/src/components/JfbBaseWallet/Attr.js +340 -2
  47. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +167 -49
@@ -8,49 +8,251 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgcolor',
14
- value: data.bgcolor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80',
17
- rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
11
+ label: '提示内容:',
12
+ ele: 'xd-site-news',
13
+ valueKey: 'notice',
14
+ groupKey:'content',
15
+ value: data.notice || null,
16
+ className: 'input70',
17
+ setting: {
18
+ config: {
19
+ sort: true,
20
+ maxlen: 100,
21
+ action: 'aliyun',
22
+ size: 5,
23
+ tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
24
+ uploadType: 'aliyun',
25
+ type: ['jpg', 'png', 'jpeg']
22
26
  },
23
- ]
27
+ },
28
+ handleCustom({action, data}) {
29
+ if (data && data.params) {
30
+ //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
31
+ //data.params = Object.assign({}, data.params, {code: 'g_test_id'});
32
+ }
33
+
34
+ //获取返回参数(场景类型名称为必填)
35
+ let loading = { close(){}}
36
+
37
+ //获取显示内容
38
+ if (action === 'screen') {
39
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
40
+ .then(res => {
41
+ loading.close();
42
+ data.cb(res['list'])
43
+ })
44
+ .catch(error => {
45
+ console.error(error);
46
+ loading.close();
47
+ });
48
+
49
+ }
50
+
51
+ //获取返回参数(广告位高度必选项)
52
+ if (action === 'getNewsInfo') {
53
+ XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
54
+ .then(res => {
55
+ loading.close()
56
+ data.cb({list: res.list, selectId: res.selected})
57
+ })
58
+ .catch(error => {
59
+ loading.close()
60
+ console.error(error);
61
+ });
62
+ }
63
+
64
+ //获取产品业务线列表
65
+ if (action === 'namespace') {
66
+ XdBus.getParentApi('getOptionsNamespaces')({})
67
+ .then(res => {
68
+ loading.close()
69
+ data.cb(res['list'])
70
+ })
71
+ .catch(error => {
72
+ loading.close()
73
+ console.error(error);
74
+ });
75
+ }
76
+
77
+ //使用内容分类
78
+ if (action === 'cmsPublishEditxContent') {
79
+ loading = XdBus.getParentApi('loading')({});
80
+ XdBus.getParentApi('cmsPublishEditxContent')(data.params)
81
+ .then(res => {
82
+ console.log('cmsPublishEditxContent', res)
83
+ loading.close();
84
+ data.cb(res)
85
+ })
86
+ .catch(error => {
87
+ loading.close();
88
+ console.error(error);
89
+ });
90
+ }
91
+
92
+ //位置列表
93
+ if (action === 'getListPostion') {
94
+ loading = XdBus.getParentApi('loading')({});
95
+ XdBus.getParentApi('getListNewsPosition')(data.params)
96
+ .then(res => {
97
+ loading.close();
98
+ data.cb(res)
99
+ })
100
+ .catch(error => {
101
+ loading.close();
102
+ console.error(error);
103
+ });
104
+ }
105
+
106
+ //位置创建
107
+ if (action === 'addPostion') {
108
+ loading = XdBus.getParentApi('loading')({});
109
+ XdBus.getParentApi('addNewsPosition')(data.params)
110
+ .then(res => {
111
+ loading.close();
112
+ data.cb(true)
113
+ })
114
+ .catch(error => {
115
+ console.error(error);
116
+ loading.close();
117
+ data.cb(false)
118
+ });
119
+ }
120
+
121
+ //位置编辑
122
+ if (action === 'editPostion') {
123
+ loading = XdBus.getParentApi('loading')({});
124
+ XdBus.getParentApi('updateNewsPosition')(data.params)
125
+ .then(res => {
126
+ loading.close();
127
+ data.cb(true)
128
+ })
129
+ .catch(error => {
130
+ console.error(error);
131
+ loading.close();
132
+ data.cb(false)
133
+ });
134
+ }
135
+
136
+ //位置删除
137
+ if (action === 'deleltePostion') {
138
+ loading = XdBus.getParentApi('loading')({});
139
+ XdBus.getParentApi('deleteNewsPosition')(data.params)
140
+ .then(res => {
141
+ loading.close();
142
+ data.cb(true)
143
+ })
144
+ .catch(error => {
145
+ console.error(error);
146
+ loading.close();
147
+ data.cb(false)
148
+ });
149
+ }
150
+
151
+ //获取广告位内容列表
152
+ if (action === 'getListContent') {
153
+ loading = XdBus.getParentApi('loading')({});
154
+ XdBus.getParentApi('getListNewsContent')(data.params)
155
+ .then(res => {
156
+ loading.close();
157
+ data.cb(res)
158
+ })
159
+ .catch(error => {
160
+ loading.close();
161
+ console.error(error);
162
+ });
163
+ }
164
+
165
+ //广告内容创建
166
+ if (action === 'addContent') {
167
+ loading = XdBus.getParentApi('loading')({});
168
+ XdBus.getParentApi('addNewsContent')(data.params)
169
+ .then(res => {
170
+ loading.close();
171
+ data.cb(true)
172
+ })
173
+ .catch(error => {
174
+ console.error(error);
175
+ loading.close();
176
+ data.cb(false)
177
+ });
178
+ }
179
+
180
+ //广告内容编辑
181
+ if (action === 'editContent') {
182
+ loading = XdBus.getParentApi('loading')({});
183
+ XdBus.getParentApi('updateNewsContent')(data.params)
184
+ .then(res => {
185
+ loading.close();
186
+ data.cb(true)
187
+ })
188
+ .catch(error => {
189
+ console.error(error);
190
+ loading.close();
191
+ data.cb(false)
192
+ });
193
+ }
194
+
195
+ //广告内容删除
196
+ if (action === 'deleteContent') {
197
+ loading = XdBus.getParentApi('loading')({});
198
+ XdBus.getParentApi('deleteNewsContent')(data.params)
199
+ .then(res => {
200
+ loading.close();
201
+ data.cb(true)
202
+ })
203
+ .catch(error => {
204
+ console.error(error);
205
+ loading.close();
206
+ data.cb(false)
207
+ });
208
+ }
209
+
210
+ //内容发布
211
+ if (action === 'publish') {
212
+ loading = XdBus.getParentApi('loading')({});
213
+ console.log('publish', data.params)
214
+ XdBus.getParentApi('cmsPublishContent')(data.params)
215
+ .then(res => {
216
+ loading.close();
217
+ data.cb(res)
218
+ })
219
+ .catch(error => {
220
+ loading.close();
221
+ console.error(error);
222
+ });
223
+ }
224
+
225
+ //通知页面进行刷新
226
+ if (action === 'update') {
227
+ loading = XdBus.getParentApi('loading')({});
228
+ XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
229
+ loading.close()
230
+ }
231
+ },
24
232
  },
25
233
  {
26
- label: '选中路径:',
234
+ label: '票券支付路径:',
27
235
  ele: 'xd-select-pages-path',
28
- valueKey: 'select-pages-path',
29
- value: data['select-pages-path'] || null,
236
+ valueKey: 'payPath',
237
+ groupKey:'advanced',
238
+ placeholder: '请选择票券支付路径',
239
+ value: data['payPath'] || {},
30
240
  setting: {
31
- router: XdBus.getParentApi('getPagesTree')
241
+ router: XdBus.getParentApi('getPagesTree'),
32
242
  },
33
- },
34
- data.bgcolor && {
35
- label: '高度:',
36
- ele: 'el-input',
37
- type: 'number',
38
- valueKey: 'height',
39
- value: data.height || 100,
40
- placeholder: '请输入占位框高度,单位像素,默认:10px',
41
- className: 'input80',
42
- rules: [
43
- {
44
- required: true,
45
- message: '请输入占位框高度',
46
- trigger: 'blur'
47
- },
48
- ]
243
+ inline: false,
49
244
  },
50
245
  {
51
- label: '', //label
52
- ele: 'slot', //package 名称
53
- slot: 'is_reference',
246
+ label: '0元支付成功路径:',
247
+ ele: 'xd-select-pages-path',
248
+ valueKey: 'successPath',
249
+ groupKey:'advanced',
250
+ placeholder: '请选择0元支付成功路径',
251
+ value: data['successPath'] || {},
252
+ setting: {
253
+ router: XdBus.getParentApi('getPagesTree'),
254
+ },
255
+ inline: false,
54
256
  },
55
257
  ].filter(i=>i)
56
258
  },
@@ -2,110 +2,311 @@
2
2
  <view
3
3
  class="jfb-base-card-delay"
4
4
  @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
5
+ :class="{ editx: isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
9
  class="jfb-base-card-delay__edit"
10
- :class="{ editx : isEditx && active }"
10
+ :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
13
  <view class="jfb-base-card-delay__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-card-delay__body">
17
- <view>测试插件( {{containerId}} )</view>
17
+ <view>
18
+ <view class="wrap">
19
+ <input
20
+ placeholder="输入券号"
21
+ v-model.trim="card_number"
22
+ type="text"
23
+ />
24
+ </view>
25
+ <view v-if="packageList !== null">
26
+ <view v-if="packageList.length > 0" class="package">
27
+ <view
28
+ v-for="(item, index) in packageList"
29
+ :key="index"
30
+ @click="activeIndex = index"
31
+ :style="{
32
+ background: activeIndex === index ? backgroundColor : '#fff',
33
+ color: activeIndex === index ? mainColor : '#333',
34
+ marginRight: (index + 1) % 3 == 0 ? '0' : '36rpx',
35
+ }"
36
+ class="package-item"
37
+ >
38
+ <view>{{ item.package_name }}</view>
39
+ <view>
40
+ <text>{{ item.pay_amount }}</text
41
+ >元宝</view
42
+ >
43
+ </view>
44
+ </view>
45
+ <xd-no-data height="20vh" v-else :iconType="empty">
46
+ 当前票券无套餐
47
+ </xd-no-data>
48
+ </view>
49
+ <view class="wrap" style="margin-top: 28rpx" v-if="notice&&packageList !== null&&packageList.length > 0">
50
+ <view
51
+ style="
52
+ text-align: center;
53
+ padding-bottom: 36rpx;
54
+ color: #333;
55
+ font-weight: 500;
56
+ font-size: 28rpx;
57
+ "
58
+ >延期规则</view
59
+ >
60
+ <xd-content-xss :html="notice"></xd-content-xss>
61
+ </view>
62
+ <view
63
+ v-if="!package_id"
64
+ class="jfb-base-card-delay__body-footer"
65
+ :style="prod_bottom"
66
+ >
67
+ <xd-button
68
+ width="560rpx"
69
+ v-if="card_number"
70
+ type="primary"
71
+ @click="getList"
72
+ >下一步</xd-button
73
+ >
74
+ <xd-button
75
+ width="560rpx"
76
+ v-else
77
+ disabled="true"
78
+ type="primary"
79
+ @click="getList"
80
+ >下一步</xd-button
81
+ >
82
+ </view>
83
+ <view
84
+ v-else
85
+ class="jfb-base-card-delay__body-footer"
86
+ :style="prod_bottom"
87
+ >
88
+ <xd-button width="560rpx" type="primary" @click="handleBuy"
89
+ >{{ pay_amount }}元延期</xd-button
90
+ >
91
+ </view>
92
+ </view>
18
93
  </view>
19
94
  </view>
20
95
  </template>
21
96
 
22
97
  <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseCardDelayMixin from "./JfbBaseCardDelayMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseCardDelay",
31
- components: {
32
- XdFontIcon
33
- },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCardDelayMixin
36
- ],
37
- data() {
38
- return {
98
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
99
+ import XdButton from "@/components/XdButton/XdButton";
100
+ import { jfbRootExec } from "@/utils/xd.event";
101
+ import JfbBaseCardDelayMixin from "./JfbBaseCardDelayMixin";
102
+ import { getContainerPropsValue } from "@/utils/xd.base";
103
+ import componentsMixins from "@/mixins/componentsMixins";
104
+ import XdContentXss from "@/components/XdContentXss/XdContentXss";
105
+ import extsMixins from "@/mixins/extsMixins";
106
+ import colorCardMixins from "@/mixins/colorCardMixins";
107
+ import XdNoData from "@/components/XdNoData/XdNoData";
108
+ const Color = require("color");
39
109
 
40
- //todo
110
+ export default {
111
+ name: "JfbBaseCardDelay",
112
+ components: {
113
+ XdFontIcon,
114
+ XdContentXss,
115
+ XdButton,
116
+ XdNoData,
117
+ },
118
+ mixins: [
119
+ componentsMixins,
120
+ extsMixins,
121
+ JfbBaseCardDelayMixin,
122
+ colorCardMixins,
123
+ ],
124
+ data() {
125
+ return {
126
+ notice: "",
127
+ card_number: "",
128
+ backgroundColor: "",
129
+ packageList: null,
130
+ activeIndex: 0,
131
+ package_id: null,
132
+ payPath: "",
133
+ pay_amount: 0,
134
+ successPath: "",
135
+ };
136
+ },
137
+ computed: {
138
+ prod_bottom() {
139
+ return this.fixedStyle({ height: 0, zIndex: 111 });
140
+ },
141
+ },
142
+ watch: {
143
+ container(value, oldValue) {
144
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
145
+ if (this.$configProject["isPreview"]) this.init(value);
146
+ },
147
+ activeIndex(n, o) {
148
+ if (n !== o) {
149
+ this.package_id = this.packageList[n].id;
150
+ this.pay_amount = this.packageList[n].pay_amount;
41
151
  }
42
152
  },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
153
+ card_number(n, o) {
154
+ if (n === "") {
155
+ this.packageList = null;
156
+ this.package_id = null;
157
+ }
48
158
  },
49
- created() {
50
- this.init(this.container);
159
+ },
160
+ created() {
161
+ this.backgroundColor = Color(this.mainColor).alpha(0.2).toString();
162
+ this.init(this.container);
51
163
 
52
- //todo
164
+ //todo
165
+ },
166
+ methods: {
167
+ onJfbLoad(options) {
168
+ this.getContent();
53
169
  },
54
- methods: {
55
- onJfbLoad(options) {
56
-
57
- // jfbRootExec('baiduUserLogin', {
58
-
59
- // vm: this,// data: {
60
-
61
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
-
63
- // }
64
-
65
- // }).then().catch()
66
- },
67
- /**
68
- * @description 监听事件变化
69
- * @param container {object} 业务组件对象自己
70
- */
71
- init(container) {
72
-
73
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
74
-
75
- //this.height = getContainerPropsValue(container, 'content.height', 10);
76
- },
77
- onJfbScroll(options) {
78
- console.log('event.onJfbScroll', options)
79
- },
80
- onJfbReachBottom(options) {
81
- console.log('event.onJfbReachBottom', options)
82
- },
83
- onJfbShow(options) {
84
- console.log('event.onJfbShow', options)
85
- },
86
- onJfbHide(options) {
87
- console.log('event.onJfbHide', options)
88
- },
89
- onJfbBack(options) {
90
- console.log('event.onJfbBack', options)
91
- },
92
- onJfbUpdate(...data) {
93
- console.log('event.onJfbUpdate', data)
94
- },
95
- onJfbCustomEvent(options) {
96
- console.log('event.onJfbReachBottom', options)
97
- },
98
- }
99
- }
100
-
170
+ getContent() {
171
+ jfbRootExec("getCardDelayContent", {
172
+ vm: this,
173
+ data: {
174
+ page_id: this.pageAttr["page_id"], //页面ID
175
+ container_id: this.containerId, //组件ID
176
+ limit: 1,
177
+ },
178
+ })
179
+ .then((res) => {
180
+ if (res.list && res.list.length > 0) {
181
+ this.notice = res.list[0].content;
182
+ }
183
+ this.statusNotice = true;
184
+ })
185
+ .catch((error) => {
186
+ console.error(error);
187
+ });
188
+ },
189
+ getList() {
190
+ jfbRootExec("getCardDelayPackageList", {
191
+ vm: this,
192
+ data: {
193
+ card_number: this.card_number,
194
+ },
195
+ })
196
+ .then((res) => {
197
+ if (res.list && res.list.length > 0) {
198
+ res.list = res.list.map((item) => {
199
+ return {
200
+ ...item,
201
+ pay_amount: this.$xdUniHelper.divisionFloatNumber(
202
+ item.pay_amount,
203
+ 100
204
+ ),
205
+ };
206
+ });
207
+ this.packageList = res.list;
208
+ this.package_id = this.packageList[0].id;
209
+ this.pay_amount = this.packageList[0].pay_amount;
210
+ } else {
211
+ this.packageList = [];
212
+ }
213
+ })
214
+ .catch((error) => {
215
+ console.error(error);
216
+ });
217
+ },
218
+ handleBuy() {
219
+ jfbRootExec("confirmDelayOrder", {
220
+ vm: this,
221
+ data: {
222
+ card_number: this.card_number, //页面ID
223
+ total_amount: this.pay_amount * 100, //组件ID
224
+ package_id: this.package_id,
225
+ },
226
+ })
227
+ .then((res) => {
228
+ this.$xdHideLoading();
229
+ if (res.is_need_pay === "Y") {
230
+ this.$xdUniHelper.navigateTo({
231
+ url: `${this.payPath}?order_id=${res.pay_order_id}&main_order_id=${res.order_id}&type=delay`,
232
+ });
233
+ } else {
234
+ this.$xdUniHelper.navigateTo({
235
+ url: `${this.successPath}?order_id=${res.order_id}&type=delay`,
236
+ });
237
+ }
238
+ })
239
+ .catch((err) => {
240
+ this.$xdHideLoading();
241
+ console.log(err, "err");
242
+ });
243
+ },
244
+ /**
245
+ * @description 监听事件变化
246
+ * @param container {object} 业务组件对象自己
247
+ */
248
+ init(container) {
249
+ this.payPath = getContainerPropsValue(container, "content.payPath", {
250
+ value: "",
251
+ }).value;
252
+ this.successPath = getContainerPropsValue(container, "content.successPath", {
253
+ value: "",
254
+ }).value;
255
+ },
256
+ },
257
+ };
101
258
  </script>
102
259
 
103
260
  <style scoped lang="less">
104
- @import "./JfbBaseCardDelayLess.less";
261
+ @import "./JfbBaseCardDelayLess.less";
105
262
 
106
- .jfb-base-card-delay {
107
- &__body{
263
+ .jfb-base-card-delay {
264
+ &__body {
265
+ padding: 26rpx;
266
+ .wrap {
267
+ border-radius: 20rpx;
268
+ border: 1rpx solid #eeeeee;
269
+ padding: 36rpx;
270
+ background: #fff;
271
+ input {
272
+ height: 30rpx;
273
+ border-radius: 16rpx;
274
+ background: #fafafa;
275
+ border: 1px solid #eeeeee;
276
+ padding: 30rpx 40rpx;
277
+ }
278
+ }
279
+ &-footer {
280
+ position: fixed;
281
+ left: 0;
282
+ right: 0;
283
+ height: unit(100, rpx);
284
+ display: flex;
285
+ justify-content: center;
286
+ align-items: center;
287
+ background:#fff
288
+ }
289
+ .package {
290
+ display: flex;
291
+ align-items: center;
292
+ flex-wrap: wrap;
293
+ margin-top: 30rpx;
294
+ &-item {
295
+ padding: 40rpx 20rpx;
296
+ font-size: 28rpx;
297
+ text-align: center;
298
+ border-radius: 16rpx;
299
+ margin-right: 36rpx;
300
+ margin-bottom: 36rpx;
301
+ width: 24%;
108
302
 
303
+ & > view:nth-child(2) {
304
+ & > text {
305
+ font-size: 48rpx;
306
+ }
307
+ }
308
+ }
109
309
  }
110
310
  }
311
+ }
111
312
  </style>
@@ -50,5 +50,17 @@ export default {
50
50
  },
51
51
  inline: false,
52
52
  },
53
+ {
54
+ label: '票券转赠地址:',
55
+ ele: 'xd-select-pages-path',
56
+ valueKey: 'give_url',
57
+ groupKey:'advanced',
58
+ placeholder: '请选择票券转赠地址',
59
+ value: null,
60
+ setting: {
61
+ router: XdBus.getParentApi('getPagesTree'),
62
+ },
63
+ inline: false,
64
+ },
53
65
  ],
54
66
  };