12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template>
- <!-- 信息 -->
- <view class="card_information">
- <view v-if="list.length > 0">
- <view class="card_dinay" v-for="(item,index) in list" :key="index">
- <view class="item_title_dge">
- <view class="item_dinay_title">{{item.title}}</view>
- <u-badge bgColor="#f56c6c" :isDot="true" type="success"></u-badge>
- </view>
- <view class="item_title1">{{item.title1}}</view>
- <view class="card_line">
- <u-line color="#d7d7d7"></u-line>
- </view>
- <view class="space_between">
- <view class="item_title1">订单编号:{{item.code}}</view>
- <u-icon name="arrow-right"></u-icon>
- </view>
- </view>
- </view>
- <view class="empty_information" v-else>
- <u-empty mode="message"></u-empty>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: [],
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .card_information {
- padding-top: var(--status-bar-height);
- margin: 0rpx 20rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .card_dinay {
- width: calc(100% - 40rpx);
- margin-top: 20rpx;
- border: 1rpx solid #d7d7d7;
- border-radius: 8rpx;
- padding: 30rpx 20rpx;
- }
- .item_title_dge {
- position: relative;
- display: flex;
- }
- .item_dinay_title {
- font-size: 40rpx;
- font-weight: 500;
- margin-bottom: 20rpx;
- }
- .item_title1 {
- font-size: 26rpx;
- color: #7f7f7f;
- }
- .card_line {
- margin: 20rpx 0rpx;
- }
- .empty_information {
- padding-top: 40%;
- }
- </style>
|