index.wxss 1.14 KB
Newer Older
张杰's avatar
张杰 committed
1 2 3
/* pages/home/parents/index.wxss */

@import '../teacher/index.wxss'
张杰's avatar
张杰 committed
4

张杰's avatar
张杰 committed
5 6 7 8 9 10
.timeline-cell {
  /* position: relative; */
  /* height: 400rpx; */
  display: flex;
  flex-direction: row;
  /* background-color: rgb(149, 240, 198); */
张杰's avatar
张杰 committed
11
}
张杰's avatar
张杰 committed
12

张杰's avatar
张杰 committed
13 14 15 16 17 18
.top_logo{
  /* position:fixed;
  top: 0rpx;
  right: 32rpx; */
  height:55rpx;
  width: 104rpx;
张杰's avatar
张杰 committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
}

.timeline-line-container {
  position: relative;
  /* background-color: white; */
  width: 30px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  /* background-color: rgb(42, 110, 78); */
}

.timeline-line {
  position: absolute;
  background-color: #dcddde;
  /* background-color: red; */
  width: 2px;
  left: 15px;
  top: 0px;
  bottom: 0px;
}
/* 时间轴的圈圈 */
.timeline-cycle {
  position: absolute;
  width: 15px;
  height: 15px;
  left: calc((30px - 15px) / 2);
  top: 55rpx;
}

.timeline-content {
张杰's avatar
张杰 committed
50
  /* flex-grow: 1; */
张杰's avatar
张杰 committed
51 52 53 54
  margin-top: 10px;
  margin-left: 4px;
  margin-bottom: 10px;
  margin-right: 10px;
张杰's avatar
张杰 committed
55
  width: 660rpx;
张杰's avatar
张杰 committed
56 57 58 59 60 61 62
  /* background-color: red; */
}

.timeline-content-detail {
  margin-left:60rpx;
  margin-right:60rpx;
  margin-bottom:10rpx;
张杰's avatar
张杰 committed
63 64 65 66 67 68
}

.more-text {
  text-align: center;
  height: 40rpx;
  line-height: 40rpx;
张杰's avatar
张杰 committed
69
}