first commit

This commit is contained in:
liu
2026-07-01 18:53:26 +08:00
parent fad66869e6
commit 8510772be2
7 changed files with 66 additions and 132 deletions
-6
View File
@@ -1,6 +0,0 @@
{
"component2": true,
"enableAppxNg": true,
"enableParallelLoader": false,
"enableHMR": false
}
-6
View File
@@ -1,6 +0,0 @@
{
"compileType": "miniprogram",
"miniprogramRoot": "./src",
"component2": true,
"enableAppxNg": true
}
-13
View File
@@ -1,13 +0,0 @@
{
"miniprogramRoot": "./",
"projectname": "pure-project-vantui",
"description": "",
"setting": {
"urlCheck": true,
"es6": false,
"postcss": false,
"minified": false,
"enhance": false
},
"compileType": "miniprogram"
}
-13
View File
@@ -1,13 +0,0 @@
{
"miniprogramRoot": "./",
"projectname": "pure-project-vantui",
"description": "",
"setting": {
"urlCheck": true,
"es6": false,
"postcss": false,
"minified": false,
"enhance": false
},
"compileType": "miniprogram"
}
-18
View File
@@ -1,18 +0,0 @@
{
"projectname": "pure-project-vantui",
"miniprogramRoot": "./",
"compilation-args": {
"common": {
"ignorePrefixCss": true,
"ignoreTransJs": true,
"ignoreUglify": true
}
},
"setting": {
"urlCheck": true,
"es6": false,
"minified": false,
"postcss": false,
"enhance": false
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"miniprogramRoot": "./",
"projectname": "pure-project-vantui",
"setting": {
"urlCheck": true,
"es6": false,
"minified": false,
"postcss": false
}
}
+66 -66
View File
@@ -1,73 +1,73 @@
@import '@antmjs/vantui/es/style/var.less'; @import '@antmjs/vantui/es/style/var.less';
// 这里可以重写主题 // 这里可以重写主题
@black: #1a1a1a; //@black: #1a1a1a;
@white: #f7f7f7; //@white: #f7f7f7;
@gray-1: #f7f8fa; //@gray-1: #f7f8fa;
@gray-2: #f2f3f5; //@gray-2: #f2f3f5;
@gray-3: #ededed; //@gray-3: #ededed;
@gray-4: #dcdee0; //@gray-4: #dcdee0;
@gray-5: #c8c9cc; //@gray-5: #c8c9cc;
@gray-6: #969799; //@gray-6: #969799;
@gray-7: #646566; //@gray-7: #646566;
@gray-8: #323233; //@gray-8: #323233;
@red: #ee0a24; //@red: #ee0a24;
@blue: #1989fa; //@blue: #1989fa;
@orange: #ff976a; //@orange: #ff976a;
@orange-dark: #ed6a0c; //@orange-dark: #ed6a0c;
@orange-light: #fffbe8; //@orange-light: #fffbe8;
@green: #0a4d2b; //@green: #0a4d2b;
//
@pageBack: @gray-3; //@pageBack: @gray-3;
@navBack: rgba(237, 237, 237, 0.9); //@navBack: rgba(237, 237, 237, 0.9);
@popup-background-color: @gray-3; //@popup-background-color: @gray-3;
@backDropFilter: blur(20px); //@backDropFilter: blur(20px);
//
@popup-close-icon-color: @gray-5; //@popup-close-icon-color: @gray-5;
@popup-close-icon-size: 40px; //@popup-close-icon-size: 40px;
@popup-close-icon-margin: 24px; //@popup-close-icon-margin: 24px;
@button-plain-background-color: @gray-4; //@button-plain-background-color: @gray-4;
//
// z-index // z-index
@sticky-z-index: 800; //@sticky-z-index: 800;
@tabbar-z-index: 805; //@tabbar-z-index: 805;
@navbar-z-index: 805; //@navbar-z-index: 805;
@goods-action-z-index: 806; //@goods-action-z-index: 806;
@submit-bar-z-index: 806; //@submit-bar-z-index: 806;
@overlay-z-index: 1000; //@overlay-z-index: 1000;
@dropdown-z-index: 1000; //@dropdown-z-index: 1000;
@popup-z-index: 1010; //@popup-z-index: 1010;
@popup-close-icon-z-index: 1010; //@popup-close-icon-z-index: 1010;
@notify-z-index: 1500; //@notify-z-index: 1500;
//
// Padding or Margin // Padding or Margin
@padding-base: 8px; //@padding-base: 8px;
@padding-xs: @padding-base * 2; //@padding-xs: @padding-base * 2;
@padding-sm: @padding-base * 3; //@padding-sm: @padding-base * 3;
@padding-md: @padding-base * 4; //@padding-md: @padding-base * 4;
@padding-lg: @padding-base * 6; //@padding-lg: @padding-base * 6;
@padding-xl: @padding-base * 8; //@padding-xl: @padding-base * 8;
//
// Font // Font
@font-size-xs: 20px; //@font-size-xs: 20px;
@font-size-sm: 24px; //@font-size-sm: 24px;
@font-size-md: 28px; //@font-size-md: 28px;
@font-size-lg: 32px; //@font-size-lg: 32px;
@font-weight-bold: 500; //@font-weight-bold: 500;
@line-height-xs: 28px; //@line-height-xs: 28px;
@line-height-sm: 36px; //@line-height-sm: 36px;
@line-height-md: 40px; //@line-height-md: 40px;
@line-height-lg: 44px; //@line-height-lg: 44px;
@base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', //@base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', // Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif; // 'Microsoft Yahei', sans-serif;
@price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, //@price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial,
sans-serif; // sans-serif;
//
// Border // Border
@border-color: @gray-3; //@border-color: @gray-3;
@border-width-base: 2px; //@border-width-base: 2px;
@border-radius-sm: 4px; //@border-radius-sm: 4px;
@border-radius-md: 8px; //@border-radius-md: 8px;
@border-radius-lg: 16px; //@border-radius-lg: 16px;
@border-radius-max: 999px; //@border-radius-max: 999px;