|
@@ -84,10 +84,10 @@
|
|
|
<!-- 果树相册弹窗 -->
|
|
|
<tree-album-popup :show="showAlbum" :farmBuyId="farmBuyId" :sampleId="sampleId"></tree-album-popup>
|
|
|
<!-- 等级升级成功弹窗 -->
|
|
|
- <levelSuccessPopup></levelSuccessPopup>
|
|
|
+ <levelSuccessPopup :show="showUpgradePopup"></levelSuccessPopup>
|
|
|
<!-- 祝福弹窗 -->
|
|
|
<blessingsPopup :show="showBlessingsPopup" :showSuccess="showSuccess" :farmBuyId="farmBuyId"
|
|
|
- :clockinType="clockinType" @clockinCallback="getBySampleId"></blessingsPopup>
|
|
|
+ :clockinType="clockinType" @clockinCallback="getBySampleId" @closeBlessings="closeBlessings"></blessingsPopup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -267,6 +267,13 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ // 得到200分弹窗关闭
|
|
|
+ function closeBlessings() {
|
|
|
+ TREE.fetchClaimAward({buyId: farmBuyId.value, levelAwardId: 1}).then(({data}) => {
|
|
|
+ showUpgradePopup.value = true
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
const closedCheckPopup = () =>{
|
|
|
showPoster.value = !showPoster.value
|
|
|
}
|
|
@@ -327,6 +334,7 @@
|
|
|
const footerList = ["每日阳光", "送ta祝福", "分享转发", "水果订购"]
|
|
|
const showBlessingsPopup = ref(false)
|
|
|
const showSuccess = ref(false)
|
|
|
+ const showUpgradePopup = ref(false)
|
|
|
const clockinType = ref('1')
|
|
|
|
|
|
// 弹幕相关数据
|