123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <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/activity/bg2.png" mode="aspectFill"></image>
- </view>
- <view class="right">
- <view class="title">
- <view class="tag bqZ-font">类型</view>
- <text class="three-font" style="font-weight: 600;">这里是活动标题标题标题标题标题</text>
- </view>
- <view class="introduce">
- 活动描述活动描述活动描述活动描述活动描述活动描述活动描述
- </view>
- <view class="operate">
- <view class="left">
- <view class="money fNum-font"><text class="three-font">¥</text> 188</view>
- <view class="person">已报名123人</view>
- </view>
-
- <view class="Oright">
- <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: 160rpx;
- height: 160rpx;
- image {
- width: 100%;
- height: 100%;
- border-radius: 10rpx;
- }
- }
- .right {
- padding-left: 15px;
- flex: 1;
- display: flex;
- flex-direction: column;
- // align-content: flex-end;
- justify-content: space-between;
- .title {
- display: flex;
- align-items: center;
-
- margin-bottom: 5px;
- .tag {
- border: 1px #00b2b6 solid;
- // font-size: 20rpx;
- width: 64rpx;
- height: 38rpx;
- display: flex;
- white-space: nowrap;
- justify-content: center;
- align-items: center;
- padding: 1rpx 4rpx;
- 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;
- align-items: baseline;
- // margin-top: 15px;
- .left {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: baseline;
- width: 260rpx;
- .money {
- color: #FFA338;
- font-weight: bold;
- font-size: 36rpx;
- line-height: 20px;
- }
- .person {
- color: #00000099;
- font-size: 24rpx;
- // margin-left: 6px;
- }
- }
- .Oright {
- width: 80px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- // flex-direction: row;
- // justify-content: space-around;
- // align-items: flex-end;
- .text {
- font-size: 24rpx;
- color: #3081E8;
- }
- .arrow {
- display: flex;
- justify-content: center;
- margin-top: 5rpx;
- image{
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- }
- }
- }
- }
- </style>
|