修复ios 微信下没有引导,关联应用设置密码,下载不显示密码框

super_signature
nineven 5 years ago
parent c5ddfd5e33
commit 539ff8b10d
  1. 4
      fir_client/src/components/FirAppInfostimeline.vue
  2. 4
      fir_client/src/components/FirDownload.vue
  3. 4
      fir_download/src/components/FirDownload.vue
  4. 2
      fir_ser/api/utils/serializer.py

@ -46,9 +46,9 @@
<el-input v-if="app.editing.binary_url" <el-input v-if="app.editing.binary_url"
v-model="app.binary_url" v-model="app.binary_url"
placeholder="下载地址,默认本服务器,填写第三方可以 自动跳转到第三方平台"> placeholder="下载地址,默认本服务器,填写第三方可以 自动跳转到第三方平台" clearable>
</el-input> </el-input>
<div class="release-actions editing " v-if="app.editing.binary_url"> <div class="release-actions editing " v-if="app.editing.binary_url" style="margin-top: 10px">
<button class="btn-cancel" @click="endEdit(app,'binary_url')"><span <button class="btn-cancel" @click="endEdit(app,'binary_url')"><span
>取消</span></button> >取消</span></button>

@ -6,7 +6,7 @@
</el-header> </el-header>
<el-main> <el-main>
<div class="wechat_tip_content" v-if="agent === 'wxandroid'"> <div class="wechat_tip_content" v-if="agent === 'wxandroid' || agent === 'wxapple'">
<div class="wechat_tip"> <div class="wechat_tip">
<i class="triangle-up"></i>请点击右上角<br>选择"浏览器中打开" <i class="triangle-up"></i>请点击右上角<br>选择"浏览器中打开"
</div> </div>
@ -59,7 +59,7 @@
<div id="actions" class="actions" v-if="agent !==''"> <div id="actions" class="actions" v-if="agent !==''">
<el-button type="info" round v-if="agent === 'wxandroid'">不支持在微信内下载安装 <el-button type="info" round v-if="agent === 'wxandroid' || agent === 'wxapple'">不支持在微信内下载安装
</el-button> </el-button>
<button type="button" v-else-if="wrong">{{ msg }}</button> <button type="button" v-else-if="wrong">{{ msg }}</button>

@ -4,7 +4,7 @@
<header style="height: 60px"></header> <header style="height: 60px"></header>
<div class="wechat_tip_content" v-if="agent === 'wxandroid'"> <div class="wechat_tip_content" v-if="agent === 'wxandroid' || agent === 'wxapple'">
<div class="wechat_tip"> <div class="wechat_tip">
<i class="triangle-up"></i>请点击右上角<br>选择"浏览器中打开" <i class="triangle-up"></i>请点击右上角<br>选择"浏览器中打开"
</div> </div>
@ -53,7 +53,7 @@
<div id="actions" class="actions" v-if="agent !==''"> <div id="actions" class="actions" v-if="agent !==''">
<button type="info" round v-if="agent === 'wxandroid'">不支持在微信内下载安装 <button type="info" round v-if="agent === 'wxandroid' || agent === 'wxapple'">不支持在微信内下载安装
</button> </button>
<button type="button" v-else-if="wrong">{{ msg }}</button> <button type="button" v-else-if="wrong">{{ msg }}</button>

@ -103,7 +103,7 @@ class AppsShortSerializer(serializers.ModelSerializer):
if obj.has_combo: if obj.has_combo:
obj.has_combo.has_combo = None obj.has_combo.has_combo = None
if obj.has_combo.isshow: if obj.has_combo.isshow:
return AppsSerializer(obj.has_combo, context=self.context).data return AppsShortSerializer(obj.has_combo, context=self.context).data
master_release = serializers.SerializerMethodField() master_release = serializers.SerializerMethodField()

Loading…
Cancel
Save