jufubao-base 1.0.119-beta2 → 1.0.119

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 (68) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  3. package/src/components/JfbBaseConFlashHome/Api.js +0 -60
  4. package/src/components/JfbBaseConFlashHome/Attr.js +0 -129
  5. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHome.vue +0 -388
  6. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeLess.less +0 -80
  7. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeMixin.js +0 -30
  8. package/src/components/JfbBaseConFlashHome/Mock.js +0 -5
  9. package/src/components/JfbBaseConFlashList/Api.js +0 -60
  10. package/src/components/JfbBaseConFlashList/Attr.js +0 -117
  11. package/src/components/JfbBaseConFlashList/JfbBaseConFlashList.vue +0 -656
  12. package/src/components/JfbBaseConFlashList/JfbBaseConFlashListLess.less +0 -80
  13. package/src/components/JfbBaseConFlashList/JfbBaseConFlashListMixin.js +0 -30
  14. package/src/components/JfbBaseConFlashList/Mock.js +0 -5
  15. package/src/components/JfbBaseConPhone/Api.js +0 -70
  16. package/src/components/JfbBaseConPhone/Attr.js +0 -10
  17. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +0 -486
  18. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +0 -80
  19. package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +0 -30
  20. package/src/components/JfbBaseConPhone/Mock.js +0 -26
  21. package/src/components/JfbBaseSaasBlessDetail/Api.js +0 -59
  22. package/src/components/JfbBaseSaasBlessDetail/Attr.js +0 -24
  23. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +0 -315
  24. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +0 -80
  25. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +0 -30
  26. package/src/components/JfbBaseSaasBlessDetail/Mock.js +0 -5
  27. package/src/components/JfbBaseSaasBlessDialog/Api.js +0 -25
  28. package/src/components/JfbBaseSaasBlessDialog/Attr.js +0 -50
  29. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +0 -274
  30. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +0 -80
  31. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +0 -30
  32. package/src/components/JfbBaseSaasBlessDialog/Mock.js +0 -5
  33. package/src/components/JfbBaseSaasBlessReceive/Api.js +0 -25
  34. package/src/components/JfbBaseSaasBlessReceive/Attr.js +0 -24
  35. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +0 -183
  36. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +0 -80
  37. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +0 -30
  38. package/src/components/JfbBaseSaasBlessReceive/Mock.js +0 -5
  39. package/src/components/JfbBaseSaasHome/Api.js +0 -48
  40. package/src/components/JfbBaseSaasHome/Attr.js +0 -35
  41. package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +0 -356
  42. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +0 -80
  43. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +0 -30
  44. package/src/components/JfbBaseSaasHome/Mock.js +0 -5
  45. package/src/components/JfbBaseSaasLogin/Api.js +0 -39
  46. package/src/components/JfbBaseSaasLogin/Attr.js +0 -37
  47. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +0 -410
  48. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +0 -80
  49. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +0 -30
  50. package/src/components/JfbBaseSaasLogin/Mock.js +0 -5
  51. package/src/components/JfbBaseSaasNewsDetail/Api.js +0 -27
  52. package/src/components/JfbBaseSaasNewsDetail/Attr.js +0 -14
  53. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +0 -144
  54. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +0 -80
  55. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +0 -30
  56. package/src/components/JfbBaseSaasNewsDetail/Mock.js +0 -5
  57. package/src/components/JfbBaseSaasNewsList/Api.js +0 -26
  58. package/src/components/JfbBaseSaasNewsList/Attr.js +0 -24
  59. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +0 -181
  60. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +0 -80
  61. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +0 -30
  62. package/src/components/JfbBaseSaasNewsList/Mock.js +0 -5
  63. package/src/components/JfbBaseSassPhoneCollect/Api.js +0 -39
  64. package/src/components/JfbBaseSassPhoneCollect/Attr.js +0 -438
  65. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +0 -266
  66. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +0 -80
  67. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +0 -30
  68. package/src/components/JfbBaseSassPhoneCollect/Mock.js +0 -5
