暂存
This commit is contained in:
@@ -66,8 +66,11 @@
|
||||
<view class="" v-html="curriculumData.questions"></view>
|
||||
<view class="haveAnswer" v-if="myAnswer.id">
|
||||
<!-- 有答案 -->
|
||||
<view class="PM_font flex_box flex_between" style="padding: 20rpx; align-items: center;">
|
||||
<text style="padding: 20rpx 0; font-size: 40rpx; color: #333">我的见解</text>
|
||||
<view class=" flex_box flex_between" style="padding: 20rpx; align-items: center;">
|
||||
<view class="">
|
||||
<text class="PM_font" style="padding: 20rpx 0; font-size: 40rpx; color: #333">我的见解</text>
|
||||
<text class="classLink" @click="gotoClass(classList[0])" v-if="classList[0].id">@{{classList[0].title}}</text>
|
||||
</view>
|
||||
<view class="rightBtn" @click="showBlank(myAnswer)" v-if="myAnswer.scoreSuccess == 0 && myAnswer.scoreInfo == ''">
|
||||
<text>修改</text>
|
||||
</view>
|
||||
@@ -104,9 +107,10 @@
|
||||
</view>
|
||||
<view class="welc">
|
||||
<text>欢迎留下你的见解</text>
|
||||
<text v-if="classList.length > 0" class="className1" @click="gotoClass(classList[0])" >提交到{{classList[0].title}}</text>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<text @click="showBlank()">写见解</text>
|
||||
<view class="flex_box flex_center " style="align-items: center;">
|
||||
<text class="btn" @click="showBlank()">写见解</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -365,6 +369,11 @@
|
||||
}
|
||||
this.showEditBlank = true
|
||||
},
|
||||
gotoClass(item){
|
||||
uni.navigateTo({
|
||||
url: `/pages/miniClass/classInfo?id=${item.id}`
|
||||
});
|
||||
},
|
||||
closePup() {
|
||||
this.showEditBlank = false
|
||||
this.answerForm = {
|
||||
@@ -796,7 +805,7 @@
|
||||
checkDisable() {
|
||||
console.log("点击了");
|
||||
},
|
||||
// 判断用户是否加入了小班 小班列表为0 表示已经加入
|
||||
// 判断用户是否加入了小班
|
||||
getClassList(){
|
||||
$http.request({
|
||||
url: '/common/class/getClassByUser',
|
||||
@@ -937,34 +946,7 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "@/style/mixin.scss";
|
||||
// .page-body {
|
||||
// height: calc(100vh - var(--window-top) - var(--status-bar-height));
|
||||
// }
|
||||
|
||||
// .wrapper {
|
||||
// height: 100%;
|
||||
// }
|
||||
|
||||
// .editor-wrapper {
|
||||
// height: calc(100vh - var(--window-top) - var(--status-bar-height) - 140px);
|
||||
// background: #fff;
|
||||
// }
|
||||
|
||||
// .iconfont {
|
||||
// display: inline-block;
|
||||
// padding: 8px 8px;
|
||||
// width: 24px;
|
||||
// height: 24px;
|
||||
// cursor: pointer;
|
||||
// font-size: 20px;
|
||||
// }
|
||||
|
||||
// .toolbar {
|
||||
// box-sizing: border-box;
|
||||
// border-bottom: 0;
|
||||
// font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
||||
// }
|
||||
@import "@/style/mixin.scss";
|
||||
|
||||
.ql-container {
|
||||
box-sizing: border-box;
|
||||
@@ -1043,6 +1025,7 @@
|
||||
// border-bottom: 1px solid #eee;
|
||||
.welc{ display: block; border-top: 1px solid #eee; margin-bottom: 20rpx; padding-top: 20rpx;}
|
||||
.lockView{display: none;}
|
||||
.className1{color: #06c;}
|
||||
.btn {
|
||||
display: inline-block;
|
||||
border-radius: 20rpx;
|
||||
@@ -1117,7 +1100,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.classLink{color: #06c;}
|
||||
.coursePart {
|
||||
margin-top: 20rpx;
|
||||
@include ptop_bottm(10px);
|
||||
|
||||
Reference in New Issue
Block a user