Compare commits

...

2 Commits

Author SHA1 Message Date
7a868c671c 个人中心的authenInfo?.status 2025-08-15 09:06:30 +08:00
e405700578 签到页面的去发布,去消费的绑定路径更换,
商城的购物车底部距离提高
首页轮播图跳转判断更换相应的路径
2025-08-14 18:27:36 +08:00
6 changed files with 29 additions and 27 deletions

View File

@ -125,7 +125,7 @@
</view> </view>
</view> </view>
<view class="signBtn" @click="toPage('/pages/index/category')"> <view class="signBtn" @click="toTabb('/pages/index/category')">
去消费 去消费
</view> </view>
</view> </view>
@ -218,7 +218,7 @@
</view> </view>
<view class="contactBtn"> <view class="contactBtn">
<view class="tactBtnBox" style="color: #999999;" @click="showFB = false">取消</view> <view class="tactBtnBox" style="color: #999999;" @click="showFB = false">取消</view>
<view class="tactBtnBox2" style="color: #323232;" @click="toTabb('/pages/index/fabu')">去发布</view> <view class="tactBtnBox2" style="color: #323232;" @click="toFaBu">去发布</view>
</view> </view>
</view> </view>
</su-popup> </su-popup>
@ -410,7 +410,15 @@
}) })
} }
const showFB = ref(false) const showFB = ref(false);
function toFaBu() {
uni.navigateTo({
url: '/pages/canteenRent/fabu',
})
setTimeout(() => {
showFB.value = false;
},1000)
}
function openFB() { function openFB() {
showFB.value = true; showFB.value = true;
} }
@ -418,7 +426,6 @@
showFB.value = false; showFB.value = false;
} }
// //
function showShare() { function showShare() {
// 使URL // 使URL

View File

@ -1,5 +1,5 @@
<template> <template>
<!-- <view> 发布 </view> tabbar="/pages/index/fabu"--> <!-- <view> 发布 </view>-->
<s-layout title="发布信息" :bgStyle="{ color: '#f7f7f7' }"> <s-layout title="发布信息" :bgStyle="{ color: '#f7f7f7' }">
<view class="container"> <view class="container">
<!-- :style="{height: isIphone ? `calc(71vh - ${systemInfo.safeAreaInsets.bottom}px)` : '78vh',}" --> <!-- :style="{height: isIphone ? `calc(71vh - ${systemInfo.safeAreaInsets.bottom}px)` : '78vh',}" -->

View File

@ -182,7 +182,7 @@
/* 使用券 */ /* 使用券 */
function toUseFull(item) { function toUseFull(item) {
console.log('使用满减券', item); console.log('使用满减券', item);
uni.navigateTo({ uni.switchTab({
url: '/pages/index/category' url: '/pages/index/category'
}) })
} }

View File

@ -271,7 +271,7 @@
.car-show { .car-show {
height: 80rpx; height: 80rpx;
position: fixed; position: fixed;
bottom: 150rpx; bottom: 200rpx;
right: 0; right: 0;
.car-image { .car-image {

View File

@ -321,7 +321,7 @@
console.log('轮播图跳转事件:', item.url); console.log('轮播图跳转事件:', item.url);
const tabBarPages = [ const tabBarPages = [
'/pages/index/index', '/pages/index/index',
'/pages/index/fabu', '/pages/index/category',
'/pages/index/user' '/pages/index/user'
]; ];
console.log('tabbarsList', tabBarPages); console.log('tabbarsList', tabBarPages);
@ -607,38 +607,38 @@
// align-items: center; // align-items: center;
.navTop-left { .navTop-left {
width: 270rpx; width: 330rpx;
height: 350rpx; height: 390rpx;
background-image: url('https://jiangxiaoxian.0rui.cn/shoppingMall.png'); background-image: url('https://jiangxiaoxian.0rui.cn/shoppingMall.png');
background-size: 100%; background-size: 100% 100%;
border-radius: 18rpx; border-radius: 18rpx;
padding: 40rpx 30rpx 0rpx 30rpx; // padding: 40rpx 30rpx 0rpx 30rpx;
} }
.navTop-right { .navTop-right {
display: grid; // display: grid;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 330rpx; width: 330rpx;
.navRight1 { .navRight1 {
width: 270rpx; width: 330rpx;
height: 140rpx; height: 180rpx;
background-image: url('https://jiangxiaoxian.0rui.cn/rent.png'); background-image: url('https://jiangxiaoxian.0rui.cn/rent.png');
background-size: 100%; background-size: 100%;
border-radius: 18rpx; border-radius: 18rpx;
padding: 40rpx 30rpx 0rpx 30rpx; // padding: 40rpx 30rpx 0rpx 30rpx;
} }
.navRight2 { .navRight2 {
margin-top: 30rpx; margin-top: 30rpx;
width: 270rpx; width: 330rpx;
height: 140rpx; height: 180rpx;
background-image: url('https://jiangxiaoxian.0rui.cn/school.png'); background-image: url('https://jiangxiaoxian.0rui.cn/school.png');
background-size: 100%; background-size: 100%;
border-radius: 18rpx; border-radius: 18rpx;
padding: 40rpx 30rpx 0rpx 30rpx; // padding: 40rpx 30rpx 0rpx 30rpx;
} }
} }
} }

View File

@ -26,20 +26,14 @@
<view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')"> <view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">
{{ userInfo.nickname}} {{ userInfo.nickname}}
</view> </view>
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 " <image class="UnAuthenBox weight8 fs-20" v-if="authenInfo?.status == -1"
@click="toPage('/pages/user/authentication')">未认证</view>
<view class="authenticationBox weight8 fs-20" >已认证
</view> -->
<image class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1"
src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image> src="https://jiangxiaoxian.0rui.cn/unAuthen.png" @click="toPage('/pages/user/authentication')"></image>
<image class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 " <image class="authenticationBox weight8 fs-20" v-if="authenInfo?.status == 1 "
src="https://jiangxiaoxian.0rui.cn/authened.png"></image> src="https://jiangxiaoxian.0rui.cn/authened.png"></image>
</view> </view>
<view class="info-name fs-36 weight8 flexD" v-else> <view class="info-name fs-36 weight8 flexD" v-else>
<view style="font-weight: 800;" @click="toLogin">登录/注册</view> <view style="font-weight: 800;" @click="toLogin">登录/注册</view>
<!-- <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 && isLogin == true">未认证</view>
<view class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 && isLogin == true">已认证</view> -->
</view> </view>
<view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数 <view class="fs-28 weight4" style="margin-top: 30rpx;">剩余拨打次数
{{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }} {{ userInfo.all_mobile_num ? userInfo.all_mobile_num : 0 }}
@ -255,6 +249,7 @@
const scrollHeight = ref() const scrollHeight = ref()
onShow(() => { onShow(() => {
// console.log('onShow',authenInfo.value.status);
isIos(); isIos();
sheep.$store('user').updateUserData(); sheep.$store('user').updateUserData();
}); });