@conecli/cone-render 0.8.19-shop.5 → 0.8.19-shop.6

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/dist/.DS_Store ADDED
Binary file
Binary file
@@ -1 +1 @@
1
- import { NETWORK_DATA_TYPE } from '../../../common/const'
1
+ import { NETWORK_DATA_TYPE } from '../../../common/const'
@@ -14,26 +14,31 @@
14
14
  }
15
15
 
16
16
  .d-error-tip {
17
- padding: 24px 0 40px;
18
17
  font-size: 28px;
18
+ font-weight: bold;
19
19
  line-height: 28px;
20
- color: #cccccc;
20
+ color: #8C8C8C;
21
+ }
22
+ .d-error-sub-tip {
23
+ margin-top: 16px;
24
+ font-size: 24px;
25
+ line-height: 24px;
26
+ color: #8C8C8C;
21
27
  }
22
-
23
28
  .d-error-type {
24
- margin: 0 auto;
25
- width: 300px;
26
- height: 300px;
29
+ width: 320px;
30
+ height: 320px;
27
31
  background-size: contain;
28
32
  background-repeat: no-repeat;
29
33
  }
30
34
 
31
35
  .d-no-network {
32
- background-image: url('https://img11.360buyimg.com/imagetools/jfs/t1/183170/9/1300/33060/6088fed9E6fad2c89/ac0c00d4d90ce536.png');
36
+ // background-image: url('https://m.360buyimg.com/imagetools/jfs/t1/219405/34/29129/32963/64892a0eF2c068392/86c3fcf9d980ff10.png');
37
+ background-image: url('../../../assets/networkError.png');
33
38
  }
34
39
 
35
40
  .d-data-error {
36
- background-image: url('https://img11.360buyimg.com/imagetools/jfs/t1/190994/19/325/42717/6088fed0Ec4b502d5/0e8de7593fb0d06c.png');
41
+ background-image: url('https://m.360buyimg.com/imagetools/jfs/t1/106708/34/36128/37234/64896f52Fed1530e0/7b403e068aae316c.png');
37
42
  }
38
43
 
39
44
  .d-no-data {
@@ -47,10 +52,13 @@
47
52
  }
48
53
 
49
54
  .d-opt-btn {
55
+ display: flex;
56
+ justify-content: center;
57
+ align-items: center;
58
+ width: 144px;
59
+ height: 56px;
60
+ margin-top: 32px;
50
61
  padding: 0;
51
- width: 160px;
52
- height: 64px;
53
- line-height: 64px;
54
62
  font-size: 24px;
55
63
  color: #fa2c19;
56
64
  border: 1PX solid #fa2c19;
@@ -70,7 +78,4 @@
70
78
  position: absolute;
71
79
  min-height: 500px;
72
80
  background: #f2f2f2;
73
- .d-error-tip {
74
- color: #999;
75
- }
76
81
  }
@@ -1 +1 @@
1
- import { Button, View } from '@tarojs/components'
2
1
  backgroundColorWhite,
2
+ import { Button, View } from '@tarojs/components'
3
3
  NetWorkErrorSubTip,
4
4
  subMessage,
5
5
  backgroundColorWhite,
6
6
  const useErrorTip = message != '' ? message : NetWorkErrorTip[netWorkDataType]
7
7
  const useErrorSubTip = subMessage? subMessage: NetWorkErrorSubTip[netWorkDataType]
8
8
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
9
9
  const maxHeight = latestRes.displayHeight || 546
10
10
  style={{maxHeight}}
11
11
  {useErrorSubTip? <View className={netWorkErrorStyle['d-error-sub-tip']}>{useErrorSubTip}</View>: null}
12
12
  <Button
13
13
  onClick={refershInitData}
14
14
  className={classNames(
15
15
  netWorkErrorStyle['d-opt-btn'],
16
16
  'd-button-no-border',
17
17
  )}
18
18
  plain
19
19
  size="mini"
20
20
  >
21
21
  重新加载
22
22
  </Button>
23
23
  )}
24
24
  subMessage: '',
@@ -1 +1 @@
1
- import React from 'react'
2
1
  customErrorIsvFloorModule?: React.ReactElement | undefined
3
2
  containerIndex?: number
4
3
  containerData?: any
5
4
  shopTotalInfo?: any
6
5
  selectContainerFn?: Function
7
6
  selectContainerId?: string
8
7
  placeHolderPreContainerId?: string
9
8
  children?: any
10
9
  style?: {
11
10
  [key: string]: any
12
11
  };
13
12
  layoutLeftRightMargin?: number
14
13
  }
14
+ import React from 'react'
15
15
  subMessage?: string
16
16
  customErrorIsvFloorModule?: React.ReactElement | undefined
17
17
  containerIndex?: number
18
18
  containerData?: any
19
19
  shopTotalInfo?: any
20
20
  selectContainerFn?: Function
21
21
  selectContainerId?: string
22
22
  placeHolderPreContainerId?: string
23
23
  children?: any
24
24
  style?: {
25
25
  [key: string]: any
26
26
  };
27
27
  layoutLeftRightMargin?: number
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.8.19-shop.5",
3
+ "version": "0.8.19-shop.6",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"