You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.4 KiB
81 lines
2.4 KiB
<template>
|
|
<view>
|
|
<view class="mode_com">
|
|
<view class="guy_img "><image :src="src" class="tup_size_160" ></image></view>
|
|
<view class="abt_ht_text">{{name}}文旅APP
|
|
|
|
</view>
|
|
<view class="nr_cot">
|
|
{{name}}文旅是利用互联网、物联网、大数据、人工智能、融合5G技术打造的全域旅游智慧营销和管理平台,实现了“旅游全程智能化”。游客只需要用一部手机,就可以满足游前、游中、游后的旅游需求,为游客在旅游信息获取、文化旅游行程规划、产品预订、游记分享、特产展示、投诉建议等方面提供一站式智能化便捷服务。
|
|
|
|
</view>
|
|
|
|
<!-- <view style=" text-align: center; font-size: 32rpx;position: fixed;bottom: 140rpx;left: 5%;right: 5%;z-index: 6; color: #999;" >
|
|
<text v-if="version != ''">当前版本:V{{version}}</text>
|
|
</view> -->
|
|
<view class="btn_upd" @click="update">
|
|
<view class=" pb_15 agn_center"><text class="an_t_2" v-if="version != ''">当前版本:V{{version}}</text></view>
|
|
<text class="btn_upd_inf">检查更新</text>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
name:this.$param.cityName,
|
|
src:"../../static/images/"+this.$param.cityPy+".png",
|
|
version:""
|
|
}
|
|
},
|
|
onLoad(){
|
|
this.getVersion();
|
|
},
|
|
methods: {
|
|
update:function(){
|
|
if (this.$wechat.isWechat()) {
|
|
} else {
|
|
switch (uni.getSystemInfoSync().platform) {
|
|
case 'android':
|
|
console.log('运行Android上');
|
|
Android.gotoDetial("VERSIONCHECK","");
|
|
break;
|
|
case 'ios':
|
|
console.log('运行iOS上');
|
|
window.location.href = 'https://www.baidu.com?url=appupdate';
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
},
|
|
getVersion:function(){
|
|
if (this.$wechat.isWechat()) {
|
|
} else {
|
|
switch (uni.getSystemInfoSync().platform) {
|
|
case 'android':
|
|
console.log('运行Android上');
|
|
var that = this;
|
|
this.$util.bindGpsObj(that);
|
|
Android.gotoDetial("GetVersionInfo","");
|
|
break;
|
|
// case 'ios':
|
|
// console.log('运行iOS上');
|
|
// window.location.href = 'https://www.baidu.com?url=appupdate';
|
|
// break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
@import url('../../static/css/common.css');
|
|
page{ background-color: #fff;}
|
|
.mode_com{ padding-top:60rpx;}
|
|
</style>
|
|
|