From 4a5d7353ede9d41853f15eb298eda624777208f8 Mon Sep 17 00:00:00 2001 From: lym <16170814@qq.com> Date: Wed, 11 Mar 2026 00:57:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=81=97=E6=BC=8F=E7=9A=84?= =?UTF-8?q?=E5=8F=A6=E4=B8=80=E4=B8=AA=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/details/index.wxss | 24 ++++++++++++------------ pages/detailsPoint/index.wxss | 26 +++++++++++++------------- pages/index/index.js | 2 +- pages/index/index.wxss | 2 +- pages/login/index.wxml | 2 +- pages/login/index.wxss | 8 ++++---- 6 files changed, 32 insertions(+), 32 deletions(-) diff --git a/pages/details/index.wxss b/pages/details/index.wxss index cae4a71..82b0c53 100644 --- a/pages/details/index.wxss +++ b/pages/details/index.wxss @@ -1,6 +1,6 @@ @import "../../wxParse/wxParse.wxss"; page{ - background: #ccc; + background: linear-gradient(to bottom, #E8F4FC, #F5FAFF); } button::before { border:none; @@ -95,7 +95,7 @@ page{ padding:0 0.5em; height:2.5em; line-height: 2.5em; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; color:#fff; font-size:0.85em; @@ -145,7 +145,7 @@ page{ color:#ff0000; } .shopping_container .oldprice{ - background-color:#00B050; + background:linear-gradient(to right, #6BA3F0, #8BBDF5); margin-right: 0.5em; text-align:center; line-height:2.5em; @@ -157,7 +157,7 @@ page{ text-decoration:line-through; } .shopping_container .currentprice{ - background-color:#00B050; + background:linear-gradient(to right, #6BA3F0, #8BBDF5); text-align:center; line-height:2.5em; color:#fff; @@ -208,7 +208,7 @@ page{ .cartmbox{float:left;margin:0; padding:0; width:100%; height:100%;} .cartmbox .leftbox{float:left;position:relative;margin:0; padding:0; padding-left:1em; color: #000;font-size:1em; height:100%;line-height:50px;} .cartmbox .leftbox text.cart_Total{font-style:normal; font-weight:bold; color:#ff0000;} -.cartmbox .leftbox input{float:left; display:block; margin:0; padding:0; width:4em; height:100%; background-color:#00B050; color:#fff; border:0;border-radius:0;} +.cartmbox .leftbox input{float:left; display:block; margin:0; padding:0; width:4em; height:100%; background:linear-gradient(to right, #6BA3F0, #8BBDF5); color:#fff; border:0;border-radius:0;} .cartmbox .leftbox input.favorited{background-color:#eee;color:#aaa; } .cartmbox .leftbox input#addserver{background-color:#c9931e;} .cartmbox .leftbox .leftbox_ShoppingCart{float:left;margin:0;margin-left:0.5em;margin-top:0.5em;} @@ -219,7 +219,7 @@ page{ .cartmbox .leftbox .cartnum{ position:absolute;color:#fff; left:12em; bottom:3em;width:2em; height:2em; font-size:0.8em; line-height:2em; background-color:#f62800;border-radius:50%; text-align:center;} .cartmbox .rightbox{float:right; position: relative; margin:0;padding-right:0em;height:100%; line-height:100%;} -.cartmbox .rightbox .input_shopdh{float:right; margin:0; padding:0.5em 0; width:6em; height:100%; line-height:100%; display:block; border:0; font-size: 1em; background:#00B050; color:#fff; border:0;border-radius:0; box-sizing: border-box; overflow: hidden;} +.cartmbox .rightbox .input_shopdh{float:right; margin:0; padding:0.5em 0; width:6em; height:100%; line-height:100%; display:block; border:0; font-size: 1em; background:linear-gradient(to right, #FF6B35, #FF4E50); color:#fff; border:0;border-radius:0; box-sizing: border-box; overflow: hidden;} .cartmbox .rightbox .input_shopdh view{margin-top:0.5em;} .cartmbox .rightbox .input_shopdh view.price{margin-top:0.3em;} .cartmbox .rightbox .input_shopdh view.button_font{margin-top:1em;} @@ -263,7 +263,7 @@ page{ color:#fff; font-size:1.5em; background:#f0514d; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #FF6B35, #FF4E50); } .Hidden_box{ position: fixed;display: flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);z-index:2;} .Hidden_box_to{position: relative; padding:0; width:90%;height:auto; background-color: #fff; box-sizing: border-box; border-radius:0.5em;} @@ -310,7 +310,7 @@ page{ line-height: 1.5em; } .select_box_selguige .selguige_box .selguige_item .select_name view{ - color:#00B050; + color:#FF6B35; } .select_box_selguige .selguige_box .selguige_item .select_colors{ width:auto; @@ -324,7 +324,7 @@ page{ padding:0 0.5em; height:2.5em; line-height: 2.5em; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; color:#fff; font-size:0.85em; @@ -369,7 +369,7 @@ page{ .select_box_btn{width:100%; line-height:3em; color:#bbb; text-align:center;padding:1em 0.5em; box-sizing: border-box; } -.select_box_btn button{width:100%; height:3em; font-size:1em; line-height:3em; font-weight:bold; color:#fff; border:0; background:linear-gradient(to right,#00B050,#00B050); border-radius:0.5em; +.select_box_btn button{width:100%; height:3em; font-size:1em; line-height:3em; font-weight:bold; color:#fff; border:0; background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; } .Hidden_box{ position: fixed;display:flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);} @@ -390,7 +390,7 @@ page{ } .Hidden_box_to .body image{max-width:100%;} .Hidden_box_to.flashimage .body image{width:21em;height:23em;} -.Hidden_box_to .body button{margin:0.5em auto;background:linear-gradient(to right,#00B050,#00B050);color:#fff; border-radius:0.5em;} +.Hidden_box_to .body button{margin:0.5em auto;background:linear-gradient(to right, #6BA3F0, #8BBDF5);color:#fff; border-radius:0.5em;} .Hidden_box_to.flashimage .body button{position: absolute;left:20%; top:94%;width:60%;height:2.5em;border-radius:0.5em;} .Hidden_box_to .body .frombody{position: relative;float:left;margin:0; padding:0.5em 0;width:100%; display: flex;flex-direction: column; align-items: center; background-color:#fff;box-sizing: border-box;overflow: hidden;} .Hidden_box_to .body .frombody view{position: relative;float:left;margin:0; width:100%;display: flex;flex-direction:row;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box; overflow: hidden;} @@ -419,5 +419,5 @@ page{ .Hidden_box_to .body .frombody view button{width:8em; padding:0; height:2em; line-height: 2em; background:#eee; color:#000; border-radius:0.5em; font-size:0.85em;outline:none; box-sizing:border-box;} .Hidden_box_to .body view.button{border: 0; display: flex;flex-direction:row;width:100%;align-items: center; justify-content: center;} .Hidden_box_to .body .frmbody view.button{position: absolute; bottom:0;} -.Hidden_box_to .body view.button button{ width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff; border-radius:0.5em; font-size:0.85em;} +.Hidden_box_to .body view.button button{ width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right, #6BA3F0, #8BBDF5); color:#fff; border-radius:0.5em; font-size:0.85em;} .Hidden_box_to .body view.button button.qx{ margin-right: 1em; background:linear-gradient(to left,#939393,#eee); color:#333;} \ No newline at end of file diff --git a/pages/detailsPoint/index.wxss b/pages/detailsPoint/index.wxss index cae4a71..1cf7368 100644 --- a/pages/detailsPoint/index.wxss +++ b/pages/detailsPoint/index.wxss @@ -1,6 +1,6 @@ @import "../../wxParse/wxParse.wxss"; page{ - background: #ccc; + background: linear-gradient(to bottom, #E8F4FC, #F5FAFF); } button::before { border:none; @@ -95,7 +95,7 @@ page{ padding:0 0.5em; height:2.5em; line-height: 2.5em; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; color:#fff; font-size:0.85em; @@ -145,7 +145,7 @@ page{ color:#ff0000; } .shopping_container .oldprice{ - background-color:#00B050; + background:linear-gradient(to right, #6BA3F0, #8BBDF5); margin-right: 0.5em; text-align:center; line-height:2.5em; @@ -157,7 +157,7 @@ page{ text-decoration:line-through; } .shopping_container .currentprice{ - background-color:#00B050; + background:linear-gradient(to right, #6BA3F0, #8BBDF5); text-align:center; line-height:2.5em; color:#fff; @@ -208,7 +208,7 @@ page{ .cartmbox{float:left;margin:0; padding:0; width:100%; height:100%;} .cartmbox .leftbox{float:left;position:relative;margin:0; padding:0; padding-left:1em; color: #000;font-size:1em; height:100%;line-height:50px;} .cartmbox .leftbox text.cart_Total{font-style:normal; font-weight:bold; color:#ff0000;} -.cartmbox .leftbox input{float:left; display:block; margin:0; padding:0; width:4em; height:100%; background-color:#00B050; color:#fff; border:0;border-radius:0;} +.cartmbox .leftbox input{float:left; display:block; margin:0; padding:0; width:4em; height:100%; background:linear-gradient(to right, #6BA3F0, #8BBDF5); color:#fff; border:0;border-radius:0;} .cartmbox .leftbox input.favorited{background-color:#eee;color:#aaa; } .cartmbox .leftbox input#addserver{background-color:#c9931e;} .cartmbox .leftbox .leftbox_ShoppingCart{float:left;margin:0;margin-left:0.5em;margin-top:0.5em;} @@ -219,7 +219,7 @@ page{ .cartmbox .leftbox .cartnum{ position:absolute;color:#fff; left:12em; bottom:3em;width:2em; height:2em; font-size:0.8em; line-height:2em; background-color:#f62800;border-radius:50%; text-align:center;} .cartmbox .rightbox{float:right; position: relative; margin:0;padding-right:0em;height:100%; line-height:100%;} -.cartmbox .rightbox .input_shopdh{float:right; margin:0; padding:0.5em 0; width:6em; height:100%; line-height:100%; display:block; border:0; font-size: 1em; background:#00B050; color:#fff; border:0;border-radius:0; box-sizing: border-box; overflow: hidden;} +.cartmbox .rightbox .input_shopdh{float:right; margin:0; padding:0.5em 0; width:6em; height:100%; line-height:100%; display:block; border:0; font-size: 1em; background:linear-gradient(to right, #FF6B35, #FF4E50); color:#fff; border:0;border-radius:0; box-sizing: border-box; overflow: hidden;} .cartmbox .rightbox .input_shopdh view{margin-top:0.5em;} .cartmbox .rightbox .input_shopdh view.price{margin-top:0.3em;} .cartmbox .rightbox .input_shopdh view.button_font{margin-top:1em;} @@ -263,7 +263,7 @@ page{ color:#fff; font-size:1.5em; background:#f0514d; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #6BA3F0, #8BBDF5); } .Hidden_box{ position: fixed;display: flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);z-index:2;} .Hidden_box_to{position: relative; padding:0; width:90%;height:auto; background-color: #fff; box-sizing: border-box; border-radius:0.5em;} @@ -310,7 +310,7 @@ page{ line-height: 1.5em; } .select_box_selguige .selguige_box .selguige_item .select_name view{ - color:#00B050; + color:#FF6B35; } .select_box_selguige .selguige_box .selguige_item .select_colors{ width:auto; @@ -324,7 +324,7 @@ page{ padding:0 0.5em; height:2.5em; line-height: 2.5em; - background:linear-gradient(to right,#00B050,#00B050); + background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; color:#fff; font-size:0.85em; @@ -369,7 +369,7 @@ page{ .select_box_btn{width:100%; line-height:3em; color:#bbb; text-align:center;padding:1em 0.5em; box-sizing: border-box; } -.select_box_btn button{width:100%; height:3em; font-size:1em; line-height:3em; font-weight:bold; color:#fff; border:0; background:linear-gradient(to right,#00B050,#00B050); border-radius:0.5em; +.select_box_btn button{width:100%; height:3em; font-size:1em; line-height:3em; font-weight:bold; color:#fff; border:0; background:linear-gradient(to right, #6BA3F0, #8BBDF5); border-radius:0.5em; } .Hidden_box{ position: fixed;display:flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);} @@ -390,7 +390,7 @@ page{ } .Hidden_box_to .body image{max-width:100%;} .Hidden_box_to.flashimage .body image{width:21em;height:23em;} -.Hidden_box_to .body button{margin:0.5em auto;background:linear-gradient(to right,#00B050,#00B050);color:#fff; border-radius:0.5em;} +.Hidden_box_to .body button{margin:0.5em auto;background:linear-gradient(to right, #6BA3F0, #8BBDF5);color:#fff; border-radius:0.5em;} .Hidden_box_to.flashimage .body button{position: absolute;left:20%; top:94%;width:60%;height:2.5em;border-radius:0.5em;} .Hidden_box_to .body .frombody{position: relative;float:left;margin:0; padding:0.5em 0;width:100%; display: flex;flex-direction: column; align-items: center; background-color:#fff;box-sizing: border-box;overflow: hidden;} .Hidden_box_to .body .frombody view{position: relative;float:left;margin:0; width:100%;display: flex;flex-direction:row;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box; overflow: hidden;} @@ -419,5 +419,5 @@ page{ .Hidden_box_to .body .frombody view button{width:8em; padding:0; height:2em; line-height: 2em; background:#eee; color:#000; border-radius:0.5em; font-size:0.85em;outline:none; box-sizing:border-box;} .Hidden_box_to .body view.button{border: 0; display: flex;flex-direction:row;width:100%;align-items: center; justify-content: center;} .Hidden_box_to .body .frmbody view.button{position: absolute; bottom:0;} -.Hidden_box_to .body view.button button{ width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff; border-radius:0.5em; font-size:0.85em;} -.Hidden_box_to .body view.button button.qx{ margin-right: 1em; background:linear-gradient(to left,#939393,#eee); color:#333;} \ No newline at end of file +.Hidden_box_to .body view.button button{ width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right, #6BA3F0, #8BBDF5); color:#fff; border-radius:0.5em; font-size:0.85em;} +.Hidden_box_to .body view.button button.qx{ margin-right: 1em; background:linear-gradient(to left,#939393,#eee); color:#333;} diff --git a/pages/index/index.js b/pages/index/index.js index a9c3877..6f1eea6 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -1,4 +1,4 @@ -var WxParse = null; +var WxParse = null; //获取应用实例 var app = getApp() var sopenFrame = null diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 674adaa..699f4bc 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -19,7 +19,7 @@ page{ .searchbox2 .icobox image{width: 1.5em; height:1.5em; margin-top: 0.4em; margin-left: 0.6em;} .searchbox2 .icobox0{width:2.2em;height:2.2em; font-size:1em; box-sizing:border-box;margin-left: 0.6em;} .searchbox2 .icobox0 image{width: 1.8em; height:1.8em; margin-top: 0.2em; margin-left: 0.4em;} -.searchbox{ display: flex; z-index: 100; flex-direction: row; margin:0;width:100%; padding:0.8em; padding-top: 0; box-sizing: border-box; } +.searchbox{ display: flex; z-index: 100; flex-direction: row; margin:0;width:100%; padding:0.8em; padding-top: 0.5em; box-sizing: border-box; } .searchbox .inpubox{flex-grow: 1;margin:0; height:2.2em; box-sizing:border-box;} .searchbox .inpubox input{ margin:0; padding-left:2.3em; width: 100%; font-size:1em; height:2.2em; outline: none; text-indent:0;box-sizing:border-box;color:#333;border:1px solid #E0E0E0;border-radius:0.5em 0 0 0.5em; background-color:#FFFFFF;} diff --git a/pages/login/index.wxml b/pages/login/index.wxml index d1e493b..bafc842 100644 --- a/pages/login/index.wxml +++ b/pages/login/index.wxml @@ -47,7 +47,7 @@ 记住账号和密码: - + diff --git a/pages/login/index.wxss b/pages/login/index.wxss index da78f7e..019be7d 100644 --- a/pages/login/index.wxss +++ b/pages/login/index.wxss @@ -1,6 +1,6 @@ /**index.wxss**/ page{ - background: #ccc; + background: linear-gradient(to bottom, #E8F4FC, #F5FAFF); } .container { position: relative; @@ -27,7 +27,7 @@ background:linear-gradient(to bottom,#dedede,#eee); .login-box .frombody view.loginbottom view switch{float:left; display:block;width:5em;} .login-box .frombody view.wjmm{float:left; display:block;width:100%; text-align: center;border-bottom:0;} .login-box .frombody view.wjmm view{float:left; display:block;width:50%; text-align: center;border-bottom:0;} -.login-box .frombody view.wjmm view.zchy{color:#00B050; font-weight: 900;} +.login-box .frombody view.wjmm view.zchy{color:#6BA3F0; font-weight: 900;} .login-box .frombody view input{width:14em;height:2.5em; line-height: 2.5em;} .login-box .frombody view.area input{width:12.8em;} .login-box .frombody view.area image{position: absolute; top:1.1em; right:0; width:1.2em;height:1.2em;} @@ -35,6 +35,6 @@ background:linear-gradient(to bottom,#dedede,#eee); .login-box .frombody view.code input{width:8em;} .login-box .frombody view.code button{width:6em; margin-top: 0.5em; padding:0; height:2em; line-height: 2em; font-size:0.85em; background:#ff4d00; color:#fff; border-radius:0.5em;} .login-box .frombody view.button{border: 0;} -.login-box .frombody view.button button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff; border-radius:0.5em;} +.login-box .frombody view.button button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right, #6BA3F0, #8BBDF5); color:#fff; border-radius:0.5em;} .login-box .frombody view.weixinbutton{border: 0;position: fixed; bottom:0; left:0;padding: 1em; box-sizing: border-box;} -.login-box .frombody view.weixinbutton button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to left,#1e990a,#87ae10); color:#fff; border-radius:0.5em;} +.login-box .frombody view.weixinbutton button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right, #07C160, #10B981); color:#fff; border-radius:0.5em;}