123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <template>
- <view class="content">
- <view v-for="(item, index) in list" :key="index" class="order-item flex">
- <view class="title-box flex_item">
- <view class="title-avatar">
- <image src="../../static/icon/sh-log.png"></image>
- </view>
- <view class="list_tpl">
- <view class="title">
- <view class="title-name ">我的好强儿</view>
- </view>
- <view class="time">
- <text>2020-12-12</text>
- </view>
- </view>
- <view class="money">
- <text>未通过</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: 10
- }
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- .content {
- background-color: #fff;
- }
- .sq-item {
- height: 118rpx;
- border-top: 1px solid #F0F0F0;
- width: 690rpx;
- margin: auto;
- &:first-of-type {
- border-top: none;
- }
- }
- .order-item {
- padding: 20rpx 30rpx;
- line-height: 1.5;
- height: 118rpx;
- border-top: 1px solid #F0F0F0;
- width: 690rpx;
- margin: auto;
- &:first-of-type {
- border-top: none;
- }
- .title-box {
- width: 100%;
- .title-avatar {
- flex-shrink: 0;
- width: 55rpx;
- height: 55rpx;
- margin-right: 25rpx;
- border-radius: 100%;
- image {
- width: 100%;
- height: 100%;
- border-radius: 100%;
- }
- }
- .list_tpl {
- width: 85%;
- .title {
- display: flex;
- justify-content: flex-start;
- font-size: $font-lg;
- color: $font-color-base;
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap;
- line-height: 1;
- text-align: center;
- .title-name {
- max-width: 40%;
- }
- .dl {
- margin-left: 10rpx;
- width: 93rpx;
- height: 32rpx;
- border-radius: 16rpx;
- image {
- width: 93rpx;
- height: 32rpx;
- border-radius: 16rpx;
- }
- }
- .class {
- display: inline-block;
- margin-left: 10rpx;
- padding: 6rpx;
- text-align: center;
- border: 1px solid #2e58ff;
- border-radius: 16rpx;
- font-size: 20rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #2e58ff;
- }
- }
- .time {
- font-size: $font-base;
- color: $font-color-light;
- }
- }
- }
- .money {
- width: 50%;
- text-align: right;
- color: #333;
- font-size: $font-lg;
- }
- }
- </style>
|