Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
25d16b69
Commit
25d16b69
authored
Feb 27, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提货bugfixed
parent
1978b281
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
home.acss
pages/home/home.acss
+5
-5
home.axml
pages/home/home.axml
+1
-1
home.js
pages/home/home.js
+10
-0
No files found.
pages/home/home.acss
View file @
25d16b69
...
@@ -88,8 +88,9 @@
...
@@ -88,8 +88,9 @@
align-items: center;
align-items: center;
width: 100%;
width: 100%;
height: 100%;
height: 100%;
background: white;
position: absolute;
position: absolute
background: url(/images/scan_header_bg.png) no-repeat fixed top;
background-size: 100% 200rpx;
}
}
/* 提货商品布局top部分 */
/* 提货商品布局top部分 */
...
@@ -105,8 +106,6 @@
...
@@ -105,8 +106,6 @@
font-size: 40rpx;
font-size: 40rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-weight: 500;
background: url(/images/scan_header_bg.png) no-repeat fixed top;
background-size: 100% 200rpx;
color: rgba(255, 255, 255, 1);
color: rgba(255, 255, 255, 1);
}
}
...
@@ -114,5 +113,6 @@
...
@@ -114,5 +113,6 @@
.pick-goods-body {
.pick-goods-body {
width: 700rpx;
width: 700rpx;
height: 100%;
height: 100%;
background: transparent
background: transparent;
margin-top: 35rpx
}
}
\ No newline at end of file
pages/home/home.axml
View file @
25d16b69
<view class="page">
<view class="page">
<view class="bg" onTap="homeTap">
<view class="bg" onTap="homeTap"
a:if="{{pickGoodsState != 3}}"
>
<image mode="scaleToFill" style="width:100%;height:100%;" src="{{adUrl}}"/>
<image mode="scaleToFill" style="width:100%;height:100%;" src="{{adUrl}}"/>
</view>
</view>
<!-- 提货布局 -->
<!-- 提货布局 -->
...
...
pages/home/home.js
View file @
25d16b69
...
@@ -34,6 +34,16 @@ Page({
...
@@ -34,6 +34,16 @@ Page({
onLoad
()
{
onLoad
()
{
let
pickgoodsTemp
=
[]
for
(
var
i
=
0
;
i
<
3
;
i
++
){
var
good
=
{};
good
.
name
=
"SK-II R.N.A.超肌能紧致弹力精华"
good
.
price
=
"1098"
good
.
quantity
=
1
pickgoodsTemp
.
push
(
good
)
}
this
.
setData
({
pickGoods
:
pickgoodsTemp
})
},
},
onShow
()
{
onShow
()
{
...
...
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