jufubao-base 1.0.116-beta3 → 1.0.116-beta5
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/JfbBaseConDialog.vue +6 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +2 -1
- package/src/components/JfbBaseConList/JfbBaseConList.vue +1 -1
- package/src/components/JfbBaseConPhone/Api.js +60 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +110 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +80 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +18 -0
- package/src/components/JfbBaseConPhone/Mock.js +5 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBaseSaasBlessDetail/Api.js +21 -22
- package/src/components/JfbBaseSaasBlessDetail/Attr.js +6 -88
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +100 -12
- package/src/components/JfbBaseSaasBlessDialog/Api.js +4 -39
- package/src/components/JfbBaseSaasBlessDialog/Attr.js +2 -2
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +14 -5
- package/src/components/JfbBaseSaasBlessReceive/Api.js +4 -39
- package/src/components/JfbBaseSaasBlessReceive/Attr.js +6 -88
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +29 -18
- package/src/components/JfbBaseSaasHome/Api.js +14 -26
- package/src/components/JfbBaseSaasHome/Attr.js +15 -86
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +131 -60
- package/src/components/JfbBaseSaasLogin/Api.js +13 -0
- package/src/components/JfbBaseSaasLogin/Attr.js +11 -11
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +64 -7
- package/src/components/JfbBaseSaasNewsDetail/Api.js +6 -39
- package/src/components/JfbBaseSaasNewsDetail/Attr.js +2 -94
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +26 -22
- package/src/components/JfbBaseSaasNewsList/Api.js +5 -39
- package/src/components/JfbBaseSaasNewsList/Attr.js +6 -88
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +45 -19
- package/src/components/JfbBaseSassPhoneCollect/Api.js +39 -0
- package/src/components/JfbBaseSassPhoneCollect/Attr.js +438 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +266 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +80 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +30 -0
- package/src/components/JfbBaseSassPhoneCollect/Mock.js +5 -0
|
@@ -7,100 +7,8 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
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
|
-
},
|
|
10
|
+
|
|
56
11
|
].filter(i=>i)
|
|
57
12
|
},
|
|
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
|
-
],
|
|
13
|
+
advanced: [],
|
|
106
14
|
};
|
|
@@ -15,14 +15,9 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-saas-news-detail__body">
|
|
17
17
|
<view class="news_detail">
|
|
18
|
-
<view class="news_title"
|
|
19
|
-
<view class="news_date">发布时间:
|
|
20
|
-
<view class="news_cont">
|
|
21
|
-
在刘慈欣的小说《三体》中,存在着一个星系里拥有三颗太阳的文明,三颗太阳的运动没有规律且不可预测,有时会升起三颗,把整个星球都变成熔岩炼狱。有时却一颗都没有,让星球处于极度的严寒中。<br/><br/>
|
|
22
|
-
在难以生存的恶劣环境下,三体人决定移民其他星球,目的地就是人类所在的地球。<br/><br/>
|
|
23
|
-
整个计划耗时数百年之久,并且路途中充满不确定性,为什么三体人不直接摧毁一颗或两颗恒星,使剩余的恒星保持规律的运动,拥有稳定恒纪元,而是一定要大费周章的来到地球呢?要知道在三体人遭受黑暗森林打击之前,就已经拥有了高度发达的科技,能将宇宙飞船加速到近乎光速。能够摧毁恒星的光粒本质上也只是一个以光速飞行的物体,完全可以用宇宙飞船来充当光粒,摧毁恒星。<br/><br/>
|
|
24
|
-
那么三体人是真的没有想到吗?事实当然绝非如此,摧毁恒星获得恒纪元远非我们想的这么简单。首先用近乎光速的宇宙飞船去摧毁恒星本身就不太现实。星环号的飞船等级和三体人是一样的,它到达286光年外的DX3906恒星花费了52个小时。这并不是真正的光速飞行,假如以100%的光速前往DX3906,时间会在光速中停止,对飞船上的人来说是在瞬间就达到了目的地。
|
|
25
|
-
</view>
|
|
18
|
+
<view class="news_title">{{ info.title }}</view>
|
|
19
|
+
<view class="news_date">发布时间:{{ info.created_time }}</view>
|
|
20
|
+
<view class="news_cont" v-html="info.content"></view>
|
|
26
21
|
</view>
|
|
27
22
|
</view>
|
|
28
23
|
</view>
|
|
@@ -45,7 +40,8 @@
|
|
|
45
40
|
],
|
|
46
41
|
data() {
|
|
47
42
|
return {
|
|
48
|
-
|
|
43
|
+
id: "",
|
|
44
|
+
info: {},
|
|
49
45
|
//todo
|
|
50
46
|
}
|
|
51
47
|
},
|
|
@@ -61,16 +57,8 @@
|
|
|
61
57
|
},
|
|
62
58
|
methods: {
|
|
63
59
|
onJfbLoad(options) {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// vm: this,// data: {
|
|
68
|
-
|
|
69
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
70
|
-
|
|
71
|
-
// }
|
|
72
|
-
|
|
73
|
-
// }).then().catch()
|
|
60
|
+
this.id = options.id;
|
|
61
|
+
this.p_getNewsDetail();
|
|
74
62
|
},
|
|
75
63
|
/**
|
|
76
64
|
* @description 监听事件变化
|
|
@@ -79,11 +67,26 @@
|
|
|
79
67
|
init(container) {
|
|
80
68
|
|
|
81
69
|
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
82
|
-
|
|
83
|
-
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
84
70
|
},
|
|
85
71
|
onJfbScroll(options) {
|
|
86
|
-
|
|
72
|
+
|
|
73
|
+
},
|
|
74
|
+
p_getNewsDetail(){
|
|
75
|
+
jfbRootExec("getNewsDetail", {
|
|
76
|
+
vm: this,
|
|
77
|
+
data: {
|
|
78
|
+
id: this.id,
|
|
79
|
+
position_id: "news",
|
|
80
|
+
scene: "news"
|
|
81
|
+
}
|
|
82
|
+
}).then(res => {
|
|
83
|
+
this.info = {
|
|
84
|
+
created_time: this.$xdUniHelper.getDate(
|
|
85
|
+
res["created_time"] * 1000
|
|
86
|
+
).fullTime,
|
|
87
|
+
...res
|
|
88
|
+
};
|
|
89
|
+
})
|
|
87
90
|
},
|
|
88
91
|
onJfbReachBottom(options) {
|
|
89
92
|
console.log('event.onJfbReachBottom', options)
|
|
@@ -96,6 +99,7 @@
|
|
|
96
99
|
},
|
|
97
100
|
onJfbBack(options) {
|
|
98
101
|
console.log('event.onJfbBack', options)
|
|
102
|
+
this.$xdUniHelper.navigateBack();
|
|
99
103
|
},
|
|
100
104
|
onJfbUpdate(...data) {
|
|
101
105
|
console.log('event.onJfbUpdate', data)
|
|
@@ -12,47 +12,13 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getNewsList',
|
|
16
|
+
title: '获取新闻列表',
|
|
17
|
+
path: '/saas/v1/content_ad_news/items',
|
|
18
18
|
isRule: false,
|
|
19
19
|
params: {
|
|
20
|
-
|
|
21
|
-
|
|
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', '必选'],
|
|
20
|
+
position_id: ['位置ID', 'String', '必选'],
|
|
21
|
+
scene: ['场景ad,news', 'String', '必选']
|
|
56
22
|
},
|
|
57
23
|
isConsole: true,
|
|
58
24
|
disabled: true,
|
|
@@ -8,99 +8,17 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
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
|
|
11
|
+
label: '新闻详情地址:', //label
|
|
27
12
|
ele: 'xd-select-pages-path', //package 名称
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
13
|
+
valueKey: 'newsDetailUrl', //form[valueKey]
|
|
14
|
+
placeholder: '请选择新闻详情地址',
|
|
15
|
+
value: null,
|
|
30
16
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
17
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
18
|
},
|
|
33
19
|
inline: false,
|
|
34
20
|
},
|
|
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
21
|
].filter(i=>i)
|
|
57
22
|
},
|
|
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
|
-
],
|
|
23
|
+
advanced: [],
|
|
106
24
|
};
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
<view class="jfb-base-saas-news-list__body">
|
|
17
17
|
<view class="news_wrap">
|
|
18
18
|
<view class="news_group">
|
|
19
|
-
<view class="news_item" v-for="i in
|
|
19
|
+
<view class="news_item" v-for="(item, i) in newsList" :key="i" @click="toDetail(item)">
|
|
20
20
|
<view class="news_cont">
|
|
21
|
-
<view class="news_tit"
|
|
22
|
-
<view class="news_date">
|
|
21
|
+
<view class="news_tit">{{ item.title }}</view>
|
|
22
|
+
<view class="news_date">{{ item.created_time }}</view>
|
|
23
23
|
</view>
|
|
24
24
|
<view class="news_img">
|
|
25
|
-
|
|
25
|
+
<image :src="item.thumb" />
|
|
26
26
|
</view>
|
|
27
27
|
</view>
|
|
28
28
|
</view>
|
|
@@ -48,8 +48,10 @@
|
|
|
48
48
|
],
|
|
49
49
|
data() {
|
|
50
50
|
return {
|
|
51
|
+
newsList: [],
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
//面板
|
|
54
|
+
newsDetailUrl: "", //新闻详情url
|
|
53
55
|
}
|
|
54
56
|
},
|
|
55
57
|
watch: {
|
|
@@ -64,16 +66,7 @@
|
|
|
64
66
|
},
|
|
65
67
|
methods: {
|
|
66
68
|
onJfbLoad(options) {
|
|
67
|
-
|
|
68
|
-
// jfbRootExec('baiduUserLogin', {
|
|
69
|
-
|
|
70
|
-
// vm: this,// data: {
|
|
71
|
-
|
|
72
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
73
|
-
|
|
74
|
-
// }
|
|
75
|
-
|
|
76
|
-
// }).then().catch()
|
|
69
|
+
this.p_getNewsList("news")
|
|
77
70
|
},
|
|
78
71
|
/**
|
|
79
72
|
* @description 监听事件变化
|
|
@@ -82,11 +75,32 @@
|
|
|
82
75
|
init(container) {
|
|
83
76
|
|
|
84
77
|
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
},
|
|
79
|
+
toDetail(item){
|
|
80
|
+
this.$xdUniHelper.navigateTo({
|
|
81
|
+
url: `${this.newsDetailUrl}?id=${item.id}`,
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
p_getNewsList(position_id){
|
|
85
|
+
jfbRootExec("getNewsList", {
|
|
86
|
+
vm: this,
|
|
87
|
+
data: {
|
|
88
|
+
position_id: position_id,
|
|
89
|
+
scene: "news",
|
|
90
|
+
page_size: 10,
|
|
91
|
+
page_token: 1
|
|
92
|
+
}
|
|
93
|
+
}).then(res => {
|
|
94
|
+
this.newsList = res.list.map(item => {
|
|
95
|
+
item.created_time = this.$xdUniHelper.getDate(
|
|
96
|
+
item["created_time"] * 1000
|
|
97
|
+
).fullTime;
|
|
98
|
+
return item;
|
|
99
|
+
});
|
|
100
|
+
})
|
|
87
101
|
},
|
|
88
102
|
onJfbScroll(options) {
|
|
89
|
-
|
|
103
|
+
|
|
90
104
|
},
|
|
91
105
|
onJfbReachBottom(options) {
|
|
92
106
|
console.log('event.onJfbReachBottom', options)
|
|
@@ -99,6 +113,7 @@
|
|
|
99
113
|
},
|
|
100
114
|
onJfbBack(options) {
|
|
101
115
|
console.log('event.onJfbBack', options)
|
|
116
|
+
this.$xdUniHelper.navigateBack();
|
|
102
117
|
},
|
|
103
118
|
onJfbUpdate(...data) {
|
|
104
119
|
console.log('event.onJfbUpdate', data)
|
|
@@ -124,6 +139,7 @@
|
|
|
124
139
|
margin-bottom: 20rpx;
|
|
125
140
|
.news_item{
|
|
126
141
|
display: flex;
|
|
142
|
+
align-items: center;
|
|
127
143
|
padding: 32rpx;
|
|
128
144
|
border-bottom: 1px solid #F0F0F0;
|
|
129
145
|
.news_cont{
|
|
@@ -133,6 +149,13 @@
|
|
|
133
149
|
.news_tit{
|
|
134
150
|
font-size: 28rpx;
|
|
135
151
|
color: #333333;
|
|
152
|
+
height: 96rpx;
|
|
153
|
+
line-height: 48rpx;;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
text-overflow: ellipsis;
|
|
156
|
+
-webkit-line-clamp: 2;
|
|
157
|
+
display: -webkit-box;
|
|
158
|
+
-webkit-box-orient: vertical;
|
|
136
159
|
}
|
|
137
160
|
.news_date{
|
|
138
161
|
color: #999999;
|
|
@@ -144,8 +167,11 @@
|
|
|
144
167
|
.news_img{
|
|
145
168
|
width: 190rpx;
|
|
146
169
|
height: 120rpx;
|
|
147
|
-
background-color: #333333;
|
|
148
170
|
margin-left: 60rpx;
|
|
171
|
+
image{
|
|
172
|
+
width: 100%;
|
|
173
|
+
height: 100%;
|
|
174
|
+
}
|
|
149
175
|
}
|
|
150
176
|
}
|
|
151
177
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: 'phoneCollect',
|
|
16
|
+
title: "收集手机号",
|
|
17
|
+
path: "/passport/v1/user/collect-phone-number",
|
|
18
|
+
isRule: false,
|
|
19
|
+
data: {
|
|
20
|
+
phone_number: ['手机号', 'String', null], //手机号
|
|
21
|
+
verification_code: ['手机验证码', 'String', null],
|
|
22
|
+
provider_id: ['登录方式id', 'Number', '必选'],
|
|
23
|
+
},
|
|
24
|
+
isConsole: true,
|
|
25
|
+
disable: true,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
mapFnName: 'sendMsg',
|
|
29
|
+
title: '发送验证码',
|
|
30
|
+
path: '/common/v1/valid_code/sms/send',
|
|
31
|
+
isRule: false,
|
|
32
|
+
data: {
|
|
33
|
+
phone_number: ['手机号', 'String', '必选'],
|
|
34
|
+
biz_name: ['业务名称', 'String', '必选']
|
|
35
|
+
},
|
|
36
|
+
isConsole: true,
|
|
37
|
+
disabled: true,
|
|
38
|
+
},
|
|
39
|
+
];
|