修改开发模式下三维模型存储配置,添加沙盘天气图标

This commit is contained in:
sunzhenyu 2021-12-08 15:09:54 +08:00
parent 2e0ba39171
commit 1ef4810214
9 changed files with 28 additions and 4 deletions

View File

@ -6,7 +6,7 @@ NODE_ENV = 'development'
# VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
# VUE_APP_BASE_API = 'http://192.168.3.4:9000'
VUE_APP_BASE_API = 'http://192.168.3.6:9000'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_VOICE_API = 'http://119.3.163.89/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://test.joylink.club/cbtc'
# VUE_APP_VOICE_API = 'http://192.168.8.110:9008'

View File

@ -8,7 +8,8 @@
</el-button-group>
<div class="weathermanager"v-if="isShowWeather" >
<div class="weatherbtn" v-for="(element,index) in weatherMenu" @click="changeweather(element.type,index)" :class="{active:index==isActive}" :style="{'background-image': 'url('+element.pic+')'}"></div>
<div class="weatherbtn" v-for="(element,index) in timeMenu" @click="changetime(element.type,index)" :class="{active:index==timeActive}" :style="{'background-image': 'url('+element.pic+')'}"></div>
<div class="weatherbtn" v-for="(element,index) in weatherMenu" @click="changeweather(element.type,index)" :class="{active:index==weatherActive}" :style="{'background-image': 'url('+element.pic+')'}"></div>
</div>
@ -29,10 +30,29 @@ export default {
},
data() {
return {
isActive:0,
timeActive:0,
weatherActive:0,
isShowWeather:false,
bt1name:this.$t('jlmap3d.stationInfoDisplay'),
bt2name:this.$t('jlmap3d.trainInfoDisplay'),
timeMenu:[
{
type:'zaoshang',
pic:JL3D_LOCAL_STATIC+'/sprite/zaoshang.png',
},
{
type:'zhongwu',
pic:JL3D_LOCAL_STATIC+'/sprite/zhongwu.png',
},
{
type:'bangwan',
pic:JL3D_LOCAL_STATIC+'/sprite/bangwan.png',
},
{
type:'yewan',
pic:JL3D_LOCAL_STATIC+'/sprite/yewan.png',
}
],
weatherMenu:[
{
type:'sunny',
@ -93,8 +113,12 @@ export default {
this.isShowWeather = true;
}
},
changetime(type,index){
this.timeActive=index;
this.$emit('changeweather',type);
},
changeweather(type,index){
this.isActive=index;
this.weatherActive=index;
this.$emit('changeweather',type);
},
},

BIN
static/sprite/bangwan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
static/sprite/yewan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
static/sprite/zaoshang.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
static/sprite/zhongwu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
static/sprite/多云.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
static/sprite/沙尘暴.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB