This commit is contained in:
qiuyuan 2026-03-03 16:22:37 +08:00
parent cf9ea4751a
commit e92f7e00da
3 changed files with 372 additions and 297 deletions

View File

@ -90,7 +90,7 @@
</view>
<view class="service-grid">
<view class="service-card card-1" @click="goDetail('neighborList')" hover-class="card-hover">
<!-- <view class="service-card card-1" @click="goDetail('neighborList')" hover-class="card-hover">
<view class="card-content">
<text class="card-title">邻里互助</text>
<text class="card-desc">近邻互帮互助</text>
@ -107,7 +107,16 @@
<view class="card-bg"></view>
</view>
<image class="card-icon" src="/static/imgs/index/weixiu.png" style="width: 80rpx;height: 80rpx;bottom: 32rpx;"></image>
</view>
</view> -->
<view class="service-card card-1" @click="goDetail('meetingList')" hover-class="card-hover">
<view class="card-content">
<text class="card-title">会客厅预约</text>
<text class="card-desc">社区服务功能</text>
<view class="card-bg"></view>
</view>
<image class="card-icon" src="/static/imgs/index/bangzhu.png"
style="width: 68rpx;height: 68rpx; bottom: 48rpx;"></image>
</view>
</view>
</view>
@ -117,8 +126,8 @@
<Copyright/>
<Footer></Footer>
</view>
</template>
</template>
<script>
import Copyright from '@/components/gx-copyright.vue';
import Footer from '@/components/footer_common.vue';
@ -157,13 +166,15 @@ export default {
this.getWeather();
},
methods: {
goDetail(page) {
if(page==='neighbor'){
navigateTo({url: `/pages/${page}/index`})
}else{
uni.navigateTo({
url: `/pages/${page}/index`
});
goDetail(page) {
if(page==='neighbor'){
navigateTo({url: `/pages/${page}/index`})
}else if( page == 'serviceTickets'){
uni.showToast({ title: '此功能暂未开放', icon: 'error' });
}else{
uni.navigateTo({
url: `/pages/${page}/index`
});
}
},
@ -270,7 +281,7 @@ export default {
}
}
</script>
<style lang="scss" scoped>
.container {
background: #f8faff;

File diff suppressed because it is too large Load Diff

View File

@ -484,7 +484,7 @@
.applyInfo)
console.log("===response", response)
if (!response || !response.success) {
throw new Error('会议室预定失败');
throw new Error(response.msg);
}
if (response.success == true) {
uni.redirectTo({