mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-10 03:16:46 +08:00
feat:修改跳转及按钮
This commit is contained in:
@@ -141,7 +141,14 @@
|
||||
<div class="box" style="width: 80px; right: 0px"></div>
|
||||
</div>
|
||||
<div class="teachermain">
|
||||
<img class="teacherAvatar" :src="teacherInfo.avatar" />
|
||||
<img
|
||||
class="teacherAvatar"
|
||||
:src="
|
||||
teacherInfo?.avatar?.includes('upload')
|
||||
? teacherInfo?.avatar
|
||||
: fielPath + teacherInfo?.avatar
|
||||
"
|
||||
/>
|
||||
<div style="flex: 1; margin-left: 11px; margin-right: 13px">
|
||||
<div class="teacherName">{{ data.planDto?.teacher }}</div>
|
||||
<div class="teacherIntro">
|
||||
@@ -384,7 +391,7 @@
|
||||
<script setup>
|
||||
import TitleHead from "@/components/TitleHead.vue";
|
||||
import ReturnHead from "@/components/ReturnHead.vue";
|
||||
import { computed, reactive, toRefs, watch, onUnmounted } from "vue";
|
||||
import { computed, reactive, toRefs, watch, onUnmounted, ref } from "vue";
|
||||
import FileTypeImg from "@/components/FileTypeImg.vue";
|
||||
import { request, useRequest } from "@/api/request";
|
||||
import {
|
||||
@@ -398,6 +405,7 @@ import { useUserInfo } from "@/api/utils";
|
||||
import { ElMessage, messageConfig } from "element-plus";
|
||||
import dayjs from "dayjs";
|
||||
import { changeTime } from "@/api/method";
|
||||
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
||||
const router = useRouter();
|
||||
const returnclick = () => {
|
||||
router.back();
|
||||
|
||||
Reference in New Issue
Block a user