longyvfengyun
2023-12-25 d8d792a6842832e8f6af6604274c438b25053afe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<template>
    <div>
        <a
        v-for="item in weathers"
        :key="item.wid"
        :href="'http://b.cqttech.com/weather/images/m/'+item.weather+'.png'"
        class="test-a"
        download :title="item.weather"><img :src="'http://b.cqttech.com/weather/images/m/'+item.weather+'.png'"></a>
    </div>
</template>
 
<script>
import weather from "@/assets/js/weather";
export default {
    name: "weather",
    data() {
        console.log(weather);
        return {
            weathers: weather,
        }
    }
}
</script>
 
<style scoped>
.test-a {
    color: #FFFFFF;
    margin-right: 10px;
}
</style>