|
@@ -18,17 +18,13 @@ export default withLayout((props) => {
|
18
|
18
|
|
19
|
19
|
|
20
|
20
|
useEffect(() => {
|
21
|
|
-
|
22
|
21
|
getTravelDestiny().then(e => {
|
23
|
22
|
setTraveContent(e)
|
24
|
23
|
setShareList(e?.travelItemList || [])
|
25
|
24
|
})
|
26
|
|
-
|
27
|
|
-
|
28
|
25
|
}, [])
|
29
|
26
|
|
30
|
27
|
useShareAppMessage((e) => {
|
31
|
|
-
|
32
|
28
|
return {
|
33
|
29
|
promise: share({ shareUrl: '/pages/index/index', targetId: traveContent.serialNo, targetType: 'travel' }).then(res => {
|
34
|
30
|
return {
|
|
@@ -36,7 +32,6 @@ export default withLayout((props) => {
|
36
|
32
|
path: `/pages/index/index?shareId=${res.shareId}`,
|
37
|
33
|
}
|
38
|
34
|
})
|
39
|
|
-
|
40
|
35
|
}
|
41
|
36
|
})
|
42
|
37
|
|
|
@@ -46,43 +41,35 @@ export default withLayout((props) => {
|
46
|
41
|
<view className='index-navbar'>
|
47
|
42
|
<CustomNav title='命定行程' />
|
48
|
43
|
</view>
|
49
|
|
- <scroll-view scrollY style='height: calc(100% - 75px);margin-bottom: 40px;' >
|
50
|
|
-
|
51
|
|
- <View className='Over-box'>
|
52
|
|
-
|
53
|
|
- <View className='Over-index-box' >
|
54
|
|
- <image className='OI-image' src={ShowOver} />
|
55
|
|
- <View className='OI-text-box'>
|
56
|
|
- <Text className='OI-text'>
|
57
|
|
- 整体运势或有起伏的情况,需要做好各方面的平衡避免有故此彼伏的情况。 你要学会自己衡量得失利弊,但时间不够用的时候就要面临个人的
|
58
|
|
- </Text>
|
59
|
|
- <Text className='OI-text'>
|
60
|
|
- 未必就是走的人多的路就是对,你可以保持自己的想法。
|
61
|
|
- </Text>
|
62
|
|
- <Text className='OI-text'>
|
63
|
|
- 南京对于你而言是梦想中的地方,你的命定行程适合阳光、梦幻的地方。结合你的回答你的命定行程如下:
|
64
|
|
- </Text>
|
65
|
|
- <View className='bottom-text'>》</View>
|
|
44
|
+ <View className='index-container' >
|
|
45
|
+ <scroll-view scrollY style='height: 100%;margin-bottom: 40px;' >
|
|
46
|
+ <View className='Over-box'>
|
|
47
|
+ <View className='Over-index-box' >
|
|
48
|
+ <image className='OI-image' src={ShowOver} />
|
|
49
|
+ <View className='OI-text-box'>
|
|
50
|
+ <Text className='OI-text'>
|
|
51
|
+ 整体运势或有起伏的情况,需要做好各方面的平衡避免有故此彼伏的情况。 你要学会自己衡量得失利弊,但时间不够用的时候就要面临个人的抉择。
|
|
52
|
+ </Text>
|
|
53
|
+ <Text className='OI-text'>
|
|
54
|
+ 未必就是走的人多的路就是对,你可以保持自己的想法。
|
|
55
|
+ </Text>
|
|
56
|
+ <Text className='OI-text'>
|
|
57
|
+ 南京对于你而言是梦想中的地方,你的命定行程适合阳光、梦幻的地方。结合你的回答你的命定行程如下:
|
|
58
|
+ </Text>
|
|
59
|
+ <View className='bottom-text'>》</View>
|
|
60
|
+ </View>
|
66
|
61
|
</View>
|
|
62
|
+ {
|
|
63
|
+ traveContent?.isHidden === false && shareList.map((item) => <ShareCard det={item} item={item} key={item.itemId} />
|
|
64
|
+ )
|
|
65
|
+ }
|
|
66
|
+ {
|
|
67
|
+ traveContent?.isHidden &&
|
|
68
|
+ <Button openType='share' className='content'><View className='shareImg'>分享并邀请好友点开查看完整命定行程</View></Button>
|
|
69
|
+ }
|
67
|
70
|
</View>
|
68
|
|
- {
|
69
|
|
- traveContent?.isHidden === false && shareList.map((item) => <ShareCard det={item} item={item} key={item.itemId} />
|
70
|
|
-
|
71
|
|
-
|
72
|
|
- )
|
73
|
|
- }
|
74
|
|
- {
|
75
|
|
- traveContent?.isHidden &&
|
76
|
|
- <Button openType='share' className='purebtn'><View className='shareImg'>分享并邀请好友点开查看完整命定行程</View></Button>
|
77
|
|
- // <View className='content' >分享并邀请好友点开查看完整命定行程</View>
|
78
|
|
-
|
79
|
|
- }
|
80
|
|
- </View>
|
81
|
|
-
|
82
|
|
- </scroll-view>
|
83
|
|
-
|
|
71
|
+ </scroll-view>
|
|
72
|
+ </View>
|
84
|
73
|
</view >
|
85
|
|
-
|
86
|
|
-
|
87
|
74
|
)
|
88
|
75
|
})
|