En route 1 жил өмнө
parent
commit
a0f2c3a01b

+ 2 - 2
common/config.js

@@ -7,8 +7,8 @@ const test = {
 	tenantId: "867735392558919680", //详粤云学堂
 	appid: "wxd3c8ae80cf43a305", 
 };
-const index = 0; // 测试环境
-// const index = 1; // 祥粤云学堂1 
+// const index = 0; // 测试环境
+const index = 1; // 祥粤云学堂1 
 // const index = 2 // 祥粤学堂
 // const index = 3 // 勘设云学堂1
 // const index = 4 // 中正学堂1

+ 240 - 257
components/course/answerBox.vue

@@ -1,277 +1,260 @@
 <template>
-  <view class="Answering">
-    <view
-      v-for="(item, index) in answerList"
-      :key="index"
-      style="background-color: #ffffff"
-      class="answer_item"
-    >
-      <view class="chat_box" @click.stop="clearCtx">
-        <view style="display: flex; flex: 1">
-          <view
-            ><image
-              :src="
+	<view class="Answering">
+		<view v-for="(item, index) in answerList" :key="index" style="background-color: #ffffff" class="answer_item">
+			<view class="chat_box" @click.stop="clearCtx">
+				<view style="display: flex; flex: 1">
+					<view>
+						<image :src="
                 item.assignUserId > 0 && !item.realname
                   ? '/static/logo_xcx.png'
                   : $method.splitImgHost(item.avatar)
