Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
c6f7cbb3
You need to sign in or sign up before continuing.
Commit
c6f7cbb3
authored
Sep 23, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
Fixbug zyw See merge request
!150
parents
ce2dab3b
dcf1aa31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
3 deletions
+54
-3
myReleaseDetail.js
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
+27
-1
myReleaseDetail.wxss
...ubPackage/page/pages/myReleaseDetail/myReleaseDetail.wxss
+27
-2
No files found.
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
View file @
c6f7cbb3
...
...
@@ -18,7 +18,9 @@ wxService.page({
currentShareContent
:
null
,
pagePath
:
''
,
loadingTime
:
''
,
proList
:[]
proList
:[],
pageNo
:
1
,
pageSize
:
10
},
/**
...
...
@@ -102,6 +104,30 @@ wxService.page({
})
},
//跳转商品详情
onTapToGoodsInfo
(
e
)
{
console
.
log
(
e
)
let
item
=
e
.
currentTarget
.
dataset
.
item
;
let
productId
=
e
.
currentTarget
.
dataset
.
productid
;
//组装一个临时触点信息对象到本地
let
tempObj
=
{
memberId
:
item
.
userId
?
item
.
userId
:
'-99'
,
obj
:
{
id
:
item
.
tentacleObjectId
,
tentacleType
:
item
.
tentacleType
,
tentacleId
:
item
.
tentacleId
,
contentType
:
item
.
contentType
,
contentId
:
item
.
contentId
}
};
//存储
var
timestamp
=
Date
.
parse
(
new
Date
())
var
expiration
=
timestamp
+
1800000
wx
.
setStorageSync
(
'TEMP_TENTACLE_INFO'
,
tempObj
);
wx
.
setStorageSync
(
'TIME_EXPIRATION'
,
expiration
);
wxService
.
router
(
`/pages/productDetail/productDetail?id=
${
productId
}
&fromZc=1`
);
},
//获取内容下商品列表
getProList
()
{
var
params
=
{
...
...
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.wxss
View file @
c6f7cbb3
...
...
@@ -137,4 +137,30 @@ page{
font-size: 13rpx;
color: #CB3C3C;
margin-top: 9rpx;
}
\ No newline at end of file
}
.bottom-price{
margin-top: 11rpx;
}
.price{
font-size: 32rpx;
color: #CB3C3C;
}
.cost-price{
text-decoration:line-through;
font-size: 20rpx;
color: #aaaaaa;
margin-left: 10rpx;
}
.look-over{
width: 125rpx;
height: 39rpx;
line-height: 39rpx;
text-align: center;
border-radius: 19rpx;
background-color: rgba(203, 60, 60, 1);
border: 1px solid rgba(151, 151, 151, 1);
color: #ffffff;
font-size: 18rpx;
float: right;
}
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