|
|
|
@ -14,17 +14,23 @@ |
|
|
|
|
|
|
|
|
|
<ul class="list"> |
|
|
|
|
<li v-for="item in list" @click="toDetail"> |
|
|
|
|
<view class="line thead"> |
|
|
|
|
<view class="text">产品名称</view> |
|
|
|
|
<view class="text">起止日期</view> |
|
|
|
|
<view class="text">订阅状态</view> |
|
|
|
|
<view class="text">产品状态</view> |
|
|
|
|
<view class="pro-name"> |
|
|
|
|
<image class="icon" src="../../static/image/course1.png" mode="widthFix"></image> |
|
|
|
|
{{ item.productName }} |
|
|
|
|
</view> |
|
|
|
|
<view class="line tbody"> |
|
|
|
|
<view class="text">{{ item.productName }}</view> |
|
|
|
|
<view class="text">{{ item.startAndEndTime }}</view> |
|
|
|
|
<view class="text uni-success">{{ item.status }}</view> |
|
|
|
|
<view class="text uni-error">{{ item.isEnable }}</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="line"> |
|
|
|
|
<text class="name">起止日期:</text> |
|
|
|
|
<text class="val">{{ item.startAndEndTime }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="line"> |
|
|
|
|
<text class="name">订阅状态:</text> |
|
|
|
|
<text class="val">{{ item.status }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="line"> |
|
|
|
|
<text class="name">产品状态:</text> |
|
|
|
|
<text class="val">{{ item.isEnable }}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
@ -225,31 +231,39 @@ |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
} |
|
|
|
|
.list { |
|
|
|
|
background-color: #fff; |
|
|
|
|
li { |
|
|
|
|
padding: 20px; |
|
|
|
|
border-bottom: 2px solid #f8f8f8; |
|
|
|
|
padding: 0 24rpx; |
|
|
|
|
margin: 16rpx 24rpx; |
|
|
|
|
background-color: #fff; |
|
|
|
|
border-radius: 16rpx; |
|
|
|
|
} |
|
|
|
|
.pro-name { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
padding: 18rpx 0; |
|
|
|
|
font-size: 30rpx; |
|
|
|
|
color: #333; |
|
|
|
|
border-bottom: 1px solid #E6E8ED; |
|
|
|
|
.icon { |
|
|
|
|
width: 52rpx; |
|
|
|
|
margin-right: 20rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.info { |
|
|
|
|
padding: 12rpx 0; |
|
|
|
|
} |
|
|
|
|
.line { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
padding: 12rpx 0; |
|
|
|
|
} |
|
|
|
|
.text { |
|
|
|
|
width: 30%; |
|
|
|
|
font-size: 14px; |
|
|
|
|
&:first-child { |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
&:nth-child(3), &:last-child { |
|
|
|
|
width: 20%; |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
.name { |
|
|
|
|
margin-right: 10rpx; |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
color: #999; |
|
|
|
|
} |
|
|
|
|
.thead { |
|
|
|
|
.text { |
|
|
|
|
color: #767676; |
|
|
|
|
} |
|
|
|
|
.val { |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
color: #333; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|