...
|
...
|
@@ -44,7 +44,6 @@ import ResourceNewProductList from 'components/resources/resource-new-product-li |
|
|
import ResourceTfGoodsList from 'components/resources/resource-tfgoods-list';
|
|
|
import {SearchSlider} from 'components/search';
|
|
|
import {mapState} from 'vuex';
|
|
|
import util from 'common/util';
|
|
|
import {HomeSlider} from './components';
|
|
|
import {REPORT_YAS} from 'store/yoho/types';
|
|
|
import ResourceBox from 'components/resources/resource-box';
|
...
|
...
|
@@ -124,8 +123,17 @@ export default { |
|
|
},
|
|
|
mounted() {
|
|
|
if (this.$yoho.isAndroid) {
|
|
|
if (util.miniVersion('6.5.2')) {
|
|
|
this.showBack = true;
|
|
|
let appVersion = this.$cookie.get('app_version');
|
|
|
|
|
|
if (appVersion && typeof appVersion === 'string') {
|
|
|
let versions = appVersion.split('.');
|
|
|
|
|
|
if (versions.length === 3 &&
|
|
|
(+versions[0] > 6 ||
|
|
|
(+versions[0] === 6 && +versions[1] > 5) ||
|
|
|
(+versions[0] === 6 && +versions[1] === 5 && +versions[2] > 1))) {
|
|
|
this.showBack = true;
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
this.showBack = true;
|
...
|
...
|
|