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
b01a2f80
Commit
b01a2f80
authored
Mar 25, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
d19457d8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
7 deletions
+15
-7
detail.vue
pages/kotra/brand/detail.vue
+3
-0
detail.vue
pages/kotra/carrier/detail.vue
+8
-3
list.vue
pages/kotra/carrier/list.vue
+2
-2
news.vue
pages/kotra/news.vue
+2
-2
No files found.
pages/kotra/brand/detail.vue
View file @
b01a2f80
...
@@ -253,6 +253,9 @@
...
@@ -253,6 +253,9 @@
this
.
active
=
1
this
.
active
=
1
};
};
this
.
details
.
imgs
=
[]
this
.
details
.
imgs
=
[]
if
(
!
res
.
data
.
BannerList
||
res
.
data
.
BannerList
.
length
==
0
){
res
.
data
.
BannerList
=
[
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616657873000_968.png"
]
}
this
.
details
.
BannerList
.
forEach
(
x
=>
{
this
.
details
.
BannerList
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
name
:
x
name
:
x
...
...
pages/kotra/carrier/detail.vue
View file @
b01a2f80
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
{{
detailData
.
CarrierName
}}
{{
detailData
.
CarrierName
}}
</view>
</view>
<view
style=
"margin-top: 16rpx;"
>
<view
style=
"margin-top: 16rpx;"
>
<u-tag
:text=
"
ProjectTyp
e"
mode=
"dark"
:bg-color=
"mainColor"
/>
<u-tag
:text=
"
detailData.ProjectTypeNam
e"
mode=
"dark"
:bg-color=
"mainColor"
/>
</view>
</view>
</view>
</view>
<!-- 关注 -->
<!-- 关注 -->
...
@@ -92,7 +92,8 @@
...
@@ -92,7 +92,8 @@
</view>
</view>
<view
style=
"font-size: 26rpx;color:#a4a4a4;margin-bottom: 30rpx;font-weight: 500;"
>
<view
style=
"font-size: 26rpx;color:#a4a4a4;margin-bottom: 30rpx;font-weight: 500;"
>
<text
style=
"width: 156rpx;text-align: right;"
>
地铁站点:
</text>
<text
style=
"width: 156rpx;text-align: right;"
>
地铁站点:
</text>
<text
style=
"color:#1F1F1F;font-weight: bold;"
>
{{
detailData
.
CarrierMetroList
[
0
].
MetroNum
}}
号线
{{
detailData
.
CarrierMetroList
[
0
].
MetroName
}}
站,
步行
{{
detailData
.
CarrierMetroList
[
0
].
Distance
}}
米
</text>
<text
style=
"color:#1F1F1F;font-weight: bold;"
v-if=
"detailData.CarrierMetroList && detailData.CarrierMetroList.length>0"
>
{{
detailData
.
CarrierMetroList
[
0
].
MetroNum
}}
号线
{{
detailData
.
CarrierMetroList
[
0
].
MetroName
}}
站,
步行
{{
detailData
.
CarrierMetroList
[
0
].
Distance
}}
米
</text>
<text
v-else
class=
"color:#999"
>
暂无地铁新线
</text>
</view>
</view>
<view
style=
"display: flex;align-items: center;"
>
<view
style=
"display: flex;align-items: center;"
>
<view
<view
...
@@ -103,7 +104,7 @@
...
@@ -103,7 +104,7 @@
</view>
</view>
<view
<view
@
click=
"goMap(detailData.Address,LatAndLon.lon,LatAndLon.lat)"
@
click=
"goMap(detailData.Address,LatAndLon.lon,LatAndLon.lat)"
style=
"flex:1;padding-left: 34rpx;background:rgba(252, 42, 76, .05);height: 95rpx;display: flex;align-items: center;"
>
style=
"flex:1;
overflow:hidden;
padding-left: 34rpx;background:rgba(252, 42, 76, .05);height: 95rpx;display: flex;align-items: center;"
>
<image
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616480343000_382.png"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616480343000_382.png"
style=
"width: 27rpx;height: 33rpx;margin-right: 26rpx;"
></image>
style=
"width: 27rpx;height: 33rpx;margin-right: 26rpx;"
></image>
...
@@ -305,6 +306,10 @@
...
@@ -305,6 +306,10 @@
if
(
res
.
data
.
VideoUrl
==
''
){
if
(
res
.
data
.
VideoUrl
==
''
){
this
.
active
=
1
this
.
active
=
1
};
};
if
(
!
res
.
data
.
BannerList
||
res
.
data
.
BannerList
.
length
==
0
){
res
.
data
.
BannerList
=
[
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1616657873000_968.png"
]
}
if
(
Array
.
isArray
(
res
.
data
.
BannerList
)){
if
(
Array
.
isArray
(
res
.
data
.
BannerList
)){
res
.
data
.
BannerList
.
map
((
e
)
=>
{
res
.
data
.
BannerList
.
map
((
e
)
=>
{
let
obj
=
{
let
obj
=
{
...
...
pages/kotra/carrier/list.vue
View file @
b01a2f80
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
duration=
"0"
font-size=
"28"
></u-tabs>
duration=
"0"
font-size=
"28"
></u-tabs>
</view>
</view>
<div
style=
"width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;"
>
<
!--
<
div
style=
"width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;"
>
<u-icon
name=
"filter-o"
color=
"#111"
size=
"42"
></u-icon>
<u-icon
name=
"filter-o"
color=
"#111"
size=
"42"
></u-icon>
</div>
</div>
-->
</view>
</view>
<u-empty
v-if=
"dataList.length == 0"
text=
"暂无数据"
mode=
"list"
class=
"noBox"
></u-empty>
<u-empty
v-if=
"dataList.length == 0"
text=
"暂无数据"
mode=
"list"
class=
"noBox"
></u-empty>
<view
style=
"height: calc(100% - 101px);"
v-if=
"dataList.length > 0"
>
<view
style=
"height: calc(100% - 101px);"
v-if=
"dataList.length > 0"
>
...
...
pages/kotra/news.vue
View file @
b01a2f80
...
@@ -86,8 +86,8 @@
...
@@ -86,8 +86,8 @@
<view
class=
"koraNews-box"
>
<view
class=
"koraNews-box"
>
<view
class=
"newsimgs"
style=
"position: relative;"
>
<view
class=
"newsimgs"
style=
"position: relative;"
>
<image
:src=
"item.CoverImg"
mode=
"aspectFill"
class=
'n-img'
/>
<image
:src=
"item.CoverImg"
mode=
"aspectFill"
class=
'n-img'
/>
<view
style=
"top:10px;left:10px;position: absolute;"
v-if=
"item.
Industry&&item.Industry
.length>0"
>
<view
style=
"top:10px;left:10px;position: absolute;"
v-if=
"item.
Subtitle&&item.Subtitle
.length>0"
>
<u-tag
:text=
"item.
Industry
"
mode=
"dark"
bg-color=
"rgba(0,0,0,.4)"
color=
"#FFF"
size=
"mini"
></u-tag>
<u-tag
:text=
"item.
Subtitle
"
mode=
"dark"
bg-color=
"rgba(0,0,0,.4)"
color=
"#FFF"
size=
"mini"
></u-tag>
</view>
</view>
</view>
</view>
<view
class=
"box-conet"
>
<view
class=
"box-conet"
>
...
...
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