Browse Source

add Toast 只加了一半

wly 7 years ago
parent
commit
3ecd3c7b7c

+ 1 - 2
src/case/ShopApp/src/App.css

@@ -14,10 +14,9 @@
     overflow-x: hidden;
     overflow-y: hidden;
     background:#fff;
-    
 }
 
-/*::-webkit-scrollbar {display:none !important}*/
+.App *::-webkit-scrollbar {display:none !important}
 
 .phone6s{
     padding: 84px 21px;

+ 4 - 0
src/case/ShopApp/src/components/HomePage/HomePage.css

@@ -1,3 +1,7 @@
+.homeWrap *{
+    font-size: 12px;
+}
+
 .productList{
     position: relative;
     z-index: 3;

+ 2 - 1
src/case/ShopApp/src/components/OrderPage/OrederPage.css

@@ -1,7 +1,8 @@
 .addressWrap  *{
     font-size: 12px;
 }
-.addressWrap{
+
+div.addressWrap{
     font-size: 10px;
     display: flex;
     padding: 5px 2px;

+ 3 - 0
src/case/ShopApp/src/components/ProductDetailPage/ProductDetail.css

@@ -0,0 +1,3 @@
+.ProductDetail *{
+    font-size: 12px;
+}

+ 2 - 1
src/case/ShopApp/src/components/ProductDetailPage/ProductDetail.jsx

@@ -1,5 +1,6 @@
 import React, { Component } from 'react';
 import Card from './Card'
+import './ProductDetail.css'
 
 import UserAction from './UserAction'
 
@@ -30,7 +31,7 @@ export default class ProductDetail extends Component{
 
     render(){
         return(
-            <div>
+            <div className="detailWrap">
                <Card product={this.state.product}/>
                <UserAction product={this.state.product} setNum={this.props.setNum} />
             </div>

+ 3 - 3
src/case/ShopApp/src/components/ShopCarPage/ShopCarPage.css

@@ -1,10 +1,10 @@
-*{
-    box-sizing: border-box;
-}
 
 .shopCarPage{
     width: 100%;
 }
+.shopCarPage *{
+    font-size: 12px;
+}
     
 
 .ShopCarList{