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
a01c820e
Commit
a01c820e
authored
May 23, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优化
parent
8c886932
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
11 deletions
+25
-11
app.wxss
src/app.wxss
+4
-0
productDetail.js
src/pages/productDetail/productDetail.js
+2
-8
productDetail.wxml
src/pages/productDetail/productDetail.wxml
+2
-2
project.config.json
src/project.config.json
+1
-1
categoryPro.wxss
src/subPackage/page/pages/categoryPro/categoryPro.wxss
+16
-0
No files found.
src/app.wxss
View file @
a01c820e
...
...
@@ -112,6 +112,10 @@
position: relative;
}
image{
height:auto
}
.positionAbs{
position: absolute;
z-index: 2;
...
...
src/pages/productDetail/productDetail.js
View file @
a01c820e
...
...
@@ -128,14 +128,6 @@ wxService.page({
return
;
}
//一口价
if
(
item
.
type
==
2
){
wx
.
navigateTo
({
url
:
`/subPackageA/page/pages/promotionProducts/promotionProducts?id=
${
item
.
activityId
}
&type=
${
item
.
type
}
`
,
});
return
;
}
},
//领券弹出层
...
...
@@ -234,6 +226,8 @@ wxService.page({
});
this
.
setLocalStorageByKey
(
item
.
id
);
this
.
getGoodsCouponActivityList
();
}
})
},
...
...
src/pages/productDetail/productDetail.wxml
View file @
a01c820e
...
...
@@ -290,10 +290,10 @@
bindtap="onTapToActivityInfo"
wx:for-index="idx" >
<view class="promotions-name">
<
view class="promotion-type">{{item.promotionType}}</view
>
<
!-- <view class="promotion-type">{{item.promotionType}}</view> --
>
<view class="pro-title">{{item.activityName}}</view>
</view>
<image src="/assets/imgs/arrow-right.png" mode="aspectFit" wx:if="{{item.type ==
2 || item.type ==
5}}"></image>
<image src="/assets/imgs/arrow-right.png" mode="aspectFit" wx:if="{{item.type == 5}}"></image>
</view>
</view>
<view class="content-footer">
...
...
src/project.config.json
View file @
a01c820e
...
...
@@ -162,7 +162,7 @@
"id"
:
16
,
"name"
:
"商品详情页"
,
"pathName"
:
"pages/productDetail/productDetail"
,
"query"
:
"id=
684047015461785600
"
,
"query"
:
"id=
708760463617429504
"
,
"scene"
:
null
},
{
...
...
src/subPackage/page/pages/categoryPro/categoryPro.wxss
View file @
a01c820e
/* subPackage/page/pages/categoryPro/categoryPro.wxss */
page{
padding-top: 81rpx;
}
.empty{
width: 300rpx;
color: #808080;
...
...
@@ -9,7 +12,20 @@
padding: 16rpx 54rpx 16rpx 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
box-sizing: border-box;
width: 100%;
left: 0;
top: 0;
z-index: 2;
background: #ffffff;
height: 80rpx;
border-bottom: solid 1rpx #dddddd;
}
.nav-list{
display: flex;
}
...
...
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