Parcourir la source

Merge branch 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

李志伟 il y a 3 ans
Parent
révision
a59118550e

+ 2
- 0
src/components/CollectList/MyCollect/index.jsx Voir le fichier

@@ -17,6 +17,8 @@ export default (props) => {
17 17
   const targetType = item.targetType
18 18
   const star = parseFloat(((item.sweetScore + item.environmentScore + item.serviceScore) / 3).toFixed(1));
19 19
 
20
+
21
+
20 22
   const handleDetail = () => {
21 23
     targetType == "shop_package" ? Taro.navigateTo({ url: `/pages/details/foodDetails/foodDetails?id=${item.shopId}` })
22 24
       : targetType == "tourist" ? Taro.navigateTo({ url: `/pages/details/mjDetails/sceneryDetails?id=${item.targetId}` })

+ 0
- 2
src/components/CouponCard/Media/style.less Voir le fichier

@@ -1,7 +1,5 @@
1
-
2 1
 .coupun-media {
3 2
   display: flex;
4
-
5 3
   &_header {
6 4
     flex: none;
7 5
     box-sizing: border-box;

+ 2
- 1
src/pages/index/tabs/Mine.jsx Voir le fichier

@@ -50,6 +50,7 @@ export default (props) => {
50 50
       lang: 'zh_CN',
51 51
       desc: "获取你的昵称、头像、地区及性别",
52 52
       success: (res) => {
53
+        console.log("🚀 ~ file: Mine.jsx ~ line 53 ~ handleGetUserProfile ~ res", res)
53 54
         const data = {
54 55
           ...res,
55 56
           sessionKey,
@@ -116,7 +117,7 @@ export default (props) => {
116 117
           <view className='User-info-all'>
117 118
             <view onClick={handleGetUserProfile} className='User-name'>{hasAvatar ? person.nickName : '点击授权头像'}</view>
118 119
             <view className='User-phone'>{person.phone.replace(/^(\d{3})\d{4}(\d+)/, "$1****$2") || ''}</view>
119
-            <image className='User-sex' src={person.sex === 1 ? boy : girl} />
120
+            {/* <image className='User-sex' src={person.sex === 1 ? boy : girl} /> */}
120 121
           </view>
121 122
           {/* 切换身份 */}
122 123
           <view onClick={ShowMoldeOn} className='User-info-cutover'>

+ 1
- 1
src/pages/index/tabs/Recommend.jsx Voir le fichier

@@ -75,7 +75,7 @@ export default (props) => {
75 75
   // })
76 76
 
77 77
   return (
78
-    <view style={{ height: '100%', overflow: 'hidden', display: 'flex',   flexDirection:'column' }}>
78
+    <view style={{ height: '100%', overflow: 'hidden', display: 'flex', flexDirection: 'column' }}>
79 79
       <view className='search' onClick={onSearch} >
80 80
         <input className='searchInput' disabled />
81 81
         <image className='searchicon' src={iconsearch} />