123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <template>
- <view>
- <statusBar :item="navBarData"></statusBar>
- <view class="activeBox" v-for="i in 5" :key="i">
- <view class="teaching_case">
- <view class="img">
- <image src="../../static/mine/Rectangle 23.png" mode="aspectFill"></image>
- </view>
- <view class="right">
- <view class="title">
- <view class="tag">类型</view>
- <text>这里是教研室标题标题标题标题标题</text>
- </view>
- <view class="introduce">
- 详细介绍详细介绍详细介绍详细介绍详细介绍详细介绍详细介绍详细介绍
- </view>
- <view class="operate">
- <view class="left">
- <view class="leftCollect">
- <view class="icon">
- <image src="../../static/mine/Collect_yellow.png" mode="aspectFill"></image>
- </view>
- <view class="text">
- <span>收藏</span>
- </view>
- </view>
- <view class="leftSubscribe">
- <view class="icon">
- <image src="../../static/mine/Subscribe_gray.png" mode="aspectFill"></image>
- </view>
- <view class="text">
- <span>订阅</span>
- </view>
- </view>
- </view>
- <view class="right">
- <view class="text">查看详情</view>
- <view class="arrow">
- <image src="../../static/mine/arrow-right-blue.png" mode="aspectFill"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- navBarData: {
- title: '我的教研室',
- btn: 1
- },
- };
- }
- }
- </script>
- <style lang="scss">
- .activeBox {
- width: 100%;
- background-color: #fff;
- padding: 10px 0;
- .teaching_case {
- display: flex;
- justify-content: space-between;
- padding: 0 15px;
- .img {
- width: 180rpx;
- height: 180rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .right {
- padding-left: 15px;
- flex: 1;
- width: 100rpx;
- display: flex;
- flex-direction: column;
- align-content: flex-end;
- .title {
- display: flex;
- margin-bottom: 5px;
- .tag {
- border: 1px #00b2b6 solid;
- font-size: 20rpx;
- display: flex;
- white-space: nowrap;
- justify-content: center;
- align-items: center;
- padding: 2px 4px;
- border-radius: 3px;
- margin-right: 10rpx;
- color: #00b2b6;
- }
- text {
- width: 180px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- .introduce {
- width: 230px;
- font-size: 28rpx;
- color: #a7a7a7;
- margin-top: 8px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .operate {
- display: flex;
- justify-content: space-between;
- align-items: flex-end;
- margin-top: 15px;
- .left {
- display: flex;
- flex-direction: row;
- // justify-content: space-between;
- width: 260rpx;
- color: #00000099;
- font-size: 24rpx;
- .leftCollect {
- display: flex;
- align-items: flex-end;
- margin-right: 15px;
- .text{
- display: flex;
- margin-left: 5px;
- }
- .icon{
- display: flex;
- image{
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- .leftSubscribe {
- display: flex;
- align-items: flex-end;
- // margin-left: 15px;
- .text{
- display: flex;
- margin-left: 5px;
- }
- .icon{
- display: flex;
- image{
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- }
- .right {
- width: 80px;
- // height: 24px;
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- align-items: flex-end;
- .text {
- font-size: 24rpx;
- color: #3081E8;
- }
- .arrow {
- line-height: 10px;
- image{
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- }
- }
- }
- }
- </style>
|