|  | @ -1,6 +1,6 @@ | 
														
													
														
															
																|  |  | <template> |  |  | <template> | 
														
													
														
															
																|  |  | <view class="container"> |  |  |  | 
														
													
														
															
																|  |  | <view class="cardList" v-for="(item, index) in cardListData" :key="index"> |  |  |  | 
														
													
														
															
																|  |  |  |  |  | <view class="cardList"> | 
														
													
														
															
																|  |  |  |  |  | <view class="container" v-for="(item, index) in cardListData" :key="index"> | 
														
													
														
															
																|  |  | <view class="head"> |  |  | <view class="head"> | 
														
													
														
															
																|  |  | <text class="orderTime">下单时间:{{item.orderTime}}</text> |  |  | <text class="orderTime">下单时间:{{item.orderTime}}</text> | 
														
													
														
															
																|  |  | <text class="orderStatus" :class="item.state === 'U' ? 'active' : ''">{{item.stateText}}</text> |  |  | <text class="orderStatus" :class="item.state === 'U' ? 'active' : ''">{{item.stateText}}</text> | 
														
													
												
													
														
															
																|  | @ -19,7 +19,8 @@ | 
														
													
														
															
																|  |  | </view> |  |  | </view> | 
														
													
														
															
																|  |  | </view> |  |  | </view> | 
														
													
														
															
																|  |  | <view class="button-sp-area" v-if="Array.isArray(item.btnObj) && item.btnObj.length > 0"> |  |  | <view class="button-sp-area" v-if="Array.isArray(item.btnObj) && item.btnObj.length > 0"> | 
														
													
														
															
																|  |  | <button :style="{background: val.bgColor, color: val.color}" v-for="(val, i) in item.btnObj" :key="i" class="mini-btn" size="mini">{{val.btnTitle}}</button> |  |  |  | 
														
													
														
															
																|  |  |  |  |  | <button @click="skip(val)" :style="{background: val.bgColor, color: val.color}" v-for="(val, i) in item.btnObj" :key="i" class="mini-btn" size="mini">{{val.btnTitle}}</button> | 
														
													
														
															
																|  |  |  |  |  | <button>4332432</button> | 
														
													
														
															
																|  |  | </view> |  |  | </view> | 
														
													
														
															
																|  |  | </view> |  |  | </view> | 
														
													
														
															
																|  |  | </view> |  |  | </view> | 
														
													
												
													
														
															
																|  | @ -52,17 +53,19 @@ export default { | 
														
													
														
															
																|  |  | mounted() { |  |  | mounted() { | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | methods: { |  |  | methods: { | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  |  |  |  | skip(val) { | 
														
													
														
															
																|  |  |  |  |  | uni.navigateTo({ | 
														
													
														
															
																|  |  |  |  |  | url:'/pages_order/orderDetails' | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  |  |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | }; |  |  | }; | 
														
													
														
															
																|  |  | </script> |  |  | </script> | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | <style scoped lang="scss"> |  |  | <style scoped lang="scss"> | 
														
													
														
															
																|  |  | $gray: #999; |  |  |  | 
														
													
														
															
																|  |  | $red: #FF4546; |  |  |  | 
														
													
														
															
																|  |  | .container { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | .cardList { | 
														
													
														
															
																|  |  | padding: 10rpx 32rpx 250rpx; |  |  | padding: 10rpx 32rpx 250rpx; | 
														
													
														
															
																|  |  | .cardList { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | .container { | 
														
													
														
															
																|  |  | margin-top: 31rpx; |  |  | margin-top: 31rpx; | 
														
													
														
															
																|  |  | padding: 25rpx 0; |  |  | padding: 25rpx 0; | 
														
													
														
															
																|  |  | border-radius: 20rpx; |  |  | border-radius: 20rpx; | 
														
													
												
													
														
															
																|  | @ -74,7 +77,7 @@ export default { | 
														
													
														
															
																|  |  | border-bottom: 1px solid #2A2A2A; |  |  | border-bottom: 1px solid #2A2A2A; | 
														
													
														
															
																|  |  | .orderTime { |  |  | .orderTime { | 
														
													
														
															
																|  |  | font-size: 25rpx; |  |  | font-size: 25rpx; | 
														
													
														
															
																|  |  | color: $gray; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | color: $uni-text-color-grey; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | .orderStatus { |  |  | .orderStatus { | 
														
													
														
															
																|  |  | font-size: 26rpx; |  |  | font-size: 26rpx; | 
														
													
												
													
														
															
																|  | @ -103,7 +106,7 @@ export default { | 
														
													
														
															
																|  |  | justify-content: space-between; |  |  | justify-content: space-between; | 
														
													
														
															
																|  |  | flex: 1; |  |  | flex: 1; | 
														
													
														
															
																|  |  | margin-left: 26px; |  |  | margin-left: 26px; | 
														
													
														
															
																|  |  | color: $gray; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | color: $uni-text-color-grey; | 
														
													
														
															
																|  |  | font-size: 24rpx; |  |  | font-size: 24rpx; | 
														
													
														
															
																|  |  | .detailed { |  |  | .detailed { | 
														
													
														
															
																|  |  | .title { |  |  | .title { | 
														
													
												
													
														
															
																|  | @ -118,7 +121,7 @@ export default { | 
														
													
														
															
																|  |  | &::before { |  |  | &::before { | 
														
													
														
															
																|  |  | content: ''; |  |  | content: ''; | 
														
													
														
															
																|  |  | display: block; |  |  | display: block; | 
														
													
														
															
																|  |  | background: url('@/static/image//cart/timeIcon.png') no-repeat; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | background: url('@/static/image/cart/timeIcon.png') no-repeat; | 
														
													
														
															
																|  |  | background-size: 100% 100%; |  |  | background-size: 100% 100%; | 
														
													
														
															
																|  |  | width: 24rpx; |  |  | width: 24rpx; | 
														
													
														
															
																|  |  | height: 24rpx; |  |  | height: 24rpx; | 
														
													
												
													
														
															
																|  | @ -131,10 +134,10 @@ export default { | 
														
													
														
															
																|  |  | &::before { |  |  | &::before { | 
														
													
														
															
																|  |  | content: ''; |  |  | content: ''; | 
														
													
														
															
																|  |  | display: block; |  |  | display: block; | 
														
													
														
															
																|  |  | background: url('@/static/image//cart/addressIcon.png') no-repeat; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | background: url('@/static/image/cart/addressIcon.png') no-repeat; | 
														
													
														
															
																|  |  | background-size: 100% 100%; |  |  | background-size: 100% 100%; | 
														
													
														
															
																|  |  | width: 24rpx; |  |  |  | 
														
													
														
															
																|  |  | height: 24rpx; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | width: 22rpx; | 
														
													
														
															
																|  |  |  |  |  | height: 26rpx; | 
														
													
														
															
																|  |  | margin-right: 10rpx; |  |  | margin-right: 10rpx; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
												
													
														
															
																|  | @ -144,7 +147,7 @@ export default { | 
														
													
														
															
																|  |  | color: #fff; |  |  | color: #fff; | 
														
													
														
															
																|  |  | text-align: right; |  |  | text-align: right; | 
														
													
														
															
																|  |  | text { |  |  | text { | 
														
													
														
															
																|  |  | color: $gray; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | color: $uni-text-color-grey; | 
														
													
														
															
																|  |  | font-size: 25rpx; |  |  | font-size: 25rpx; | 
														
													
														
															
																|  |  | padding-right: 10rpx; |  |  | padding-right: 10rpx; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
												
													
														
															
																|  | @ -168,6 +171,6 @@ export default { | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | .active { |  |  | .active { | 
														
													
														
															
																|  |  | color: $red!important; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | color: $uni-color-primary!important; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | </style> |  |  | </style> |