| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <template>
- <view class="content">
- <view class="main-item" v-for="(item,index) in 10" @click="navTo('/pages/scrap/processing')">
- <view class="main-top flex">
- <view class="main-top-left">
- <image class="icon" src="../../static/icon/order-icon.png" mode=""></image>
- <view class="title">
- 规格{{index}}(黄色,37码,数量3)
- </view>
- </view>
- <view class="main-top-right">
- <view class="type1" v-if="index%2==0">
- 未处理
- </view>
- <view class="type2" v-else>
- 已处理
- </view>
- <image class="jt" src="../../static/img/jt.png" mode=""></image>
- </view>
- </view>
- <view class="main-info">
- <scroll-view scroll-x="true" class="main-price">
- <view class="image-box">
- <view class="image-item" v-for="(itm,ind) in 4">
- <image src="../../static/img/user-item2.png" mode=""></image>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="main-bottom flex">
- <view class="main-bottom-item">
- 处理金额:
- </view>
- <view class="main-bottom-item red">
- ¥0
- </view>
- </view>
- </view>
- <view class="all flex">
- <view class="all-item">
- 总金额:
- </view>
- <view class="all-item all">
- ¥1000
- </view>
- </view>
- <view class="btn">
- 提交处理
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {};
- },
- onLoad() {},
- onShow() {},
- onReachBottom() {},
- onReady() {},
- methods: {
- navTo(url) {
- uni.navigateTo({
- url
- })
- }
- }
- };
- </script>
- <style lang="scss">
- page,
- .content {
- min-height: 100%;
- height: auto;
- }
- .main-item {
- margin: 20rpx auto 0;
- width: 702rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- padding: 24rpx 16rpx 0;
- .main-top {
- padding: 0 14rpx 0 8rpx;
- .main-top-left {
- display: flex;
- align-items: center;
- .icon {
- width: 74rpx;
- height: 74rpx;
- border-radius: 50%;
- }
- .title {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #323333;
- margin-left: 16rpx;
- }
- }
- .main-top-right {
- display: flex;
- align-items: center;
- .type1 {
- margin-right: 10rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FF4C4C;
- }
- .type2 {
- margin-right: 10rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #323333;
- }
- .jt {
- width: 12rpx;
- height: 22rpx;
- }
- }
- }
- .main-info {
- padding: 20rpx 14rpx 30rpx;
- border-bottom: 1px solid #f6f6f6;
- .main-price {
- width: 100%;
- .image-box {
- display: flex;
- justify-content: center;
- align-items: center;
- .image-item {
- margin-left: 10rpx;
- width: 110rpx;
- height: 110rpx;
- flex-shrink: 0;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- }
- .main-bottom {
- padding: 24rpx 15rpx 24rpx 10rpx;
- .main-bottom-item {
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #363636;
- }
- .red {
- color: #FF4C4C;
- }
- }
- }
- .all {
- margin: 20rpx auto 0;
- width: 702rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- padding: 30rpx;
- .all-item {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #323333;
- }
- .red {
- color: #FF4C4C;
- }
- }
- .btn {
- margin: 60rpx auto 0;
- width: 622rpx;
- height: 85rpx;
- background: #069CFA;
- border-radius: 15rpx;
- text-align: center;
- line-height: 85rpx;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- }
- </style>
|