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

View File

@ -2,7 +2,7 @@
<template>
<s-layout title="售后进度">
<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>
</view>
</view>
@ -50,8 +50,5 @@
.log-box {
padding: 24rpx 24rpx 24rpx 40rpx;
background-color: #fff;
.log-content-box {
align-items: stretch;
}
}
</style>