样式调整

dev
Tuzki 2 years ago
parent bf42b6fae7
commit 03aaa450bc
  1. 34
      pages/daolan/zhdl.vue

@ -25,16 +25,19 @@
<cover-view class="content">
{{ pointData.cname }}
</cover-view>
<cover-view v-if="plays && pointData.voiceurl" @click.stop="play(pointData.voiceurl)" class="play-stop">
<cover-image style="width: 30rpx; height: 30rpx; padding: 10rpx" src="../../static/img/icon_play.png"></cover-image>
<cover-view>语音讲解</cover-view>
</cover-view>
<cover-view v-if="!plays" @click.stop="pause()" class="play-stop">
<cover-image style="width: 30rpx; height: 30rpx; padding: 10rpx" src="../../static/img/icon_stop.png"></cover-image>
<cover-view>语音讲解</cover-view>
</cover-view>
</cover-view>
<cover-view class="go-detail">查看详情>>></cover-view>
<cover-view v-if="plays && pointData.voiceurl" @click.stop="play(pointData.voiceurl)" class="play-stop">
<cover-image style="width: 30rpx; height: 30rpx; padding: 10rpx" src="../../static/img/icon_play.png"></cover-image>
<cover-view>语音讲解</cover-view>
</cover-view>
<cover-view v-else-if="!plays" @click.stop="pause()" class="play-stop">
<cover-image style="width: 30rpx; height: 30rpx; padding: 10rpx" src="../../static/img/icon_stop.png"></cover-image>
<cover-view>语音讲解</cover-view>
</cover-view>
<cover-view v-else="!pointData.voiceurl" class="play-stop no-audio">
<cover-view>暂无讲解</cover-view>
</cover-view>
<!-- <cover-view class="go-detail">查看详情>>></cover-view> -->
<!-- <cover-view > -->
<!-- <mp-html :content="pointData.content"/> -->
<!-- {{pointData.content.substring(0, 30)}} -->
@ -135,8 +138,8 @@ export default {
console.log(val);
},
//
closeThis(){
this.showCover = false
closeThis() {
this.showCover = false;
},
// 线
getLineData() {
@ -405,7 +408,7 @@ export default {
}
});
this_.covers = this_.allPointData;
this_.cloudPoints = this_.allPointData;
// this_.cloudPoints = this_.allPointData;
}
},
//
@ -477,7 +480,7 @@ map {
margin: 0 10px;
font-size: 36rpx;
display: inline-flex;
max-width: 20vw;
max-width: 50vw;
text-overflow: ellipsis;
overflow: hidden;
}
@ -551,6 +554,11 @@ map {
padding: 3rpx 20rpx 3rpx 0;
border-radius: 10rpx;
font-size: 24rpx;
margin-top: 25rpx;
margin-left: 15rpx;
}
.no-audio{
padding: 13rpx 20rpx;
}
.go-detail {
margin-top: 20rpx;

Loading…
Cancel
Save