@@ -66,12 +66,11 @@
position: relative;
padding: 14Px;
height: 100%;
- overflow-y: auto;
+ overflow: hidden;
.item {
display: flex;
justify-content: space-between;
- align-items: center;
font-size: 14px;
font-weight: 600;
color: #333;
@@ -183,11 +183,11 @@ export default defineComponent({
}
);
const handleOpenPlay = (item: any) => {
- if (!item.containMaterial) {
- showToast('暂无资源');
- return;
- }
if (item.id) {
+ if (!item.containMaterial) {
+ showToast('暂无资源');
+ return;
+ }
localStorage.setItem('lastTime', item.id);
const query = queryString.stringify({
id: item.id,
@@ -199,6 +199,7 @@
.popup {
background: rgba(0, 0, 0, 0.5);
+ box-shadow: -5px 0 10px 0 rgba(0, 0, 0, 0.1);
.overlayClass {
@@ -123,7 +123,7 @@ export default defineComponent({
data.knowledgePointList = res.data.map((item: any) => {
return {
...item,
- url: item.coverImg
+ url: item.type === 'SONG' ? 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687916228530.png' : item.coverImg
};
});