张延森 3 anos atrás
pai
commit
f6880c7daa
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/pages/index/activityDetail/index.jsx

+ 1
- 1
src/pages/index/activityDetail/index.jsx Ver arquivo

194
             className="iconfont icon-shoucang"
194
             className="iconfont icon-shoucang"
195
             style={isSaved ? { color: "red" } : undefined}
195
             style={isSaved ? { color: "red" } : undefined}
196
           ></text>
196
           ></text>
197
-          <text>收藏</text>
197
+          <text>{isSaved ? '已收藏' : '收藏'}</text>
198
         </view>
198
         </view>
199
         <view className="flex-item"></view>
199
         <view className="flex-item"></view>
200
 
200