Commit 7dd34561 authored by spc's avatar spc

feedingIndex

parent 453093b2
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
"path" : "pages/feedingIndex/feedingIndex", "path" : "pages/feedingIndex/feedingIndex",
"style" : "style" :
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : "添加喂养记录"
} }
} }
], ],
......
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
<text class="time-label">喂养时间</text> <text class="time-label">喂养时间</text>
<text class="time-value">2025-06-01 22:22</text> <text class="time-value">2025-06-01 22:22</text>
<image class="edit-icon" src="/static/feedingIndex/v1/icon_modify.png" mode="aspectFit" /> <image class="edit-icon" src="/static/feedingIndex/v1/icon_modify.png" mode="aspectFit" />
<text class="records-link">喂养记录 ›</text> <text class="records-link">喂养记录</text>
<image class="arrow-right" src="/static/feedingIndex/v1/icon_arrow_yellow.png"></image>
</view> </view>
<!-- 喂养类型选择 --> <!-- 喂养类型选择 -->
...@@ -179,7 +180,7 @@ ...@@ -179,7 +180,7 @@
<script setup> <script setup>
import { ref, computed } from 'vue' import { ref, computed } from 'vue'
const swiperData = ref([{bannerImg: '/static/shengzhangTool/banner1.png'}, {bannerImg: '/static/shengzhangTool/banner2.png'}, {bannerImg: '/static/shengzhangTool/banner3.png'}]); const swiperData = ref([{ bannerImg: '/static/feedingIndex/v1/banner.png' }, { bannerImg: '/static/feedingIndex/v1/banner.png' }, { bannerImg: '/static/feedingIndex/v1/banner.png' }]);
const bannerHandler = (item) => { const bannerHandler = (item) => {
console.log(item); console.log(item);
...@@ -256,12 +257,9 @@ function getTabImage() { ...@@ -256,12 +257,9 @@ function getTabImage() {
} }
.banner-swiper { .banner-swiper {
position: absolute; width: 718rpx;
left: 50%; height: 174rpx;
transform: translateX(-50%); margin-left: 16rpx;
top: 191rpx;
width: 687rpx;
height: 176rpx;
.banner-img { .banner-img {
width: 100%; width: 100%;
...@@ -278,25 +276,33 @@ function getTabImage() { ...@@ -278,25 +276,33 @@ function getTabImage() {
.time-label { .time-label {
font-size: 28rpx; font-size: 28rpx;
color: #333; color: #6f6d67;
margin-right: 20rpx; margin-right: 15rpx;
} }
.time-value { .time-value {
font-size: 28rpx; font-size: 28rpx;
color: #333; color: #1d1e25;
margin-right: 10rpx; margin-right: 5rpx;
font-weight: bold;
} }
.edit-icon { .edit-icon {
width: 32rpx; width: 61rpx;
height: 32rpx; height: 61rpx;
margin-top: 10rpx;
margin-right: auto; margin-right: auto;
} }
.records-link { .records-link {
font-size: 26rpx; font-size: 28rpx;
color: #C89F6B; color: #b27c1e;
margin-right: 5rpx;
}
.arrow-right {
width: 11rpx;
height: 19rpx;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment