canghailong 6 月之前
父節點
當前提交
a0bef86cda

File diff suppressed because it is too large
+ 0 - 9
src/views/student/classCentre/index.vue


+ 12 - 1
src/views/student/classCentre/rightMenu.vue

@@ -38,7 +38,8 @@
 		CopyOutlined,
 		ReadOutlined,
 		QuestionCircleOutlined,
-		FileOutlined
+		FileOutlined,
+		IeOutlined
 	} from '@ant-design/icons-vue'
 	const formRef = ref()
 	const rightItem = ref({})
@@ -97,10 +98,20 @@
 			type: 3,
 			routerUrl: '/student/paper/1',
 			relateId: route.query.id
+		},
+		{
+			title: '网页',
+			key: '9',
+			icon: IeOutlined,
+			type: 3,
+			routerUrl: 'https://www.baidu.com/',
 		}
 	])
 	const selectBtn = (event, edit) => {
 		if (event.type == 3) {
+			if(event.key == '9'){
+				window.open(event.routerUrl)
+			}
 			if (event.relateId) {
 				if (event.key == '4' || event.key == '5') {
 					window.open(`${event.status == 1 ? `${event.routerSrc}?id=${event.answerId}` : `${event.routerUrl}?id=${event.relateId}`}`, '_blank')

+ 2 - 2
src/views/student/forumBtn/index.vue

@@ -38,7 +38,7 @@
 				</router-link>
 			</div>
 		</div>
-		<div class="mt-4 joinBox">
+		<div class="mt-3 joinBox">
 			<div v-if="props.isShow.includes(3)" class="btnBox mt-2">
 				<router-link :to="{ path: '/forum' }" target="_blank">
 					<CommentOutlined class="textColor" style="font-size: 30px" />
@@ -82,7 +82,7 @@
 	.redressBox {
 		position: fixed;
 		right: 10px;
-		top: 130px + 450px;
+		top: calc(130px + 60px * 8 + 30px);
 	}
 	.addBox {
 		display: flex;

Some files were not shown because too many files changed in this diff