feat:修改版本

This commit is contained in:
lixg
2023-03-07 17:49:29 +08:00
parent 1e5dcf0e8a
commit beca407c8e
2 changed files with 6 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi";
import { getCookie } from "@/api/utils";
import { USER_INFO } from "@/api/api";
console.log("版本2.1.3------------");
console.log("版本2.1.4------------");
const store = useStore();
const router = useRouter();

View File

@@ -32,13 +32,15 @@
<button
@click="nowPost(info.discussDtoList[0].id)"
:class="searchType === 1 ? 'new samebtn' : 'samebtn hot'"
style="padding: 1px 8px 1px 8px"
>
最新
</button>
<div class="dd"></div>
<button
@click="hotPost(info.discussDtoList[0].id)"
:class="searchType === 2 ? 'new samebtn' : 'samebtn hot'"
style="margin-left: 15px; padding: 1px 8px 1px 8px"
>
最热
</button>
@@ -343,8 +345,8 @@ watch(state.postList, () => {
height: 10px;
}
.samebtn {
width: 42.5px;
height: 23px;
// width: 42.5px;
// height: 23px;
font-size: 13px;
border: 0;
border-radius: 2px;