|
@@ -1,111 +1,112 @@
|
|
|
<template>
|
|
|
<div class="main">
|
|
|
<div class="content">
|
|
|
+ <sub-header />
|
|
|
<div class="left">
|
|
|
-
|
|
|
- <n-input
|
|
|
- v-model:value="feedBackContent"
|
|
|
- type="textarea"
|
|
|
- autosize
|
|
|
- placeholder="请填入内容,5-500字"
|
|
|
- style="min-height: 400px"
|
|
|
- />
|
|
|
+ <hero-sub-title />
|
|
|
+ <div class="detail">
|
|
|
+ <div class="back" @click="$router.go(-1)"></div>
|
|
|
|
|
|
- <n-space align="center" style="padding: 20px" justify="center">
|
|
|
- <n-input type="text" placeholder="昵称" />
|
|
|
- <n-input type="text" placeholder="联系方式" />
|
|
|
- <n-input type="text" placeholder="请填入图形验证码" />
|
|
|
- </n-space>
|
|
|
- <n-space align="center" justify="center" style="padding: 20px">
|
|
|
- <n-button type="primary"> 提交</n-button>
|
|
|
- </n-space>
|
|
|
- </div>
|
|
|
- <div class="right">
|
|
|
- <div class="logo"></div>
|
|
|
- <div class="back" @click="$router.push('/')"></div>
|
|
|
+ <div class="info">
|
|
|
+ <n-input
|
|
|
+ v-model:value="feedBackContent"
|
|
|
+ type="textarea"
|
|
|
+ autosize
|
|
|
+ placeholder="请填入内容,5-500字"
|
|
|
+ style="min-height: 400px"
|
|
|
+ />
|
|
|
+
|
|
|
+ <n-space align="center" style="padding: 20px" justify="center">
|
|
|
+ <n-input type="text" placeholder="昵称" />
|
|
|
+ <n-input type="text" placeholder="联系方式" />
|
|
|
+ <n-input type="text" placeholder="请填入图形验证码" />
|
|
|
+ </n-space>
|
|
|
+ <n-space align="center" justify="center" style="padding: 20px">
|
|
|
+ <n-button type="primary"> 提交</n-button>
|
|
|
+ </n-space>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <side-menu />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref } from "vue";
|
|
|
-const feedBackContent = ref();
|
|
|
-</script>
|
|
|
+import { watchEffect, ref } from "vue";
|
|
|
+import { useFullscreen } from "@vueuse/core";
|
|
|
+import subHeader from "../components/subHeader";
|
|
|
+import sideMenu from "../components/sideMenu";
|
|
|
+import heroSubTitle from "../components/heroSubTitle";
|
|
|
+import { useInfoStore } from "../store/info";
|
|
|
+const title = ref("detail");
|
|
|
|
|
|
-<style>
|
|
|
-.main {
|
|
|
- --main-left-background: grey;
|
|
|
- --main-right-background: rgba(0, 0, 0, 0.8);
|
|
|
- --logo-width: 100px;
|
|
|
- --go-home-width: 60px;
|
|
|
- --logo-background-color: rgba(0, 0, 0, 0.5);
|
|
|
- --left-content-padding: 50px;
|
|
|
- --right-content-padding: 50px;
|
|
|
-}
|
|
|
-</style>
|
|
|
+watchEffect(() => {
|
|
|
+ document.title = title.value;
|
|
|
+});
|
|
|
+</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.main {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- overflow-y: hidden;
|
|
|
-}
|
|
|
-.meta-title {
|
|
|
- font-size: 34px;
|
|
|
- padding-right: 50px;
|
|
|
-}
|
|
|
-.head {
|
|
|
- width: 100%;
|
|
|
- height: 60px;
|
|
|
-}
|
|
|
-.content {
|
|
|
+.detail {
|
|
|
+ --main-show-case-background: #ddd5d5;
|
|
|
+ --main-detail-margin: 1.875rem;
|
|
|
+ --main-detail-padding: 1.875rem;
|
|
|
+ box-shadow: var(--main-box-shadow);
|
|
|
+ margin: var(--main-detail-margin);
|
|
|
+ margin-bottom: 0;
|
|
|
flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- flex-direction: row;
|
|
|
- overflow: hidden;
|
|
|
-}
|
|
|
-.left {
|
|
|
- flex: 1;
|
|
|
- background-color: var(--main-left-background);
|
|
|
- padding: var(--left-content-padding);
|
|
|
- .n-tabs {
|
|
|
- height: 100%;
|
|
|
- overflow: hidden;
|
|
|
- :deep(.n-tab-pane) {
|
|
|
- overflow-y: scroll;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-.n-tabs {
|
|
|
- --n-tab-font-size: 26px !important;
|
|
|
-}
|
|
|
-.right {
|
|
|
- flex: 0 0 10%;
|
|
|
- min-width: 120px;
|
|
|
- /* max-width: 120px; */
|
|
|
- height: calc(100% - var(--right-content-padding) * 2);
|
|
|
- background-color: var(--main-right-background);
|
|
|
- display: flex;
|
|
|
- padding: 50px 0;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- .logo {
|
|
|
- width: var(--logo-width);
|
|
|
- height: var(--logo-width);
|
|
|
- border-radius: 50%;
|
|
|
- background-color: var(--logo-background-color);
|
|
|
+ border-radius: 0.8125rem;
|
|
|
+ background: #fff;
|
|
|
+ padding: 2rem 3rem 4rem 3rem;
|
|
|
+
|
|
|
+ overflow-y: scroll;
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ display: none;
|
|
|
}
|
|
|
+
|
|
|
.back {
|
|
|
- width: var(--go-home-width);
|
|
|
- height: var(--go-home-width);
|
|
|
- border-radius: 50%;
|
|
|
- background-color: var(--logo-background-color);
|
|
|
+ background-image: url("/img/back_arrow.png");
|
|
|
+ width: 7.5rem;
|
|
|
+ height: 1.875rem;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: contain;
|
|
|
+ margin-bottom: 0.75rem;
|
|
|
+ }
|
|
|
+ .info {
|
|
|
+ max-width: 66.8125rem;
|
|
|
+ margin: 0 auto;
|
|
|
+ font-size: 20px;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 1.875rem;
|
|
|
+ line-height: 3.75rem;
|
|
|
+ margin: 1.2rem 0;
|
|
|
+ }
|
|
|
+ .label-list {
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
+ display: inline-flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+ gap: 0 1.875rem;
|
|
|
+ span {
|
|
|
+ padding-left: 1.5625rem;
|
|
|
+ background-image: url("/img/dot.png");
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 1.25rem 1.25rem;
|
|
|
+ background-position: left center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .text {
|
|
|
+ font-weight: 400;
|
|
|
+ color: #6e6e6e;
|
|
|
+ line-height: 2.125rem;
|
|
|
+ font-size: 1.25rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .show-case {
|
|
|
+ max-width: 66.8125rem;
|
|
|
+ height: 34.1875rem;
|
|
|
+ background: var(--main-show-case-background);
|
|
|
}
|
|
|
}
|
|
|
</style>
|