mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 21:36:45 +08:00
弹窗实现
This commit is contained in:
@@ -175,7 +175,9 @@
|
|||||||
<text class="text">说明</text>
|
<text class="text">说明</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="body_down">
|
<view class="body_down">
|
||||||
|
<view class="text_ele">
|
||||||
请各位选课的同学提前阅读本课程的 “教学大纲与计划”、“课程考核要求”与“学习要求”,并按给定的中学化学教学主题分好小组每位同学在网上学习的活动轨迹都会自动被系统记录將作为大家个人线上参与的评价依据;请大家务必......
|
请各位选课的同学提前阅读本课程的 “教学大纲与计划”、“课程考核要求”与“学习要求”,并按给定的中学化学教学主题分好小组每位同学在网上学习的活动轨迹都会自动被系统记录將作为大家个人线上参与的评价依据;请大家务必......
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="body_item">
|
<view class="body_item">
|
||||||
@@ -266,7 +268,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item_check">
|
<view class="item_check">
|
||||||
<u-checkbox-group>
|
<u-checkbox-group>
|
||||||
<u-checkbox v-model="checked" shape="square" label="下次进入不在弹窗"></u-checkbox>
|
<u-checkbox v-model="checked" :checked="isChecked" shape="square" label="下次进入不在弹窗" @change="checkedBox"></u-checkbox>
|
||||||
</u-checkbox-group>
|
</u-checkbox-group>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -290,6 +292,7 @@
|
|||||||
planDown: false,
|
planDown: false,
|
||||||
upContent: false,
|
upContent: false,
|
||||||
checked: false,
|
checked: false,
|
||||||
|
isChecked: false,
|
||||||
learnModal: false,
|
learnModal: false,
|
||||||
Applistatus:'',
|
Applistatus:'',
|
||||||
autonomyStatusShow: false,
|
autonomyStatusShow: false,
|
||||||
@@ -432,9 +435,14 @@
|
|||||||
},
|
},
|
||||||
onLearnModal() {
|
onLearnModal() {
|
||||||
this.learnModal = true
|
this.learnModal = true
|
||||||
|
this.isChecked = localStorage.getItem("checkedTrue") === "false"
|
||||||
|
},
|
||||||
|
checkedBox(value){
|
||||||
|
this.checked = value
|
||||||
},
|
},
|
||||||
outLearnModal() {
|
outLearnModal() {
|
||||||
this.learnModal = false
|
this.learnModal = false
|
||||||
|
localStorage.setItem("checkedTrue",!this.checked)
|
||||||
},
|
},
|
||||||
reSetList() {
|
reSetList() {
|
||||||
this.studyList.forEach(item=>{
|
this.studyList.forEach(item=>{
|
||||||
@@ -728,6 +736,12 @@
|
|||||||
if (this.tabIndex == 1 && this.studyList.length == 0) {
|
if (this.tabIndex == 1 && this.studyList.length == 0) {
|
||||||
this.getLearning()
|
this.getLearning()
|
||||||
} else if (this.tabIndex == 2) {
|
} else if (this.tabIndex == 2) {
|
||||||
|
if(localStorage.getItem("checkedTrue")!=null){
|
||||||
|
this.learnModal = localStorage.getItem("checkedTrue") === "true"
|
||||||
|
this.isChecked = localStorage.getItem("checkedTrue") === "false"
|
||||||
|
}else{
|
||||||
|
this.learnModal = true
|
||||||
|
}
|
||||||
//this.history()
|
//this.history()
|
||||||
} else if (this.tabIndex == 0 && this.couresList.length == 0) {
|
} else if (this.tabIndex == 0 && this.couresList.length == 0) {
|
||||||
this.loadBoeData()
|
this.loadBoeData()
|
||||||
@@ -1010,7 +1024,7 @@
|
|||||||
padding: 40rpx 28rpx 32rpx 40rpx;
|
padding: 40rpx 28rpx 32rpx 40rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
.name{
|
.name{
|
||||||
height: 44rpx;
|
// height: 44rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -1018,7 +1032,8 @@
|
|||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
.job{
|
.job{
|
||||||
height: 40rpx;
|
// height: 40rpx;
|
||||||
|
flex-wrap: wrap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -1135,7 +1150,17 @@
|
|||||||
border-radius: 8rpx;
|
border-radius: 8rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #333333;
|
text-align: left;
|
||||||
|
.text_ele{
|
||||||
|
overflow: hidden;
|
||||||
|
word-break:break-all;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
display: -webkit-box;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
-webkit-line-clamp: 6;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.body_plan{
|
.body_plan{
|
||||||
margin: 32rpx 30rpx 30rpx 28rpx;
|
margin: 32rpx 30rpx 30rpx 28rpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user