diff --git a/pages.json b/pages.json index 8b53c83..1e2f21c 100644 --- a/pages.json +++ b/pages.json @@ -378,7 +378,7 @@ "path": "pages/course/chapterDetailAndorid", "style": { "navigationBarTitleText": "章节详情", - "enablePullDownRefresh": true + "enablePullDownRefresh": false } }, { diff --git a/pages/course/chapterDetailAndorid.vue b/pages/course/chapterDetailAndorid.vue index 972c13b..3bf67b0 100644 --- a/pages/course/chapterDetailAndorid.vue +++ b/pages/course/chapterDetailAndorid.vue @@ -1,1188 +1,1611 @@ + @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; + // } + + .ql-container { + box-sizing: border-box; + // padding: 12px 15px; + width: 100%; + min-height: 30vh; + min-height: 300rpx; + + font-size: 14px; + font-style: normal !important; + line-height: 1.5; + overflow-y: scroll; + border:1px solid #eee + } + + .ql-active { + color: #06c; + } + + + .u-grid-list { + // height: 40rpx; + } + + .searchList { + .item { + font-size: 28rpx; + padding: 20rpx; + border-bottom: 1px solid #dadbde; + } + } + + .scroll-view_H { + background-color: #fff; + white-space: nowrap; + padding: 10rpx; + } + + .contentBox { + height: 100vh; + + .statusList { + padding: 10rpx; + box-sizing: border-box; + justify-content: space-between; + + text { + text-align: center; + display: inline-block; + width: 32%; + padding: 20rpx 0; + font-size: 34rpx; + border-radius: 10rpx; + } + + .cur { + background-color: $themeColor; + color: #fff; + box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); + } + } + + .twoCateList { + font-size: 28rpx; + margin-top: 20rpx; + + .grid-text { + padding: 10rpx 0rpx; + text-align: center; + } + + .cur { + color: $themeColor; + } + + // .u-grid-list{border: 0.5px solid #dadbde;} + } + + .dataList { + font-size: 26rpx; + // margin-top: 20rpx; + // padding: 32rpx 0rpx; + border-radius: 10rpx; + background-color: #f8f9fa; + box-sizing: border-box; + + .JFtitleItem { + background-color: #ffffff; + padding: 20rpx 10rpx; + width: 100%; + border-bottom: 0.5px solid #f8f9fa; + } + + .wmzhimg { + width: 220rpx; + height: 220rpx; + } + } + } + + .coursePart { + margin-top: 20rpx; + @include ptop_bottm(10px); + border-radius: 20rpx 20rpx 0 0; + @include pleft_right(10px); + align-items: flex-end; + // @include mshadow(10px, 1); + margin-top: 20rpx; + padding: 0 20rpx; + padding-top: 20rpx; + // background-color: $themeColor; + + .item { + justify-content: center; + align-items: center; + color: #fff; + width: 100%; + text-align: center; + padding: 16rpx 0; + margin-right: 10rpx; + border-radius: 20rpx 20rpx 0 0; + border: 1px solid #fff; + border-bottom: none; + background-color: rgba(0, 0, 0, .4); + + text { + font-size: 30rpx; + } + } + + .item:last-child { + margin-right: 0; + } + + .item.active { + // background-color: #fbfbff; + background-color: $themeColor; + color: #fff; + padding: 20rpx 0 !important; + + text { + font-size: 36rpx !important; + } + } + } +.btn_box { + margin-top: 70rpx; + padding-bottom: 20rpx; + + button { + font-size: 32rpx; + @include theme('btn_bg') color: #fff; + height: 80rpx; + line-height: 80rpx; + border-radius: 50rpx; + } + } + .search_box { + margin: 0 auto; + overflow: hidden; + align-items: center; + width: calc(100% - 10px); + margin-top: 20rpx; + margin-bottom: 20rpx; + + .search { + height: 56upx; + display: flex; + width: 86%; + margin: 0 auto; + align-items: center; + padding: 0upx 40upx; + background-color: #fff; + border-radius: 20upx; + box-shadow: 0 0px 10px 1px $themeColor; + } + + .prompt { + color: #838383; + font-size: 24rpx; + } + + .icon_search { + background-image: url("@/static/icon/map_ic_search.png"); + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + width: 36upx; + height: 36upx; + margin-right: 20upx; + } + } + + .flexbox { + display: flex; + } + + .uni-modal .uni-modal__bd { + text-align: left; + } + + .limiTy { + font-size: 28rpx; + line-height: 46rpx; + } + + .chImage { + height: 100rpx; + } + + .dataList { + height: 100%; + } + + .titleList2 { + height: calc(100% - 150rpx); + } + + .priceDetail { + height: calc(100% - 180rpx) !important; + padding: 0rpx 0; + box-sizing: border-box; + } + + .componentPage { + height: calc(100% - 90rpx) !important; + } + + .dateReminder { + width: 100%; + font-size: 24rpx; + text-align: right; + line-height: 40rpx; + } + + .fdButtonBox { + border: 1rpx solid $themeColor; + background-color: $themeColor; + color: #fff; + // width: 100%; + float: right; + padding: 4rpx 14rpx; + font-size: 24rpx; + font-weight: 500; + line-height: 30rpx; + border-radius: 10rpx; + box-sizing: border-box; + + // margin-top: 20rpx; + // display: flex; + // align-items: center; + } + + .headImage { + // height: 400rpx !important; + } + + .commonDetailPage {} + + .curriulum_box { + margin-top: 20rpx; + width: 100%; + + .curriulum_title_box { + display: flex; + align-items: center; + margin-bottom: 20rpx; + background-color: #fff; + + .curriulum_title { + width: calc(100% - 80rpx); + + font-size: 32rpx; + line-height: 40rpx; + padding: 20rpx; + box-sizing: border-box; + } + } + } + + /deep/.titleItem { + // width: calc(100% - 120rpx) !important; + } + + /deep/.scroll-view-item:nth-child(2n-1) { + background-color: transparent !important; + } + + .dataList { + height: auto !important; + } + + .small_class_teaching_box { + width: 100%; + margin-top: 20rpx; + background: #b7e0e2; + + .small_class_teaching_top { + padding: 20rpx 20rpx 0 10rpx; + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: space-between; + // background: #EDFCF7; + color: #8f8e8e; + + // box-shadow: 0px 0px 6rpx 0px #E9DCCC; + .icon1 { + width: 50rpx; + height: 50rpx; + } + + .small_class_teaching_top_left { + display: flex; + align-items: center; + color: #018f89; + + font-family: MicrosoftYaHei; + } + } + + .small_class_teaching_content { + margin-top: 20rpx; + // background: #EDFCF7; + padding-bottom: 10rpx; + + .top { + padding: 20rpx 20rpx; + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: space-between; + border-bottom: 4rpx solid #fff; + + .top_item { + width: 23%; + font-family: PangMenZhengDaoBiaoTiTiMianFeiBan; + font-weight: normal; + font-size: 34rpx; + color: #018f89; + line-height: 80rpx; + background: #cef8ea; + text-align: center; + border-radius: 10rpx; + box-shadow: 0px 0px 6rpx 0px #e9dccc; + } + } + + .schedule { + width: 100%; + overflow: hidden; + padding: 20rpx 20rpx; + box-sizing: border-box; + align-items: center; + color: #018f89; + + font-family: MicrosoftYaHei; + + .icon_box { + width: 100%; + display: flex; + align-items: center; + margin-bottom: 0rpx; + + .icon1 { + width: 50rpx; + height: 50rpx; + margin-right: 10rpx; + } + } + + .progress_box { + width: 100%; + display: flex; + align-items: center; + position: relative; + + .progress_icon { + width: calc(100% - 240rpx); + } + + .icon1 { + width: 60rpx; + height: 60rpx; + margin: 0 20rpx; + } + + .icon2 { + width: 140rpx; + height: 100rpx; + position: absolute; + right: 0; + // margin-top: -20rpx; + } + } + } + } + } + + .related_courses_box { + background-color: #fff; + + .small_class_teaching_content { + padding: 10rpx 20rpx; + box-sizing: border-box; + } + } + + .related_courses_name { + display: inline-block; + width: calc(100% - 150rpx) !important; + + .aui-text-danger { + display: inline-block; + float: right; + } + } + + .curriculum_box { + .curriculum_title { + padding: 20rpx 40rpx 0; + font-size: 38rpx; + line-height: 66rpx; + font-weight: bold; + text-align: center; + box-sizing: border-box; + margin-bottom: 20rpx; + } + } + + // .common_curriculum_list{ + + .curriculum_content { + background-color: #fff; + padding-bottom: 40rpx; + + .richDetail { + height: auto !important; + margin-bottom: 20rpx; + } + } + + .dianzan_box { + width: calc(100% - 80rpx); + margin: 0 auto; + padding: 20rpx 20rpx; + color: #6e6e6e; + font-weight: 600; + text-align: justify; + background: #f4fffb; + + border-radius: 10rpx; + box-shadow: 0px 0px 6rpx 0px #e9dccc; + } + + .dashang_box { + color: #ff5521; + background: #fff7f4; + box-shadow: 0px 0px 6rpx 0px rgba(255, 85, 33, 0.4); + } + + .correlation_box { + background-color: #fff; + padding-bottom: 40rpx; + + .title { + font-family: PangMenZhengDaoBiaoTiTiMianFeiBan; + font-weight: normal; + font-size: 40rpx; + color: #018f89; + } + + .more { + font-size: 24rpx; + } + + .close { + text-align: center; + color: #b0b0b0; + line-height: 40rpx; + margin-top: 10rpx; + // padding-bottom: 30rpx; + display: flex; + align-items: center; + justify-content: center; + } + } + \ No newline at end of file diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue index e97ede3..bbba9f1 100644 --- a/pages/course/courseDetail.vue +++ b/pages/course/courseDetail.vue @@ -462,47 +462,7 @@ fatherIndex: null, supportFlag: false, selectGoodsData: {}, -<<<<<<< .mine - buyOptions: [], - - - - - - - - - - - - - - - - - - -======= - - buyOptions: [ - // { - // icon: 'chat', - // text: '客服' - // }, - // { - // icon: 'shop', - // text: '店铺', - // // info: 2, - // infoBackgroundColor: '#007aff', - // infoColor: "#f5f5f5" - // }, - // { - // icon: 'cart', - // text: '购物车', - // info: 2 - // } - ], ->>>>>>> .theirs + buyOptions: [], customButtonGroup1: [{ with: 200, text: "立即购买", @@ -769,13 +729,8 @@ if (res.code == 0) { this.getCourseDescriptionData(); // this.$commonJS.showToast(""); -<<<<<<< .mine } -======= - } - ->>>>>>> .theirs this.$forceUpdate(); }); } else { diff --git a/pages/miniClass/taskDetail.vue b/pages/miniClass/taskDetail.vue index 4cfbbef..7798b57 100644 --- a/pages/miniClass/taskDetail.vue +++ b/pages/miniClass/taskDetail.vue @@ -141,6 +141,7 @@