Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
8f7115ea
Commit
8f7115ea
authored
Feb 25, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e8652e23
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
723 additions
and
7 deletions
+723
-7
pages.json
pages.json
+6
-0
activeInnerDetail.vue
pages/kotra/activeInnerDetail.vue
+1
-0
activityList.vue
pages/kotra/activityList.vue
+92
-0
investmentDetail.vue
pages/kotra/investmentDetail.vue
+163
-0
investmentList.vue
pages/kotra/investmentList.vue
+149
-3
news.vue
pages/kotra/news.vue
+0
-1
procurementDetail.vue
pages/kotra/procurementDetail.vue
+163
-0
procurementList.vue
pages/kotra/procurementList.vue
+149
-3
No files found.
pages.json
View file @
8f7115ea
...
@@ -585,6 +585,12 @@
...
@@ -585,6 +585,12 @@
"path"
:
"activeInnerDetail"
//活动详情
"path"
:
"activeInnerDetail"
//活动详情
},{
},{
"path"
:
"newsInDetail"
//新闻详情
"path"
:
"newsInDetail"
//新闻详情
},{
"path"
:
"procurementDetail"
//采购查看详情
},{
"path"
:
"investmentDetail"
//投资详情
},{
"path"
:
"activityList"
//我的活动
}]
}
}]
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
...
...
pages/kotra/activeInnerDetail.vue
View file @
8f7115ea
...
@@ -153,6 +153,7 @@
...
@@ -153,6 +153,7 @@
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
msg
.
Id
=
option
.
Id
;
this
.
msg
.
Id
=
option
.
Id
;
this
.
signMsg
.
ActivityId
=
option
.
Id
;
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
...
pages/kotra/activityList.vue
0 → 100644
View file @
8f7115ea
<
style
>
.activityList
{
background-color
:
#F3F5F7
;
padding
:
15px
;
}
.activityList
.activeList
{
background-color
:
#fff
;
margin-bottom
:
15px
;
padding
:
15px
;
}
.activityList
.activeTop
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.activityList
.activeLeftTitle
{
color
:
#111111
;
font-size
:
14px
;
font-weight
:
bold
;
}
.activityList
.activeBtm
{
display
:
flex
;
margin-top
:
10px
;
justify-content
:
space-between
;
}
.activityList
.activeLeftImg
{
width
:
111px
;
height
:
70px
;
flex-shrink
:
0
;
}
.activityList
.activeRight
{
margin-left
:
15px
;
color
:
#B9B9B9
;
font-size
:
12px
;
}
</
style
>
<
template
>
<view
class=
"activityList"
style=
"height:100vh;"
>
<view
class=
"activeList"
>
<view
class=
"activeTop"
>
<view
class=
"activeLeftTitle"
>
中韩贸易交流活动
</view>
<view>
<image
style=
"width:20px;height:20px;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/arrow_right.png"
mode=
""
></image>
</view>
</view>
<view
class=
"activeBtm"
>
<view
class=
"activeLeftImg"
>
<image
style=
"width:100%;height:100%;"
src=
""
></image>
</view>
<view
class=
"activeRight"
>
<view>
活动类型:现场活动
</view>
<view
style=
"margin:10px 0"
>
开放时间:2020-01-16
</view>
<view>
结束时间:2021-02-10
</view>
</view>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
'活动列表'
,
dataList
:{}
}
},
created
()
{},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
},
onLoad
(
option
)
{
this
.
getList
();
},
methods
:
{
getList
(){
this
.
request2
({
url
:
"/api/AppletTrade/GetUserActivityPage"
,
data
:
{},
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
// this.dataList = res.data;
console
.
log
(
res
,
'采购数据'
);
}
}
);
}
}
}
</
script
>
pages/kotra/investmentDetail.vue
0 → 100644
View file @
8f7115ea
<
style
>
.procurementDetail
{
background-color
:
#fff
;
padding
:
15px
;
}
.proDeTitle
{
color
:
#111111
;
font-weight
:
bold
;
font-size
:
16px
;
width
:
100%
;
text-align
:
center
;
margin
:
5px
0
20px
0
;
}
.proDeList
{
display
:
flex
;
width
:
100%
;
border-bottom
:
1px
solid
#E9E9E9
;
height
:
50px
;
font-size
:
14px
;
align-items
:
center
;
justify-content
:
space-between
;
}
.proDeLeft
{
color
:
#7F7F7F
;
margin-left
:
5px
;
}
.proDeRight
{
color
:
#111111
;
margin-right
:
5px
;
}
</
style
>
<
template
>
<view
class=
"procurementDetail"
>
<view
class=
"proDeTitle"
>
{{
dataList
.
GoodsCategory
}}
</view>
<view
class=
"proDeList"
style=
"border-top:1px solid #E9E9E9;"
>
<view
class=
"proDeLeft"
>
进口数量
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportNum
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
产品说明
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Describe
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司名称
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyName
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司名称
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyEnName
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
手机号码
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Mobile
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
E-mail
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EMail
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
企业法人
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
LegalPerson
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
负责人
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Principal
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
微信号码
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
WechatNo
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
官网
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
DomainUrl
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
行业
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Industry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
成立时间
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
FoundingTime
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
员工人数
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EmployeeNum
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
年销售额(万元)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
AnnualSales
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
详细地址(中文)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Address
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
详细地址(英文)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EnAddress
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
年进口额
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
AnnualImport
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要进口品目
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportCategory
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要进口国
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportCountry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要出口国
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ExportCountry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司介绍
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyIntro
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
其它
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
OtherInfo
}}
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
'投资详情'
,
msg
:
{
Id
:
0
},
dataList
:{}
}
},
created
()
{},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
},
onLoad
(
option
)
{
this
.
msg
.
Id
=
option
.
Id
;
this
.
getList
();
},
methods
:
{
getList
(){
this
.
request2
({
url
:
"/api/AppletTrade/GetInvestmentProcurement"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
;
console
.
log
(
res
,
'采购数据'
);
}
}
);
}
}
}
</
script
>
\ No newline at end of file
pages/kotra/investmentList.vue
View file @
8f7115ea
<
style
>
.procurementList
{
background-color
:
#F3F5F7
;
padding
:
15px
;
}
.procureList
{
background-color
:
#fff
;
padding
:
15px
15px
20px
15px
;
}
.procure_Top
{
display
:
flex
;
justify-content
:
space-between
;
}
.proriTitle
{
color
:
#111111
;
font-size
:
14px
;
font-weight
:
bold
;
}
.procureCompany
{
padding
:
15px
;
background-color
:
#F7F7F7
;
margin-top
:
15px
;
}
.procure_Info
{
display
:
flex
;
justify-content
:
space-between
;
color
:
#111111
;
font-size
:
13px
;
margin-bottom
:
15px
;
}
.procure_Info
:last-child
{
margin-bottom
:
0
;
}
</
style
>
<
template
>
<
template
>
<view
class=
"procurementList"
style=
"height:100vh;"
>
<u-empty
v-if=
"dataList.length==0"
text=
"暂无数据"
mode=
"data"
></u-empty>
<scroll-view
v-else
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ 'height': `calc(100%)`}">
<view>
<view
class=
"procureList"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goDetail(item)"
>
<view
class=
"procure_Top"
>
<view
class=
"proriTitle"
>
{{
item
.
GoodsCategory
}}
</view>
<view>
<image
style=
"width:20px;height:20px;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/arrow_right.png"
mode=
""
></image>
</view>
</view>
<view
class=
"procureCompany"
>
<view
class=
"procure_Info"
>
<view>
公司名称
</view>
<view>
{{
item
.
CompanyName
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
采购数量
</view>
<view>
{{
item
.
ImportNum
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
联系电话
</view>
<view>
{{
item
.
Mobile
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
邮箱地址
</view>
<view>
{{
item
.
EMail
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
行业
</view>
<view>
{{
item
.
Industry
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
年销售(万元)
</view>
<view>
{{
item
.
AnnualSales
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
年进口额
</view>
<view>
{{
item
.
AnnualImport
}}
</view>
</view>
</view>
</view>
</view>
<view
style=
"padding:10px 0;"
>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
bg-color=
"#F3F5F7"
:font-size=
"24"
:margin-top=
"0"
:margin-bottom=
"0"
/>
</view>
</scroll-view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
"投资列表"
,
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
Type
:
2
},
pageCount
:
1
,
dataList
:[],
loadText
:
{
loadmore
:
"轻轻上拉,加载更多"
,
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
status
:
''
,
}
},
mounted
(){
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
this
.
getList
(
1
);
},
methods
:
{
//获取数据
getList
(
num
)
{
if
(
num
==
1
)
{
this
.
dataList
=
[];
}
uni
.
showLoading
({
title
:
'加载中'
});
this
.
request2
({
url
:
"/api/AppletTrade/GetInvestmentProcurementPage"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
console
.
log
(
res
,
'数据类了'
);
this
.
dataList
=
this
.
dataList
.
concat
(
res
.
data
.
pageData
);
this
.
pageCount
=
res
.
data
.
pageCount
;
}
}
);
},
//滚动加载
lower
(
e
)
{
if
(
this
.
msg
.
pageIndex
<
this
.
pageCount
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
getList
();
}
else
{
this
.
status
=
"nomore"
;
}
},
//跳转详情
goDetail
(
item
){
uni
.
navigateTo
({
url
:
'/pages/kotra/investmentDetail?Id='
+
item
.
Id
});
}
}
}
</
script
>
</
script
>
<
style
>
</
style
>
pages/kotra/news.vue
View file @
8f7115ea
...
@@ -145,7 +145,6 @@
...
@@ -145,7 +145,6 @@
},
},
//跳转至新闻详情
//跳转至新闻详情
goNewsDetail
(
item
){
goNewsDetail
(
item
){
console
.
log
(
item
,
'item'
);
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/kotra/newsInDetail?Id='
+
item
.
Id
url
:
'/pages/kotra/newsInDetail?Id='
+
item
.
Id
});
});
...
...
pages/kotra/procurementDetail.vue
0 → 100644
View file @
8f7115ea
<
style
>
.procurementDetail
{
background-color
:
#fff
;
padding
:
15px
;
}
.proDeTitle
{
color
:
#111111
;
font-weight
:
bold
;
font-size
:
16px
;
width
:
100%
;
text-align
:
center
;
margin
:
5px
0
20px
0
;
}
.proDeList
{
display
:
flex
;
width
:
100%
;
border-bottom
:
1px
solid
#E9E9E9
;
height
:
50px
;
font-size
:
14px
;
align-items
:
center
;
justify-content
:
space-between
;
}
.proDeLeft
{
color
:
#7F7F7F
;
margin-left
:
5px
;
}
.proDeRight
{
color
:
#111111
;
margin-right
:
5px
;
}
</
style
>
<
template
>
<view
class=
"procurementDetail"
>
<view
class=
"proDeTitle"
>
{{
dataList
.
GoodsCategory
}}
</view>
<view
class=
"proDeList"
style=
"border-top:1px solid #E9E9E9;"
>
<view
class=
"proDeLeft"
>
进口数量
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportNum
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
产品说明
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Describe
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司名称
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyName
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司名称
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyEnName
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
手机号码
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Mobile
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
E-mail
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EMail
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
企业法人
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
LegalPerson
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
负责人
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Principal
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
微信号码
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
WechatNo
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
官网
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
DomainUrl
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
行业
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Industry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
成立时间
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
FoundingTime
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
员工人数
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EmployeeNum
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
年销售额(万元)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
AnnualSales
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
详细地址(中文)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
Address
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
详细地址(英文)
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
EnAddress
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
年进口额
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
AnnualImport
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要进口品目
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportCategory
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要进口国
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ImportCountry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
主要出口国
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
ExportCountry
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
公司介绍
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
CompanyIntro
}}
</view>
</view>
<view
class=
"proDeList"
>
<view
class=
"proDeLeft"
>
其它
</view>
<view
class=
"proDeRight"
>
{{
dataList
.
OtherInfo
}}
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
'采购详情'
,
msg
:
{
Id
:
0
},
dataList
:{}
}
},
created
()
{},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
},
onLoad
(
option
)
{
this
.
msg
.
Id
=
option
.
Id
;
this
.
getList
();
},
methods
:
{
getList
(){
this
.
request2
({
url
:
"/api/AppletTrade/GetInvestmentProcurement"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
;
console
.
log
(
res
,
'采购数据'
);
}
}
);
}
}
}
</
script
>
\ No newline at end of file
pages/kotra/procurementList.vue
View file @
8f7115ea
<
style
>
.procurementList
{
background-color
:
#F3F5F7
;
padding
:
15px
;
}
.procureList
{
background-color
:
#fff
;
padding
:
15px
15px
20px
15px
;
}
.procure_Top
{
display
:
flex
;
justify-content
:
space-between
;
}
.proriTitle
{
color
:
#111111
;
font-size
:
14px
;
font-weight
:
bold
;
}
.procureCompany
{
padding
:
15px
;
background-color
:
#F7F7F7
;
margin-top
:
15px
;
}
.procure_Info
{
display
:
flex
;
justify-content
:
space-between
;
color
:
#111111
;
font-size
:
13px
;
margin-bottom
:
15px
;
}
.procure_Info
:last-child
{
margin-bottom
:
0
;
}
</
style
>
<
template
>
<
template
>
<view
class=
"procurementList"
style=
"height:100vh;"
>
<u-empty
v-if=
"dataList.length==0"
text=
"暂无数据"
mode=
"data"
></u-empty>
<scroll-view
v-else
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ 'height': `calc(100%)`}">
<view>
<view
class=
"procureList"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goDetail(item)"
>
<view
class=
"procure_Top"
>
<view
class=
"proriTitle"
>
{{
item
.
GoodsCategory
}}
</view>
<view>
<image
style=
"width:20px;height:20px;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/arrow_right.png"
mode=
""
></image>
</view>
</view>
<view
class=
"procureCompany"
>
<view
class=
"procure_Info"
>
<view>
公司名称
</view>
<view>
{{
item
.
CompanyName
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
采购数量
</view>
<view>
{{
item
.
ImportNum
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
联系电话
</view>
<view>
{{
item
.
Mobile
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
邮箱地址
</view>
<view>
{{
item
.
EMail
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
行业
</view>
<view>
{{
item
.
Industry
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
年销售(万元)
</view>
<view>
{{
item
.
AnnualSales
}}
</view>
</view>
<view
class=
"procure_Info"
>
<view>
年进口额
</view>
<view>
{{
item
.
AnnualImport
}}
</view>
</view>
</view>
</view>
</view>
<view
style=
"padding:10px 0;"
>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
bg-color=
"#F3F5F7"
:font-size=
"24"
:margin-top=
"0"
:margin-bottom=
"0"
/>
</view>
</scroll-view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
"采购列表"
,
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
Type
:
1
},
pageCount
:
1
,
dataList
:[],
loadText
:
{
loadmore
:
"轻轻上拉,加载更多"
,
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
status
:
''
,
}
},
mounted
(){
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
this
.
getList
(
1
);
},
methods
:
{
//获取数据
getList
(
num
)
{
if
(
num
==
1
)
{
this
.
dataList
=
[];
}
uni
.
showLoading
({
title
:
'加载中'
});
this
.
request2
({
url
:
"/api/AppletTrade/GetInvestmentProcurementPage"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
console
.
log
(
res
,
'数据类了'
);
this
.
dataList
=
this
.
dataList
.
concat
(
res
.
data
.
pageData
);
this
.
pageCount
=
res
.
data
.
pageCount
;
}
}
);
},
//滚动加载
lower
(
e
)
{
if
(
this
.
msg
.
pageIndex
<
this
.
pageCount
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
getList
();
}
else
{
this
.
status
=
"nomore"
;
}
},
//跳转详情
goDetail
(
item
){
uni
.
navigateTo
({
url
:
'/pages/kotra/procurementDetail?Id='
+
item
.
Id
});
}
}
}
</
script
>
</
script
>
<
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment