feat: 修改发版提示弹框
This commit is contained in:
+2
-5
@@ -184,18 +184,15 @@
|
||||
<up-overlay :show="bannerShow">
|
||||
<view class="up_content" @tap.stop>
|
||||
<view class="uni-banner">
|
||||
<view class="close_btn" @click="bannerShow = false;"></view>
|
||||
<view class="banner_box">
|
||||
<view class="title_">发现新版本</view>
|
||||
<view class="version_">
|
||||
<view class="version_item">V{{ updateApkObj.versionCode || 100 }}</view>
|
||||
</view>
|
||||
<view class="conter">{{ updateApkObj.content }}</view>
|
||||
<view class="banner_foot" v-if="!bannerPercentageShow">
|
||||
<button @click="goUpdate(updateApkObj, platformType)" class="banner_foot_button">立即更新</button>
|
||||
<view @click="bannerShow = false;" class="banner_foot_button_no" v-if="!updateApkObj.isForce">暂不更新</view>
|
||||
</view>
|
||||
<view v-else>
|
||||
<up-line-progress :percentage="bannerPercentage" activeColor="#FF7C41"></up-line-progress>
|
||||
<up-line-progress :percentage="bannerPercentage" activeColor="#a85cfa"></up-line-progress>
|
||||
<view class="banner_loading_msg">
|
||||
更新中{{ bannerPercentage }}%
|
||||
</view>
|
||||
|
||||
@@ -24,23 +24,20 @@
|
||||
<view class="value_">v{{localAppVersonName}}.{{localAppVerson}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<up-overlay :show="bannerShow" >
|
||||
<up-overlay :show="bannerShow">
|
||||
<view class="up_content" @tap.stop>
|
||||
<view class="uni-banner">
|
||||
<view class="close_btn" @click="bannerShow = false;"></view>
|
||||
<view class="banner_box">
|
||||
<view class="title_">发现新版本</view>
|
||||
<view class="version_">
|
||||
<view class="version_item">V{{updateApkObj.versionCode}}</view>
|
||||
</view>
|
||||
<view class="conter">{{updateApkObj.content}}</view>
|
||||
<view class="conter">{{ updateApkObj.content }}</view>
|
||||
<view class="banner_foot" v-if="!bannerPercentageShow">
|
||||
<button @click="goUpdate(updateApkObj,platformType)" class="banner_foot_button">立即更新</button>
|
||||
<button @click="goUpdate(updateApkObj, platformType)" class="banner_foot_button">立即更新</button>
|
||||
<view @click="bannerShow = false;" class="banner_foot_button_no" v-if="!updateApkObj.isForce">暂不更新</view>
|
||||
</view>
|
||||
<view v-else>
|
||||
<up-line-progress :percentage="bannerPercentage" activeColor="#009A4F"></up-line-progress>
|
||||
<up-line-progress :percentage="bannerPercentage" activeColor="#a85cfa"></up-line-progress>
|
||||
<view class="banner_loading_msg">
|
||||
更新中{{bannerPercentage}}%
|
||||
更新中{{ bannerPercentage }}%
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user