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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,10 +1,27 @@
@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:''){
@if $type == "btn_bg" {
background-image: linear-gradient(90deg, #ea552d 0%, #f19837 100%);
background: $themeColor;
} @else if $type == "unselected_img" {
background-image: url($path + "static/icon/ic_gender_unselected.png");
} @else if $type == "check_img" {