Commit cd844259 authored by jiangjiantao's avatar jiangjiantao

bugfixed

parent 157de391
...@@ -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;
}
<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="{{}}">
<view class="pick-goods-header">
提货商品如下
</view>
<scroll-view class="pick-good-body" scroll-y a:if="{{pickgoods.length > 0}}">
<block a:for="{{pickgoods}}">
<view class="scan-list-bg">
<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}}" <scandialog displayDialog="{{scanDialogDisplay}}" remindText="{{dialogRemindText}}" loadingText="{{dialogLoadingText}}" resultSuccessRemind="{{dialogResultSuccessRemind}}" resultSuccessText="{{dialogResultSuccessText}}" resultFailureRemind="{{dialogResultFailureRemind}}" resultFailureText="{{dialogResultFailureText}}" />
remindText="{{dialogRemindText}}"
loadingText="{{dialogLoadingText}}"
resultSuccessRemind="{{dialogResultSuccessRemind}}"
resultSuccessText="{{dialogResultSuccessText}}"
resultFailureRemind="{{dialogResultFailureRemind}}"
resultFailureText="{{dialogResultFailureText}}"
/>
</view> </view>
\ No newline at end of file
...@@ -146,8 +146,6 @@ Page({ ...@@ -146,8 +146,6 @@ Page({
context.sendGoodInfoToBack(); context.sendGoodInfoToBack();
} }
}) })
}, 700); }, 700);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment