xcx před 4 roky
rodič
revize
036b0072f4
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4
    1
      src/pages/HuoDong/HuoDongDetail/index.jsx

+ 4
- 1
src/pages/HuoDong/HuoDongDetail/index.jsx Zobrazit soubor

@@ -204,7 +204,10 @@ export default function HuoDongDetail () {
204 204
               <RichText nodes={`${ActivityDetail.desc !== null ? ActivityDetail.desc.replace(/font-size\:\s(\d+)px/ig, 'font-size: $1rpx') : ''}`}></RichText>
205 205
             </view>
206 206
 
207
-            <text className={Status - 0 === 2 ? 'active BottomBtn' : 'BottomBtn'} onClick={ToJoin}>{StatusText}</text>
207
+            {
208
+              Status - 0 !== 4 &&
209
+              <text className={Status - 0 === 2 ? 'active BottomBtn' : 'BottomBtn'} onClick={ToJoin}>{StatusText}</text>
210
+            }
208 211
 
209 212
           </view>
210 213
         }