This commit is contained in:
pengxiaolong
2025-06-24 14:46:01 +08:00
parent 60a14aca83
commit 89c9f8f1df
8 changed files with 9 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ let tabList = reactive([
{
iconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",
selectedIconPath: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",
text: "论坛",
text: "站内信",
pagePath: "/pages/Forum/Forum",
middleClass: "",
},

View File

@@ -7,7 +7,7 @@
mode="scaleToFill"
/>
</view>
<view class="title">论坛</view>
<view class="title">站内信</view>
</view>
<view class="content">
<view class="building">
@@ -18,7 +18,7 @@
mode="scaleToFill"
/>
</view>
<view class="buildingTitle">建设中~</view>
<view class="buildingTitle">暂无数据</view>
</view>
</view>
<view class="tabBar">

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../VerifyLogin.js");Math||n();const n=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},emits:["publishSucces"],setup(n,{emit:o}){require.async("../../TUIKit/components/TUIConversation/entry.js");let a=e.ref(!1);const s=e.ref([]);let c=e.ref(0);function i(e){s.value=e,c.value=function(e){let t=0;for(const n of e){if(!n.hasOwnProperty("unreadCount"))return null;const e=n.unreadCount;if("number"!=typeof e||!Number.isFinite(e))return null;t+=e}return t}(e)}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{conversationList:i})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{conversationList:i})}));const l=o;function u(){l("publishSucces")}let h=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"论坛",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=h.length;if(e%2){a.value=!0;let t=Math.floor(e/2);h[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){e.safeArea.top}});const d=e.ref();const r=()=>!1;function p(n,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.redirectTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&d.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:n.pagePath})}return(t,o)=>({a:e.f(e.unref(h),((t,o,a)=>e.e({a:n.tabIndex==o?t.selectedIconPath:t.iconPath,b:3===o&&e.unref(c)>0},3===o&&e.unref(c)>0?{c:e.t(e.unref(c)>99?"99+":e.unref(c))}:{},{d:e.t(t.text),e:n.tabIndex==o?"#1DD2F9":"#A7A3A3",f:e.n("list-item flex flex-column flex-middle "+t.middleClass),g:e.o$1((e=>p(t,o)),o),h:o}))),b:e.n(!0===e.unref(a)?"tab-list-middle":"tab-list-default"),c:e.o$1(r),d:e.sr(d,"c3a0cede-0",{k:"createModule"}),e:e.o$1(u)})}},a=e._export_sfc(o,[["__scopeId","data-v-c3a0cede"]]);wx.createComponent(a);
"use strict";const e=require("../../common/vendor.js"),t=require("../VerifyLogin.js");Math||n();const n=()=>"../../pages/NewAddedPk/NewAddedPk2.js",o={__name:"tabBar",props:{tabIndex:Number},emits:["publishSucces"],setup(n,{emit:o}){require.async("../../TUIKit/components/TUIConversation/entry.js");let a=e.ref(!1);const s=e.ref([]);let i=e.ref(0);function c(e){s.value=e,i.value=function(e){let t=0;for(const n of e){if(!n.hasOwnProperty("unreadCount"))return null;const e=n.unreadCount;if("number"!=typeof e||!Number.isFinite(e))return null;t+=e}return t}(e)}e.onMounted((()=>{e.Jt.watch(e.o.CONV,{conversationList:c})})),e.onUnmounted((()=>{e.Jt.unwatch(e.o.CONV,{conversationList:c})}));const l=o;function u(){l("publishSucces")}let h=e.reactive([{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Pk.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/PKClick.png",text:"PK",pagePath:"/pages/Home/Home",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forum.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Forumclick.png",text:"站内信",pagePath:"/pages/Forum/Forum",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/jiahao.png",text:"",pagePath:"/pages/c/c",middleClass:""},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Message.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Messageclick.png",text:"消息"},{iconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mine.png",selectedIconPath:"https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Mineclick.png",text:"我的",pagePath:"/pages/Mine/Mine",middleClass:""}]);e.onMounted((()=>{!function(){let e=h.length;if(e%2){a.value=!0;let t=Math.floor(e/2);h[t].middleClass="mid-button"}}()})),e.index.getSystemInfo({success:function(e){e.safeArea.top}});const d=e.ref();const r=()=>!1;function p(n,o){3===o?t.VerifyLogin().then((t=>{t&&e.index.redirectTo({url:"/TUIKit/components/TUIConversation/index",animationType:"none"})})):2===o?t.VerifyLogin().then((e=>{e&&d.value.open()})):4===o?t.VerifyLogin().then((t=>{t&&e.index.switchTab({url:"/pages/Mine/Mine",animationType:"none"})})):e.index.switchTab({url:n.pagePath})}return(t,o)=>({a:e.f(e.unref(h),((t,o,a)=>e.e({a:n.tabIndex==o?t.selectedIconPath:t.iconPath,b:3===o&&e.unref(i)>0},3===o&&e.unref(i)>0?{c:e.t(e.unref(i)>99?"99+":e.unref(i))}:{},{d:e.t(t.text),e:n.tabIndex==o?"#1DD2F9":"#A7A3A3",f:e.n("list-item flex flex-column flex-middle "+t.middleClass),g:e.o$1((e=>p(t,o)),o),h:o}))),b:e.n(!0===e.unref(a)?"tab-list-middle":"tab-list-default"),c:e.o$1(r),d:e.sr(d,"2a060fd2-0",{k:"createModule"}),e:e.o$1(u)})}},a=e._export_sfc(o,[["__scopeId","data-v-2a060fd2"]]);wx.createComponent(a);

View File

@@ -1 +1 @@
<view class="tab-block data-v-c3a0cede"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-c3a0cede', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-c3a0cede', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-c3a0cede"><image class="item-img data-v-c3a0cede" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-c3a0cede">{{item.c}}</view></view><view class="item-text font-20 data-v-c3a0cede" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-c3a0cede" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-c3a0cede" u-r="createModule" bindpublishSuccess="{{e}}" u-i="c3a0cede-0" bind:__l="__l"></new-added-pk></view>
<view class="tab-block data-v-2a060fd2"><view class="{{['tab-list', 'flex', 'flex-center', 'data-v-2a060fd2', b]}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="{{['data-v-2a060fd2', item.f]}}" bindtap="{{item.g}}"><view class="item-img-box data-v-2a060fd2"><image class="item-img data-v-2a060fd2" src="{{item.a}}"/><view wx:if="{{item.b}}" class="Unreadcss data-v-2a060fd2">{{item.c}}</view></view><view class="item-text font-20 data-v-2a060fd2" style="{{'color:' + item.e}}">{{item.d}}</view></view></view><view class="data-v-2a060fd2" catchtouchmove="{{c}}"></view><new-added-pk class="createModule r data-v-2a060fd2" u-r="createModule" bindpublishSuccess="{{e}}" u-i="2a060fd2-0" bind:__l="__l"></new-added-pk></view>

View File

@@ -1 +1 @@
.flex.data-v-c3a0cede{display:flex;flex-flow:row wrap}.flex-center.data-v-c3a0cede{align-items:center;justify-content:center}.flex-column.data-v-c3a0cede{flex-direction:column;align-items:center}.flex-middle.data-v-c3a0cede{align-items:center}.font-20.data-v-c3a0cede{font-size:20rpx}.tab-block.data-v-c3a0cede{position:relative;position:fixed;bottom:0;z-index:2;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-c3a0cede{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-c3a0cede{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-c3a0cede{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-c3a0cede{position:relative;background-size:cover}.tab-block .list-item.data-v-c3a0cede{flex:1}.tab-block .list-item .item-img-box.data-v-c3a0cede{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-c3a0cede{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-c3a0cede{position:relative}.tab-block .mid-button .item-img-box.data-v-c3a0cede{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-c3a0cede{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-c3a0cede{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-c3a0cede{height:30rpx;background-color:#fff}.Unreadcss.data-v-c3a0cede{position:absolute;background-color:red;margin-top:-65rpx;width:30rpx;height:30rpx;border-radius:50%;text-align:center;font-weight:700;font-size:18rpx;color:#fff;line-height:30rpx;margin-left:30rpx;z-index:1001}
.flex.data-v-2a060fd2{display:flex;flex-flow:row wrap}.flex-center.data-v-2a060fd2{align-items:center;justify-content:center}.flex-column.data-v-2a060fd2{flex-direction:column;align-items:center}.flex-middle.data-v-2a060fd2{align-items:center}.font-20.data-v-2a060fd2{font-size:20rpx}.tab-block.data-v-2a060fd2{position:relative;position:fixed;bottom:0;z-index:2;background-size:contain;width:100vw;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.tab-block .tab-list.data-v-2a060fd2{height:100rpx;padding:0;z-index:0}.tab-block .createModule.data-v-2a060fd2{position:fixed;bottom:0;right:0;z-index:998;width:100vw}.tab-block .tab-list-default.data-v-2a060fd2{background-color:#fff;border-top:1px #dddddd solid}.tab-block .tab-list-middle.data-v-2a060fd2{position:relative;background-size:cover}.tab-block .list-item.data-v-2a060fd2{flex:1}.tab-block .list-item .item-img-box.data-v-2a060fd2{width:38rpx;height:38rpx;margin-bottom:9rpx;position:relative}.tab-block .list-item .item-img.data-v-2a060fd2{width:38rpx;height:38rpx;color:red}.tab-block .mid-button.data-v-2a060fd2{position:relative}.tab-block .mid-button .item-img-box.data-v-2a060fd2{width:150rpx;height:150rpx;margin-bottom:9rpx;position:absolute;z-index:10;top:-104rpx}.tab-block .mid-button .item-img.data-v-2a060fd2{width:150rpx;height:150rpx}.tab-block .mid-button .item-text.data-v-2a060fd2{font-size:20rpx;position:absolute;z-index:1002;bottom:-40rpx;color:#393a41}.tab-block .tab-bar.data-v-2a060fd2{height:30rpx;background-color:#fff}.Unreadcss.data-v-2a060fd2{position:absolute;background-color:red;margin-top:-65rpx;width:30rpx;height:30rpx;border-radius:50%;text-align:center;font-weight:700;font-size:18rpx;color:#fff;line-height:30rpx;margin-left:30rpx;z-index:1001}

View File

@@ -1 +1 @@
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello"}),onShareAppMessage(e){if("menu"===e.from)return{title:"分享",path:getCurrentPages()[getCurrentPages().length-1].route}},onLoad(){},methods:{},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){e.resolveComponent("tabBar")()}Math;const r=e._export_sfc(t,[["render",function(t,r,a,o,n,s){return{a:e.p({tabIndex:1})}}],["__scopeId","data-v-ede24aa3"]]);t.__runtimeHooks=2,wx.createPage(r);
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello"}),onShareAppMessage(e){if("menu"===e.from)return{title:"分享",path:getCurrentPages()[getCurrentPages().length-1].route}},onLoad(){},methods:{},components:{tabBar:()=>"../../components/tabBar/tabBar.js"}};if(!Array){e.resolveComponent("tabBar")()}Math;const r=e._export_sfc(t,[["render",function(t,r,a,o,n,s){return{a:e.p({tabIndex:1})}}],["__scopeId","data-v-aa0b9b93"]]);t.__runtimeHooks=2,wx.createPage(r);

View File

@@ -1 +1 @@
<view class="forum data-v-ede24aa3"><view class="bg data-v-ede24aa3"><image class="bgImg data-v-ede24aa3" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-ede24aa3">论坛</view></view><view class="content data-v-ede24aa3"><view class="building data-v-ede24aa3"><view class="data-v-ede24aa3"><image class="data-v-ede24aa3" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-ede24aa3">建设中~</view></view></view><view class="tabBar data-v-ede24aa3"><tab-bar wx:if="{{a}}" class="data-v-ede24aa3" u-i="ede24aa3-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>
<view class="forum data-v-aa0b9b93"><view class="bg data-v-aa0b9b93"><image class="bgImg data-v-aa0b9b93" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="title data-v-aa0b9b93">站内信</view></view><view class="content data-v-aa0b9b93"><view class="building data-v-aa0b9b93"><view class="data-v-aa0b9b93"><image class="data-v-aa0b9b93" style="width:500rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png" mode="scaleToFill"/></view><view class="buildingTitle data-v-aa0b9b93">暂无数据</view></view></view><view class="tabBar data-v-aa0b9b93"><tab-bar wx:if="{{a}}" class="data-v-aa0b9b93" u-i="aa0b9b93-0" bind:__l="__l" u-p="{{a}}"></tab-bar></view>

View File

@@ -1 +1 @@
.bg.data-v-ede24aa3{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-ede24aa3{width:100%;height:100%}.title.data-v-ede24aa3{position:absolute;top:120rpx;left:345rpx;font-size:34rpx;color:#100e0f;font-weight:700}.content.data-v-ede24aa3{position:absolute;top:250rpx;left:0rpx;right:0rpx;bottom:100rpx}.building.data-v-ede24aa3{width:100%;height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.buildingTitle.data-v-ede24aa3{font-size:40rpx;color:#999;font-weight:700;text-align:center;margin-top:50rpx}
.bg.data-v-aa0b9b93{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.bgImg.data-v-aa0b9b93{width:100%;height:100%}.title.data-v-aa0b9b93{position:absolute;top:120rpx;left:345rpx;font-size:34rpx;color:#100e0f;font-weight:700}.content.data-v-aa0b9b93{position:absolute;top:250rpx;left:0rpx;right:0rpx;bottom:100rpx}.building.data-v-aa0b9b93{width:100%;height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}.buildingTitle.data-v-aa0b9b93{font-size:40rpx;color:#999;font-weight:700;text-align:center;margin-top:50rpx}