游戏cell增加显示开通和去玩按钮
This commit is contained in:
parent
51c8e43361
commit
791588894e
@ -11,6 +11,14 @@
|
|||||||
<view class="title">{{item.name}}</view>
|
<view class="title">{{item.name}}</view>
|
||||||
<view class="content">{{item.introduce}}</view>
|
<view class="content">{{item.introduce}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="left-btn">
|
||||||
|
<view wx:if="{{item.owned}}" class="zan-btn zan-btn--mini zan-btn--plain zan-btn--primary ">
|
||||||
|
去玩
|
||||||
|
</view>
|
||||||
|
<view wx:else class="zan-btn zan-btn--mini zan-btn--plain zan-btn--warn">
|
||||||
|
开通
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -57,3 +57,9 @@
|
|||||||
background: #e5e5e5;
|
background: #e5e5e5;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
}
|
}
|
||||||
|
.left-btn {
|
||||||
|
margin-right: 0.8rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user