diff --git a/o2web/source/x_component_appstore_application/src/components/AppBase.js b/o2web/source/x_component_appstore_application/src/components/AppBase.js index 7b8a5e5aa2b215f7538beca94dd0e26a87c43d95..b2016d0cc03730a2dbad219e6709f5bb978b72a7 100644 --- a/o2web/source/x_component_appstore_application/src/components/AppBase.js +++ b/o2web/source/x_component_appstore_application/src/components/AppBase.js @@ -91,8 +91,11 @@ export default class AppBase extends React.Component { const indexPicStyle = { backgroundImage: 'url("'+data.indexPic+'")' }; - const price = parseInt(data.price) ? '¥'+data.price : "Free"; - //const installText = this.getActionText(data) + + let price = ''; + if (!data.vipApp) price = parseInt(data.price) ? '¥'+data.price : 'Free'; + + const downloadAction = this.getInstalledStatus(data)!=='vip' ?
{this.download(e)}}>{lp.download}
: ''; return (
@@ -104,7 +107,7 @@ export default class AppBase extends React.Component {
{lp.community}
TIP
{lp.communityInfo}
-
{this.download(e)}}>{lp.download}
+ {downloadAction}
{data.name}