Browse Source

优化

master
longjieli 4 months ago
parent
commit
b60fb28bae
2 changed files with 20 additions and 11 deletions
  1. +10
    -10
      components/base/tabbar.vue
  2. +10
    -1
      pages/subPack/record/record.vue

+ 10
- 10
components/base/tabbar.vue View File

@ -29,14 +29,14 @@
return { return {
list : [ list : [
{ {
"selectedIconPath": "/static/image/tabbar/2.png",
"iconPath": "/static/image/tabbar/1.png",
"selectedIconPath": "https://tennis-oss.xzaiyp.top/2024-10-22/5cc4afa9-e951-4503-95c8-c0332a8f5db9.png",
"iconPath": "https://tennis-oss.xzaiyp.top/2024-10-22/9caa43b2-8389-4945-8b71-9b49bca2d634.png",
"pagePath": "/pages/index/index", "pagePath": "/pages/index/index",
"title": "打卡" "title": "打卡"
}, },
{ {
"selectedIconPath": "/static/image/tabbar/4.png",
"iconPath": "/static/image/tabbar/3.png",
"selectedIconPath": "https://tennis-oss.xzaiyp.top/2024-10-22/62bc1e85-24b3-4f72-a31d-4caad77590e9.png",
"iconPath": "https://tennis-oss.xzaiyp.top/2024-10-22/6b9c937e-487c-4552-8140-dad098d7f16e.png",
"pagePath": "/pages/index/center", "pagePath": "/pages/index/center",
"title": "我的" "title": "我的"
} }
@ -59,7 +59,7 @@
<style scoped lang="scss"> <style scoped lang="scss">
.tabbar-box{ .tabbar-box{
height: 120rpx; height: 120rpx;
padding-bottom: env(safe-area-inset-bottom);
// padding-bottom: env(safe-area-inset-bottom);
} }
.tabbar{ .tabbar{
position: fixed; position: fixed;
@ -71,7 +71,7 @@
flex-direction: row; flex-direction: row;
height: 120rpx; height: 120rpx;
// padding-bottom: env(safe-area-inset-bottom); // padding-bottom: env(safe-area-inset-bottom);
padding: 10rpx 0rpx;
// padding: 10rpx 0rpx;
z-index: 9999; z-index: 9999;
bottom: 0; bottom: 0;
left: 0; left: 0;
@ -84,11 +84,11 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.icon{ .icon{
width: 80rpx;
height: 80rpx;
width: 60rpx;
height: 60rpx;
.icon-image{ .icon-image{
width: 80rpx;
height: 80rpx;
width: 60rpx;
height: 60rpx;
} }
} }
.title{ .title{


+ 10
- 1
pages/subPack/record/record.vue View File

@ -47,7 +47,7 @@
<uv-steps-item v-for="item in 10" :key="item"> <uv-steps-item v-for="item in 10" :key="item">
<template #title> <template #title>
<view class="today-detail-main"> <view class="today-detail-main">
<image src="@/static/image/center/center-bg.png" mode="widthFix"></image>
<image src="https://pic.vjshi.com/2020-07-21/08385db3a62ba40aaf97bf319b5cae72/00001.jpg?x-oss-process=style/watermark" mode="widthFix"></image>
<view class="sign-detail"> <view class="sign-detail">
<view class="time">2024-10-09 8:30</view> <view class="time">2024-10-09 8:30</view>
<view class="address">长沙市雨花区德思勤城市广场</view> <view class="address">长沙市雨花区德思勤城市广场</view>
@ -278,6 +278,15 @@
image { image {
width: 30%; width: 30%;
border-radius: 10rpx;
}
.sign-detail {
display: flex;
flex-direction: column;
justify-content: space-around;
padding-left: 15rpx;
box-sizing: border-box;
} }
} }
} }


Loading…
Cancel
Save