diff --git a/.env.development b/.env.development index e1b8ebd..c0a4311 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ ENV = development # VITE_API_URL = http://123.60.153.169:8040/apih5 # VITE_API_URL = https://4155gf93ll13.vicp.fun/apih5 # VITE_API_URL = http://123.60.79.143:8041/apih5 -# VITE_API_URL =http://ukfba3.natappfree.cc/apih5 -VITE_API_URL = https://cankao.cs.com.cn/apih5 +VITE_API_URL = http://192.168.3.38:8040/apih5 +# VITE_API_URL = https://cankao.cs.com.cn/apih5 VITE_API_DATAV_URL = https://cankao.cs.com.cn/zzck_datav \ No newline at end of file diff --git a/src/components/RankListMini.vue b/src/components/RankListMini.vue index 17c6684..c4289e2 100644 --- a/src/components/RankListMini.vue +++ b/src/components/RankListMini.vue @@ -32,19 +32,32 @@ - + {{ item.viewCount }} - + {{ item.likeCount }} - + {{ item.shareCount }} - + + 海外独家资讯内容,登录后可查阅全文 @@ -84,6 +97,7 @@ watch( watch( () => props.newsList, (newValue, oldValue) => { + isLogin.value = uni.getStorageSync("token"); rankListLocal.value = []; props.newsList.forEach((item, index) => { if (!isExp.value && index > 9) { diff --git a/src/components/loginPopup/index.vue b/src/components/loginPopup/index.vue index 7ee592e..b791071 100644 --- a/src/components/loginPopup/index.vue +++ b/src/components/loginPopup/index.vue @@ -1,6 +1,14 @@ @@ -177,6 +186,7 @@ const handlePopupClose = () => { // 登录成功回调 const handlePopupSuccessCallback = () => { LoginShow.value = false; + // emit("onChange"); uni.navigateBack({}); }; diff --git a/src/pages/minihome/index.vue b/src/pages/minihome/index.vue index 5421dad..fc3754a 100644 --- a/src/pages/minihome/index.vue +++ b/src/pages/minihome/index.vue @@ -48,8 +48,12 @@ --> - + + + + +