2.4 组件结构调整,调整会员权限判断
This commit is contained in:
@@ -36,14 +36,14 @@
|
||||
<view class="content" @click.stop="clickConceptItem(item.concept)">{{item.description}}</view>
|
||||
<view class="hotStockC flex">
|
||||
<view class="title">热门个股</view>
|
||||
<view class="stockList flex">
|
||||
<view v-if="memberInfo&&memberInfo.is_member&&(memberInfo.subscription_type=='pro'||memberInfo.subscription_type=='max')" class="stockList flex">
|
||||
<view class="stockItem" v-for="(sitem,sindex) in item.stocks.slice(0,3)" :key="sindex">{{sitem.name}}</view>
|
||||
<view class="more" @click.stop="clickStockMore(item)">+{{item.stock_count-3}}更多</view>
|
||||
</view>
|
||||
<!-- <view v-else class="notVipC flex" @click.stop="clickNotVip()">
|
||||
<view v-else class="notVipC flex" @click.stop="clickNotVip()">
|
||||
<image class="icon" src="/static/icon/home/conceptCenter/lock.png" mode="widthFix"></image>
|
||||
<view>需升级Pro会员查看{{item.stock_count}}只个股</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="transactionDateHistoryTimeC flex">
|
||||
<view class="transactionDate flex1">交易时间:{{item.price_info?item.price_info.trade_date:''}}</view>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<view class="list">
|
||||
<view class="item" v-for="(item,index) in stockList" :key="index">
|
||||
<view class="stockInfoC flex" @click="clickExpandOrRetract(index)">
|
||||
<view class="titleCodeC">
|
||||
<view class="titleCodeC" @click.stop="clickStockName(item.code)">
|
||||
<view class="title">{{item.name}}</view>
|
||||
<view class="code">{{item.code}}</view>
|
||||
</view>
|
||||
@@ -21,7 +21,7 @@
|
||||
<view v-else class="chg flex1">-</view>
|
||||
<!-- <view class="industry flex1">食品行业</view> -->
|
||||
<view class="reasonProjectC flex">
|
||||
<view>REASON/项目</view>
|
||||
<view>REASON</view>
|
||||
<image v-if="item.isExpand" class="arrow expand"
|
||||
src="/static/icon/home/conceptCenter/reasonExpand.png" mode="widthFix"></image>
|
||||
<image v-else class="arrow" src="/static/icon/home/conceptCenter/reasonRetract.png"
|
||||
@@ -33,10 +33,10 @@
|
||||
<text class="title">REASON:</text>
|
||||
<text>{{item.reason}}</text>
|
||||
</view>
|
||||
<view class="projectC">
|
||||
<!-- <view class="projectC">
|
||||
<text class="title">项目:</text>
|
||||
<text>已进入芥末味夏威夷果仁/黑金蒜香茉莉翡翠豆两款产品</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -364,6 +364,16 @@
|
||||
this.selectDateStr = monthAgoYear + '-' + (monthAgoMonth > 9 ? monthAgoMonth : ('0' + monthAgoMonth)) +
|
||||
'-' + (monthAgoDay > 9 ? monthAgoDay : ('0' + monthAgoDay))
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击股票名称查看个股详情
|
||||
* @param {Object} code
|
||||
*/
|
||||
clickStockName(code)
|
||||
{
|
||||
uni.navigateTo({
|
||||
url:'/pagesStock/stockCenterDetails/stockCenterDetails?code='+code
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 获取概念相关个股数据
|
||||
@@ -380,7 +390,6 @@
|
||||
if (item.code != null) return item.code
|
||||
return ''
|
||||
});
|
||||
console.log(codes);
|
||||
|
||||
conceptOtherDetails(this.conceptId, {
|
||||
days: 1,
|
||||
|
||||
Reference in New Issue
Block a user