修复bug以及优化

This commit is contained in:
2026-06-02 16:23:56 +08:00
parent 5cc680f26d
commit a82c8da013
17 changed files with 529 additions and 110 deletions

View File

@@ -110,7 +110,7 @@
<!-- 底部导航栏 -->
<assetBottomBar v-if="asset.status === '闲置中'" :assetId="assetId" :phone="managerPhone"
@reserve="showReserve = true" btn-title="预约看资产" shareBtnTitle="分享资产"
@reserve="showReservePopup()" btn-title="预约看资产" shareBtnTitle="分享资产"
page-path="/pages-assets/assets/detail/assetsDetail" minicode-api="/pages-assets/assets/detail/assetsDetail"
btnColor="#FF2F31" :query="assetId" />
</view>
@@ -224,6 +224,10 @@
// this.navbarStyle.isTransparent = true;
// }
},
showReservePopup(){
this.$checkToken(this.$getToken());
this.showReserve = true
},
getRandomColor() {
const index = Math.floor(Math.random() * this.tagColors.length)
return this.tagColors[index]