课程价格重新写
This commit is contained in:
@@ -63,22 +63,15 @@
|
||||
<text>正在学习</text>
|
||||
</view>
|
||||
<view class="learn flexbox">
|
||||
<view class="item">
|
||||
<view class="">
|
||||
<image src="../../static/video.jpg" mode="aspectFit"></image>
|
||||
<view class="item" v-for="(item, index) in learnList" :key="index" @click="onPageJump('/pages/course/myCourseLearn',item.id)">
|
||||
<view class="img" style="overflow: hidden;">
|
||||
<image v-if="item.image && item.image != ''" :src="item.image" mode="aspectFit"></image>
|
||||
<image v-else src="/static/nobg.jpg" mode="widthFix"></image>
|
||||
</view>
|
||||
<view class="txt555">
|
||||
生理试听生理试听生理试听生理试听生理试听生理试听生理试听生理试听
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="">
|
||||
<image src="../../static/video.jpg" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="txt555">
|
||||
生理试听
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -528,10 +521,16 @@
|
||||
},
|
||||
newsClick(item) {
|
||||
console.log('item', item)
|
||||
// if(item.type == 1){
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/news/newsForwebview?newsId=${item.id}&url=${item.url}&type=${item.type}`
|
||||
// })
|
||||
// }else{
|
||||
uni.navigateTo({
|
||||
url: `/pages/news/news?newsId=${item.id}&url=${item.url}&type=${item.type}`
|
||||
})
|
||||
// }
|
||||
// }
|
||||
},
|
||||
openURL(url) {
|
||||
// #ifdef APP-PLUS
|
||||
@@ -695,7 +694,7 @@
|
||||
z-index: 1;
|
||||
|
||||
.item {
|
||||
background: rgba(255, 255, 255, .6);
|
||||
background: rgba(255, 255, 255, .9);
|
||||
margin-bottom: 20rpx;
|
||||
border: 1px solid #fff;
|
||||
align-items: center;
|
||||
@@ -1001,11 +1000,15 @@
|
||||
@include pleft_right(10px);
|
||||
@include mshadow(10px, 1);
|
||||
margin-bottom: 10px;
|
||||
|
||||
.img{
|
||||
width: 100%; height: 180rpx;
|
||||
background-color: #f7f7f7;
|
||||
display: flex; align-items: center;
|
||||
}
|
||||
.learn {
|
||||
justify-content: space-between;
|
||||
margin-top: 20rpx;
|
||||
|
||||
flex-wrap: wrap;
|
||||
.item {
|
||||
width: 48%;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user