s-material-react 1.3.30 → 1.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/common/card.scss +6 -2
- package/css/pages/articleDetail.scss +19 -0
- package/css/pages/cart.scss +21 -6
- package/css/pages/collectionList.scss +3 -0
- package/css/pages/couponList.scss +17 -17
- package/css/pages/cube.scss +52 -1
- package/css/pages/footprint.scss +4 -1
- package/css/pages/goodsClassify.scss +1 -2
- package/css/pages/goodsDetail.scss +196 -178
- package/css/pages/index.scss +5 -1
- package/css/pages/mineFunction.scss +2 -0
- package/css/pages/mineOrderEntry.scss +4 -4
- package/css/pages/placeOrderGroup.scss +161 -0
- package/css/pages/search.scss +15 -0
- package/css/pages/searchStyleTwo.scss +23 -0
- package/dist/common/card/index.d.ts +2 -1
- package/dist/common/coupon/index.d.ts +2 -1
- package/dist/common/scrollWrap/index.d.ts +2 -1
- package/dist/components/ArticleDetail/index.d.ts +3 -1
- package/dist/components/Cube/index.d.ts +4 -1
- package/dist/components/GoodsDetail/components/goodsBanner.d.ts +3 -0
- package/dist/components/GoodsDetail/components/goodsDetailAndEvaluate.d.ts +3 -0
- package/dist/components/GoodsDetail/components/goodsDetailCollection.d.ts +2 -1
- package/dist/components/GoodsDetail/components/goodsDetailCoupon.d.ts +2 -2
- package/dist/components/GoodsDetail/components/goodsDetailHandleBar.d.ts +3 -1
- package/dist/components/GoodsDetail/components/goodsDetailInfo.d.ts +3 -1
- package/dist/components/GoodsDetail/components/goodsDetailPopup.d.ts +6 -2
- package/dist/components/GoodsDetail/components/goodsDetailPromotion.d.ts +3 -1
- package/dist/components/GoodsDetail/components/goodsDetailSize.d.ts +3 -2
- package/dist/components/GoodsDetail/components/goodsInfo.d.ts +3 -0
- package/dist/components/GoodsDetail/components/index.d.ts +5 -5
- package/dist/components/GoodsDetail/index.d.ts +2 -4
- package/dist/components/GoodsDetailSwiper/index.d.ts +1 -0
- package/dist/components/GoodsGroup/index.d.ts +1 -0
- package/dist/components/Mine/MineData/index.d.ts +8 -0
- package/dist/components/Mine/MineFunction/index.d.ts +6 -0
- package/dist/components/Mine/MineOrderEntry/index.d.ts +5 -0
- package/dist/components/Mine/index.d.ts +3 -8
- package/dist/components/PaymentMode/index.d.ts +2 -1
- package/dist/components/PlaceOrder/components/index.d.ts +1 -1
- package/dist/components/PlaceOrder/components/{address.d.ts → orderAddress.d.ts} +1 -1
- package/dist/components/PlaceOrder/index.d.ts +2 -3
- package/dist/components/PlaceOrderGroup/PlaceOrderAddress/index.d.ts +3 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderAddress/orderAddress.d.ts +12 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderCoupon/index.d.ts +2 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderDelivery/index.d.ts +3 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderGood/index.d.ts +2 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderInfo/index.d.ts +2 -0
- package/dist/components/PlaceOrderGroup/PlaceOrderOperate/index.d.ts +14 -0
- package/dist/components/PlaceOrderGroup/index.d.ts +6 -0
- package/dist/components/PlaceOrderResult/index.d.ts +2 -1
- package/dist/components/Search/Search/index.d.ts +18 -0
- package/dist/components/Search/SearchStyleTwo/index.d.ts +18 -0
- package/dist/components/Search/index.d.ts +2 -14
- package/dist/components/Slider/index.d.ts +3 -1
- package/dist/components/goodsDetailGroup/GoodsDetailAndEvaluate/goodsDetailEvaluate.d.ts +1 -0
- package/dist/components/goodsDetailGroup/GoodsDetailAndEvaluate/goodsDetailInfo.d.ts +3 -0
- package/dist/components/goodsDetailGroup/GoodsDetailAndEvaluate/index.d.ts +7 -0
- package/dist/components/goodsDetailGroup/GoodsDetailBanner/index.d.ts +8 -0
- package/dist/components/goodsDetailGroup/GoodsDetailCoupon/index.d.ts +3 -0
- package/dist/components/goodsDetailGroup/GoodsDetailHandleBar/goodsDetailPopup.d.ts +10 -0
- package/dist/components/goodsDetailGroup/GoodsDetailHandleBar/index.d.ts +14 -0
- package/dist/components/goodsDetailGroup/GoodsDetailInfo/goodsDetailCollection.d.ts +2 -0
- package/dist/components/goodsDetailGroup/GoodsDetailInfo/index.d.ts +10 -0
- package/dist/components/goodsDetailGroup/GoodsDetailPromotion/index.d.ts +3 -0
- package/dist/components/goodsDetailGroup/GoodsDetailSku/goodsDetailPopup.d.ts +10 -0
- package/dist/components/goodsDetailGroup/GoodsDetailSku/index.d.ts +6 -0
- package/dist/components/goodsDetailGroup/index.d.ts +7 -0
- package/dist/components/index.d.ts +2 -5
- package/dist/hooks/useDynamicHeight.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/util.d.ts +1 -1
- package/package.json +2 -3
- package/dist/components/GoodsDetailPromotion/index.d.ts +0 -1
- package/dist/components/Mine/components/index.d.ts +0 -2
- package/dist/components/Mine/components/menuList.d.ts +0 -1
- package/dist/components/Mine/components/orderEntry.d.ts +0 -1
- package/dist/components/MineData/index.d.ts +0 -8
- package/dist/components/MineFunction/index.d.ts +0 -1
- package/dist/components/MineOrderEntry/index.d.ts +0 -1
- package/dist/routerMap/index.d.ts +0 -21
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { initialCoupon } from 'qj-mobile-store';
|
|
2
|
+
export declare const Coupon: import("react").MemoExoticComponent<({ promotionBegintime, pbName, discName, promotionCode, promotionName, couponOnceNums, couponOnceNumd, promotionEndtime }: typeof initialCoupon) => JSX.Element>;
|
|
@@ -8,9 +8,12 @@ interface CubeType {
|
|
|
8
8
|
type: number;
|
|
9
9
|
borderRadius: number;
|
|
10
10
|
paddingTop: number;
|
|
11
|
-
paddingBottom: number;
|
|
12
11
|
paddingLeft: number;
|
|
13
12
|
paddingRight: number;
|
|
13
|
+
picGap: number;
|
|
14
|
+
xGap: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
outerShadow: boolean;
|
|
14
17
|
selectImg: Array<ImgType>;
|
|
15
18
|
}
|
|
16
19
|
export declare const Cube: React.NamedExoticComponent<CubeType>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { CollectProps } from 'qj-mobile-store';
|
|
2
|
+
export declare const GoodsDetailCollection: (props: CollectProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const GoodsDetailCoupon: ({
|
|
2
|
-
|
|
1
|
+
export declare const GoodsDetailCoupon: ({ skuCode }: {
|
|
2
|
+
skuCode: string;
|
|
3
3
|
}) => JSX.Element;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SkuItemType } from '@/components/GoodsDetail/components/skuItem';
|
|
2
2
|
export interface GoodsDetailPopupType {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
skuInfo: {
|
|
4
|
+
goodsShowname: string;
|
|
5
|
+
pricesetNprice: number;
|
|
6
|
+
dataPic: string;
|
|
7
|
+
skuList: Array<SkuItemType>;
|
|
8
|
+
};
|
|
5
9
|
}
|
|
6
10
|
export declare const GoodsDetailPopup: React.FC<GoodsDetailPopupType>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const GoodsDetailSize: React.FC<{
|
|
2
|
+
skuCode: string;
|
|
3
|
+
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './goodsDetailCollection';
|
|
2
|
+
export * from './goodsBanner';
|
|
3
|
+
export * from './goodsInfo';
|
|
4
|
+
export * from './goodsDetailSize';
|
|
5
|
+
export * from './goodsDetailPromotion';
|
|
2
6
|
export * from './goodsDetailCoupon';
|
|
3
|
-
export * from './
|
|
7
|
+
export * from './goodsDetailAndEvaluate';
|
|
4
8
|
export * from './goodsDetailHandleBar';
|
|
5
|
-
export * from './goodsDetailInfo';
|
|
6
|
-
export * from './goodsDetailPopup';
|
|
7
|
-
export * from './goodsDetailPromotion';
|
|
8
|
-
export * from './goodsDetailSize';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GoodsDetailSwiper: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
userNickname?: string;
|
|
5
|
-
userAvatar?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Mine: import("react").NamedExoticComponent<MineType>;
|
|
8
|
-
export {};
|
|
1
|
+
export * from './MineData';
|
|
2
|
+
export * from './MineOrderEntry';
|
|
3
|
+
export * from './MineFunction';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface PaymentOrderType {
|
|
3
2
|
skuId?: string;
|
|
4
|
-
goodsNum?:
|
|
3
|
+
goodsNum?: number;
|
|
5
4
|
shoppingGoodsId?: string;
|
|
6
5
|
refreshNum: number;
|
|
7
6
|
shippingMethod: number;
|
|
@@ -12,4 +11,4 @@ export interface PaymentOrderType {
|
|
|
12
11
|
paddingTop: number;
|
|
13
12
|
paddingBottom: number;
|
|
14
13
|
}
|
|
15
|
-
export declare const PlaceOrder:
|
|
14
|
+
export declare const PlaceOrder: import("react").NamedExoticComponent<PaymentOrderType>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AddressType {
|
|
2
|
+
provinceName: string;
|
|
3
|
+
cityName: string;
|
|
4
|
+
areaName: string;
|
|
5
|
+
addressDetail: string;
|
|
6
|
+
addressMember: string;
|
|
7
|
+
addressPhone: string;
|
|
8
|
+
addressDefault: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const OrderAddress: ({ address }: {
|
|
11
|
+
address: AddressType;
|
|
12
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const OrderOerate: {
|
|
2
|
+
color: string;
|
|
3
|
+
buttonColor: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderRadius: number;
|
|
6
|
+
refreshNum: number;
|
|
7
|
+
goodsNum: number;
|
|
8
|
+
skuId: string;
|
|
9
|
+
shoppingGoodsId: string;
|
|
10
|
+
areaCode: string;
|
|
11
|
+
userName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const PlaceOrderOperate: React.FC<Partial<typeof OrderOerate>>;
|
|
14
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface PlaceOrderResult {
|
|
2
3
|
borderRadius: number;
|
|
3
4
|
leftColor: string;
|
|
@@ -14,5 +15,5 @@ interface PlaceOrderResult {
|
|
|
14
15
|
paddingBottom: number;
|
|
15
16
|
code: string;
|
|
16
17
|
}
|
|
17
|
-
export declare const PlaceOrderResult:
|
|
18
|
+
export declare const PlaceOrderResult: React.NamedExoticComponent<PlaceOrderResult>;
|
|
18
19
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SearchType {
|
|
3
|
+
value: string;
|
|
4
|
+
iconShow: boolean;
|
|
5
|
+
fontColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderRadius: boolean;
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
paddingRight: number;
|
|
10
|
+
sticky: boolean;
|
|
11
|
+
fontsize: number;
|
|
12
|
+
paddings: number;
|
|
13
|
+
otherStyles: Array<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const Search: React.NamedExoticComponent<{
|
|
16
|
+
otherStyles: never[];
|
|
17
|
+
} & SearchType>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SearchType {
|
|
3
|
+
value: string;
|
|
4
|
+
iconShow: boolean;
|
|
5
|
+
fontColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderRadius: boolean;
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
paddingRight: number;
|
|
10
|
+
sticky: boolean;
|
|
11
|
+
fontsize: number;
|
|
12
|
+
paddings: number;
|
|
13
|
+
otherStyles: Array<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const SearchStyleTwo: React.NamedExoticComponent<{
|
|
16
|
+
otherStyles: never[];
|
|
17
|
+
} & SearchType>;
|
|
18
|
+
export {};
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
value: string;
|
|
4
|
-
iconShow: boolean;
|
|
5
|
-
fontColor: string;
|
|
6
|
-
backgroundColor: string;
|
|
7
|
-
borderRadius: number;
|
|
8
|
-
paddingTop: number;
|
|
9
|
-
paddingBottom: number;
|
|
10
|
-
paddingLeft: number;
|
|
11
|
-
paddingRight: number;
|
|
12
|
-
}
|
|
13
|
-
export declare const Search: React.NamedExoticComponent<SearchType>;
|
|
14
|
-
export {};
|
|
1
|
+
export * from './Search';
|
|
2
|
+
export * from './SearchStyleTwo';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface itemType {
|
|
2
3
|
imgUrl: string;
|
|
3
4
|
link: string;
|
|
@@ -18,6 +19,7 @@ interface SwiperType {
|
|
|
18
19
|
height: number;
|
|
19
20
|
width: number;
|
|
20
21
|
};
|
|
22
|
+
vertical?: boolean;
|
|
21
23
|
}
|
|
22
|
-
export declare const Slider:
|
|
24
|
+
export declare const Slider: React.NamedExoticComponent<SwiperType>;
|
|
23
25
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GoodsDetailEvaluate: ({ evaluateArr }: any) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SkuItemType } from '@/components/GoodsDetail/components/skuItem';
|
|
2
|
+
export interface GoodsDetailPopupType {
|
|
3
|
+
skuInfo: {
|
|
4
|
+
goodsShowname: string;
|
|
5
|
+
pricesetNprice: number;
|
|
6
|
+
dataPic: string;
|
|
7
|
+
skuList: Array<SkuItemType>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const GoodsDetailPopup: React.FC<GoodsDetailPopupType>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const GoodsDetailHandleBarInitial: {
|
|
3
|
+
skuCode: string;
|
|
4
|
+
serverShow: boolean;
|
|
5
|
+
cartShow: boolean;
|
|
6
|
+
lPartColor: string;
|
|
7
|
+
lPartBgColor: string;
|
|
8
|
+
lPartStyle: string;
|
|
9
|
+
rPartColor: string;
|
|
10
|
+
rPartBgColor: string;
|
|
11
|
+
rPartStyle: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const GoodsDetailHandleBar: React.FC<typeof GoodsDetailHandleBarInitial>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const GoodsDetailInfoInitial: {
|
|
3
|
+
skuCode: string;
|
|
4
|
+
priceShow: boolean;
|
|
5
|
+
mPriceShow: boolean;
|
|
6
|
+
salesVolumeShow: boolean;
|
|
7
|
+
collectionShow: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const GoodsDetailInfo: React.FC<typeof GoodsDetailInfoInitial>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SkuItemType } from '@/components/GoodsDetail/components/skuItem';
|
|
2
|
+
export interface GoodsDetailPopupType {
|
|
3
|
+
skuInfo: {
|
|
4
|
+
goodsShowname: string;
|
|
5
|
+
pricesetNprice: number;
|
|
6
|
+
dataPic: string;
|
|
7
|
+
skuList: Array<SkuItemType>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const GoodsDetailPopup: React.FC<GoodsDetailPopupType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './GoodsDetailBanner';
|
|
2
|
+
export * from './GoodsDetailInfo';
|
|
3
|
+
export * from './GoodsDetailSku';
|
|
4
|
+
export * from './GoodsDetailPromotion';
|
|
5
|
+
export * from './GoodsDetailCoupon';
|
|
6
|
+
export * from './GoodsDetailAndEvaluate';
|
|
7
|
+
export * from './GoodsDetailHandleBar';
|
|
@@ -17,22 +17,19 @@ export * from './GoodsList';
|
|
|
17
17
|
export * from '../common/icon';
|
|
18
18
|
export * from './SearchPage';
|
|
19
19
|
export * from './GoodsDetailTopInfo';
|
|
20
|
-
export * from './
|
|
20
|
+
export * from './goodsDetailGroup';
|
|
21
21
|
export * from './EvaluateList';
|
|
22
22
|
export * from './EvaluateDetail';
|
|
23
23
|
export * from './ExpressInfo';
|
|
24
24
|
export * from './AddressList';
|
|
25
25
|
export * from './AddressDetail';
|
|
26
26
|
export * from './PlaceOrder';
|
|
27
|
-
export * from './PlaceOrderResult';
|
|
28
27
|
export * from './CouponList';
|
|
29
28
|
export * from './Cart';
|
|
30
29
|
export * from './Mine';
|
|
31
|
-
export * from './MineData';
|
|
32
|
-
export * from './MineOrderEntry';
|
|
33
|
-
export * from './MineFunction';
|
|
34
30
|
export * from './PaymentMode';
|
|
35
31
|
export * from './Footprint';
|
|
36
32
|
export * from './CollectionList';
|
|
37
33
|
export * from './NoticeDetail';
|
|
38
34
|
export * from './ArticleDetail';
|
|
35
|
+
export * from './PlaceOrderGroup';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useDynamicHeight(element
|
|
1
|
+
export declare function useDynamicHeight(element?: string): number;
|