刘嘉炜
3 years ago
4 changed files with 237 additions and 22 deletions
-
6src/pages.json
-
172src/pages/collection/list/list.vue
-
2src/pages/index/index.vue
-
79src/pages/turnover/turnover.vue
@ -0,0 +1,172 @@ |
|||
<template> |
|||
<view class="collection-list"> |
|||
<view class="cl-date"> |
|||
<view class="cd-txt">收款日期</view> |
|||
<view class="cd-content"> |
|||
<input class="cc-ipt" /> |
|||
<view class="cc-icon"></view> |
|||
<picker class="cc-img"> |
|||
<image></image> |
|||
</picker> |
|||
</view> |
|||
</view> |
|||
<view class="cl-list"> |
|||
<view class="cl-item" v-for="i in 10" :key="i"> |
|||
<view class="ci-tit-name"> |
|||
<view class="ctn-name"> |
|||
<view>品牌收入汇总</view> |
|||
<image></image> |
|||
</view> |
|||
<image></image> |
|||
</view> |
|||
<view class="ci-price"> |
|||
<text>¥</text>10800.<text>00</text> |
|||
</view> |
|||
<view class="ci-tip">日总收入</view> |
|||
<view class="ci-preview"> |
|||
<view class="cp-line cp-first"> |
|||
<view><text class="margin">收款100笔</text>(¥10000.00) </view> |
|||
<view><text class="margin">退款2笔</text>(¥200.00)</view> |
|||
</view> |
|||
<view class="cp-line"> |
|||
<view><text class="margin">收款100笔</text>(¥10000.00) </view> |
|||
<view><text class="margin">退款2笔</text>(¥200.00)</view> |
|||
</view> |
|||
<view class="cp-line"> |
|||
<view><text class="margin">收款100笔</text>(<text class="orange">¥200.00</text>) </view> |
|||
<view><text class="margin">退款2笔</text>(<text class="orange">¥200.00</text>)</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang='scss'> |
|||
@import '~style/public.scss'; |
|||
.cl-date{ |
|||
padding: 26upx 24upx; |
|||
@include centerFlex(space-between); |
|||
.cd-txt{ |
|||
flex-shrink: 0; |
|||
flex-grow: 0; |
|||
margin-right: 20upx; |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #9C9C9F; |
|||
} |
|||
.cd-content{ |
|||
flex-grow: 1; |
|||
padding: 26upx 20upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
@include centerFlex(space-between); |
|||
.cc-ipt{ |
|||
flex-grow: 1; |
|||
height: 100%; |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
} |
|||
.cc-icon{ |
|||
flex-shrink: 0; |
|||
flex-grow: 0; |
|||
margin: 0 17upx; |
|||
height: 40upx; |
|||
width: 2upx; |
|||
background-color: #f2f1f6; |
|||
} |
|||
.cc-img{ |
|||
flex-shrink: 0; |
|||
flex-grow: 0; |
|||
image{ |
|||
width: 40upx; |
|||
height: 40upx; |
|||
background-color: skyblue; |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
.cl-list{ |
|||
padding: 0 24upx 60upx; |
|||
.cl-item{ |
|||
margin-bottom: 24upx; |
|||
padding: 30upx; |
|||
height: 432upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
.ci-tit-name{ |
|||
margin-bottom: 42upx; |
|||
@include centerFlex(space-between); |
|||
.ctn-name{ |
|||
>view{ |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
} |
|||
@include centerFlex(flex-start); |
|||
} |
|||
image{ |
|||
flex-shrink: 0; |
|||
flex-grow: 0; |
|||
margin-left: 12upx; |
|||
width: 28upx; |
|||
height: 28upx; |
|||
background-color: skyblue; |
|||
} |
|||
} |
|||
.ci-price{ |
|||
text-align: center; |
|||
font-size: 64upx; |
|||
font-weight: 500; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
>text{ |
|||
font-size: 32upx; |
|||
} |
|||
} |
|||
.ci-tip{ |
|||
line-height: 40upx; |
|||
text-align: center; |
|||
font-size: 28upx; |
|||
color: #9c9c9f; |
|||
} |
|||
.ci-preview{ |
|||
padding-top: 38upx; |
|||
.cp-line{ |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
flex-grow: 0; |
|||
flex-shrink: 0; |
|||
width: 49%; |
|||
line-height: 32upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
@include textHide(1); |
|||
.margin{ |
|||
margin-right: 10upx; |
|||
} |
|||
.orange{ |
|||
color: #F6843E; |
|||
} |
|||
} |
|||
} |
|||
.cp-first{ |
|||
margin-bottom: 24upx; |
|||
>view{ |
|||
font-size: 28upx; |
|||
font-weight: 500; |
|||
color: #1A1A1A; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue