|
@@ -95,10 +95,26 @@
|
|
|
<view class="style-section">
|
|
<view class="style-section">
|
|
|
<text class="label">音乐风格</text>
|
|
<text class="label">音乐风格</text>
|
|
|
<view class="tabs">
|
|
<view class="tabs">
|
|
|
- <text :class="{ 'active': selectedTab === 'emotion' }" @click="selectTab('emotion')">情感</text>
|
|
|
|
|
- <text :class="{ 'active': selectedTab === 'genre' }" @click="selectTab('genre')">流派</text>
|
|
|
|
|
- <text :class="{ 'active': selectedTab === 'era' }" @click="selectTab('era')">年代</text>
|
|
|
|
|
- <text :class="{ 'active': selectedTab === 'instrument' }" @click="selectTab('instrument')">乐器</text>
|
|
|
|
|
|
|
+ <text :class="{ 'active': selectedTab === 'emotion' }" @click="selectTab('emotion')">
|
|
|
|
|
+ 情感
|
|
|
|
|
+ <view class="indicator-triangle">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text :class="{ 'active': selectedTab === 'genre' }" @click="selectTab('genre')">
|
|
|
|
|
+ 流派
|
|
|
|
|
+ <view class="indicator-triangle">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text :class="{ 'active': selectedTab === 'era' }" @click="selectTab('era')">
|
|
|
|
|
+ 年代
|
|
|
|
|
+ <view class="indicator-triangle">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text :class="{ 'active': selectedTab === 'instrument' }" @click="selectTab('instrument')">
|
|
|
|
|
+ 乐器
|
|
|
|
|
+ <view class="indicator-triangle">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="tags">
|
|
<view class="tags">
|
|
|
<text v-for="(tag, index) in currentTags" :key="index"
|
|
<text v-for="(tag, index) in currentTags" :key="index"
|
|
@@ -109,23 +125,16 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <!-- 底部按钮 -->
|
|
|
|
|
- // <view class="bottom-section" v-if="!inQueue">
|
|
|
|
|
- // <button class="submit-btn" @click="generateMusic">立即生成<text class="small">(需消耗10枚豆)</text></button>
|
|
|
|
|
- // <view class="promotion-text">
|
|
|
|
|
- // <text class="link-text">即刻开通订阅,我取各种福利</text>
|
|
|
|
|
- // </view>
|
|
|
|
|
- // </view>
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<!-- 底部按钮 -->
|
|
<!-- 底部按钮 -->
|
|
|
<view class="bottom-button">
|
|
<view class="bottom-button">
|
|
|
- <button v-if="!doYouWantToEdit" class="generate-btn" @click="generateMusic">立即生成
|
|
|
|
|
|
|
+ <button v-if="doYouWantToEdit" class="generate-btn" @click="generateMusic">立即生成
|
|
|
<image src="/static/icon/coin_cd.png" mode="aspectFit"></image>
|
|
<image src="/static/icon/coin_cd.png" mode="aspectFit"></image>
|
|
|
10
|
|
10
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <view v-else class="generate-btn prohibit">生成中
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view v-else class="generate-btn prohibit">生成中 </view>
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="promotion-link">
|
|
<view class="promotion-link">
|
|
@@ -159,8 +168,8 @@ export default {
|
|
|
era: ['80年代', '90年代', '00年代', '10年代', '20年代'],
|
|
era: ['80年代', '90年代', '00年代', '10年代', '20年代'],
|
|
|
instrument: ['钢琴', '吉他', '贝斯', '鼓', '小提琴', '萨克斯', '电子合成器']
|
|
instrument: ['钢琴', '吉他', '贝斯', '鼓', '小提琴', '萨克斯', '电子合成器']
|
|
|
},
|
|
},
|
|
|
- inQueue: true,//是否创作中
|
|
|
|
|
- queuing: true,//是否排队中
|
|
|
|
|
|
|
+ inQueue: false,//是否创作中
|
|
|
|
|
+ queuing: false,//是否排队中
|
|
|
queueMessage: '',
|
|
queueMessage: '',
|
|
|
myinfo: {}
|
|
myinfo: {}
|
|
|
}
|
|
}
|