修改
This commit is contained in:
parent
adf43d4575
commit
0ba28ae2cc
@ -23,6 +23,10 @@
|
|||||||
info() {
|
info() {
|
||||||
selectNurseAppletPersonTrainingItemDetailsList(this.trainingItemId, this.nurseStationPersonId).then(
|
selectNurseAppletPersonTrainingItemDetailsList(this.trainingItemId, this.nurseStationPersonId).then(
|
||||||
res => {
|
res => {
|
||||||
|
res.data.trainingItemContent = res.data.trainingItemContent.replace(/\<img/gi,
|
||||||
|
"<br/> <img class='richPic'")
|
||||||
|
res.data.trainingItemContent = res.data.trainingItemContent.replace(/\<p/gi,
|
||||||
|
"<p class='ptext'")
|
||||||
this.list = res.data
|
this.list = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -45,8 +49,34 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-content {
|
/deep/ .ptext {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ptext:nth-child(1) {
|
||||||
|
text-indent: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-small {
|
||||||
|
font-size: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-large {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-huge {
|
||||||
|
font-size: 46rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .richPic {
|
||||||
|
width: 100% !important;
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.u-content {
|
||||||
|
margin: 15rpx auto;
|
||||||
|
width: 96%;
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
margin-top: 15rpx;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
开始播放
|
开始播放
|
||||||
</view>
|
</view>
|
||||||
<view class="play" @tap='videoplay(item)'
|
<view class="play" @tap='videoplay(item)'
|
||||||
:style="item.itemDirectoryWatchStatus=='WATCHED'?'background-color: #4271B9;color:#3D7DCA':''"
|
:style="item.itemDirectoryWatchStatus=='WATCHED'?'background-color: #E3EAF5;color:#3D7DCA':''"
|
||||||
v-if="item.itemDirectoryWatchStatus=='WATCHED'">
|
v-if="item.itemDirectoryWatchStatus=='WATCHED'">
|
||||||
继续播放
|
继续播放
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
page {
|
|
||||||
|
page {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6,17 +7,44 @@ page {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
||||||
::v-deep .u-tabs {
|
::v-deep .u-tabs {
|
||||||
width: 70% !important;
|
width: 70% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 30rpx 15rpx 200rpx;
|
width: 96%;
|
||||||
background-color: #fff;
|
margin: 0 auto;
|
||||||
|
// padding: 30rpx 15rpx 200rpx;
|
||||||
|
// background-color: #fff;
|
||||||
|
// text-indent: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ptext {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ptext:nth-child(1) {
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-small {
|
||||||
|
font-size: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-large {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-huge {
|
||||||
|
font-size: 46rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .richPic {
|
||||||
|
width: 100% !important;
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
.directory {
|
.directory {
|
||||||
padding-bottom: 200rpx;
|
padding-bottom: 200rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@ -128,6 +156,7 @@ page {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-bottom: 40rpx;
|
padding-bottom: 40rpx;
|
||||||
|
|
||||||
.toptitle {
|
.toptitle {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
@ -139,7 +168,7 @@ page {
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin: 31rpx 56rpx 0 ;
|
margin: 31rpx 56rpx 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -211,6 +211,10 @@
|
|||||||
//主信息
|
//主信息
|
||||||
infos() {
|
infos() {
|
||||||
selectNurseAppletPersonTrainingParent(this.trainingParentId, this.nurseStationPersonId).then(res => {
|
selectNurseAppletPersonTrainingParent(this.trainingParentId, this.nurseStationPersonId).then(res => {
|
||||||
|
res.rows[0].trainingItemContent = res.rows[0].trainingItemContent.replace(/\<img/gi,
|
||||||
|
"<br/> <img class='richPic'")
|
||||||
|
res.rows[0].trainingItemContent = res.rows[0].trainingItemContent.replace(/\<p/gi,
|
||||||
|
"<p class='ptext'")
|
||||||
this.infoslist = res.rows[0]
|
this.infoslist = res.rows[0]
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user