-              "
-              style="width: 64rpx; height: 64rpx"
-            ></image
-          ></view>
-          <view style="margin-left: 15rpx">
-            <view class="chat1">{{
+              " style="width: 64rpx; height: 64rpx"></image>
+					</view>
+					<view style="margin-left: 15rpx">
+						<view class="chat1">{{
               item.assignUserId > 0 && !item.realname
                 ? "祥粤老师"
                 : item.realname
             }}</view>
-            <view class="chat2">{{
+						<view class="chat2">{{
               $method.timestampToTime(item.createTime, false)
             }}</view>
-            <view class="chat3">
-              <text v-if="item.assignUserId > 0">回复</text>
-              <text v-if="item.assignUserId > 0" style="color: #007aff"
-                >@{{ item.assignRealname }}</text
-              >
-              <view style="word-break: break-all">{{ item.answerText }}</view>
-            </view>
-          </view>
-        </view>
-        <view
-          class="btnReply"
-          @click.stop="replyContent(item)"
-          v-if="item.userId != userId"
-          >回复</view
-        >
-        <view v-else class="btnDel" @click.stop="delAnswer(item.answerId)"
-          >删除</view
-        >
-      </view>
-      <u-line color="#D6D6DB" />
-    </view>
-    <view v-if="answerList.length == 0" style="text-align: center"
-      >暂无记录</view
-    >
-    <view class="inputBottom" :style="{ bottom: bottomHeight + 'px' }">
-      <view class="flex_auto">
-        <input
-          v-model="ctxValue"
-          height="60"
-          fixed="true"
-          :focus="isFocus"
-          :placeholder="placeholder"
-          type="text"
-          :custom-style="inputStyle"
-          :adjust-position="false"
-          class="input"
-          @focus="focusNote"
-          @blur="blur"
-        />
-      </view>
-      <view class="btn" @click="postContent">提交</view>
-    </view>
-  </view>
+						<view class="chat3">
+							<text v-if="item.assignUserId > 0">回复</text>
+							<text v-if="item.assignUserId > 0" style="color: #007aff">@{{ item.assignRealname }}</text>
+							<view style="word-break: break-all">{{ item.answerText }}</view>
+						</view>
+					</view>
+				</view>
+				<view class="btnReply" @click.stop="replyContent(item)" v-if="item.userId != userId">回复</view>
+				<view v-else class="btnDel" @click.stop="delAnswer(item.answerId)">删除</view>
+			</view>
+			<u-line color="#D6D6DB" />
+		</view>
+		<view v-if="answerList.length == 0" style="text-align: center">暂无记录</view>
+		<view class="inputBottom" :style="{ bottom: bottomHeight + 'px' }">
+			<view class="flex_auto">
+				<input v-model="ctxValue" height="60" fixed="true" :focus="isFocus" :placeholder="placeholder"
+					type="text" :custom-style="inputStyle" :adjust-position="false" class="input" @focus="focusNote"
+					@blur="blur" />
+			</view>
+			<view class="btn" @click="postContent">提交</view>
+		</view>
+	</view>
 </template>
 
 <script>
-export default {
-  name: "SaasMiniprogramAnswerBox",
-  props: {
-    userId: {
-      type: Number,
-      defaule: 0,
-    },
-  },
-  inject: ["paramsFn"],
-  data() {
-    return {
-      answerList: [],
-      ctxValue: "",
-      isFocus: false,
-      placeholder: "您可以在这里输入答疑内容",
-      inputStyle: {
-        background: "rgba(244, 244, 244, 0.98)",
-        borderRadius: "24rpx",
-        padding: "8rpx",
-        marginBottom: "10rpx",
-      },
-      bottomHeight: 0,
-      assignUserId: 0,
-    };
-  },
+	export default {
+		name: "SaasMiniprogramAnswerBox",
+		props: {
+			userId: {
+				type: Number,
+				defaule: 0,
+			},
+		},
+		inject: ["paramsFn"],
+		data() {
+			return {
+				answerList: [],
+				ctxValue: "",
+				isFocus: false,
+				placeholder: "您可以在这里输入答疑内容",
+				inputStyle: {
+					background: "rgba(244, 244, 244, 0.98)",
+					borderRadius: "24rpx",
+					padding: "8rpx",
+					marginBottom: "10rpx",
+				},
+				bottomHeight: 0,
+				assignUserId: 0,
+			};
+		},
 
-  mounted() {
-    this.getAnswerList();
-  },
+		mounted() {
+			this.getAnswerList();
+		},
 
-  methods: {
-    postContent() {
-      if (!this.ctxValue || this.ctxValue == "") {
-        this.$u.toast("请输入内容");
-        return;
-      }
-      this.postAnswer();
-    },
-    blur() {
-      this.bottomHeight = 0;
-      this.clearTimer = setTimeout(() => {
-        this.ctxValue = "";
-        this.isFocus = false;
-        this.assignUserId = 0;
-        this.placeholder = "您可以在这里输入答疑内容";
-      }, 2000);
-    },
-    focusNote(event) {
-      this.bottomHeight = event.detail.height;
-    },
-    getAnswerList() {
-      this.$api.answerList(this.params).then((res) => {
-        if (res.data.code == 200) {
-          this.answerList = res.data.rows;
-        }
-      });
-    },
-    postAnswer() {
-      let self = this;
-      let data = {
-        answerText: this.ctxValue,
-        ...this.params,
-      };
-      if (this.assignUserId > 0) {
-        data.assignUserId = this.assignUserId;
-      }
-      this.$api.postAnswer(data).then((res) => {
-        if (res.data.code == 200) {
-          this.$u.toast("发布成功");
-          self.getAnswerList();
-          this.isFocus = false;
-          this.placeholder = "您可以在这里输入答疑内容";
-          this.ctxValue = "";
-          this.assignUserId = 0;
-        }
-      });
-    },
-    delAnswer(answerId) {
-      this.$api
-        .delAnswer({
-          answerId: answerId,
-          status: -1,
-          orderGoodsId: this.params.orderGoodsId,
-        })
-        .then((res) => {
-          if (res.data.code == 200) {
-            this.getAnswerList();
-          }
-        });
-    },
-    clearCtx() {
-      this.placeholder = "您可以在这里输入答疑内容";
-      this.ctxValue = "";
-      this.assignUserId = 0;
-    },
-    replyContent(item) {
-      this.isFocus = true;
-      this.assignUserId = item.userId;
-      this.placeholder = "@" + item.realname;
-    },
-  },
-  computed: {
-    params() {
-      return this.paramsFn(["orderGoodsId", "goodsId", "courseId", "gradeId"]);
-    },
-  },
-};
+		methods: {
+			postContent() {
+				if (!this.ctxValue || this.ctxValue == "") {
+					this.$u.toast("请输入内容");
+					return;
+				}
+				this.postAnswer();
+			},
+			blur() {
+				this.bottomHeight = 0;
+				this.clearTimer = setTimeout(() => {
+					this.ctxValue = "";
+					this.isFocus = false;
+					this.assignUserId = 0;
+					this.placeholder = "您可以在这里输入答疑内容";
+				}, 2000);
+			},
+			focusNote(event) {
+				this.bottomHeight = event.detail.height;
+			},
+			getAnswerList() {
+				this.$api.answerList(this.params).then((res) => {
+					if (res.data.code == 200) {
+						this.answerList = res.data.rows;
+					}
+				});
+			},
+			postAnswer() {
+				let self = this;
+				let data = {
+					answerText: this.ctxValue,
+					...this.params,
+				};
+				if (this.assignUserId > 0) {
+					data.assignUserId = this.assignUserId;
+				}
+				this.$api.postAnswer(data).then((res) => {
+					if (res.data.code == 200) {
+						this.$u.toast("发布成功");
+						self.getAnswerList();
+						this.isFocus = false;
+						this.placeholder = "您可以在这里输入答疑内容";
+						this.ctxValue = "";
+						this.assignUserId = 0;
+					}
+				});
+			},
+			delAnswer(answerId) {
+				this.$api
+					.delAnswer({
+						answerId: answerId,
+						status: -1,
+						orderGoodsId: this.params.orderGoodsId,
+					})
+					.then((res) => {
+						if (res.data.code == 200) {
+							this.getAnswerList();
+						}
+					});
+			},
+			clearCtx() {
+				this.placeholder = "您可以在这里输入答疑内容";
+				this.ctxValue = "";
+				this.assignUserId = 0;
+			},
+			replyContent(item) {
+				this.isFocus = true;
+				this.assignUserId = item.userId;
+				this.placeholder = "@" + item.realname;
+			},
+		},
+		computed: {
+			params() {
+				return this.paramsFn(["orderGoodsId", "goodsId", "courseId", "gradeId", "moduleId", "chapterId",
+					"sectionId"
+				])
+			},
+		},
+	};
 </script>
 
 <style lang="scss" scoped>
-.Answering {
-  .answer_item {
-    &:nth-child(2) {
-      border-radius: 16rpx 16rpx 0rpx 0rpx;
-    }
-    &:nth-last-child(1) {
-      border-radius: 0rpx 0rpx 16rpx 16rpx;
-    }
-  }
-}
-.chat_box {
-  display: flex;
-  padding: 20rpx;
-  justify-content: space-between;
-}
-.chat3 {
-  font-size: 30rpx;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #666666;
-  margin-top: 10rpx;
-}
-.chat2 {
-  font-size: 20rpx;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #999999;
-  margin-top: 10rpx;
-}
-.chat1 {
-  font-size: 24rpx;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #333333;
-}
-.btnReply {
-  width: 80rpx;
-  height: 40rpx;
-  background: #e3f0ff;
-  border-radius: 16rpx;
-  text-align: center;
-  color: #007aff;
-}
-.btnDel {
-  width: 80rpx;
-  height: 40rpx;
-  background: #ffedf0;
-  border-radius: 16rpx;
-  text-align: center;
-  color: #ff2d55;
-}
-.btnReply {
-  width: 80rpx;
-  height: 40rpx;
-  background: #e3f0ff;
-  border-radius: 16rpx;
-  font-size: 24rpx;
-}
-.inputBottom {
-  position: fixed;
-  left: 0;
-  bottom: 0;
-  background: #ffffff;
-  height: 98rpx;
-  display: flex;
-  align-items: center;
-  width: 100%;
+	.Answering {
+		.answer_item {
+			&:nth-child(2) {
+				border-radius: 16rpx 16rpx 0rpx 0rpx;
+			}
 
-  .flex_auto {
-    flex: 1;
-    margin-left: 10%;
-    word-break: break-all;
-    // .input {
-    //   height: 60rpx;
-    // }
-  }
+			&:nth-last-child(1) {
+				border-radius: 0rpx 0rpx 16rpx 16rpx;
+			}
+		}
+	}
 
-  .btn {
-    color: #007aff;
-    font-size: 30rpx;
-    font-weight: bold;
-    width: 15%;
-    text-align: center;
-  }
-  .input {
-    background: rgba(244, 244, 244, 0.98);
-    height: 60rpx;
-    border-radius: 24rpx;
-    margin-top: 12rpx;
-  }
-}
-</style>
+	.chat_box {
+		display: flex;
+		padding: 20rpx;
+		justify-content: space-between;
+	}
+
+	.chat3 {
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #666666;
+		margin-top: 10rpx;
+	}
+
+	.chat2 {
+		font-size: 20rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #999999;
+		margin-top: 10rpx;
+	}
+
+	.chat1 {
+		font-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #333333;
+	}
+
+	.btnReply {
+		width: 80rpx;
+		height: 40rpx;
+		background: #e3f0ff;
+		border-radius: 16rpx;
+		text-align: center;
+		color: #007aff;
+	}
+
+	.btnDel {
+		width: 80rpx;
+		height: 40rpx;
+		background: #ffedf0;
+		border-radius: 16rpx;
+		text-align: center;
+		color: #ff2d55;
+	}
+
+	.btnReply {
+		width: 80rpx;
+		height: 40rpx;
+		background: #e3f0ff;
+		border-radius: 16rpx;
+		font-size: 24rpx;
+	}
+
+	.inputBottom {
+		position: fixed;
+		left: 0;
+		bottom: 0;
+		background: #ffffff;
+		height: 98rpx;
+		display: flex;
+		align-items: center;
+		width: 100%;
+
+		.flex_auto {
+			flex: 1;
+			margin-left: 10%;
+			word-break: break-all;
+			// .input {
+			//   height: 60rpx;
+			// }
+		}
+
+		.btn {
+			color: #007aff;
+			font-size: 30rpx;
+			font-weight: bold;
+			width: 15%;
+			text-align: center;
+		}
+
+		.input {
+			background: rgba(244, 244, 244, 0.98);
+			height: 60rpx;
+			border-radius: 24rpx;
+			margin-top: 12rpx;
+		}
+	}
+</style>

+ 221 - 243
components/course/noteBox.vue

@@ -1,257 +1,235 @@
 <template>
-  <view>
-    <view v-if="noteList.length == 0" style="text-align: center">暂无笔记</view>
-    <view v-for="(item, index) in noteList" :key="index">
-      <view class="dateBox">{{ $method.timestampToTime(item.dateNote) }}</view>
-      <view class="noteBox">
-        <view
-          v-for="(item1, index1) in item.userNotes"
-          :key="index1"
-          style="margin-top: 30rpx"
-          @click="jumpNote(item1)"
-        >
-          <view style="display: flex">
-            <view class="left_ti">
-              <view>
-                <image
-                  src="/static/icon/note2.png"
-                  v-if="noteId != item1.noteId"
-                  style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
-                ></image>
-                <image
-                  src="/static/icon/note1.png"
-                  v-if="noteId == item1.noteId"
-                  style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
-                ></image>
-              </view>
-              <view
-                class="title"
-                style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
-                >{{ $method.secondToDate(item1.noteSecond) }}</view
-              >
-            </view>
-            <view style="margin-left: 10rpx">
-              <view class="t2Content leftPadding">{{ item1.sectionName }}</view>
-              <view class="tBox2">{{ item1.noteText }}</view>
-            </view>
-          </view>
-        </view>
-      </view>
-    </view>
-    <view
-      class="inputBottom"
-      v-if="isShowInput"
-      :style="{ bottom: bottomHeight + 'px' }"
-    >
-      <view style="width: 10%"
-        ><image
-          src="/static/icon/note3.png"
-          style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
-        ></image
-      ></view>
-      <view style="width: 73%; height: 100%; padding: 10rpx 0">
-        <input
-          v-model="noteValue"
-          height="60"
-          fixed="true"
-          placeholder="您可以在这里输入笔记内容"
-          type="text"
-          :custom-style="inputStyle"
-          :adjust-position="false"
-          class="input"
-          @focus="focusNote"
-          @blur="blurNote"
-        />
-      </view>
-      <view
-        style="
+	<view>
+		<view v-if="noteList.length == 0" style="text-align: center">暂无笔记</view>
+		<view v-for="(item, index) in noteList" :key="index">
+			<view class="dateBox">{{ $method.timestampToTime(item.dateNote) }}</view>
+			<view class="noteBox">
+				<view v-for="(item1, index1) in item.userNotes" :key="index1" style="margin-top: 30rpx"
+					@click="jumpNote(item1)">
+					<view style="display: flex">
+						<view class="left_ti">
+							<view>
+								<image src="/static/icon/note2.png" v-if="noteId != item1.noteId"
+									style="width: 39rpx; height: 39rpx; margin: 0 29rpx"></image>
+								<image src="/static/icon/note1.png" v-if="noteId == item1.noteId"
+									style="width: 39rpx; height: 39rpx; margin: 0 29rpx"></image>
+							</view>
+							<view class="title" style="width: 39rpx; height: 39rpx; margin: 0 29rpx">
+								{{ $method.secondToDate(item1.noteSecond) }}
+							</view>
+						</view>
+						<view style="margin-left: 10rpx">
+							<view class="t2Content leftPadding">{{ item1.sectionName }}</view>
+							<view class="tBox2">{{ item1.noteText }}</view>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view class="inputBottom" v-if="isShowInput" :style="{ bottom: bottomHeight + 'px' }">
+			<view style="width: 10%">
+				<image src="/static/icon/note3.png" style="width: 39rpx; height: 39rpx; margin: 0 29rpx"></image>
+			</view>
+			<view style="width: 73%; height: 100%; padding: 10rpx 0">
+				<input v-model="noteValue" height="60" fixed="true" placeholder="您可以在这里输入笔记内容" type="text"
+					:custom-style="inputStyle" :adjust-position="false" class="input" @focus="focusNote"
+					@blur="blurNote" />
+			</view>
+			<view style="
           color: #007aff;
           font-size: 30rpx;
           font-weight: bold;
           width: 15%;
           text-align: center;
-        "
-        @click="postNote"
-        >提交</view
-      >
-    </view>
-  </view>
+        " @click="postNote">提交</view>
+		</view>
+	</view>
 </template>
 
 <script>
-export default {
-  name: "SaasMiniprogramNoteBox",
-  inject: ["paramsFn"],
-  data() {
-    return {
-      noteList: [],
-      noteId: 0,
-      noteValue: "",
-      inputStyle: {
-        background: "rgba(244, 244, 244, 0.98)",
-        borderRadius: "24rpx",
-        padding: "8rpx",
-        marginBottom: "10rpx",
-      },
-      bottomHeight: 0,
-    };
-  },
-  methods: {
-    getNoteList() {
-      this.$api.noteList(this.params).then((res) => {
-        if (res.data.code == 200) {
-          this.noteList = res.data.rows;
-        }
-      });
-    },
-    jumpNote(item) {
-      this.noteId = item.noteId;
-      this.$emit("jumpNote", item);
-    },
-    postNote() {
-      let self = this;
-      if (!(this.sectionId > 0)) {
-        this.$u.toast("目前无播放视频");
-        return;
-      }
-      if (!this.noteValue) {
-        this.$u.toast("请输入内容");
-        return;
-      }
-      if (!this.params.gradeId) {
-        this.$u.toast("暂无班级数据");
-        return;
-      }
-      let noteSecond = this.params.playTime;
-      if (!noteSecond) {
-        this.$u.toast("视频暂未开始");
-        return;
-      }
-      let data = {
-        noteText: this.noteValue,
-        noteDate: this.$method.getZeroTime(),
-        noteSecond: noteSecond,
-        ...this.params,
-      };
-      this.$api.postNote(data).then((res) => {
-        if (res.data.code == 200) {
-          this.$u.toast("发布成功");
-          self.getNoteList();
-          this.noteValue = "";
-        }
-      });
-    },
-    blurNote() {
-      this.bottomHeight = 0;
-    },
-    focusNote(event) {
-      this.bottomHeight = event.detail.height;
-    },
-  },
-  computed: {
-    params() {
-      return this.paramsFn([
-        "orderGoodsId",
-        "gradeId",
-        "goodsId",
-        "courseId",
-        "sectionId",
-        "playTime",
-        "isPlayRebuild",
-      ]);
-    },
-    sectionId() {
-      return this.params.sectionId;
-    },
-    isShowInput() {
-      return this.params.isPlayRebuild;
-    },
-  },
-  watch: {
-    sectionId: {
-      handler(val) {
-        this.getNoteList();
-      },
-      immediate: true,
-    },
-  },
-};
+	export default {
+		name: "SaasMiniprogramNoteBox",
+		inject: ["paramsFn"],
+		data() {
+			return {
+				noteList: [],
+				noteId: 0,
+				noteValue: "",
+				inputStyle: {
+					background: "rgba(244, 244, 244, 0.98)",
+					borderRadius: "24rpx",
+					padding: "8rpx",
+					marginBottom: "10rpx",
+				},
+				bottomHeight: 0,
+			};
+		},
+		methods: {
+			getNoteList() {
+				this.$api.noteList(this.params).then((res) => {
+					if (res.data.code == 200) {
+						this.noteList = res.data.rows;
+					}
+				});
+			},
+			jumpNote(item) {
+				this.noteId = item.noteId;
+				this.$emit("jumpNote", item);
+			},
+			postNote() {
+				let self = this;
+				if (!(this.sectionId > 0)) {
+					this.$u.toast("目前无播放视频");
+					return;
+				}
+				if (!this.noteValue) {
+					this.$u.toast("请输入内容");
+					return;
+				}
+				if (!this.params.gradeId) {
+					this.$u.toast("暂无班级数据");
+					return;
+				}
+				let noteSecond = this.params.playTime;
+				if (!noteSecond) {
+					this.$u.toast("视频暂未开始");
+					return;
+				}
+				let data = {
+					noteText: this.noteValue,
+					noteDate: this.$method.getZeroTime(),
+					noteSecond: noteSecond,
+					...this.params,
+				};
+				this.$api.postNote(data).then((res) => {
+					if (res.data.code == 200) {
+						this.$u.toast("发布成功");
+						self.getNoteList();
+						this.noteValue = "";
+					}
+				});
+			},
+			blurNote() {
+				this.bottomHeight = 0;
+			},
+			focusNote(event) {
+				this.bottomHeight = event.detail.height;
+			},
+		},
+		computed: {
+			params() {
+				return this.paramsFn([
+					"orderGoodsId",
+					"gradeId",
+					"goodsId",
+					"courseId",
+					"playTime",
+					"isPlayRebuild",
+					"moduleId",
+					"chapterId",
+					"sectionId"
+				]);
+			},
+			sectionId() {
+				return this.params.sectionId;
+			},
+			isShowInput() {
+				return this.params.isPlayRebuild;
+			},
+		},
+		watch: {
+			sectionId: {
+				handler(val) {
+					this.getNoteList();
+				},
+				immediate: true,
+			},
+		},
+	};
 </script>
 
 <style lang="scss" scoped>
-.leftPadding {
-  margin-left: 8rpx;
-}
-.dateBox {
-  width: 216rpx;
-  height: 48rpx;
-  background: #ffffff;
-  border-radius: 24rpx;
-  font-size: 24rpx;
-  color: #666666;
-  text-align: center;
-  line-height: 48rpx;
-  margin: 16rpx 0rpx 8rpx;
-}
-.noteBox {
-  width: 100%;
-  background: #ffffff;
-  padding: 0rpx 10rpx 20rpx;
-  border-radius: 16rpx;
-  overflow: hidden;
-  .left_ti {
-    padding-top: 14rpx;
-    .title {
-      font-size: 24rpx;
-      color: #999999;
-    }
-  }
-}
-.t2Content {
-  font-size: 24rpx;
-  font-family: PingFang SC;
-  font-weight: bold;
-  color: #999999;
-  line-height: 48rpx;
-}
-.tBox2 {
-  display: flex;
-  padding-top: 10rpx;
-  color: #333333;
-  font-size: 30rpx;
-  font-weight: 400;
-}
-.inputBottom {
-  position: fixed;
-  left: 0;
-  bottom: 0;
-  background: #ffffff;
-  height: 98rpx;
-  display: flex;
-  align-items: center;
-  width: 100%;
+	.leftPadding {
+		margin-left: 8rpx;
+	}
 
-  .flex_auto {
-    flex: 1;
-    margin-left: 10%;
-    word-break: break-all;
-    // .input {
-    //   height: 60rpx;
-    // }
-  }
+	.dateBox {
+		width: 216rpx;
+		height: 48rpx;
+		background: #ffffff;
+		border-radius: 24rpx;
+		font-size: 24rpx;
+		color: #666666;
+		text-align: center;
+		line-height: 48rpx;
+		margin: 16rpx 0rpx 8rpx;
+	}
 
-  .btn {
-    color: #007aff;
-    font-size: 30rpx;
-    font-weight: bold;
-    width: 15%;
-    text-align: center;
-  }
-  .input {
-    background: rgba(244, 244, 244, 0.98);
-    height: 60rpx;
-    border-radius: 24rpx;
-    margin-top: 12rpx;
-  }
-}
-</style>
+	.noteBox {
+		width: 100%;
+		background: #ffffff;
+		padding: 0rpx 10rpx 20rpx;
+		border-radius: 16rpx;
+		overflow: hidden;
+
+		.left_ti {
+			padding-top: 14rpx;
+
+			.title {
+				font-size: 24rpx;
+				color: #999999;
+			}
+		}
+	}
+
+	.t2Content {
+		font-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #999999;
+		line-height: 48rpx;
+	}
+
+	.tBox2 {
+		display: flex;
+		padding-top: 10rpx;
+		color: #333333;
+		font-size: 30rpx;
+		font-weight: 400;
+	}
+
+	.inputBottom {
+		position: fixed;
+		left: 0;
+		bottom: 0;
+		background: #ffffff;
+		height: 98rpx;
+		display: flex;
+		align-items: center;
+		width: 100%;
+
+		.flex_auto {
+			flex: 1;
+			margin-left: 10%;
+			word-break: break-all;
+			// .input {
+			//   height: 60rpx;
+			// }
+		}
+
+		.btn {
+			color: #007aff;
+			font-size: 30rpx;
+			font-weight: bold;
+			width: 15%;
+			text-align: center;
+		}
+
+		.input {
+			background: rgba(244, 244, 244, 0.98);
+			height: 60rpx;
+			border-radius: 24rpx;
+			margin-top: 12rpx;
+		}
+	}
+</style>

+ 1 - 1
pages/questionBank/index.vue

@@ -2,7 +2,7 @@
 	<view class="questionBank">
 		<nav-logo title="题库中心"></nav-logo>
 		<!-- 有学习的课程 -->
-		<view v-if="questionLists.length" class="had_courses">
+		<view class="had_courses" v-if="$method.isLogin()">
 			<!-- 我的题库 -->
 			<view class="my_courses">
 				<text class="titles">我的题库</text>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 503 - 742
pages5/examBank/index.vue


+ 1 - 1
pages5/mockExam/examApply.vue

@@ -3,7 +3,7 @@
   <view class="exam_apply">
     <nav-bar title="模考报名" class="navbar"></nav-bar>
     <!-- background="{ background: '#498AFE' }" -->
-    <image class="mock_bg" :src="$method.splitImgHost('oss/images/file/20230710/1688974188358.png')"></image>
+    <image class="mock_bg" :src="$method.splitImgHost('oss/images/file/20240424/1713920366161.png')"></image>
     <!-- <u-navbar :is-back="false" title="模考报名" :border-bottom="false"  title-color="#fff" back-icon-color="#ffffff" background="{ background: '#498AFE' }">
 		</u-navbar> -->
 

+ 4 - 4
pages5/mockExam/registrationSuccess.vue

@@ -33,18 +33,18 @@
     </view>
     <view class="mains">
       <view class="gives">
-        <view>高命中率类原题</view>
-        <view>通关有保障</view>
+        <view>考前冲刺班</view>
+        <view>密押特训 高命中率</view>
       </view>
       <view class="middles">
         <view class="qr_codes">
           <image
             class="code"
-            src="../static/erCode.png"
+            :src="$method.splitImgHost('oss/images/file/20240424/1713920422193.jpg')"
             show-menu-by-longpress="true"
           ></image>
         </view>
-        <view class="discern">扫码查看类原题</view>
+        <view class="discern">扫码咨询冲刺班</view>
       </view>
       <!-- <view class="middle_line">
         <view class="half_cir_left"></view>

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно