1、商城购物车图标大小变化

2、登录按钮
3、首页搜索框背景为白色
4、足迹跳转页面的id值获取正确的
This commit is contained in:
wangzimeng 2025-08-06 18:14:27 +08:00
parent 485e45e123
commit 6374511f71
4 changed files with 19 additions and 26 deletions

View File

@ -269,7 +269,7 @@
} }
.car-show { .car-show {
height: 78rpx; height: 80rpx;
position: fixed; position: fixed;
bottom: 150rpx; bottom: 150rpx;
right: 0; right: 0;
@ -297,8 +297,8 @@
} }
.cart-image { .cart-image {
width: 130rpx; width: 80rpx;
height: 130rpx; height: 80rpx;
position: absolute; position: absolute;
top: 45%; top: 45%;
right: 20rpx; right: 20rpx;

View File

@ -19,7 +19,7 @@
<view class="locTop-right" @click="toPage('/packageA/search/index')"> <view class="locTop-right" @click="toPage('/packageA/search/index')">
<uni-section style="border-radius: 192rpx;padding: 0;" type="line"> <uni-section style="border-radius: 192rpx;padding: 0;" type="line">
<uni-search-bar style="border-radius: 192rpx;" radius="23" placeholder="搜索您需要的信息" <uni-search-bar style="border-radius: 192rpx;" radius="23" placeholder="搜索您需要的信息"
bgColor="#EEEEEE" clearButton="none" cancelButton="none" bgColor="#ffffff" clearButton="none" cancelButton="none"
:readonly="true" /> :readonly="true" />
</uni-section> </uni-section>
<!-- @confirm="search"--> <!-- @confirm="search"-->

View File

@ -17,7 +17,7 @@
</view> </view>
<view class="headAvatar-info justify-start"> <view class="headAvatar-info justify-start">
<view class="info-name fs-36 weight8 flexD" v-if="isLogin == true"> <view class="info-name fs-36 weight8 flexD" v-if="isLogin == true">
<view style="font-weight: 800;">{{ userInfo.nickname}} </view> <view style="font-weight: 800;" @click="sheep.$router.go('/pages/user/info')">{{ userInfo.nickname}} </view>
<view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 " @click="toPage('/pages/user/authentication')">未认证</view> <view class="UnAuthenBox weight8 fs-20" v-if="authenInfo.status == -1 " @click="toPage('/pages/user/authentication')">未认证</view>
<view class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 ">已认证</view> <view class="authenticationBox weight8 fs-20" v-if="authenInfo.status == 1 ">已认证</view>
</view> </view>
@ -168,22 +168,14 @@
<view style="height: 180rpx;width: 100%;"></view> <view style="height: 180rpx;width: 100%;"></view>
</view> </view>
<su-popup :show="showLogin == true" type="center" round="10" :isMaskClick="false" >
<!-- 授权登录
<u-popup :show="showLogin == true" type="center" round="20"
:customStyle="{ 'width': '644rpx', 'height': '426rpx','position': 'relative'}" :closeable="false"
@close="closeLogin" @open="openLogin">
<view class="popup">
<button class="texbut" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
授权登录
</button>
</view>
</u-popup>-->
<su-popup :show="showLogin == true" type="center" round="10" :isMaskClick="false">
<view class="popup"> <view class="popup">
<!-- <view class="texbut" @click="getPhoneNumber">
<image style="width: 500rpx;height: 136rpx;margin-top: 84rpx;" src="https://jiangxiaoxian.0rui.cn/loginBtn.png"></image>
</view> -->
<button class="texbut" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber"> <button class="texbut" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
<!-- <image style="width: 500rpx;height: 136rpx;" src="https://jiangxiaoxian.0rui.cn/loginBtn.png"></image> -->
授权登录 授权登录
</button> </button>
</view> </view>
@ -704,15 +696,16 @@
.texbut { .texbut {
width: 507rpx; width: 507rpx;
height: 90rpx; height: 120rpx;
border-radius: 45rpx; // border-radius: 45rpx;
background: #ffbd25; // background: #ffbd25;
font-size: 34rpx; // font-size: 34rpx;
color: #3d3d3d; // color: #3d3d3d;
font-weight: bold; // font-weight: bold;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin: 0 auto;
} }
} }

View File

@ -195,7 +195,7 @@
function toDetail(e) { function toDetail(e) {
console.log('跳转详情', e); console.log('跳转详情', e);
uni.navigateTo({ uni.navigateTo({
url: '/pages/canteenRent/rentDetail?id=' + e.id url: '/pages/canteenRent/rentDetail?id=' + e.information.id
}) })
} }