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