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
cd844259
Commit
cd844259
authored
Feb 27, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixed
parent
157de391
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
14 deletions
+78
-14
home.acss
pages/home/home.acss
+54
-0
home.axml
pages/home/home.axml
+24
-12
scan.js
pages/scan/scan.js
+0
-2
No files found.
pages/home/home.acss
View file @
cd844259
...
@@ -26,3 +26,57 @@ page{
...
@@ -26,3 +26,57 @@ page{
margin: 0 auto;
margin: 0 auto;
margin-top: 38rpx;
margin-top: 38rpx;
}
}
/* 商品价格 */
.good-list-item-price-font {
color: #F96146;
font-size: 44rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
margin-left: 24rpx;
}
/* 商品数量 */
.good-list-item-quantity-font {
color: #8C8C8C;
font-size: 32rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
margin-right: 24rpx
}
/* 商品名称 */
.good-list-item-name-font {
color: #333333;
font-size: 32rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
margin-left: 24rpx;
margin-top: 25rpx;
}
/* 商品列表项价格和数量 */
.scan-good-list-item {
display: flex;
flex-direction: row;
width: 100%;
height: 80rpx;
justify-content: space-between;
align-items: center;
}
/* 商品列表项背景 */
.scan-list-bg {
height: 158rpx;
border-radius: 16px;
background-color: white;
margin-bottom: 24rpx;
box-shadow: 0px 2px 10px 0px rgba(77, 81, 102, 0.1);
display: flex;
flex-direction: column;
}
pages/home/home.axml
View file @
cd844259
<view class="page"
>
<view class="page">
<view class="bg" onTap="homeTap">
<view class="bg" onTap="homeTap">
<image mode="scaleToFill" style="width:100%;height:100%;" src="{{adUrl}}"/>
<image mode="scaleToFill" style="width:100%;height:100%;" src="{{adUrl}}"/>
</view>
</view>
<!-- 提货布局 -->
<!-- 弹窗 -->
<view class="page-pick-goods" a:if="{{}}">
<scandialog displayDialog="{{scanDialogDisplay}}"
<view class="pick-goods-header">
remindText="{{dialogRemindText}}"
提货商品如下
loadingText="{{dialogLoadingText}}"
</view>
resultSuccessRemind="{{dialogResultSuccessRemind}}"
<scroll-view class="pick-good-body" scroll-y a:if="{{pickgoods.length > 0}}">
resultSuccessText="{{dialogResultSuccessText}}"
<block a:for="{{pickgoods}}">
resultFailureRemind="{{dialogResultFailureRemind}}"
<view class="scan-list-bg">
resultFailureText="{{dialogResultFailureText}}"
<view class="good-list-item-name-font">
/>
{{item.name}}
</view>
<view class="scan-good-list-item">
<view class="good-list-item-price-font">¥{{item.price}}</view>
<view class="good-list-item-quantity-font">
{{item.quantity}}件
</view>
</view>
</view>
</block>
</scroll-view>
</view>
<!-- 弹窗 -->
<scandialog displayDialog="{{scanDialogDisplay}}" remindText="{{dialogRemindText}}" loadingText="{{dialogLoadingText}}" resultSuccessRemind="{{dialogResultSuccessRemind}}" resultSuccessText="{{dialogResultSuccessText}}" resultFailureRemind="{{dialogResultFailureRemind}}" resultFailureText="{{dialogResultFailureText}}" />
</view>
</view>
\ No newline at end of file
pages/scan/scan.js
View file @
cd844259
...
@@ -146,8 +146,6 @@ Page({
...
@@ -146,8 +146,6 @@ Page({
context
.
sendGoodInfoToBack
();
context
.
sendGoodInfoToBack
();
}
}
})
})
},
700
);
},
700
);
},
},
...
...
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