230320a303 6 ay önce
ebeveyn
işleme
58193ab084
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/pagesHouse/price.jsx

+ 2 - 1
src/pagesHouse/price.jsx

@@ -140,6 +140,7 @@ class Index extends Component {
   }
 
   renderList () {
+    const userInfo = Taro.getStorageSync('APP_userInfo') || {}
     const iconLock = require('@img/icon_g_lock.png')
     const { dataList, isListEnd, isListLoading, isListEmpty, isLock } = this.state
     const {id, name} = this.$router.params
@@ -196,7 +197,7 @@ class Index extends Component {
           <Navigator url={`/pagesHouse/priceChart?id=${id}&name=${name}`} className="sl-top-tips">查看图表分析{'>>'}</Navigator>
           <AtNoticebar icon='volume-plus'>查询结果仅供参考</AtNoticebar>
           {
-            isLock
+            isLock && userInfo.is_sale != 1
             ? 
             <View className="sl-item dis">
               <View className="slid-tips" onClick={this.unlockHandle.bind(this)}>