This commit is contained in:
A1300399510
2023-07-20 19:27:46 +08:00
parent 8cc4549dca
commit d5c86e2038
12 changed files with 274 additions and 41 deletions

View File

@@ -97,18 +97,18 @@
<script setup>
import pageTopBar from '../components/pageTopBar/pageTopBar.vue';
import headerNav from '@/components/public/head.vue'
import systematicNotificationPop from '@/components/user/systematic-notification-pop.vue'
import haveQuestions from '@/components/public/have-questions.vue'
import pageFooter from '@/components/footer/footer.vue'
import biserialListItem from '@/components/biserialListItem/biserialListItem.vue'
import publicListItem from '@/components/public/public-list-item.vue'
import emptyDuck from '@/components/public/empty-duck.vue'
import { ref, reactive, onMounted, onUnmounted, getCurrentInstance, nextTick } from 'vue'
const { proxy } = getCurrentInstance()
import { useRouter } from 'vue-router';
import { ElLoading, ElMessage } from 'element-plus'
import Masonry from 'masonry-layout';
const { proxy } = getCurrentInstance()
const gridContainer = ref(null);
@@ -145,7 +145,7 @@ const identityObj = {
}
const init = () => {
proxy.$post("/tenement/v2/api/user").then(res => {
proxy.$post("/tenement/pc/api/user").then(res => {
if (res.code != 200) return
let data = res.data
@@ -164,6 +164,7 @@ const init = () => {
});
}
let loading = ElLoading.service({
lock: true,
text: 'Loading',
@@ -243,7 +244,7 @@ const cutTab = (value) => {
// 取消收藏
let cancelCollection = data => {
proxy.$post("/tenement/relation/operation", {
proxy.$post("/tenement/pc/api/user/operation", {
token: data['token']
}).then(res => {
if (res.code != 200) return
@@ -521,4 +522,5 @@ onUnmounted(() => {
align-items: center;
border-radius: 16px;
}
</style>