This commit is contained in:
2025-08-14 09:47:36 +08:00
parent c338c5d3d0
commit 4f6ee4aa71
34 changed files with 52 additions and 52 deletions
+1 -3
View File
@@ -1,5 +1,5 @@
<template>
<view class="add-pet-container">
<view class="add-pet-container page-container-with-bg">
<u-form :model="petForm" ref="petFormRef" :rules="rules" label-width="120">
<u-card :padding="20" margin="20">
<view class="avatar-section">
@@ -182,8 +182,6 @@ export default {
<style lang="scss" scoped>
.add-pet-container {
background: linear-gradient(135deg, #FF8A80 0%, #FFB6C1 25%, #FECFEF 50%, #F8BBD9 100%);
min-height: 100vh;
}
.avatar-section {
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="add-record-container">
<view class="add-record-container page-container-with-bg">
<u-navbar title="添加记录" left-icon="arrow-left" @left-click="goBack">
<template #right>
<u-text text="保存" color="#ff6b6b" @click="saveRecord"></u-text>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="add-record-container">
<view class="add-record-container page-container-with-bg">
<!-- 表单内容 -->
<view class="form-content">
<!-- 第一组:基础信息 -->
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="add-record-container">
<view class="add-record-container page-container-with-bg">
<u-navbar title="添加记录" left-icon="arrow-left" @left-click="goBack" bg-color="#FF8A80">
<template #right>
<u-text text="保存" color="#ffffff" @click="saveRecord"></u-text>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="add-record-container">
<view class="add-record-container page-container-with-bg">
<u-navbar title="添加记录" left-icon="arrow-left" @left-click="goBack"></u-navbar>
<u-form :model="recordForm" ref="recordFormRef" :rules="rules" label-width="120">
+1 -3
View File
@@ -1,5 +1,5 @@
<template>
<view class="health-charts-container">
<view class="health-charts-container page-container-with-bg">
<!-- 健康状态总览卡片 -->
<view class="health-overview-card">
<view class="overview-header">
@@ -414,8 +414,6 @@ export default {
<style lang="scss" scoped>
.health-charts-container {
background: linear-gradient(135deg, #FF8A80 0%, #FFB6C1 25%, #FECFEF 50%, #F8BBD9 100%);
min-height: 100vh;
padding: 20rpx;
}
+1 -2
View File
@@ -1,5 +1,5 @@
<template>
<view class="pet-chat-container">
<view class="pet-chat-container page-container-with-bg">
<!-- 宠物信息卡片 -->
<view class="pet-info-card">
<view class="pet-avatar-wrapper">
@@ -308,7 +308,6 @@ export default {
height: 100vh;
display: flex;
flex-direction: column;
background: linear-gradient(135deg, #FF8A80 0%, #FFB6C1 25%, #FECFEF 50%, #F8BBD9 100%);
position: relative;
}
+1 -3
View File
@@ -1,5 +1,5 @@
<template>
<view class="container">
<view class="container page-container-with-bg">
<!-- 宠物主卡片 -->
<view class="pet-main-card">
<!-- 编辑按钮 -->
@@ -463,8 +463,6 @@ export default {
<style lang="scss" scoped>
/* 优化后的样式 */
.container {
background: linear-gradient(135deg, #FF8A80 0%, #FFB6C1 25%, #FECFEF 50%, #F8BBD9 100%);
min-height: 100vh;
padding: 20rpx;
}
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="personality-container">
<view class="personality-container page-container-with-bg">
<!-- 顶部操作栏 -->
<view class="top-action-bar">
<view class="action-item" @click="showHelp = true">
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="pet-records-container">
<view class="pet-records-container page-container-with-bg">
<!-- 头部操作栏 -->
<view class="header-section">
<view class="header-info">
+1 -2
View File
@@ -1,5 +1,5 @@
<template>
<view class="pet-timeline-container">
<view class="pet-timeline-container page-container-with-bg">
<!-- 头部操作栏 -->
<view class="header-actions">
<text class="page-title">{{ petInfo.name }}的成长时光</text>
@@ -431,7 +431,6 @@ export default {
height: 100vh;
display: flex;
flex-direction: column;
background: linear-gradient(135deg, #FF8A80 0%, #FFB6C1 25%, #FECFEF 50%, #F8BBD9 100%);
}
.header-actions {
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="vaccine-container">
<view class="vaccine-container page-container-with-bg">
<!-- 疫苗状态概览卡片 -->
<view class="status-overview-card">
<view class="overview-header">
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="weight-container">
<view class="weight-container page-container-with-bg">
<!-- 当前体重状态卡片 -->
<view class="current-weight-card">
<view class="weight-header">
+1 -3
View File
@@ -1,5 +1,5 @@
<template>
<view class="pets-container gradient-bg">
<view class="pets-container gradient-bg page-container">
<!-- 标签切换容器 -->
<view class="tabs-container" v-if="petsList.length > 0">
<view class="tabs-header">
@@ -653,9 +653,7 @@ export default {
<style lang="scss" scoped>
.pets-container {
min-height: 100vh;
padding-bottom: 120rpx;
padding-top: 20rpx;
}
.tabs-container {
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="record-detail-container">
<view class="record-detail-container page-container-with-bg">
<!-- 记录头部信息 -->
<view class="record-header">
<view class="header-info">
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="select-type-container">
<view class="select-type-container page-container-with-bg">
<view class="content-area">
<!-- 快捷记录 -->
<view class="section">