Ver código fonte

更新字段读取

master
Weller 1 ano atrás
pai
commit
0db66c0bfe
1 arquivos alterados com 14 adições e 13 exclusões
  1. +14
    -13
      src/components/HomeStyle.vue

+ 14
- 13
src/components/HomeStyle.vue Ver arquivo

@@ -17,6 +17,7 @@
<div class="homeTextStyle">
<h1 class="display-1" style="font-weight: bold;margin-top: 8px;">{{ mod.mainText }}</h1>
<h1 style="margin-top: 8px;margin-bottom: 8px;">{{ mod.subText }}</h1>
<div style="color: #999999;">{{ mod.content }}</div>
<div class="text-contentButton-flex row">
<div class="col-sm-5" style="margin-top: 10px;">
<div class=" button-box chang-button top15" :style="getHoversColor"
@@ -60,15 +61,15 @@
</div>
</div>
</div>
<DefaultBowser ref="bowser"/>
</div>
</template>
<script>
import QrcodeVue from 'qrcode.vue'
import DefaultBowser from './default-browser.vue'
import QrcodeVue from 'qrcode.vue'
import DefaultBowser from './default-browser.vue'
import {isWxBrowser} from '../utlis/browser.js'
export default {
@@ -124,7 +125,7 @@
console.log(document.URL)
},
components: {
QrcodeVue,
QrcodeVue,
DefaultBowser
},
@@ -137,14 +138,14 @@
},
methods: {
downloadLink: function(link) {
console.log(link, isWxBrowser())
if (isWxBrowser() && link.endsWith('.apk')) {
console.log('请使用默认浏览器打开')
this.$refs.bowser.show()
} else {
window.open(link);
downloadLink: function(link) {
console.log(link, isWxBrowser())
if (isWxBrowser() && link.endsWith('.apk')) {
console.log('请使用默认浏览器打开')
this.$refs.bowser.show()
} else {
window.open(link);
}
},
@@ -310,4 +311,4 @@
opacity: 1;
}
}
</style>
</style>

Carregando…
Cancelar
Salvar