Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FlashMan
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
华国豪
FlashMan
Commits
735b4f75
Commit
735b4f75
authored
Jul 04, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加天数
parent
c27593fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
GroupList.js
pages/GroupTour/GroupList/GroupList.js
+0
-2
GroupList.wxml
pages/GroupTour/GroupList/GroupList.wxml
+3
-0
GroupList.wxss
pages/GroupTour/GroupList/GroupList.wxss
+16
-1
No files found.
pages/GroupTour/GroupList/GroupList.js
View file @
735b4f75
...
@@ -213,7 +213,6 @@ Page({
...
@@ -213,7 +213,6 @@ Page({
},
},
//跳转至详情
//跳转至详情
Godetail
(
e
)
{
Godetail
(
e
)
{
console
.
log
(
e
);
let
item
=
e
.
currentTarget
.
dataset
;
let
item
=
e
.
currentTarget
.
dataset
;
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/pages/GroupTour/GroupDetails/GroupDetails?idDes='
+
encodeURIComponent
(
item
.
id
)
+
"&tcid="
+
item
.
tcid
,
url
:
'/pages/GroupTour/GroupDetails/GroupDetails?idDes='
+
encodeURIComponent
(
item
.
id
)
+
"&tcid="
+
item
.
tcid
,
...
@@ -236,7 +235,6 @@ Page({
...
@@ -236,7 +235,6 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
console
.
log
(
"options"
,
options
)
let
that
=
this
;
let
that
=
this
;
if
(
options
.
lineId
){
if
(
options
.
lineId
){
that
.
data
.
listmsg
.
lineId
=
options
.
lineId
;
that
.
data
.
listmsg
.
lineId
=
options
.
lineId
;
...
...
pages/GroupTour/GroupList/GroupList.wxml
View file @
735b4f75
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
<view class="ListItem" wx:for="{{dataList}}" wx:key="index" data-id="{{item.id}}" data-tcid="{{item.tcid}}" bindtap='Godetail'>
<view class="ListItem" wx:for="{{dataList}}" wx:key="index" data-id="{{item.id}}" data-tcid="{{item.tcid}}" bindtap='Godetail'>
<view class="imgView">
<view class="imgView">
<image src="{{item.newImgCover[0].Url}}"></image>
<image src="{{item.newImgCover[0].Url}}"></image>
<view class="ListDays">
{{item.dayNum}}天
</view>
</view>
</view>
<view class="ItemRight" style="width:460rpx;padding-left:15rpx">
<view class="ItemRight" style="width:460rpx;padding-left:15rpx">
<view class="text2 f26">{{item.title}}</view>
<view class="text2 f26">{{item.title}}</view>
...
...
pages/GroupTour/GroupList/GroupList.wxss
View file @
735b4f75
...
@@ -47,7 +47,20 @@
...
@@ -47,7 +47,20 @@
padding: 30rpx 30rpx 15rpx 30rpx;
padding: 30rpx 30rpx 15rpx 30rpx;
border-bottom: 1rpx solid #e9e9e9;
border-bottom: 1rpx solid #e9e9e9;
}
}
.ListItem .ListDays{
position: absolute;
left:0;
top:0;
border-top-left-radius: 6rpx;
border-bottom-right-radius: 6rpx;
width:60rpx;
height:40rpx;
background-color: #61DCD4;
color:#fff;
text-align: center;
line-height: 40rpx;
font-size:25rpx;
}
.ListView {
.ListView {
border-top: 1rpx solid #e9e9e9;
border-top: 1rpx solid #e9e9e9;
width: 100%;
width: 100%;
...
@@ -59,6 +72,8 @@
...
@@ -59,6 +72,8 @@
width: 210rpx;
width: 210rpx;
height: 210rpx;
height: 210rpx;
border-radius: 6rpx;
border-radius: 6rpx;
overflow: hidden;
position: relative;
}
}
.ListItem>view {
.ListItem>view {
...
...
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