323
This commit is contained in:
parent
c117a7e9fa
commit
58dee48bb2
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user