fix: 售后进度小程序样式修复

pull/8/head
kele 2023-01-14 10:35:44 +08:00
parent a76fd9ee03
commit c6bd290f8e
2 changed files with 31 additions and 29 deletions

View File

@ -1,4 +1,5 @@
<template> <template>
<view class="log-item ss-flex">
<view class="log-icon ss-flex-col ss-col-center ss-m-r-20"> <view class="log-icon ss-flex-col ss-col-center ss-m-r-20">
<text class="cicon-title" :class="index === 0 ? 'activity-color' : ''"></text> <text class="cicon-title" :class="index === 0 ? 'activity-color' : ''"></text>
<view v-if="data.length - 1 != index" class="line"></view> <view v-if="data.length - 1 != index" class="line"></view>
@ -26,6 +27,7 @@
</view> </view>
<view class="date">{{ item.create_time }}</view> <view class="date">{{ item.create_time }}</view>
</view> </view>
</view>
</template> </template>
<script setup> <script setup>
import sheep from '@/sheep'; import sheep from '@/sheep';
@ -52,6 +54,9 @@
}); });
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.log-item {
align-items: stretch;
}
.log-icon { .log-icon {
height: inherit; height: inherit;
.cicon-title { .cicon-title {

View File

@ -2,7 +2,7 @@
<template> <template>
<s-layout title="售后进度"> <s-layout title="售后进度">
<view class="log-box"> <view class="log-box">
<view class="log-content-box ss-flex" v-for="(item, index) in state.info" :key="item.title"> <view v-for="(item, index) in state.info" :key="item.title">
<log-item :item="item" :index="index" :data="state.info"></log-item> <log-item :item="item" :index="index" :data="state.info"></log-item>
</view> </view>
</view> </view>
@ -50,8 +50,5 @@
.log-box { .log-box {
padding: 24rpx 24rpx 24rpx 40rpx; padding: 24rpx 24rpx 24rpx 40rpx;
background-color: #fff; background-color: #fff;
.log-content-box {
align-items: stretch;
}
} }
</style> </style>