|
@@ -16,8 +16,8 @@
|
|
</swiper>
|
|
</swiper>
|
|
|
|
|
|
<view class="btn-ctrls">
|
|
<view class="btn-ctrls">
|
|
- <view class="btn-title" v-if="fetch.info.uid > 0" style="display:none;">
|
|
|
|
- <text class="grace-title-text">{{fetch.info.user.username}}创作</text>
|
|
|
|
|
|
+ <view class="btn-title" v-if="fetch.info.uid > 0" style="display: none;">
|
|
|
|
+ <text class="grace-title-text grace-black">{{fetch.info.user.username}}创作</text>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="btn-wrapper space-between" v-if="fetch.button" :style="fetch.button.bgcolor">
|
|
<view class="btn-wrapper space-between" v-if="fetch.button" :style="fetch.button.bgcolor">
|
|
@@ -86,7 +86,7 @@ export default{
|
|
goView : function() {
|
|
goView : function() {
|
|
//是否购买
|
|
//是否购买
|
|
if (!this.fetch.is_buy) {
|
|
if (!this.fetch.is_buy) {
|
|
- this.buyState = true;
|
|
|
|
|
|
+ this.showBuy();
|
|
} else {
|
|
} else {
|
|
this.view();
|
|
this.view();
|
|
}
|
|
}
|
|
@@ -94,6 +94,9 @@ export default{
|
|
view : function() {
|
|
view : function() {
|
|
this.Dever.location('dream/view?code='+this.fetch.code + '&name=' + this.fetch.info.name);
|
|
this.Dever.location('dream/view?code='+this.fetch.code + '&name=' + this.fetch.info.name);
|
|
},
|
|
},
|
|
|
|
+ showBuy : function() {
|
|
|
|
+ this.buyState = true;
|
|
|
|
+ },
|
|
hideBuy : function() {
|
|
hideBuy : function() {
|
|
this.buyState = false;
|
|
this.buyState = false;
|
|
},
|
|
},
|