@@ -1,80 +0,0 @@
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-con-flash-list {
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-con-flash-list {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
79
- }
80
- /**endNotPreview**/
@@ -1,30 +0,0 @@
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-con-flash-list'
20
- }
21
- },
22
- created() {
23
-
24
- //@AttrDataCreated
25
- this.Attr = this.$xdUniHelper.customClone(Attr);
26
- //@EndAttrDataCreated
27
-
28
-
29
- },
30
- }
@@ -1,5 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
- aaaa: {}
5
- }
@@ -1,70 +0,0 @@
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: 'sendMsgConPhone',
16
- title: '发送验证码',
17
- path: '/common/v1/valid_code/sms/send',
18
- isRule: false,
19
- data: {
20
- phone_number: ['手机号', 'String', '必选'],
21
- biz_name: ['业务名称', 'String', '必选']
22
- },
23
- isConsole: true,
24
- disabled: true,
25
- },
26
- {
27
- mapFnName: 'getCouponPhoneList', //自定义方法名字(必选)
28
- title: '获取优惠券列表',
29
- path: '/sms-coupon/v1/activity-prizes-user/list',
30
- isRule: false,
31
- params: {
32
- distribution_method: ['发放方式 entry=主动发放, homed=首页发放,paid=消费后发放,card_binded=绑定卡后发放', 'String', '选填'],
33
- namespace: ['业务线', 'String', '必填'],
34
- },
35
- isConsole: true,
36
- disabled: true,
37
- },
38
- {
39
- mapFnName: 'getAllCouponPhone', //自定义方法名字(必选)
40
- title: '领取优惠券',
41
- path: '/sms-coupon/v1/activity-prizes-user/set',
42
- isRule: false,
43
- params: {
44
- distribution_method: ['发放方式 entry=主动发放, homed=首页发放,paid=消费后发放,card_binded=绑定卡后发放', 'String', '选填'],
45
- namespace: ['业务线', 'String', '必填'],
46
- },
47
- isConsole: true,
48
- disabled: true,
49
- },
50
- {
51
- mapFnName: 'getCouponPhoneResult', //自定义方法名字(必选)
52
- title: '轮询查询活动结果',
53
- path: '/sms-coupon/v1/activity-prizes-user/get',
54
- isRule: false,
55
- params: {
56
- tmp_order_number: ['tmp_order_number', 'String', '选填'],
57
- },
58
- isConsole: true,
59
- disabled: true,
60
- },
61
- {
62
- mapFnName: 'getUserPhone',
63
- title: '获取用户信息',
64
- path: '/passport/v1/user/get',
65
- isRule: false,
66
- params: {},
67
- isConsole: true,
68
- disabled: true,
69
- },
70
- ];
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: [],
9
- advanced: [],
10
- };
@@ -1,486 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-base-con-phone"
4
- @click="handleEditxSelect"
5
- :class="{ editx: isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-base-con-phone__edit"
10
- :class="{ editx: isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-base-con-phone__edit-icon" @click="delEdit">删除</view>
14
- </view>
15
- <!-- #endif -->
16
- <view class="jfb-base-con-phone__body" v-if="done">
17
- <view
18
- v-if="has_times==='Y'"
19
- class="jfb-base-con-phone__body-wrap"
20
- :style="{
21
- height: layoutInfo.bodyMinHeightRpx + 'rpx',
22
- backgroundImage: `url(${background})`,
23
- backgroundSize: '100% 100%',
24
- }"
25
- >
26
- <view v-if="showCode" class="jfb-base-con-phone__body-wrap-input">
27
- <view>
28
- <input
29
- v-model="phoneNumber"
30
- placeholder="请输入手机号"
31
- type="text"
32
- />
33
- </view>
34
- <view
35
- class="jfb-base-con-phone__body-wrap-input-code"
36
- style="margin-bottom: 54rpx"
37
- >
38
- <input
39
- v-model="valid_code"
40
- placeholder="请输入验证码"
41
- type="text"
42
- />
43
- <XdButton
44
- :disabled="disabled"
45
- class="jfb-base-con-phone__body-wrap-input-code-btn"
46
- type="primary"
47
- :bg-color="mainColor"
48
- size="small"
49
- @click="handleSendCode"
50
- >{{ message }}</XdButton
51
- >
52
- </view>
53
- <XdButton
54
- type="primary"
55
- :bg-color="mainColor"
56
- width="360rpx"
57
- radius="20rpx"
58
- size="small"
59
- :disabled="!phoneNumber || !valid_code"
60
- @click="handleConfirm"
61
- >确认领取</XdButton
62
- >
63
- </view>
64
- <view v-else class="jfb-base-con-phone__body-wrap-input">
65
- <view class="jfb-base-con-phone__body-wrap-input-phone">
66
- <view class="jfb-base-con-phone__body-wrap-input-phone-change">
67
- <view>当前登录手机号</view>
68
- <XdButton
69
- style="margin: 0"
70
- type="primary"
71
- :bg-color="mainColor"
72
- size="small"
73
- @click="showCode = true"
74
- >切换手机号</XdButton
75
- >
76
- </view>
77
- <view>{{ showOhoneNumber }}</view>
78
- </view>
79
- <XdButton
80
- type="primary"
81
- :bg-color="mainColor"
82
- width="360rpx"
83
- radius="20rpx"
84
- size="small"
85
- @click="handleConfirm"
86
- >直接领取</XdButton
87
- >
88
- </view>
89
- <view v-if="showBtn === 'Y'" class="jfb-base-con-phone__body-wrap-btn">
90
- <XdButton
91
- size="small"
92
- type="primary"
93
- :bg-color="mainColor"
94
- radius="20rpx"
95
- @click="handleTo(btnOneUrl)"
96
- >{{ btnOneName }}</XdButton
97
- >
98
- <XdButton
99
- size="small"
100
- type="primary"
101
- :bg-color="mainColor"
102
- radius="20rpx"
103
- @click="handleTo(btnTwoUrl)"
104
- >{{ btnTwoName }}</XdButton
105
- >
106
- </view>
107
- </view>
108
- <view
109
- :style="{
110
- height: layoutInfo.bodyMinHeightRpx + 'rpx',
111
- }"
112
- v-else
113
- class="empty_data"
114
- >
115
- <image :src="emptyBg"></image>
116
- {{ errmessage }}
117
- </view>
118
- </view>
119
- </view>
120
- </template>
121
-
122
- <script>
123
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
124
- import XdButton from "@/components/XdButton/XdButton";
125
- import { jfbRootExec } from "@/utils/xd.event";
126
- import JfbBaseConPhoneMixin from "./JfbBaseConPhoneMixin";
127
- import { getContainerPropsValue } from "@/utils/xd.base";
128
- import componentsMixins from "@/mixins/componentsMixins";
129
- import extsMixins from "@/mixins/extsMixins";
130
- import { mapState } from "vuex";
131
- import colorCardMixins from "@/mixins/colorCardMixins";
132
- import getServiceUrl from "@/common/getServiceUrl";
133
-
134
- export default {
135
- name: "JfbBaseConPhone",
136
- components: {
137
- XdFontIcon,
138
- XdButton,
139
- },
140
- computed: {
141
- ...mapState(["pageBusinessCode"]),
142
- emptyBg() {
143
- return this.getNoData();
144
- },
145
- },
146
- mixins: [componentsMixins, extsMixins, JfbBaseConPhoneMixin, colorCardMixins],
147
- data() {
148
- return {
149
- showCode: true,
150
- phoneNumber: "", //手机号
151
- valid_code: "", //验证码
152
- btnOneName: "",
153
- btnOneUrl: "",
154
- btnTwoName: "",
155
- btnTwoUrl: "",
156
- message: "发送验证码",
157
- countdownTimer: null,
158
- timeRemaining: 60,
159
- disabled: false,
160
- background:"",
161
- method: "entry",
162
- options: {},
163
- activity_id: "",
164
- done: false,
165
- has_times: 'N',
166
- errmessage: "",
167
- showOhoneNumber: "", //仅用于展示
168
- order_num: null,
169
- maxTime: 5, //最长轮询2的N次方(秒)
170
- date: 2, //时间底数
171
- time: 0, //时间幂指数
172
- timeer: null,
173
- };
174
- },
175
- watch: {
176
- container(value) {
177
- this.init(value);
178
- },
179
- },
180
- created() {
181
- console.log(this.layoutInfo, "layoutInfo");
182
- this.init(this.container);
183
- },
184
- destroyed() {
185
- if (this.timeer) {
186
- clearTimeout(this.timeer);
187
- }
188
- },
189
- methods: {
190
- async onJfbLoad(options) {
191
- await jfbRootExec("getUserPhone", {
192
- vm: this,
193
- data: {},
194
- }).then((res) => {
195
- this.showOhoneNumber = res.phone_number;
196
- if (this.showOhoneNumber) {
197
- this.showCode = false;
198
- }
199
- });
200
- this.options = options;
201
- this.activity_id = options.activity_id;
202
- this.method = options.distribution_method
203
- ? options.distribution_method
204
- : "phone";
205
- await this.getList();
206
- },
207
- getList() {
208
- jfbRootExec("getCouponPhoneList", {
209
- vm: this,
210
- data: {
211
- ...this.options,
212
- distribution_method: this.method,
213
- namespace: this.pageBusinessCode,
214
- activity_id: this.activity_id,
215
- },
216
- })
217
- .then((res) => {
218
- console.log(res, "res");
219
- this.has_times = res.has_times;
220
- this.showBtn = res.phone_button;
221
- this.btnOneName = res.button_name_one;
222
- this.btnTwoName = res.button_name_two;
223
- this.btnOneUrl = res.button_url_one;
224
- this.btnTwoUrl = res.button_url_two;
225
- this.background = getServiceUrl(res.background);
226
- this.errmessage = res.message;
227
- this.done = true;
228
- })
229
- .catch((err) => {
230
- console.log(err, "err");
231
- });
232
- },
233
- /**
234
- * @description 监听事件变化
235
- * @param container {object} 业务组件对象自己
236
- */
237
- init(container) {},
238
- handleTo(url) {
239
- this.$xdUniHelper.navigateTo({
240
- url: url,
241
- });
242
- },
243
- handleSendCode() {
244
- if (this.phoneNumber.length < 11) {
245
- uni.showToast({
246
- title: "请输入11位手机号",
247
- icon: "none",
248
- });
249
- return;
250
- }
251
- // 发送验证码的异步操作
252
- uni.showToast({
253
- title: "发送中",
254
- icon: "loading",
255
- });
256
- jfbRootExec("sendMsgConPhone", {
257
- vm: this,
258
- data: {
259
- phone_number: this.phoneNumber,
260
- biz_name: "login",
261
- },
262
- }).then((res) => {
263
- this.startCountdown();
264
- });
265
- },
266
- startCountdown() {
267
- // 设置剩余时间
268
- this.timeRemaining = 60;
269
- // 设置定时器,每秒执行一次
270
- this.countdownTimer = setInterval(() => {
271
- // 每秒减少1
272
- this.timeRemaining--;
273
- // 更新显示
274
- this.message = `${this.timeRemaining}s`;
275
- // 禁用按钮
276
- this.disabled = true;
277
- // 如果时间小于等于0,则重新开始
278
- if (this.timeRemaining <= 0) {
279
- this.message = "重新发送";
280
- this.disabled = false;
281
- // 清除定时器
282
- clearInterval(this.countdownTimer);
283
- // 重新设置时间
284
- this.timeRemaining = 60;
285
- }
286
- }, 1000);
287
- },
288
- handleConfirm() {
289
- this.$xdShowLoading({});
290
- jfbRootExec("getAllCouponPhone", {
291
- vm: this,
292
- data: {
293
- ...this.options,
294
- distribution_method: this.method,
295
- namespace: this.pageBusinessCode,
296
- activity_id: this.activity_id,
297
- phone: this.showCode ? this.phoneNumber : null,
298
- valid_code: this.showCode ? this.valid_code : null,
299
- biz_name: "login",
300
- },
301
- })
302
- .then((res) => {
303
- if (res.code == 400) {
304
- this.$xdHideLoading();
305
- this.$xdAlert({
306
- content: res.message,
307
- zIndex: 3200,
308
- time: 2000,
309
- isClose: false,
310
- });
311
- this.getList();
312
- return;
313
- }
314
- this.order_num = res.tmp_order_number;
315
- setTimeout(() => {
316
- this.getResult();
317
- }, 1000);
318
- })
319
- .catch((err) => {
320
- console.log(err, "err");
321
- });
322
- },
323
- getResult() {
324
- jfbRootExec("getCouponPhoneResult", {
325
- vm: this,
326
- data: {
327
- ...this.options,
328
- tmp_order_number: this.order_num,
329
- },
330
- })
331
- .then((res) => {
332
- if (res.status_type === "success") {
333
- this.order_num = null;
334
- this.$xdHideLoading();
335
- this.$xdAlert({
336
- content: "领取成功",
337
- zIndex: 3200,
338
- time: 2000,
339
- isClose: false,
340
- });
341
- this.getList();
342
- if (this.timeer) {
343
- this.time = 0;
344
- clearTimeout(this.timeer);
345
- }
346
- return;
347
- }
348
- if (res.status_type === "error") {
349
- this.$xdHideLoading();
350
- this.$xdAlert({
351
- content: res.message,
352
- zIndex: 3200,
353
- time: 2000,
354
- isClose: false,
355
- });
356
- if (res.code == 400) {
357
- this.getList();
358
- }
359
- if (this.timeer) {
360
- this.time = 0;
361
- clearTimeout(this.timeer);
362
- }
363
- return;
364
- }
365
-
366
- this.timeer = setTimeout(() => {
367
- this.getResult();
368
- if (this.time > 5) {
369
- this.$xdLog.setARMSInfo(
370
- { message: "领取中" },
371
- `pay_${res.status_type}`
372
- );
373
- }
374
- this.time++;
375
- }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
376
- })
377
- .catch((err) => {
378
- this.$xdHideLoading();
379
- console.log(err, "err");
380
- });
381
- },
382
- onJfbShow() {
383
- if (this.timeer) {
384
- clearTimeout(this.timeer);
385
- }
386
- this.time = 0;
387
- if (this.order_num) this.getResult();
388
- },
389
-
390
- onJfbUnload() {
391
- if (this.timeer) {
392
- clearTimeout(this.timeer);
393
- }
394
- },
395
-
396
- onJfbBack(options) {
397
- if (this.timeer) {
398
- clearTimeout(this.timeer);
399
- }
400
- if (this.$configProject.isPreview) return;
401
- this.$xdUniHelper.navigateBack();
402
- },
403
- },
404
- };
405
- </script>
406
-
407
- <style scoped lang="less">
408
- @import "./JfbBaseConPhoneLess.less";
409
-
410
- .jfb-base-con-phone {
411
- &__body {
412
- .empty_data {
413
- text-align: center;
414
- color: #999999;
415
- font-size: 28rpx;
416
- display: flex;
417
- flex-direction: column;
418
- align-items: center;
419
- justify-content: center;
420
- & > image {
421
- width: unit(400, rpx);
422
- height: unit(400, rpx);
423
- }
424
- }
425
- &-wrap {
426
- display: flex;
427
- justify-content: center;
428
- align-items: center;
429
- flex-direction: column;
430
- &-input {
431
- border-radius: 40rpx;
432
- background: rgba(255, 255, 255, 0.5);
433
- padding: 70rpx 60rpx;
434
- input {
435
- margin-bottom: 26rpx;
436
- font-size: 28rpx;
437
- background: #fff;
438
- border-radius: 16rpx;
439
- padding: 30rpx;
440
- width: 540rpx;
441
- }
442
- &-code {
443
- position: relative;
444
- &-btn {
445
- position: absolute;
446
- right: 10rpx;
447
- top: 20rpx;
448
- }
449
- }
450
- &-phone {
451
- padding: 30rpx;
452
- width: 540rpx;
453
- background: #fff;
454
- border-radius: 16rpx;
455
- margin-bottom: 32rpx;
456
- & > view:nth-child(2) {
457
- border-radius: 40rpx;
458
- background: #f2f2f2;
459
- display: flex;
460
- justify-content: center;
461
- align-items: center;
462
- padding: 16rpx 120rpx 16rpx 120rpx;
463
- margin-top: 30rpx;
464
- }
465
- &-change {
466
- display: flex;
467
- justify-content: space-between;
468
- align-items: center;
469
- & > view:first-child {
470
- color: #999999;
471
- font-size: 28rpx;
472
- }
473
- }
474
- }
475
- }
476
- &-btn {
477
- display: flex;
478
- justify-content: space-around;
479
- align-items: center;
480
- width: 100%;
481
- margin-top: 64rpx;
482
- }
483
- }
484
- }
485
- }
486
- </style>