9.20界面

This commit is contained in:
2025-09-20 21:09:27 +08:00
parent d343a1389a
commit 44ac2723a0
118 changed files with 8042 additions and 679 deletions

View File

@@ -89,7 +89,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}),
o: common_vendor.o(($event) => $data.showType = false),
p: common_vendor.sr("popup", "4430e2e8-0"),
p: common_vendor.sr("popup", "42e126a9-0"),
q: common_vendor.o(($event) => $data.showType = $event),
r: common_vendor.p({
type: "bottom",

View File

@@ -1 +1 @@
<view class="page"><view class="form"><view class="field"><text class="label">账户名称</text><input class="input" placeholder="必填" value="{{a}}" bindinput="{{b}}"/></view><view class="field" bindtap="{{d}}"><text class="label">账户类型</text><text class="value">{{c}}</text></view><view wx:if="{{e}}" class="field"><text class="label">银行名称</text><input class="input" placeholder="选填" value="{{f}}" bindinput="{{g}}"/></view><view wx:if="{{h}}" class="field"><text class="label">银行账号</text><input class="input" placeholder="选填" value="{{i}}" bindinput="{{j}}"/></view><view class="field"><text class="label">当前余额</text><input class="input" type="number" placeholder="0.00" value="{{k}}" bindinput="{{l}}"/></view></view><view class="actions"><button class="primary" bindtap="{{m}}">保存</button></view><uni-popup wx:if="{{r}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="4430e2e8-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view class="sheet"><view wx:for="{{n}}" wx:for-item="t" wx:key="b" class="sheet-item" bindtap="{{t.c}}">{{t.a}}</view><view class="sheet-cancel" bindtap="{{o}}">取消</view></view></uni-popup></view>
<view class="page"><view class="form"><view class="field"><text class="label">账户名称</text><input class="input" placeholder="必填" value="{{a}}" bindinput="{{b}}"/></view><view class="field" bindtap="{{d}}"><text class="label">账户类型</text><text class="value">{{c}}</text></view><view wx:if="{{e}}" class="field"><text class="label">银行名称</text><input class="input" placeholder="选填" value="{{f}}" bindinput="{{g}}"/></view><view wx:if="{{h}}" class="field"><text class="label">银行账号</text><input class="input" placeholder="选填" value="{{i}}" bindinput="{{j}}"/></view><view class="field"><text class="label">当前余额</text><input class="input" type="number" placeholder="0.00" value="{{k}}" bindinput="{{l}}"/></view></view><view class="actions"><button class="primary" bindtap="{{m}}">保存</button></view><uni-popup wx:if="{{r}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="42e126a9-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view class="sheet"><view wx:for="{{n}}" wx:for-item="t" wx:key="b" class="sheet-item" bindtap="{{t.c}}">{{t.a}}</view><view class="sheet-cancel" bindtap="{{o}}">取消</view></view></uni-popup></view>

View File

@@ -1,23 +1,76 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.form { background:#fff;
.form {
background: #ffffff;
}
.field { display:flex; align-items:center; justify-content: space-between; padding: 18rpx 20rpx; border-bottom:1rpx solid #f3f3f3;
.field {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18rpx 20rpx;
border-bottom: 1rpx solid #e5e7eb;
}
.label { color:#666;
.label {
color: #444;
}
.input { flex:1; text-align: right; color:#333;
.input {
flex: 1;
text-align: right;
color: #111;
}
.value { color:#333;
.value {
color: #111;
}
.actions { margin-top: 20rpx; padding: 0 20rpx;
.actions {
margin-top: 20rpx;
padding: 0 20rpx;
}
.primary { width: 100%; background: #3c9cff; color:#fff; border-radius: 8rpx; padding: 22rpx 0;
.primary {
width: 100%;
background: #4C8DFF;
color: #fff;
border-radius: 8rpx;
padding: 22rpx 0;
}
.sheet { background:#fff;
.sheet {
background: #ffffff;
}
.sheet-item { padding: 26rpx; text-align:center; border-bottom:1rpx solid #f2f2f2;
}
.sheet-cancel { padding: 26rpx; text-align:center; color:#666;
.sheet-item {
padding: 26rpx;
text-align: center;
border-bottom: 1rpx solid #e5e7eb;
}
.sheet-cancel {
padding: 26rpx;
text-align: center;
color: #444;
}

View File

@@ -1,35 +1,106 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.filters { display:flex; gap: 16rpx; padding: 16rpx; background:#fff;
.filters {
display: flex;
gap: 16rpx;
padding: 16rpx;
background: #ffffff;
}
.field { display:flex; justify-content: space-between; align-items:center; padding: 16rpx; border:1rpx solid #eee; border-radius: 12rpx; min-width: 300rpx;
.field {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16rpx;
border: 1rpx solid #e5e7eb;
border-radius: 12rpx;
min-width: 300rpx;
}
.label { color:#666;
.label {
color: #444;
}
.value { color:#333;
.value {
color: #111;
}
.summary { display:grid; grid-template-columns: repeat(4,1fr); gap: 12rpx; padding: 12rpx 16rpx; background:#fff; border-top:1rpx solid #f1f1f1; border-bottom:1rpx solid #f1f1f1;
.summary {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12rpx;
padding: 12rpx 16rpx;
background: #ffffff;
border-top: 1rpx solid #e5e7eb;
border-bottom: 1rpx solid #e5e7eb;
}
.sum-item { padding: 12rpx; text-align:center;
.sum-item {
padding: 12rpx;
text-align: center;
}
.k { display:block; color:#888; font-size: 24rpx;
.k {
display: block;
color: #444;
font-size: 24rpx;
}
.v { display:block; margin-top:6rpx; font-weight:700; color:#333;
.v {
display: block;
margin-top: 6rpx;
font-weight: 700;
color: #111;
}
.list { flex:1;
.list {
flex: 1;
}
.item { padding: 18rpx 16rpx; border-bottom:1rpx solid #f4f4f4; background:#fff;
.item {
padding: 18rpx 16rpx;
border-bottom: 1rpx solid #e5e7eb;
background: #ffffff;
}
.row { display:flex; align-items:center; justify-content: space-between; margin-bottom: 6rpx;
.row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6rpx;
}
.title { color:#333;
.title {
color: #111;
}
.amount { font-weight:700;
.amount {
font-weight: 700;
}
.amount.in { color:#2a9d8f;
.amount.in {
color: #2a9d8f;
}
.amount.out { color:#d35b5b;
}
.meta { color:#999; font-size: 24rpx;
.amount.out {
color: #d35b5b;
}
.meta {
color: #444;
font-size: 24rpx;
}

View File

@@ -1,13 +1,62 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.list { flex:1;
.list {
flex: 1;
}
.item { padding: 20rpx 24rpx; background:#fff; border-bottom: 1rpx solid #f1f1f1;
.item {
padding: 20rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.name { color:#333; margin-bottom: 6rpx;
.name {
color: #111;
margin-bottom: 6rpx;
}
.meta { color:#888; font-size: 24rpx;
}
.fab { position: fixed; right: 32rpx; bottom: 120rpx; width: 100rpx; height: 100rpx; border-radius: 50%; background:#3c9cff; color:#fff; display:flex; align-items:center; justify-content:center; font-size: 52rpx; box-shadow: 0 10rpx 20rpx rgba(0,0,0,0.18);
.meta {
color: #444;
font-size: 24rpx;
}
.fab {
position: fixed;
right: 32rpx;
bottom: 120rpx;
width: 100rpx;
height: 100rpx;
border-radius: 50%;
background: #4C8DFF;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 52rpx;
box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.18);
}

View File

@@ -1,23 +1,87 @@
.page { padding-bottom: 140rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
padding-bottom: 140rpx;
}
.card { background:#fff; margin: 16rpx; padding: 12rpx 16rpx; border-radius: 16rpx;
.card {
background: #ffffff;
margin: 16rpx;
padding: 12rpx 16rpx;
border-radius: 16rpx;
}
.row { display:flex; justify-content: space-between; padding: 18rpx 8rpx; border-bottom: 1rpx solid #f3f3f3;
.row {
display: flex;
justify-content: space-between;
padding: 18rpx 8rpx;
border-bottom: 1rpx solid #e5e7eb;
}
.row:last-child { border-bottom: 0;
.row:last-child {
border-bottom: 0;
}
.label { color:#666;
.label {
color: #444;
}
.value { color:#333; max-width: 60%; text-align: right;
.value {
color: #111;
max-width: 60%;
text-align: right;
}
.value-input { color:#333; text-align: right; flex: 1;
.value-input {
color: #111;
text-align: right;
flex: 1;
}
.emp { color:#107e9b; font-weight: 700;
.emp {
color: #4C8DFF;
font-weight: 700;
}
.bottom { position: fixed; left:0; right:0; bottom:0; background:#fff; padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx); box-shadow: 0 -4rpx 12rpx rgba(0,0,0,0.06); display:flex; gap: 12rpx;
.bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx);
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.1);
display: flex;
gap: 12rpx;
}
.primary { flex:1; background: linear-gradient(135deg, #A0E4FF 0%, #17A2C4 100%); color:#fff; border-radius: 999rpx; padding: 20rpx 0;
}
.ghost { flex:1; background:#fff; color:#107e9b; border: 2rpx solid #A0E4FF; border-radius: 999rpx; padding: 18rpx 0;
.primary {
flex: 1;
background: #4C8DFF;
color: #fff;
border-radius: 999rpx;
padding: 20rpx 0;
}
.ghost {
flex: 1;
background: #ffffff;
color: #4C8DFF;
border: 2rpx solid rgba(76, 141, 255, 0.35);
border-radius: 999rpx;
padding: 18rpx 0;
}

View File

@@ -1,15 +1,65 @@
.page { padding-bottom: 140rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
padding-bottom: 140rpx;
}
.field { display:flex; justify-content: space-between; padding: 22rpx 24rpx; background:#fff; border-bottom:1rpx solid #eee;
.field {
display: flex;
justify-content: space-between;
padding: 22rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.label { color:#666;
.label {
color: #444;
}
.value { color:#333; text-align: right; flex: 1;
.value {
color: #111;
text-align: right;
flex: 1;
}
.textarea { padding: 16rpx 24rpx; background:#fff; margin-top: 12rpx;
.textarea {
padding: 16rpx 24rpx;
background: #ffffff;
margin-top: 12rpx;
}
.bottom { position: fixed; left:0; right:0; bottom:0; background:#fff; padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx); box-shadow: 0 -4rpx 12rpx rgba(0,0,0,0.06);
}
.primary { width: 100%; background: linear-gradient(135deg, #A0E4FF 0%, #17A2C4 100%); color:#fff; border-radius: 999rpx; padding: 20rpx 0;
.bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx);
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.1);
}
.primary {
width: 100%;
background: #4C8DFF;
color: #fff;
border-radius: 999rpx;
padding: 20rpx 0;
}

View File

@@ -1,19 +1,77 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.search { display:flex; gap: 12rpx; padding: 16rpx; background:#fff; align-items:center;
.search {
display: flex;
gap: 12rpx;
padding: 16rpx;
background: #ffffff;
align-items: center;
}
.search input { flex:1; background:#f6f6f6; border-radius: 12rpx; padding: 12rpx;
.search input {
flex: 1;
background: #f1f1f1;
border-radius: 12rpx;
padding: 12rpx;
color: #111;
}
.list { flex:1;
.list {
flex: 1;
}
.item { padding: 20rpx 24rpx; background:#fff; border-bottom: 1rpx solid #f1f1f1;
.item {
padding: 20rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.name { color:#333; margin-bottom: 6rpx;
.name {
color: #111;
margin-bottom: 6rpx;
}
.meta { color:#888; font-size: 24rpx;
.meta {
color: #444;
font-size: 24rpx;
}
.bottom { position: fixed; left:0; right:0; bottom:0; background:#fff; padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx); box-shadow: 0 -4rpx 12rpx rgba(0,0,0,0.06);
}
.primary { width: 100%; background: linear-gradient(135deg, #A0E4FF 0%, #17A2C4 100%); color:#fff; border-radius: 999rpx; padding: 20rpx 0;
.bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx);
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.1);
}
.primary {
width: 100%;
background: #4C8DFF;
color: #fff;
border-radius: 999rpx;
padding: 20rpx 0;
}

View File

@@ -1,49 +1,158 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.seg { display:flex; background:#fff;
.seg {
display: flex;
background: #ffffff;
}
.seg-item { flex:1; padding: 22rpx 0; text-align:center; color:#666;
.seg-item {
flex: 1;
padding: 22rpx 0;
text-align: center;
color: #444;
}
.seg-item.active { color:#18b566; font-weight: 600;
.seg-item.active {
color: #4C8DFF;
font-weight: 600;
}
.content { display:flex; flex:1; min-height: 0;
.content {
display: flex;
flex: 1;
min-height: 0;
}
.biz-tabs { width: 120rpx; background:#eef6ff; display:flex; flex-direction: column;
.biz-tabs {
width: 120rpx;
background: #f1f1f1;
display: flex;
flex-direction: column;
}
.biz { flex:0 0 120rpx; display:flex; align-items:center; justify-content:center; color:#4aa3d6;
.biz {
flex: 0 0 120rpx;
display: flex;
align-items: center;
justify-content: center;
color: #4C8DFF;
}
.biz.active { background:#3ac1c9; color:#fff; border-radius: 0 16rpx 16rpx 0;
.biz.active {
background: #4C8DFF;
color: #fff;
border-radius: 0 16rpx 16rpx 0;
}
.panel { flex:1; display:flex; flex-direction: column; background:#fff; margin: 16rpx; border-radius: 16rpx; padding: 12rpx;
.panel {
flex: 1;
display: flex;
flex-direction: column;
background: #ffffff;
margin: 16rpx;
border-radius: 16rpx;
padding: 12rpx;
}
.toolbar { display:flex; align-items: center; gap: 12rpx; padding: 8rpx 6rpx;
.toolbar {
display: flex;
align-items: center;
gap: 12rpx;
padding: 8rpx 6rpx;
}
.search { flex:1;
.search {
flex: 1;
}
.search-input { width:100%; background:#f6f6f6; border-radius: 12rpx; padding: 12rpx;
.search-input {
width: 100%;
background: #f1f1f1;
border-radius: 12rpx;
padding: 12rpx;
color: #111;
}
.period { color:#999; font-size: 24rpx; padding: 0 6rpx;
.period {
color: #444;
font-size: 24rpx;
padding: 0 6rpx;
}
.total { color:#18b566; font-weight: 700; padding: 6rpx 6rpx 12rpx;
.total {
color: #4C8DFF;
font-weight: 700;
padding: 6rpx 6rpx 12rpx;
}
.list { flex:1;
.list {
flex: 1;
}
.item { display:flex; align-items:center; padding: 20rpx 10rpx; border-bottom: 1rpx solid #f1f1f1;
.item {
display: flex;
align-items: center;
padding: 20rpx 10rpx;
border-bottom: 1rpx solid #e5e7eb;
}
.item-left { flex:1;
.item-left {
flex: 1;
}
.date { color:#999; font-size: 24rpx;
.date {
color: #444;
font-size: 24rpx;
}
.name { color:#333; margin: 4rpx 0; font-weight: 600;
.name {
color: #111;
margin: 4rpx 0;
font-weight: 600;
}
.no { color:#bbb; font-size: 22rpx;
.no {
color: #99a2b3;
font-size: 22rpx;
}
.amount { color:#333; font-weight: 700;
.amount {
color: #111;
font-weight: 700;
}
.arrow { color:#ccc; font-size: 40rpx; margin-left: 8rpx;
.arrow {
color: #8c99b0;
font-size: 40rpx;
margin-left: 8rpx;
}
.empty { height: 50vh; display:flex; align-items:center; justify-content:center; color:#999;
}
.fab { position: fixed; right: 30rpx; bottom: 120rpx; width: 100rpx; height: 100rpx; background:#18b566; color:#fff; border-radius: 50rpx; text-align:center; line-height: 100rpx; font-size: 48rpx; box-shadow: 0 8rpx 20rpx rgba(0,0,0,0.15);
.empty {
height: 50vh;
display: flex;
align-items: center;
justify-content: center;
color: #444;
}
.fab {
position: fixed;
right: 30rpx;
bottom: 120rpx;
width: 100rpx;
height: 100rpx;
background: #4C8DFF;
color: #fff;
border-radius: 50rpx;
text-align: center;
line-height: 100rpx;
font-size: 48rpx;
box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.15);
}

View File

@@ -2,7 +2,6 @@
const common_vendor = require("../../common/vendor.js");
const common_http = require("../../common/http.js");
const common_constants = require("../../common/constants.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
return {
@@ -114,7 +113,7 @@ const _sfc_main = {
},
goDetail() {
try {
common_vendor.index.__f__("log", "at pages/index/index.vue:177", "[index] goDetail → /pages/detail/index");
common_vendor.index.__f__("log", "at pages/index/index.vue:176", "[index] goDetail → /pages/detail/index");
} catch (e) {
}
common_vendor.index.switchTab({ url: "/pages/detail/index" });
@@ -136,16 +135,15 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_assets._imports_0,
b: common_vendor.t($data.kpi.todaySales),
c: common_vendor.t($data.kpi.monthSales),
d: common_vendor.t($data.kpi.monthProfit),
e: common_vendor.t($data.kpi.stockCount),
f: $data.loadingNotices
a: common_vendor.t($data.kpi.todaySales),
b: common_vendor.t($data.kpi.monthSales),
c: common_vendor.t($data.kpi.monthProfit),
d: common_vendor.t($data.kpi.stockCount),
e: $data.loadingNotices
}, $data.loadingNotices ? {} : $data.noticeError ? {
h: common_vendor.t($data.noticeError)
g: common_vendor.t($data.noticeError)
} : !$data.notices.length ? {} : {
j: common_vendor.f($data.notices, (n, idx, i0) => {
i: common_vendor.f($data.notices, (n, idx, i0) => {
return common_vendor.e({
a: common_vendor.t(n.text),
b: n.tag
@@ -157,9 +155,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
});
})
}, {
g: $data.noticeError,
i: !$data.notices.length,
k: common_vendor.f($data.features, (item, k0, i0) => {
f: $data.noticeError,
h: !$data.notices.length,
j: common_vendor.f($data.features, (item, k0, i0) => {
return common_vendor.e({
a: item.img
}, item.img ? {

View File

@@ -1 +1 @@
<view class="home"><image class="home-bg" src="{{a}}" mode="aspectFill"></image><view class="hero"><view class="hero-top"><text class="brand">五金配件管家</text><view class="cta"><text class="cta-text">咨询</text></view></view><view class="kpi"><view class="kpi-item"><text class="kpi-label">今日销售额</text><text class="kpi-value">{{b}}</text></view><view class="kpi-item"><text class="kpi-label">本月销售额</text><text class="kpi-value">{{c}}</text></view><view class="kpi-item"><text class="kpi-label">本月利润</text><text class="kpi-value">{{d}}</text></view><view class="kpi-item"><text class="kpi-label">库存商品数量</text><text class="kpi-value">{{e}}</text></view></view></view><view class="notice"><view class="notice-left">广告</view><view wx:if="{{f}}" class="notice-swiper" style="display:flex;align-items:center;color:#6b5a2a">加载中...</view><view wx:elif="{{g}}" class="notice-swiper" style="display:flex;align-items:center;color:#dd524d">{{h}}</view><view wx:elif="{{i}}" class="notice-swiper" style="display:flex;align-items:center;color:#6b5a2a">暂无公告</view><swiper wx:else class="notice-swiper" circular autoplay interval="4000" duration="400" vertical><swiper-item wx:for="{{j}}" wx:for-item="n" wx:key="e"><view class="notice-item" bindtap="{{n.d}}"><text class="notice-text">{{n.a}}</text><text wx:if="{{n.b}}" class="notice-tag">{{n.c}}</text></view></swiper-item></swiper></view><view class="section-title"><text class="section-text">常用功能</text></view><view class="grid-wrap"><view class="grid"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="grid-item" bindtap="{{item.h}}"><view class="icon icon-squircle"><image wx:if="{{item.a}}" src="{{item.b}}" class="icon-img" mode="aspectFit" binderror="{{item.c}}"></image><text wx:elif="{{item.d}}" class="icon-emoji">{{item.e}}</text><view wx:else class="icon-placeholder"></view></view><text class="grid-chip">{{item.f}}</text></view></view></view></view>
<view class="home"><view class="hero"><view class="hero-top"><text class="brand">五金配件管家</text><view class="cta"><text class="cta-text">咨询</text></view></view><view class="kpi"><view class="kpi-item"><text class="kpi-label">今日销售额</text><text class="kpi-value">{{a}}</text></view><view class="kpi-item"><text class="kpi-label">本月销售额</text><text class="kpi-value">{{b}}</text></view><view class="kpi-item"><text class="kpi-label">本月利润</text><text class="kpi-value">{{c}}</text></view><view class="kpi-item"><text class="kpi-label">库存商品数量</text><text class="kpi-value">{{d}}</text></view></view></view><view class="notice"><view class="notice-left">广告</view><view wx:if="{{e}}" class="notice-swiper" style="display:flex;align-items:center;color:#6b5a2a">加载中...</view><view wx:elif="{{f}}" class="notice-swiper" style="display:flex;align-items:center;color:#dd524d">{{g}}</view><view wx:elif="{{h}}" class="notice-swiper" style="display:flex;align-items:center;color:#6b5a2a">暂无公告</view><swiper wx:else class="notice-swiper" circular autoplay interval="4000" duration="400" vertical><swiper-item wx:for="{{i}}" wx:for-item="n" wx:key="e"><view class="notice-item" bindtap="{{n.d}}"><text class="notice-text">{{n.a}}</text><text wx:if="{{n.b}}" class="notice-tag">{{n.c}}</text></view></swiper-item></swiper></view><view class="section-title"><text class="section-text">常用功能</text></view><view class="grid-wrap"><view class="grid"><view wx:for="{{j}}" wx:for-item="item" wx:key="g" class="grid-item" bindtap="{{item.h}}"><view class="icon icon-squircle"><image wx:if="{{item.a}}" src="{{item.b}}" class="icon-img" mode="aspectFit" binderror="{{item.c}}"></image><text wx:elif="{{item.d}}" class="icon-emoji">{{item.e}}</text><view wx:else class="icon-placeholder"></view></view><text class="grid-chip">{{item.f}}</text></view></view></view></view>

View File

@@ -1,185 +1,293 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.home {
padding-bottom: 140rpx;
position: relative;
/* 明亮奢华背景:金属拉丝纹理覆盖层 + 柔和浅色渐变 */
background:
repeating-linear-gradient(0deg, rgba(180,180,180,0.12) 0rpx, rgba(180,180,180,0.12) 2rpx, rgba(255,255,255,0.0) 2rpx, rgba(255,255,255,0.0) 10rpx),
linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.55) 40%, rgba(255, 255, 255, 0.35) 100%);
min-height: 100vh;
}
.home-bg {
position: fixed;
left: 0; top: 0; right: 0; bottom: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: -1;
padding-bottom: 140rpx;
position: relative;
/* 纯白背景 */
background: #ffffff;
min-height: 100vh;
}
/* 公告栏 */
/* 公告栏 */
.notice {
margin: 0 24rpx 24rpx;
padding: 20rpx 22rpx;
border-radius: 20rpx;
background: rgba(255,255,255,0.78);
-webkit-backdrop-filter: blur(12rpx);
backdrop-filter: blur(12rpx);
border: 2rpx solid rgba(203, 166, 61, 0.28);
display: flex;
align-items: center;
gap: 16rpx;
margin: 0 24rpx 24rpx;
padding: 20rpx 22rpx;
border-radius: 20rpx;
background: #ffffff;
border: 2rpx solid #e5e7eb;
display: flex;
align-items: center;
gap: 16rpx;
}
.notice-left {
flex: 0 0 auto;
display: inline-flex; align-items: center; justify-content: center;
min-width: 96rpx; height: 44rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: linear-gradient(135deg, #FFE69A, #F4CF62);
color: #3f320f;
font-size: 24rpx;
font-weight: 800;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 100rpx;
height: 52rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: #4C8DFF;
color: #fff;
font-size: 28rpx;
font-weight: 800;
}
.notice-swiper { height: 72rpx; flex: 1;
.notice-swiper {
height: 72rpx;
flex: 1;
}
.notice-item { display: flex; align-items: center; gap: 12rpx; min-height: 72rpx;
.notice-item {
display: flex;
align-items: center;
gap: 12rpx;
min-height: 72rpx;
}
.notice-text { color: #4b3e19; font-size: 28rpx; line-height: 36rpx; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
.notice-text {
color: #111;
font-size: 28rpx;
line-height: 36rpx;
font-weight: 600;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.notice-tag { color: #B4880F; font-size: 22rpx; padding: 4rpx 10rpx; border-radius: 999rpx; background: rgba(215,167,46,0.18);
.notice-tag {
color: #4C8DFF;
font-size: 22rpx;
padding: 4rpx 10rpx;
border-radius: 999rpx;
background: rgba(76, 141, 255, 0.18);
}
/* 分割标题 */
.section-title { display: flex; align-items: center; gap: 16rpx; padding: 10rpx 28rpx 0;
/* 分割标题 */
.section-title {
display: flex;
align-items: center;
gap: 16rpx;
padding: 10rpx 28rpx 0;
}
.section-title::before { content: ''; display: block; width: 8rpx; height: 28rpx; border-radius: 8rpx; background: linear-gradient(180deg, #FFE69A, #D7A72E);
.section-title::before {
content: "";
display: block;
width: 8rpx;
height: 28rpx;
border-radius: 8rpx;
background: #4C8DFF;
}
.section-text { color: #6b5a2a; font-size: 28rpx; font-weight: 700; letter-spacing: 1rpx;
.section-text {
color: #111;
font-size: 30rpx;
font-weight: 700;
letter-spacing: 1rpx;
}
/* 顶部英雄区:浅色玻璃卡片,带金色描边与柔和阴影 */
/* 顶部英雄区:浅色玻璃卡片,带金色描边与柔和阴影 */
.hero {
margin: 24rpx;
padding: 32rpx;
border-radius: 28rpx;
background: rgba(255, 255, 255, 0.65);
-webkit-backdrop-filter: blur(14rpx);
backdrop-filter: blur(14rpx);
border: 2rpx solid rgba(203, 166, 61, 0.35);
box-shadow: 0 12rpx 28rpx rgba(0, 0, 0, 0.10), 0 0 0 2rpx rgba(255,255,255,0.60) inset;
color: #473c22;
margin: 24rpx;
padding: 32rpx;
border-radius: 28rpx;
background: #ffffff;
border: 2rpx solid #e5e7eb;
box-shadow: none;
color: #111;
}
.hero-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.brand {
font-size: 42rpx;
font-weight: 700;
letter-spacing: 2rpx;
color: #B4880F; /* 金色标题 */
font-size: 42rpx;
font-weight: 700;
letter-spacing: 2rpx;
color: #4C8DFF;
}
.cta {
padding: 10rpx 22rpx;
border-radius: 999rpx;
background: linear-gradient(135deg, rgba(255, 220, 128, 0.65), rgba(255, 240, 190, 0.65));
border: 2rpx solid rgba(203, 166, 61, 0.45);
box-shadow: 0 6rpx 14rpx rgba(203, 166, 61, 0.25);
padding: 10rpx 22rpx;
border-radius: 999rpx;
background: #4C8DFF;
border: 2rpx solid #4C8DFF;
box-shadow: none;
}
.cta-text { color: #5a4712; font-size: 26rpx;
.cta-text {
color: #fff;
font-size: 30rpx;
font-weight: 700;
letter-spacing: 1rpx;
}
.kpi { display: flex;
.kpi {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8rpx;
}
.kpi-item { flex: 1;
.kpi-item {
text-align: center;
}
.kpi-label { opacity: 0.9; font-size: 24rpx; color: #6b5a2a;
.kpi-label {
opacity: 0.9;
font-size: 26rpx;
color: #444;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
line-height: 32rpx;
/* 行高>=字体,避免上沿被裁切 */
min-height: 64rpx;
/* 两行高度,防止折行挤压 */
}
.kpi-value { display: block; margin-top: 12rpx; font-size: 46rpx; font-weight: 800; color: #B4880F;
.kpi-value {
display: block;
margin-top: 8rpx;
font-size: 56rpx;
font-weight: 800;
color: #4C8DFF;
}
/* 功能容器:整体玻璃面板,增强融入感 */
/* 功能容器:整体玻璃面板,增强融入感 */
.grid-wrap {
margin: 0 20rpx 32rpx;
padding: 28rpx 20rpx 12rpx;
border-radius: 24rpx;
background: rgba(255,255,255,0.55);
-webkit-backdrop-filter: blur(10rpx);
backdrop-filter: blur(10rpx);
border: 2rpx solid rgba(203,166,61,0.22);
box-shadow: 0 8rpx 18rpx rgba(0,0,0,0.06);
margin: 0 20rpx 32rpx;
padding: 28rpx 20rpx 12rpx;
border-radius: 24rpx;
background: #ffffff;
border: 2rpx solid #e5e7eb;
box-shadow: none;
}
/* 功能九宫格 */
/* 功能九宫格 */
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-row-gap: 64rpx;
grid-column-gap: 36rpx;
padding: 40rpx 28rpx 28rpx;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-row-gap: 64rpx;
grid-column-gap: 36rpx;
padding: 40rpx 28rpx 28rpx;
}
.grid-item { display: flex; flex-direction: column; align-items: center; text-align: center;
.grid-item {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.icon { display: flex; align-items: center; justify-content: center; color: #6b5a2a; position: relative;
.icon {
display: flex;
align-items: center;
justify-content: center;
color: #111;
position: relative;
}
.icon-squircle {
width: 132rpx; height: 132rpx;
border-radius: 28rpx;
background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.70));
-webkit-backdrop-filter: blur(12rpx);
backdrop-filter: blur(12rpx);
border: 2rpx solid rgba(203,166,61,0.22);
box-shadow: 0 10rpx 24rpx rgba(0,0,0,0.10), 0 0 0 2rpx rgba(255,255,255,0.65) inset;
overflow: hidden;
width: 132rpx;
height: 132rpx;
border-radius: 28rpx;
background: #f1f1f1;
border: 2rpx solid #e5e7eb;
box-shadow: none;
overflow: hidden;
}
.icon-squircle::before { content: ''; position: absolute; left: -30%; top: -40%; width: 160%; height: 70%; background: linear-gradient( to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.0) ); transform: rotate(12deg);
.icon-squircle::before {
content: "";
position: absolute;
left: -30%;
top: -40%;
width: 160%;
height: 70%;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
transform: rotate(12deg);
}
.icon-img { width: 96rpx; height: 96rpx;
.icon-img {
width: 96rpx;
height: 96rpx;
}
.icon-emoji { font-size: 60rpx; line-height: 1;
.icon-emoji {
font-size: 60rpx;
line-height: 1;
}
.icon-placeholder { width: 84rpx; height: 84rpx; border-radius: 18rpx; background:
linear-gradient(135deg, rgba(212,175,55,0.18), rgba(255,255,255,0.0)),
repeating-linear-gradient(90deg, rgba(180,150,60,0.35) 0, rgba(180,150,60,0.35) 8rpx, transparent 8rpx, transparent 16rpx),
repeating-linear-gradient(0deg, rgba(180,150,60,0.20) 0, rgba(180,150,60,0.20) 8rpx, transparent 8rpx, transparent 16rpx);
box-shadow: inset 0 0 0 2rpx rgba(203,166,61,0.28);
.icon-placeholder {
width: 84rpx;
height: 84rpx;
border-radius: 18rpx;
background: #f1f1f1;
border: 2rpx solid #e5e7eb;
box-shadow: none;
}
.icon-text { font-size: 46rpx; font-weight: 700;
.icon-text {
font-size: 46rpx;
font-weight: 700;
}
.grid-title { display: none;
.grid-title {
display: none;
}
.grid-chip { margin-top: 14rpx; padding: 6rpx 14rpx; border-radius: 999rpx; background: rgba(215,167,46,0.16); color: #5a4a1f; font-size: 22rpx;
.grid-chip {
margin-top: 14rpx;
padding: 8rpx 16rpx;
border-radius: 999rpx;
background: #4C8DFF;
color: #fff;
font-size: 28rpx;
font-weight: 700;
}
/* 底部操作条:浅色半透明 + 金色主按钮 */
/* 底部操作条:浅色半透明 + 金色主按钮 */
.bottom-bar {
position: fixed;
left: 0; right: 0; bottom: 0;
display: flex;
align-items: center;
justify-content: space-around;
padding: 14rpx 18rpx calc(env(safe-area-inset-bottom) + 14rpx);
background: rgba(255,255,255,0.85);
box-shadow: 0 -6rpx 18rpx rgba(0,0,0,0.08);
-webkit-backdrop-filter: blur(10rpx);
backdrop-filter: blur(10rpx);
z-index: 9999;
position: fixed;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: space-around;
padding: 14rpx 18rpx calc(env(safe-area-inset-bottom) + 14rpx);
background: rgba(255, 255, 255, 0.85);
box-shadow: 0 -6rpx 18rpx rgba(0, 0, 0, 0.08);
-webkit-backdrop-filter: blur(10rpx);
backdrop-filter: blur(10rpx);
z-index: 9999;
}
.tab { flex: 1; text-align: center; color: #8a7535; font-size: 26rpx;
.tab {
flex: 1;
text-align: center;
color: #8a7535;
font-size: 26rpx;
}
.tab.active { color: #B4880F;
.tab.active {
color: #B4880F;
}
.tab.primary {
flex: 0 0 auto;
min-width: 180rpx;
margin: 0 18rpx;
padding: 18rpx 32rpx;
background: linear-gradient(135deg, #FFE69A 0%, #F4CF62 45%, #D7A72E 100%);
color: #493c1b;
border-radius: 999rpx;
font-size: 30rpx;
font-weight: 800;
box-shadow: 0 10rpx 22rpx rgba(215,167,46,0.25), 0 0 0 2rpx rgba(255,255,255,0.70) inset;
}
flex: 0 0 auto;
min-width: 180rpx;
margin: 0 18rpx;
padding: 18rpx 32rpx;
background: linear-gradient(135deg, #FFE69A 0%, #F4CF62 45%, #D7A72E 100%);
color: #493c1b;
border-radius: 999rpx;
font-size: 30rpx;
font-weight: 800;
box-shadow: 0 10rpx 22rpx rgba(215, 167, 46, 0.25), 0 0 0 2rpx rgba(255, 255, 255, 0.7) inset;
}

View File

@@ -16,7 +16,7 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0$1,
a: common_assets._imports_0,
b: common_vendor.o((...args) => $options.openPolicy && $options.openPolicy(...args)),
c: common_vendor.o((...args) => $options.openTerms && $options.openTerms(...args)),
d: common_vendor.o((...args) => $options.openComplaint && $options.openComplaint(...args))

View File

@@ -1,21 +1,74 @@
.about { padding: 24rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.about {
padding: 24rpx;
}
.hero { padding: 32rpx 24rpx; display: flex; flex-direction: column; align-items: center; gap: 10rpx;
.hero {
padding: 32rpx 24rpx;
display: flex;
flex-direction: column;
align-items: center;
gap: 10rpx;
}
.logo { width: 160rpx; height: 160rpx; border-radius: 32rpx;
.logo {
width: 160rpx;
height: 160rpx;
border-radius: 32rpx;
}
.title { margin-top: 8rpx; font-size: 36rpx; font-weight: 800; color: #333;
.title {
margin-top: 8rpx;
font-size: 36rpx;
font-weight: 800;
color: #111;
}
.subtitle { font-size: 26rpx; color: #888;
.subtitle {
font-size: 26rpx;
color: #444;
}
.card { margin-top: 18rpx; background: #fff; border-radius: 16rpx; overflow: hidden;
.card {
margin-top: 18rpx;
background: #ffffff;
border-radius: 16rpx;
overflow: hidden;
}
.row { display: flex; align-items: center; padding: 24rpx; border-top: 1rpx solid #f2f2f2;
.row {
display: flex;
align-items: center;
padding: 24rpx;
border-top: 1rpx solid #e5e7eb;
}
.label { color: #666;
.label {
color: #444;
}
.value { margin-left: auto; color: #333;
}
.link { margin-left: auto; color: #1aad19;
.value {
margin-left: auto;
color: #111;
}
.link {
margin-left: auto;
color: #4C8DFF;
}

View File

@@ -1,27 +1,96 @@
.me { padding: 24rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.me {
padding: 24rpx;
}
.card.user { display: flex; gap: 18rpx; padding: 22rpx; background: #fff; border-radius: 16rpx; box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.06); align-items: center;
.card.user {
display: flex;
gap: 18rpx;
padding: 22rpx;
background: #ffffff;
border-radius: 16rpx;
box-shadow: 0 6rpx 16rpx rgba(0, 0, 0, 0.16);
align-items: center;
}
.avatar { width: 120rpx; height: 120rpx; border-radius: 60rpx; background: #f5f5f5;
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 60rpx;
background: #f1f1f1;
}
.meta { display: flex; flex-direction: column; gap: 6rpx;
.meta {
display: flex;
flex-direction: column;
gap: 6rpx;
}
.name { font-size: 34rpx; font-weight: 700; color: #333;
.name {
font-size: 34rpx;
font-weight: 700;
color: #111;
}
.phone { font-size: 26rpx; color: #888;
.phone {
font-size: 26rpx;
color: #444;
}
.role { font-size: 22rpx; color: #999;
.role {
font-size: 22rpx;
color: #444;
}
.group { margin-top: 24rpx; background: #fff; border-radius: 16rpx; overflow: hidden;
.group {
margin-top: 24rpx;
background: #ffffff;
border-radius: 16rpx;
overflow: hidden;
}
.group-title { padding: 18rpx 22rpx; font-size: 26rpx; color: #999; background: #fafafa;
.group-title {
padding: 18rpx 22rpx;
font-size: 26rpx;
color: #444;
background: #f1f1f1;
}
.cell { display: flex; align-items: center; padding: 26rpx 22rpx; border-top: 1rpx solid #f0f0f0; color: #333;
.cell {
display: flex;
align-items: center;
padding: 26rpx 22rpx;
border-top: 1rpx solid #e5e7eb;
color: #111;
}
.cell .desc { margin-left: auto; margin-right: 8rpx; font-size: 22rpx; color: #999;
.cell .desc {
margin-left: auto;
margin-right: 8rpx;
font-size: 22rpx;
color: #444;
}
.cell .arrow { margin-left: auto; color: #bbb;
}
.cell.danger { color: #dd524d; justify-content: center; font-weight: 700;
.cell .arrow {
margin-left: auto;
color: #99a2b3;
}
.cell.danger {
color: #dd524d;
justify-content: center;
font-weight: 700;
}

View File

@@ -367,7 +367,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
aa: $data.biz === "sale" || $data.biz === "purchase",
ar: !$data.items.length
}, !$data.items.length ? {
as: common_assets._imports_0$1
as: common_assets._imports_0
} : {
at: common_vendor.f($data.items, (it, idx, i0) => {
return {

View File

@@ -1,59 +1,184 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.order {
padding-bottom: 140rpx;
}
.tabs {
display: flex;
justify-content: space-around;
padding: 16rpx 24rpx;
}
.tabs text {
color: #444;
}
.tabs text.active {
color: #111;
font-weight: 700;
}
.subtabs {
display: flex;
gap: 16rpx;
padding: 0 24rpx 16rpx;
}
.subbtn {
padding: 10rpx 20rpx;
border-radius: 999rpx;
background: #f1f1f1;
color: #444;
}
.subbtn.active {
background: #4C8DFF;
color: #fff;
}
.field {
display: flex;
justify-content: space-between;
padding: 22rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.label {
color: #444;
}
.value {
color: #111;
}
.summary {
display: flex;
justify-content: space-between;
padding: 22rpx 24rpx;
color: #111;
}
.add {
margin: 24rpx auto;
width: 120rpx;
height: 120rpx;
border-radius: 20rpx;
background: #4C8DFF;
color: #fff;
font-size: 72rpx;
display: flex;
align-items: center;
justify-content: center;
}
.empty {
display: flex;
flex-direction: column;
align-items: center;
padding: 60rpx 0;
color: #444;
}
.empty-img {
width: 220rpx;
margin-bottom: 20rpx;
}
.empty-text {
margin-bottom: 8rpx;
}
.list {
background: #ffffff;
}
.row {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 12rpx;
padding: 16rpx 12rpx;
align-items: center;
border-bottom: 1rpx solid #e5e7eb;
}
.col.name {
padding-left: 12rpx;
}
.col.amount {
text-align: right;
padding-right: 12rpx;
color: #111;
}
.bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx);
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.16);
}
.primary {
width: 100%;
background: #4C8DFF;
color: #fff;
border-radius: 999rpx;
padding: 20rpx 0;
font-weight: 800;
}
.order { padding-bottom: 140rpx;
/* 收款/付款页样式 */
.pay-row .pay-input {
text-align: right;
color: #111;
}
.tabs { display: flex; justify-content: space-around; padding: 16rpx 24rpx;
.textarea {
position: relative;
padding: 16rpx 24rpx;
background: #ffffff;
border-top: 1rpx solid #e5e7eb;
}
.tabs text { color: #666;
.amount-badge {
position: absolute;
right: 24rpx;
top: -36rpx;
background: #4C8DFF;
color: #fff;
padding: 8rpx 16rpx;
border-radius: 12rpx;
font-size: 24rpx;
}
.tabs text.active { color: #333; font-weight: 700;
.date-mini {
position: absolute;
right: 24rpx;
bottom: 20rpx;
color: #444;
font-size: 24rpx;
}
.subtabs { display: flex; gap: 16rpx; padding: 0 24rpx 16rpx;
/* 分类chips样式选中后文字变红 */
.chips {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
padding: 12rpx 24rpx;
}
.subbtn { padding: 10rpx 20rpx; border-radius: 999rpx; background: #f4f4f4; color: #666;
}
.subbtn.active { background: #ffe69a; color: #3f320f;
}
.field { display:flex; justify-content: space-between; padding: 22rpx 24rpx; background: #fff; border-bottom: 1rpx solid #eee;
}
.label { color:#666;
}
.value { color:#333;
}
.summary { display:flex; justify-content: space-between; padding: 22rpx 24rpx; color:#333;
}
.add { margin: 24rpx auto; width: 120rpx; height: 120rpx; border-radius: 20rpx; background: #c7eef7; color:#16a1c4; font-size: 72rpx; display:flex; align-items:center; justify-content:center;
}
.empty { display:flex; flex-direction: column; align-items:center; padding: 60rpx 0; color:#888;
}
.empty-img { width: 220rpx; margin-bottom: 20rpx;
}
.empty-text { margin-bottom: 8rpx;
}
.list { background:#fff;
}
.row { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12rpx; padding: 16rpx 12rpx; align-items:center; border-bottom: 1rpx solid #f3f3f3;
}
.col.name { padding-left: 12rpx;
}
.col.amount { text-align:right; padding-right: 12rpx; color:#333;
}
.bottom { position: fixed; left:0; right:0; bottom:0; background:#fff; padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx); box-shadow: 0 -4rpx 12rpx rgba(0,0,0,0.06);
}
.primary { width: 100%; background: linear-gradient(135deg, #FFE69A 0%, #F4CF62 45%, #D7A72E 100%); color:#493c1b; border-radius: 999rpx; padding: 20rpx 0; font-weight:800;
}
/* 收款/付款页样式 */
.pay-row .pay-input { text-align: right; color:#333;
}
.textarea { position: relative; padding: 16rpx 24rpx; background:#fff; border-top: 1rpx solid #eee;
}
.amount-badge { position: absolute; right: 24rpx; top: -36rpx; background: #d1f0ff; color:#107e9b; padding: 8rpx 16rpx; border-radius: 12rpx; font-size: 24rpx;
}
.date-mini { position: absolute; right: 24rpx; bottom: 20rpx; color:#666; font-size: 24rpx;
}
/* 分类chips样式选中后文字变红 */
.chips { display:flex; flex-wrap: wrap; gap: 12rpx; padding: 12rpx 24rpx;
}
.chip { padding: 10rpx 20rpx; border-radius: 999rpx; background: #f4f4f4; color:#666;
}
.chip.active { color: #e54d42;
.chip {
padding: 10rpx 20rpx;
border-radius: 999rpx;
background: #f1f1f1;
color: #444;
}
.chip.active {
background: #4C8DFF;
color: #fff;
}

View File

@@ -1 +1 @@
<scroll-view scroll-y class="page"><view class="card"><view class="row"><text class="label">商品名称</text><input placeholder="必填" value="{{a}}" bindinput="{{b}}"/></view><view class="row"><text class="label">条形码</text><input placeholder="可扫码或输入" value="{{c}}" bindinput="{{d}}"/></view><view class="row"><text class="label">品牌/型号/规格/产地</text></view><view class="row"><input placeholder="品牌" value="{{e}}" bindinput="{{f}}"/></view><view class="row"><input placeholder="型号" value="{{g}}" bindinput="{{h}}"/></view><view class="row"><input placeholder="规格" value="{{i}}" bindinput="{{j}}"/></view><view class="row"><input placeholder="产地" value="{{k}}" bindinput="{{l}}"/></view><view class="row"><picker mode="selector" range="{{n}}" bindchange="{{o}}"><view class="picker">主单位:{{m}}</view></picker><picker mode="selector" range="{{q}}" bindchange="{{r}}"><view class="picker">类别:{{p}}</view></picker></view></view><view class="card"><view class="row"><text class="label">库存与安全库存</text></view><view class="row"><input type="number" placeholder="当前库存" value="{{s}}" bindinput="{{t}}"/><input type="number" placeholder="安全库存下限" value="{{v}}" bindinput="{{w}}"/><input type="number" placeholder="安全库存上限" value="{{x}}" bindinput="{{y}}"/></view></view><view class="card"><view class="row"><text class="label">价格(进价/零售/批发/大单)</text></view><view class="row prices"><input type="number" placeholder="进货价" value="{{z}}" bindinput="{{A}}"/><input type="number" placeholder="零售价" value="{{B}}" bindinput="{{C}}"/><input type="number" placeholder="批发价" value="{{D}}" bindinput="{{E}}"/><input type="number" placeholder="大单价" value="{{F}}" bindinput="{{G}}"/></view></view><view class="card"><text class="label">图片</text><image-uploader wx:if="{{I}}" u-i="4a3f460a-0" bind:__l="__l" bindupdateModelValue="{{H}}" u-p="{{I}}"/></view><view class="card"><text class="label">备注</text><block wx:if="{{r0}}"><textarea placeholder="可选" auto-height value="{{J}}" bindinput="{{K}}"/></block></view><view class="fixed"><button type="default" bindtap="{{L}}">保存</button><button type="primary" bindtap="{{M}}">保存并继续</button></view></scroll-view>
<scroll-view scroll-y class="page"><view class="card"><view class="row"><text class="label">商品名称</text><input placeholder="必填" value="{{a}}" bindinput="{{b}}"/></view><view class="row"><text class="label">条形码</text><input placeholder="可扫码或输入" value="{{c}}" bindinput="{{d}}"/></view><view class="row"><text class="label">品牌/型号/规格/产地</text></view><view class="row"><input placeholder="品牌" value="{{e}}" bindinput="{{f}}"/></view><view class="row"><input placeholder="型号" value="{{g}}" bindinput="{{h}}"/></view><view class="row"><input placeholder="规格" value="{{i}}" bindinput="{{j}}"/></view><view class="row"><input placeholder="产地" value="{{k}}" bindinput="{{l}}"/></view><view class="row"><picker mode="selector" range="{{n}}" bindchange="{{o}}"><view class="picker">主单位:{{m}}</view></picker><picker mode="selector" range="{{q}}" bindchange="{{r}}"><view class="picker">类别:{{p}}</view></picker></view></view><view class="card"><view class="row"><text class="label">库存与安全库存</text></view><view class="row"><input type="number" placeholder="当前库存" value="{{s}}" bindinput="{{t}}"/><input type="number" placeholder="安全库存下限" value="{{v}}" bindinput="{{w}}"/><input type="number" placeholder="安全库存上限" value="{{x}}" bindinput="{{y}}"/></view></view><view class="card"><view class="row"><text class="label">价格(进价/零售/批发/大单)</text></view><view class="row prices"><input type="number" placeholder="进货价" value="{{z}}" bindinput="{{A}}"/><input type="number" placeholder="零售价" value="{{B}}" bindinput="{{C}}"/><input type="number" placeholder="批发价" value="{{D}}" bindinput="{{E}}"/><input type="number" placeholder="大单价" value="{{F}}" bindinput="{{G}}"/></view></view><view class="card"><text class="label">图片</text><image-uploader wx:if="{{I}}" u-i="a18e43b2-0" bind:__l="__l" bindupdateModelValue="{{H}}" u-p="{{I}}"/></view><view class="card"><text class="label">备注</text><block wx:if="{{r0}}"><textarea placeholder="可选" auto-height value="{{J}}" bindinput="{{K}}"/></block></view><view class="fixed"><button type="default" bindtap="{{L}}">保存</button><button type="primary" bindtap="{{M}}">保存并继续</button></view></scroll-view>

View File

@@ -1,17 +1,73 @@
.page { background:#f6f6f6; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
background: #ffffff;
height: 100vh;
}
.card { background:#fff; margin: 16rpx; padding: 16rpx; border-radius: 12rpx;
.card {
background: #ffffff;
margin: 16rpx;
padding: 16rpx;
border-radius: 12rpx;
}
.row { display:flex; gap: 12rpx; align-items: center; margin-bottom: 12rpx;
.row {
display: flex;
gap: 12rpx;
align-items: center;
margin-bottom: 12rpx;
}
.label { width: 180rpx; color:#666;
.label {
width: 180rpx;
color: #444;
}
.row input { flex:1; background:#f7f7f7; border-radius: 10rpx; padding: 12rpx;
.row input {
flex: 1;
background: #f1f1f1;
border-radius: 10rpx;
padding: 12rpx;
color: #111;
}
.picker { padding: 8rpx 12rpx; background:#f0f0f0; border-radius: 10rpx; color:#666; margin-left: 8rpx;
.picker {
padding: 8rpx 12rpx;
background: #f1f1f1;
border-radius: 10rpx;
color: #444;
margin-left: 8rpx;
}
.prices input { width: 30%;
}
.fixed { position: fixed; left: 0; right: 0; bottom: 0; background:#fff; padding: 12rpx 16rpx; display:flex; gap: 16rpx;
.prices input {
width: 30%;
}
.fixed {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 12rpx 16rpx;
display: flex;
gap: 16rpx;
}

View File

@@ -1,33 +1,118 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.tabs { display:flex; background:#fff;
.tabs {
display: flex;
background: #ffffff;
}
.tab { flex:1; text-align:center; padding: 20rpx 0; color:#666;
.tab {
flex: 1;
text-align: center;
padding: 20rpx 0;
color: #444;
}
.tab.active { color:#18b566; font-weight: 600;
.tab.active {
color: #4C8DFF;
font-weight: 600;
}
.search { display:flex; gap: 12rpx; padding: 16rpx; background:#fff; align-items: center;
.search {
display: flex;
gap: 12rpx;
padding: 16rpx;
background: #ffffff;
align-items: center;
}
.search input { flex:1; background:#f6f6f6; border-radius: 12rpx; padding: 12rpx;
.search input {
flex: 1;
background: #f1f1f1;
border-radius: 12rpx;
padding: 12rpx;
color: #111;
}
.picker { padding: 8rpx 12rpx; background:#f0f0f0; border-radius: 10rpx; color:#666;
.picker {
padding: 8rpx 12rpx;
background: #f1f1f1;
border-radius: 10rpx;
color: #444;
}
.list { flex:1;
.list {
flex: 1;
}
.item { display:flex; padding: 20rpx; background:#fff; border-bottom: 1rpx solid #f1f1f1;
.item {
display: flex;
padding: 20rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.thumb { width: 120rpx; height: 120rpx; border-radius: 12rpx; margin-right: 16rpx; background:#fafafa;
.thumb {
width: 120rpx;
height: 120rpx;
border-radius: 12rpx;
margin-right: 16rpx;
background: #f1f1f1;
}
.content { flex:1;
.content {
flex: 1;
}
.name { color:#333; margin-bottom: 6rpx; font-weight: 600;
.name {
color: #111;
margin-bottom: 6rpx;
font-weight: 600;
}
.meta { color:#888; font-size: 24rpx;
.meta {
color: #444;
font-size: 24rpx;
}
.price { margin-left: 20rpx; color:#f60;
.price {
margin-left: 20rpx;
color: #4C8DFF;
}
.empty { height: 60vh; display:flex; align-items:center; justify-content:center; color:#999;
}
.fab { position: fixed; right: 30rpx; bottom: 120rpx; width: 100rpx; height: 100rpx; background:#18b566; color:#fff; border-radius: 50rpx; text-align:center; line-height: 100rpx; font-size: 48rpx; box-shadow: 0 8rpx 20rpx rgba(0,0,0,0.15);
.empty {
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
color: #444;
}
.fab {
position: fixed;
right: 30rpx;
bottom: 120rpx;
width: 100rpx;
height: 100rpx;
background: #4C8DFF;
color: #fff;
border-radius: 50rpx;
text-align: center;
line-height: 100rpx;
font-size: 48rpx;
box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.15);
}

View File

@@ -1,15 +1,60 @@
.page { display:flex; flex-direction: column; height: 100vh;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
display: flex;
flex-direction: column;
height: 100vh;
}
.search { display:flex; gap: 12rpx; padding: 16rpx; background:#fff;
.search {
display: flex;
gap: 12rpx;
padding: 16rpx;
background: #ffffff;
}
.search input { flex:1; background:#f6f6f6; border-radius: 12rpx; padding: 12rpx;
.search input {
flex: 1;
background: #f1f1f1;
border-radius: 12rpx;
padding: 12rpx;
color: #111;
}
.list { flex:1;
.list {
flex: 1;
}
.item { padding: 20rpx 24rpx; background:#fff; border-bottom: 1rpx solid #f1f1f1;
.item {
padding: 20rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.name { color:#333; margin-bottom: 6rpx;
}
.meta { color:#888; font-size: 24rpx;
.name {
color: #111;
margin-bottom: 6rpx;
}
.meta {
color: #444;
font-size: 24rpx;
}

View File

@@ -1,37 +1,125 @@
.report { padding: 20rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.report {
padding: 20rpx;
}
.modes { display: flex; gap: 12rpx; margin-bottom: 14rpx;
.modes {
display: flex;
gap: 12rpx;
margin-bottom: 14rpx;
}
.mode-tab { flex: 1; text-align: center; padding: 16rpx 0; border-radius: 999rpx; background: #f4f4f4; color: #666; border: 1rpx solid #e9e9e9;
.mode-tab {
flex: 1;
text-align: center;
padding: 16rpx 0;
border-radius: 999rpx;
background: #f1f1f1;
color: #444;
border: 1rpx solid #e5e7eb;
}
.mode-tab.active { background: #1aad19; color: #fff; border-color: #1aad19; font-weight: 700;
.mode-tab.active {
background: #4C8DFF;
color: #fff;
border-color: #4C8DFF;
font-weight: 700;
}
.toolbar { display: flex; align-items: center; gap: 8rpx; background: #fff; padding: 14rpx 16rpx; border-radius: 12rpx;
.toolbar {
display: flex;
align-items: center;
gap: 8rpx;
background: #ffffff;
padding: 14rpx 16rpx;
border-radius: 12rpx;
}
.date { padding: 10rpx 16rpx; border: 1rpx solid #eee; border-radius: 8rpx;
.date {
padding: 10rpx 16rpx;
border: 1rpx solid #e5e7eb;
border-radius: 8rpx;
color: #111;
}
.tabs { display: flex; gap: 16rpx; margin-top: 14rpx;
.tabs {
display: flex;
gap: 16rpx;
margin-top: 14rpx;
}
.tab { padding: 12rpx 18rpx; border-radius: 999rpx; background: #f4f4f4; color: #666;
.tab {
padding: 12rpx 18rpx;
border-radius: 999rpx;
background: #f1f1f1;
color: #444;
}
.tab.active { background: #1aad19; color: #fff;
.tab.active {
background: #4C8DFF;
color: #fff;
}
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8rpx; margin-top: 14rpx;
.summary {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8rpx;
margin-top: 14rpx;
}
.summary .item { background: #fff; border-radius: 12rpx; padding: 16rpx;
.summary .item {
background: #ffffff;
border-radius: 12rpx;
padding: 16rpx;
}
.summary .label { font-size: 22rpx; color: #888;
.summary .label {
font-size: 22rpx;
color: #444;
}
.summary .value { display: block; margin-top: 8rpx; font-weight: 700; color: #333;
.summary .value {
display: block;
margin-top: 8rpx;
font-weight: 700;
color: #111;
}
.card { margin-top: 16rpx; background: #fff; border-radius: 12rpx; padding: 16rpx;
.card {
margin-top: 16rpx;
background: #ffffff;
border-radius: 12rpx;
padding: 16rpx;
}
.row-head { display: flex; align-items: center; gap: 12rpx;
.row-head {
display: flex;
align-items: center;
gap: 12rpx;
}
.thumb { width: 72rpx; height: 72rpx; border-radius: 8rpx; background: #f2f2f2;
.thumb {
width: 72rpx;
height: 72rpx;
border-radius: 8rpx;
background: #f1f1f1;
}
.title { font-size: 28rpx; font-weight: 700;
}
.row-body { margin-top: 10rpx; color: #666;
.title {
font-size: 28rpx;
font-weight: 700;
color: #111;
}
.row-body {
margin-top: 10rpx;
color: #444;
}

View File

@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "五金配件管家",
"usingComponents": {}
}

View File

@@ -1 +0,0 @@
<view class="shell"><keep-alive><component is="{{a}}" switch-tab="{{b}}"/></keep-alive><bottom-nav wx:if="{{d}}" bindchange="{{c}}" u-i="26537006-0" bind:__l="__l" u-p="{{d}}"/></view>

View File

@@ -1,15 +1,65 @@
.page { padding-bottom: 140rpx;
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page {
padding-bottom: 140rpx;
}
.field { display:flex; justify-content: space-between; padding: 22rpx 24rpx; background:#fff; border-bottom:1rpx solid #eee;
.field {
display: flex;
justify-content: space-between;
padding: 22rpx 24rpx;
background: #ffffff;
border-bottom: 1rpx solid #e5e7eb;
}
.label { color:#666;
.label {
color: #444;
}
.value { color:#333; text-align: right; flex: 1;
.value {
color: #111;
text-align: right;
flex: 1;
}
.textarea { padding: 16rpx 24rpx; background:#fff; margin-top: 12rpx;
.textarea {
padding: 16rpx 24rpx;
background: #ffffff;
margin-top: 12rpx;
}
.bottom { position: fixed; left:0; right:0; bottom:0; background:#fff; padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx); box-shadow: 0 -4rpx 12rpx rgba(0,0,0,0.06);
}
.primary { width: 100%; background: linear-gradient(135deg, #A0E4FF 0%, #17A2C4 100%); color:#fff; border-radius: 999rpx; padding: 20rpx 0;
.bottom {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #ffffff;
padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 16rpx);
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.1);
}
.primary {
width: 100%;
background: #4C8DFF;
color: #fff;
border-radius: 999rpx;
padding: 20rpx 0;
}