李志伟 3 years ago
parent
commit
1e765fcaae

+ 0
- 2
src/components/BottomMoadl/index.jsx View File

@@ -54,8 +54,6 @@ export default (props) => {
54 54
 
55 55
   //换一批
56 56
   const handleTextNext = (e) => {
57
-    console.log('换一批触发');
58
-    // setLoading(true)
59 57
     setTextNext(textNextSum + 1)
60 58
 
61 59
     e.stopPropagation()

+ 0
- 2
src/components/CollectList/MyCollect/index.jsx View File

@@ -13,8 +13,6 @@ const CouponMedia = CouponCard.Media
13 13
 const Action = CouponCard.Action
14 14
 export default (props) => {
15 15
   const { item, cardNavigateTo } = props
16
-  console.log("🚀 ~ file: index.jsx ~ line 16 ~ item", item)
17
-
18 16
   const targetType = item.targetType
19 17
   const star = parseFloat(((item.sweetScore + item.environmentScore + item.serviceScore) / 3).toFixed(1));
20 18
 

+ 0
- 1
src/components/CompoentsOrder/AlreadyUsed/index.jsx View File

@@ -32,7 +32,6 @@ export default (props) => {
32 32
     }
33 33
     else {
34 34
       saveEvaluate(evaluate.targetType, evaluate.targetId, evaluate).then((res) => {
35
-        console.log(res)
36 35
         onFinish()
37 36
       })
38 37
       onClose()

+ 0
- 1
src/components/MasonryLayout/Waterfall.jsx View File

@@ -26,7 +26,6 @@ export default (props) => {
26 26
   // useEffect(() => {
27 27
   //   const t = setTimeout(() => {
28 28
   //     Taro.createSelectorQuery().selectAll(`.${uqClass} .waterfall-item`).boundingClientRect(rects => {
29
-  //       console.log('---------waterfall-item---------->', rects)
30 29
   //     }).exec()
31 30
   //     clearTimeout(t)
32 31
   //   }, 500)

+ 1
- 14
src/components/foodCards/ShopNoteCard/index.jsx View File

@@ -21,12 +21,11 @@ const Action = CouponCard.Action
21 21
 //套餐卡片
22 22
 export default (props) => {
23 23
   const { item, st, editable, setScroll, goshop, travelMine, resourceList, det, handelNoteList } = props
24
+  console.log("🚀 ~ file: index.jsx ~ line 24 ~ resourceList", resourceList)
24 25
   // const travelId = travelMineContent?.records[0]?.travelId
25 26
   const targetId = props.item?.targetId
26 27
   const targetType = props.item?.targetType
27 28
 
28
-
29
-
30 29
   const goFood = () => {
31 30
     Taro.navigateTo({ url: `/pages/details/foodDetails/foodDetails?id=${targetId}` })
32 31
 
@@ -60,12 +59,7 @@ export default (props) => {
60 59
 
61 60
 
62 61
   const handleColumn = e => {
63
-    console.log("🚀 ~ file: index.jsx ~ line 63 ~ e", e)
64
-    // console.log(e.detail.column);
65
-
66 62
     const { column, value } = e.detail
67
-
68
-
69 63
     const firstValue = valueList[value]
70 64
     setTraveCoumun(firstValue.dayNum)
71 65
 
@@ -78,12 +72,9 @@ export default (props) => {
78 72
   const d = day.getDate();
79 73
   let number = 0
80 74
   const onChange = (e) => {
81
-    console.log("🚀 ~ file: index.jsx ~ line 63 ~ e", e)
82
-
83 75
     if (travelMine?.records == '') {
84 76
 
85 77
 
86
-      // console.log('没有行程');
87 78
       // newTravelMine({ title: `我的行程 ${y}-${m}-${d}` }).then(res => {
88 79
       //   handelNoteList()
89 80
       //   // 首先创建一个行程,然后才能拿到下面的这些数据
@@ -111,7 +102,6 @@ export default (props) => {
111 102
 
112 103
       return;
113 104
     } else {
114
-      console.log('有行程', e);
115 105
       const [firstInx, secondInx] = e.detail.value
116 106
 
117 107
       const firstValue = valueList[firstInx]
@@ -123,7 +113,6 @@ export default (props) => {
123 113
 
124 114
       //行程内容
125 115
       const { id } = secondValue//天数
126
-      console.log("🚀 ~ file: index.jsx ~ line 102 ~ newTravelMine ~ secondValue", secondValue)
127 116
 
128 117
       saveTravel(travelId, { dayOrder: id, targetId: targetId, targetType: targetType }).then((res) => {
129 118
         Taro.showToast({
@@ -137,8 +126,6 @@ export default (props) => {
137 126
         // setGrowGrass(grassNO)
138 127
 
139 128
       })
140
-      // console.log('else');
141
-
142 129
     }
143 130
   }
144 131
 

+ 0
- 1
src/hotel/components/HouseManage/houseManage.jsx View File

@@ -100,7 +100,6 @@ export default React.forwardRef((props, ref) => {
100 100
     getShareMessage: () => {
101 101
       const { shareImage, roomOrderId } = shareDataRef.current
102 102
       setShowCard(false)
103
-      console.log(`/pages/index/index?tab=1&roomId=${room.roomId}&roomOrderId=${roomOrderId}&fromType=hotel&recommender=${hotel.hotelId}`)
104 103
       return {
105 104
         title: `欢迎来到${room.roomName}`,
106 105
         path: `/pages/index/index?tab=1&roomId=${room.roomId}&roomOrderId=${roomOrderId}&fromType=hotel&recommender=${hotel.hotelId}`,

+ 0
- 1
src/hotel/pages/landlord/addRoom/addRoom.jsx View File

@@ -33,7 +33,6 @@ export default withLayout((props) => {
33 33
 
34 34
   const onRoomMap = () => {
35 35
     Taro.chooseLocation().then((res) => {
36
-      console.log("🚀 ~ file: addRoom.jsx ~ line 36 ~ Taro.chooseLocation ~ res", res)
37 36
       setRoomModel({ ...roomModel, location: res.longitude + ',' + res.latitude, locName: res.name, address: res.address })
38 37
     })
39 38
   }

+ 0
- 7
src/pages/Travel/Edit/NewCustom/index.jsx View File

@@ -3,7 +3,6 @@ import { useState } from 'react'
3 3
 import CustomCard from '@/components/foodCards/CustomCard/index'
4 4
 
5 5
 import Taro from '@tarojs/taro'
6
-import { View, Button } from '@tarojs/components'
7 6
 import { getTravelMine, deleteTravelItem } from '@/services/travel'
8 7
 import openUp from './ico/openUp.png'
9 8
 import packUp from './ico/packUp.png'
@@ -23,12 +22,6 @@ export default (props) => {
23 22
     setUnfold(!unfold)
24 23
 
25 24
   }
26
-
27
-  const onDay = () => {
28
-    console.log("🚀 ~ file: index.jsx ~ line 17 ~ item", item)
29
-
30
-  }
31
-
32 25
   const onDelete = (e) => {
33 26
 
34 27
     const itemId = e

+ 0
- 2
src/pages/Travel/Edit/index.jsx View File

@@ -119,13 +119,11 @@ export default withLayout((props) => {
119 119
   const [showFrame, setShowFrame] = useState(false)
120 120
   //行程推荐
121 121
   const setRecommend = () => {
122
-    console.log('弹窗触发了。');
123 122
     setShowFrame(!showFrame)
124 123
   }
125 124
   //修改行程名字
126 125
 
127 126
   const handelInput = (e) => {
128
-    console.log(e.detail.value);
129 127
     setInputChangle(e.detail.value)
130 128
   }
131 129
 

+ 4
- 6
src/pages/details/NoteDetails/index.jsx View File

@@ -1,24 +1,21 @@
1 1
 import CustomNav from '@/components/CustomNav'
2 2
 import ax from '@/assets/icons/housemantj/onlove.png'
3
-import dw from '@/assets/icons/housemantj/loc-o.png'
4 3
 import TextMentioned from '@/assets/icons/housemantj/TextMentioned.png'
5 4
 import NoteasICO from '@/assets/icons/housemantj/NoteasICO.png'
6
-
7 5
 import share from '@/assets/icons/housemantj/touristShare.png'
8 6
 import good from '@/assets/icons/housemantj/touristGood.png'
9 7
 import baozan from '@/assets/icons/housemantj/bgood.png'
10 8
 import weibaozan from '@/assets/icons/housemantj/unLike.png'
11
-import zhuandao from "@/assets/icons/housemantj/backTop.png";
12 9
 import withLayout from '@/layouts'
13 10
 import SpinBox from "@/components/Spin/SpinBox";
14
-import { getNoteList, getNoteID } from '@/services/note'
11
+import {  getNoteID } from '@/services/note'
15 12
 import { getTravelMine } from '@/services/travel'
16 13
 
17 14
 import TabIcon from '@/components/HorTabbar/TabIcon'
18 15
 import { useState, useEffect } from 'react'
19
-import { getTouristDetail, getExtendContent, getRecommendList } from '@/services/home'
16
+import {  getExtendContent } from '@/services/home'
20 17
 import logo from "@/assets/icons/UserCenter/laba.png"
21
-import { Swiper, SwiperItem, Button, View, Ad, Video } from '@tarojs/components';
18
+import {   Button, View,  Video } from '@tarojs/components';
22 19
 import useSave from "@/utils/hooks/useSave"
23 20
 import useLike from "@/utils/hooks/useLike"
24 21
 import ShopNoteCard from '@/components/foodCards/ShopNoteCard/index'
@@ -160,6 +157,7 @@ export default withLayout((props) => {
160 157
       })
161 158
     }
162 159
   }, [id])
160
+
163 161
   // 分享
164 162
   useShareAppMessage(() => {
165 163
     return {

+ 0
- 1
src/pages/index/tabs/Mine.jsx View File

@@ -43,7 +43,6 @@ export default (props) => {
43 43
       lang: 'zh_CN',
44 44
       desc: "获取你的昵称、头像、地区及性别",
45 45
       success: (res) => {
46
-        console.log("🚀 ~ file: Mine.jsx ~ line 53 ~ handleGetUserProfile ~ res", res)
47 46
         const data = {
48 47
           ...res,
49 48
           sessionKey,

+ 0
- 1
src/pages/searchResult/searchResult.jsx View File

@@ -20,7 +20,6 @@ const listStyle = { height: '100%' }
20 20
 
21 21
 export default withLayout((props) => {
22 22
   const { router, person, location } = props
23
-  console.log("🚀 ~ file: searchResult.jsx ~ line 22 ~ withLayout ~ props", props)
24 23
   const { q, targetTypeValue } = props.router.params
25 24
 
26 25
   const [listData, setListData] = useState({ list: [], rfTimes: 0 })