123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <template>
- <view class="schedule">
- <view class="list">
- <view class="item" v-for="(item,index) in list" :key="index">
- <zs-img :src="item.img" width="164rpx" height="164rpx" radius='full'></zs-img>
- <view class="info">
- <view class="title">
- 少儿编程培训基础班
- </view>
- <view class="types">
- AI培训 | 编程
- </view>
- <progress :percent="item.progress" activeColor="#9DC1FF" border-radius="3px" show-info />
- </view>
-
- <image class="play" src="../static/play.png" mode=""></image>
- </view>
-
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list:[
- {
- img:'https://gd-hbimg.huaban.com/5519accd3d95a5f992bd2f485fa5ca04c9af67be56754-gus75N_fw658webp',
- progress:30
-
- },
- {
- img:'https://gd-hbimg.huaban.com/e1dff5990532ceefe53fbab078101782d089733d178e7-PrqgOk_fw658webp',
- progress:45
- },
- {
- img:'https://gd-hbimg.huaban.com/f6c02f600c1de991ba0e457c263f70d076c61cb535e9c-Yi5djy',
- progress:87
-
- },
- {
- img:'https://gd-hbimg.huaban.com/e893b5ded9bcba900a5dde2dabe09d1cf8b4fa43a31c4-usH1ui_fw658webp',
- progress:32
-
- }
- ]
- }
- },
- }
- </script>
- <style lang="scss" scoped>
- .schedule{
- .list{
- padding: 0 30rpx;
- .item{
- background: #fff;
- padding: 20rpx;
- border-radius: 16rpx;
- display: flex;
- margin-bottom: 20rpx;
- box-shadow: 0rpx 0rpx 24rpx 2rpx rgba(0,0,0,0.06);
- .icon{
- width: 164rpx;
- height: 164rpx;
- }
- .info{
- margin-left: 20rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- flex: 1;
- .title{
- font-size: 28rpx;
- font-weight: bold;
- color: #0F0F0F;
- }
- .types{
- font-size: 24rpx;
- font-weight: 400;
- color: #999999;
- }
- progress{
- color: #999999;
- }
-
- }
- .play{
- width: 40rpx;
- height: 40rpx;
- align-self: center;
- }
- }
- }
-
- }
- </style>
|