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
b5ab66ee
Commit
b5ab66ee
authored
Sep 01, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
36797e48
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
402 additions
and
280 deletions
+402
-280
activityList.vue
pages/kotra/activityList.vue
+182
-144
detail.vue
pages/kotra/brand/detail.vue
+2
-2
detail.vue
pages/kotra/carrier/detail.vue
+2
-2
signList.vue
pages/kotra/signList.vue
+216
-132
No files found.
pages/kotra/activityList.vue
View file @
b5ab66ee
<
style
>
.activityList
{
background-color
:
#F3F5F
7
;
.activityList
{
background-color
:
#f3f5f
7
;
padding
:
15px
;
}
}
.activityList
.activeList
{
.activityList
.activeList
{
background-color
:
#fff
;
margin-bottom
:
15px
;
padding
:
15px
;
}
}
.activityList
.activeTop
{
.activityList
.activeTop
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
.activityList
.activeLeftTitle
{
.activityList
.activeLeftTitle
{
color
:
#111111
;
font-size
:
14px
;
font-weight
:
bold
;
}
}
.activityList
.activeBtm
{
.activityList
.activeBtm
{
display
:
flex
;
margin-top
:
10px
;
justify-content
:
space-between
;
}
}
.activityList
.activeLeftImg
{
.activityList
.activeLeftImg
{
width
:
111px
;
height
:
70px
;
flex-shrink
:
0
;
}
}
.activityList
.activeRight
{
.activityList
.activeRight
{
margin-left
:
15px
;
color
:
#B9B9B
9
;
color
:
#b9b9b
9
;
font-size
:
12px
;
width
:
100%
;
}
}
</
style
>
<
template
>
<view
class=
"activityList"
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
class=
"activityList"
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=
"activeList"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goActiveDetail(item)"
>
<view
class=
"activeList"
v-for=
"(item, index) in dataList"
:key=
"index"
@
click=
"goActiveDetail(item)"
>
<view
class=
"activeTop"
>
<view
class=
"activeLeftTitle"
>
{{
item
.
ActivityName
}}
</view>
<view
class=
"activeLeftTitle"
>
{{
item
.
ActivityName
}}
</view>
<view>
<image
style=
"width:20px;height:20px;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/arrow_right.png"
mode=
""
></image>
<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=
"item.CoverImg"
></image>
<image
style=
"width: 100%; height: 100%"
:src=
"item.CoverImg"
></image>
</view>
<view
class=
"activeRight"
>
<view>
活动类型:
{{
item
.
ActivityTypeName
}}
</view>
<view
style=
"margin:10px 0"
>
开始时间:
{{
item
.
StartTimeStr
}}
</view>
<view>
结束时间:
{{
item
.
EndTimeStr
}}
</view>
<view>
活动类型:
{{
item
.
ActivityTypeName
}}
</view>
<view
style=
"margin: 10px 0"
>
开始时间:
{{
item
.
StartTimeStr
}}
</view
>
<view>
结束时间:
{{
item
.
EndTimeStr
}}
</view>
</view>
</view>
<view
>
<u-button
size=
"80"
:ripple=
"true"
shape=
"circle"
:custom-style=
"
{
backgroundColor: mc,
height: '80rpx',
<view>
<u-button
size=
"80"
:ripple=
"true"
shape=
"circle"
:custom-style=
"
{
backgroundColor: mainColor ? mainColor : '#1F1F1F',
color: '#FFF',
fontSize: '14px',
margin: '0 3vw',
width: '40vw',
fontSize: '28rpx',
marginTop: '10rpx',
width: '300rpx',
height: '88rpx',
}"
@click="goSignList(item)">查看报名信息
</u-button>
@click="goSignList(item)"
>查看报名信息
</u-button
>
</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
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
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
pageTitle
:
'我的活动'
,
pageTitle
:
"我的活动"
,
qmsg
:
{
pageIndex
:
1
,
pageSize
:
10
pageSize
:
10
,
},
pageCount
:
1
,
dataList
:
[],
...
...
@@ -101,11 +132,13 @@
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
status
:
''
,
}
status
:
""
,
mainColor
:
""
,
};
},
created
()
{},
mounted
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
...
...
@@ -116,14 +149,15 @@
methods
:
{
goSignList
(
item
)
{
uni
.
navigateTo
({
url
:
"/pages/kotra/signList?Id="
+
item
.
Id
url
:
"/pages/kotra/signList?Id="
+
item
.
Id
,
});
},
getList
(
num
)
{
if
(
num
==
1
)
{
this
.
dataList
=
[];
}
this
.
request2
({
this
.
request2
(
{
url
:
"/api/AppletTrade/GetUserActivityPage"
,
data
:
this
.
qmsg
,
},
...
...
@@ -148,9 +182,13 @@
//跳转至活动详情
goActiveDetail
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/kotra/activeInnerDetail?Id='
+
item
.
Id
+
'&isFromActive='
+
'1'
,
url
:
"/pages/kotra/activeInnerDetail?Id="
+
item
.
Id
+
"&isFromActive="
+
"1"
,
});
}
}
}
},
},
};
</
script
>
pages/kotra/brand/detail.vue
View file @
b5ab66ee
...
...
@@ -32,8 +32,8 @@
<!-- 关注 -->
<view
style=
"
width:
86
px;
height:
86
px;
width:
120r
px;
height:
120r
px;
margin-left: 12rpx;
margin-right: -40rpx;
position: absolute;
...
...
pages/kotra/carrier/detail.vue
View file @
b5ab66ee
...
...
@@ -179,8 +179,8 @@
<!-- 关注 -->
<view
style=
"
width:
86
px;
height:
86
px;
width:
120r
px;
height:
120r
px;
margin-left: 12rpx;
margin-right: -40rpx;
"
...
...
pages/kotra/signList.vue
View file @
b5ab66ee
<
style
>
.signList
{
background-color
:
#F3F5F
7
;
.signList
{
background-color
:
#f3f5f
7
;
padding
:
15px
;
}
.signList
.activeList
{
background-color
:
#fff
;
margin-bottom
:
15px
;
padding
:
15px
;
}
}
.signList
.activeTop
{
.signList
.activeList
{
height
:
210
rpx
;
background
:
#ffffff
;
box-shadow
:
0px
10
rpx
50
rpx
0px
rgba
(
218
,
220
,
230
,
0.85
);
border-radius
:
30
rpx
;
padding
:
30
rpx
;
margin-bottom
:
30
rpx
;
display
:
flex
;
}
.signList
.left
{
width
:
130
rpx
;
height
:
100%
;
border-right
:
1px
solid
#a5b1c5
;
display
:
flex
;
flex-wrap
:
wrap
;
align-content
:
space-between
;
padding-top
:
10
rpx
;
padding-right
:
20
rpx
;
}
.signList
.right
{
padding-left
:
20
rpx
;
}
.rightItem
{
margin
:
10
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
600
;
color
:
#1f1f1f
;
}
.rightItem
.label
{
color
:
#a4b0c4
;
font-weight
:
400
;
}
.signList
.activeTop
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
.signList
.activeLeftTitle
{
.signList
.activeLeftTitle
{
color
:
#111111
;
font-size
:
14px
;
font-weight
:
bold
;
}
}
.signList
.activeBtm
{
.signList
.activeBtm
{
display
:
flex
;
margin-top
:
10px
;
justify-content
:
space-between
;
}
}
.signList
.activeLeftImg
{
.signList
.activeLeftImg
{
width
:
111px
;
height
:
70px
;
flex-shrink
:
0
;
}
}
.signList
.activeRight
{
.signList
.activeRight
{
margin-left
:
15px
;
color
:
#B9B9B
9
;
color
:
#b9b9b
9
;
font-size
:
12px
;
width
:
100%
;
}
}
.signList
.LinkMan
{
width
:
100%
;
font-size
:
32
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
color
:
#1f1f1f
;
}
.linkIconBox
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
}
</
style
>
<
template
>
<view
class=
"signList"
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
class=
"signList"
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=
"activeList"
v-for=
"(item,index) in dataList"
:key=
"index"
>
<view>
联系人:
{{
item
.
LinkMan
}}
</view>
<view
style=
"margin:10px 0"
>
联系电话:
{{
item
.
LinkTel
}}
</view>
<view>
职务:
{{
item
.
Post
}}
</view>
<view>
所属国籍/省/市:
{{
item
.
CountryInfo
}}
</view>
<view
class=
"activeList"
v-for=
"(item, index) in dataList"
:key=
"index"
>
<view
class=
"left"
>
<view
class=
"LinkMan"
>
{{
item
.
LinkMan
}}
</view>
<view
class=
"linkIconBox"
><u-icon
name=
"comment"
color=
"#F27488"
size=
"32"
@
click=
"edituser"
></u-icon
><u-icon
name=
"delete"
color=
"#F27488"
size=
"32"
@
click=
"deleteUser(item)"
></u-icon
></view>
</view>
<view
class=
"right"
>
<view
class=
"rightItem"
>
<text
class=
"label"
>
公司职务:
</text>
{{
item
.
Post
}}
</view
>
<view
class=
"rightItem"
>
<text
class=
"label"
>
所属区域:
</text>
{{
item
.
CountryInfo
}}
</view
>
<view
class=
"rightItem"
>
<text
class=
"label"
>
联系电话:
</text>
{{
item
.
LinkTel
}}
</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>
<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
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
pageTitle
:
'我的活动'
,
pageTitle
:
"我的活动"
,
qmsg
:
{
Id
:
0
Id
:
0
,
},
dataList
:
[],
loadText
:
{
...
...
@@ -74,8 +150,8 @@
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
status
:
''
,
}
status
:
""
,
};
},
created
()
{},
mounted
()
{
...
...
@@ -89,14 +165,15 @@
},
methods
:
{
getList
()
{
this
.
request2
({
this
.
request2
(
{
url
:
"/api/AppletTrade/GetCommerceActivity"
,
data
:
this
.
qmsg
,
},
(
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
CommerceConsultList
this
.
dataList
=
res
.
data
.
CommerceConsultList
;
}
}
);
...
...
@@ -104,9 +181,10 @@
//删除用户
deleteUser
(
item
)
{
var
delMsg
=
{
Id
:
item
.
Id
}
this
.
request2
({
Id
:
item
.
Id
,
};
this
.
request2
(
{
url
:
"/api/AppletTrade/DeleteTrdceConsult"
,
data
:
delMsg
,
},
...
...
@@ -125,9 +203,10 @@
LinkMan
:
item
.
LinkMan
,
LinkTel
:
item
.
LinkTel
,
Post
:
item
.
Post
,
CountryInfo
:
item
.
CountryInfo
}
this
.
request2
({
CountryInfo
:
item
.
CountryInfo
,
};
this
.
request2
(
{
url
:
"/api/AppletTrade/SetTradeConsult"
,
data
:
postMsg
,
},
...
...
@@ -137,7 +216,12 @@
}
}
);
}
}
}
},
edituser
()
{
uni
.
navigateTo
({
url
:
"/pages/kotra/activeSignUp"
,
});
},
},
};
</
script
>
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