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