This commit is contained in:
zpc 2026-02-03 13:39:57 +08:00
parent c117a7e9fa
commit 58dee48bb2
14 changed files with 77 additions and 58 deletions

View File

@ -46,7 +46,7 @@
"mysql": { "mysql": {
"command": "node", "command": "node",
"args": [ "args": [
"D:/CodeManage/HaniBlindBox/server/scripts/mysql-mcp-server/index.js" "D:/outsource/HaniBlindBox/server/scripts/mssql-mcp-server/index.js"
], ],
"env": { "env": {
"MYSQL_HOST": "192.168.195.16", "MYSQL_HOST": "192.168.195.16",
@ -62,7 +62,7 @@
"sqlserver": { "sqlserver": {
"command": "node", "command": "node",
"args": [ "args": [
"D:/CodeManage/HaniBlindBox/server/scripts/mssql-mcp-server/index.js" "D:/outsource/HaniBlindBox/server/scripts/mssql-mcp-server/index.js"
], ],
"env": { "env": {
"MSSQL_SERVER": "192.168.195.15", "MSSQL_SERVER": "192.168.195.15",
@ -78,7 +78,7 @@
"admin-sqlserver": { "admin-sqlserver": {
"command": "node", "command": "node",
"args": [ "args": [
"D:/CodeManage/HaniBlindBox/server/scripts/mssql-mcp-server/index.js" "D:/outsource/HaniBlindBox/server/scripts/mssql-mcp-server/index.js"
], ],
"env": { "env": {
"MSSQL_SERVER": "192.168.195.15", "MSSQL_SERVER": "192.168.195.15",

View File

@ -1,5 +1,5 @@
<template> <template>
<view class="page-container" :style="{ backgroundColor: backgroundColor }"> <view class="page-container" :style="containerStyle">
<nav-header <nav-header
:title="navTitle" :title="navTitle"
:showBack="showBack" :showBack="showBack"
@ -76,12 +76,17 @@ export default {
// //
navBackgroundColor: { navBackgroundColor: {
type: String, type: String,
default: '#6BD4E2' default: 'transparent'
}, },
// //
backgroundColor: { backgroundColor: {
type: String, type: String,
default: '#6BD4E2' default: ''
},
// 使
useGradient: {
type: Boolean,
default: true
}, },
// //
fixed: { fixed: {
@ -101,7 +106,7 @@ export default {
// 线 // 线
divider: { divider: {
type: Boolean, type: Boolean,
default: true default: false
}, },
// //
navHeight: { navHeight: {
@ -122,19 +127,19 @@ export default {
} }
}, },
computed: { computed: {
//
containerStyle() {
if (this.backgroundColor) {
return 'background: ' + this.backgroundColor;
}
if (this.useGradient) {
return 'background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%)';
}
return 'background-color: #F5F5F5';
},
// //
contentStyle() { contentStyle() {
let style = { return 'padding-bottom: ' + this.paddingBottom;
'padding-bottom': this.paddingBottom
};
//
// if (this.fixed) {
// let paddingTop = this.statusBar ? (this.statusBarHeight + this.navbarHeight) : this.navbarHeight;
// style['padding-top'] = paddingTop + 'px';
// }
return style;
} }
}, },
created() { created() {
@ -194,13 +199,13 @@ export default {
&__divider { &__divider {
width: 100%; width: 100%;
height: 4rpx; height: 4rpx;
background-color: #6BD4E2; /* 使用较浅的灰色 */ background-color: rgba(0, 0, 0, 0.05);
position: relative; position: relative;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 1; z-index: 1;
margin-bottom: 10rpx; /* 在分割线下方添加一些间距 */ margin-bottom: 10rpx;
} }
} }
</style> </style>

View File

@ -236,7 +236,7 @@ export default {
<style lang="scss"> <style lang="scss">
.content { .content {
background-color: #f7f7f7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
min-height: 100vh; min-height: 100vh;
// //
@ -283,7 +283,6 @@ export default {
background-color: #ffffff; background-color: #ffffff;
border-radius: 16rpx; border-radius: 16rpx;
overflow: hidden; overflow: hidden;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
.pic { .pic {
width: 100%; width: 100%;
@ -383,7 +382,7 @@ export default {
.empty-text { .empty-text {
font-size: 28rpx; font-size: 28rpx;
color: #999; color: #8A8A8A;
} }
} }

View File

@ -339,7 +339,7 @@
<style lang="scss"> <style lang="scss">
.content { .content {
padding: 30rpx; padding: 30rpx;
background-color: #F7F7F7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
min-height: 100vh; min-height: 100vh;
.user-card { .user-card {
@ -406,12 +406,12 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #333333; background: #03D8F4;
border-radius: 16rpx; border-radius: 16rpx;
text { text {
font-size: 20rpx; font-size: 20rpx;
color: #CDEF27; color: #404040;
} }
} }

View File

@ -106,11 +106,10 @@ export default {
padding: 20rpx; padding: 20rpx;
.order-item { .order-item {
background-color: #f5f5f5; background-color: #FFFFFF;
border-radius: 12rpx; border-radius: 16rpx;
padding: 24rpx; padding: 30rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
position: relative; position: relative;
overflow: hidden; overflow: hidden;
@ -121,33 +120,32 @@ export default {
background-color: #67c23a; background-color: #67c23a;
color: #fff; color: #fff;
font-size: 20rpx; font-size: 20rpx;
padding: 2rpx 8rpx; padding: 6rpx 16rpx;
// transform: rotate(45deg) translate(20%, -50%); border-radius: 0 16rpx 0 16rpx;
transform-origin: center;
width: 160rpx;
text-align: center;
box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
} }
.order-title { .order-title {
font-size: 32rpx; font-size: 30rpx;
font-weight: bold; font-weight: 500;
color: #333333;
margin-bottom: 16rpx; margin-bottom: 16rpx;
padding-right: 160rpx;
} }
.order-info { .order-info {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
font-size: 28rpx; align-items: center;
color: #666; font-size: 24rpx;
.order-time { .order-time {
color: #909399; color: #8A8A8A;
} }
.order-price { .order-price {
color: #f56c6c; color: #03D8F4;
font-weight: bold; font-size: 32rpx;
font-weight: 600;
} }
} }
} }
@ -155,8 +153,8 @@ export default {
.loading, .no-more, .empty { .loading, .no-more, .empty {
text-align: center; text-align: center;
padding: 30rpx; padding: 30rpx;
color: #999; color: #8A8A8A;
font-size: 28rpx; font-size: 26rpx;
} }
} }
</style> </style>

View File

@ -198,7 +198,7 @@
min-height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
// color: #fff; // color: #fff;
background-color: #f7f7f7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
.head { .head {
position: fixed; position: fixed;

View File

@ -304,11 +304,10 @@
.submit-btn { .submit-btn {
width: 244rpx; width: 244rpx;
height: 72rpx; height: 72rpx;
background: #333333; background: #03D8F4;
border-radius: 16rpx; border-radius: 16rpx;
// border: 2rpx solid #ffffff;
font-size: 24rpx; font-size: 24rpx;
color: #D8FD24; color: #404040;
margin: 200rpx auto 0; margin: 200rpx auto 0;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -165,7 +165,8 @@
<style lang="scss"> <style lang="scss">
.content { .content {
padding: 0 0 30rpx; padding: 0 0 30rpx;
background-color: #F7F7F7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
min-height: 100vh;
.tab-list { .tab-list {
display: flex; display: flex;

View File

@ -210,7 +210,7 @@ export default {
width: 100vw; width: 100vw;
min-height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
background-color: #f7f7f7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
.head { .head {
position: fixed; position: fixed;

View File

@ -220,7 +220,7 @@
width: 100vw; width: 100vw;
min-height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
background-color: #F7F7F7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
color: #fff; color: #fff;
.head { .head {

View File

@ -325,6 +325,6 @@
min-height: 100vh; min-height: 100vh;
padding-top: 1rpx; padding-top: 1rpx;
box-sizing: border-box; box-sizing: border-box;
background-color: #F7F7F7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
} }
</style> </style>

View File

@ -147,7 +147,7 @@ export default {
min-height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
color: #fff; color: #fff;
background-color: #F7F7F7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
.head { .head {
position: fixed; position: fixed;

View File

@ -232,7 +232,7 @@ export default {
width: 100vw; width: 100vw;
min-height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
background-color: #f7f7f7; background: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
.head { .head {
position: fixed; position: fixed;

View File

@ -1,10 +1,27 @@
@charset "utf-8"; @charset "utf-8";
//主题色 //主题色
$themeColor: #ea552d; $themeColor: #03D8F4;
$themeColorDark: #404040;
// 页面渐变背景
$pageBgGradient: linear-gradient(180deg, #5FCDFF 0%, #F5F5F5 100%);
$pageBgColor: #F5F5F5;
// 主题按钮背景
@mixin themeBtnBg {
background: $themeColor;
color: $themeColorDark;
}
// 页面渐变背景
@mixin pageGradientBg {
background: $pageBgGradient;
min-height: 100vh;
}
@mixin theme($type,$path:''){ @mixin theme($type,$path:''){
@if $type == "btn_bg" { @if $type == "btn_bg" {
background-image: linear-gradient(90deg, #ea552d 0%, #f19837 100%); background: $themeColor;
} @else if $type == "unselected_img" { } @else if $type == "unselected_img" {
background-image: url($path + "static/icon/ic_gender_unselected.png"); background-image: url($path + "static/icon/ic_gender_unselected.png");
} @else if $type == "check_img" { } @else if $type == "check_img" {