vue根据天气显示图片

vue yekong 565℃

wanjunshijiecom 2021-08-22 at 13.53.55@2x

<img v-if="weather.text_day=='晴'" src="dist/img/tianqi/icon_qing.jpg" alt="">
                                    <img v-if="weather.text_day=='阴'" src="dist/img/tianqi/icon_yin.jpg" alt="">
                                    <img v-if="weather.text_day=='雨夹雪'" src="dist/img/tianqi/yujiaxue.png" alt="">
                                    <img v-if="weather.text_day=='小雨'" src="dist/img/tianqi/xiaoyu.png" alt="">
                                    <img v-if="weather.text_day=='中雨'" src="dist/img/tianqi/zhongyu.png" alt="">
                                    <img v-if="weather.text_day=='中雪'" src="dist/img/tianqi/zhongxue.png" alt="">
                                    <img v-if="weather.text_day=='大雨'" src="dist/img/tianqi/dayu.png" alt="">
                                    <img v-if="weather.text_day=='大暴雨'" src="dist/img/tianqi/dabaoyu.png" alt="">
                                    <img v-if="weather.text_day=='大雨-暴雨'" src="dist/img/tianqi/dayubaoyu.png" alt="">
                                    <img v-if="weather.text_day=='大雪'" src="dist/img/tianqi/daxue.png" alt="">
                                    <img v-if="weather.text_day=='冬雨'" src="dist/img/tianqi/dongyu.png" alt="">
                                    <img v-if="weather.text_day=='中雨-大雨'" src="dist/img/tianqi/zhongyudayu.png" alt="">
                                    <img v-if="weather.text_day=='中雪-大雪'" src="dist/img/tianqi/zhongxue-daxue.png"
                                         alt="">
                                    <img v-if="weather.text_day=='多云'" src="dist/img/tianqi/duoyun.png" alt="">
                                    <img v-if="weather.text_day=='大暴雨-特大暴雨'" src="dist/img/tianqi/dabaoyu-tedabaoyu.png"
                                         alt="">
                                    <img v-if="weather.text_day=='大雪-暴雪'" src="dist/img/tianqi/daxue-baoxue.png" alt="">
                                    <img v-if="weather.text_day=='小雨-中雨'" src="dist/img/tianqi/xiaoyu-zhongyu.png"
                                         alt="">
                                    <img v-if="weather.text_day=='小雪'" src="dist/img/tianqi/xiaoxue.png" alt="">
                                    <img v-if="weather.text_day=='小雪-中雪'" src="dist/img/tianqi/xiaoxue-zhongxue.png"
                                         alt="">
                                    <img v-if="weather.text_day=='强沙尘'" src="dist/img/tianqi/qiangshachen.png" alt="">
                                    <img v-if="weather.text_day=='扬沙'" src="dist/img/tianqi/yangsha.png" alt="">
                                    <img v-if="weather.text_day=='暴雨'" src="dist/img/tianqi/baoyu.png" alt="">
                                    <img v-if="weather.text_day=='暴雨-大暴雨'" src="dist/img/tianqi/baoyu-dabaoyu.png"
                                         alt="">
                                    <img v-if="weather.text_day=='暴雪'" src="dist/img/tianqi/baoxue.png" alt="">
                                    <img v-if="weather.text_day=='沙尘暴'" src="dist/img/tianqi/shachenbao.png" alt="">
                                    <img v-if="weather.text_day=='浮尘'" src="dist/img/tianqi/fuchen.png" alt="">
                                    <img v-if="weather.text_day=='特大暴雨'" src="dist/img/tianqi/tdby.png" alt="">
                                    <img v-if="weather.text_day=='阴'" src="dist/img/tianqi/yin.png" alt="">
                                    <img v-if="weather.text_day=='阵雨'" src="dist/img/tianqi/zhenyu.png" alt="">
                                    <img v-if="weather.text_day=='阵雪'" src="dist/img/tianqi/zhenxue.png" alt="">
                                    <img v-if="weather.text_day=='雷阵雨'" src="dist/img/tianqi/leizhenyu.png" alt="">
                                    <img v-if="weather.text_day=='雷阵雨并伴有冰雹'"
                                         src="dist/img/tianqi/leizhenyubanyoubingbao.png" alt="">
                                    <img v-if="weather.text_day=='雾'" src="dist/img/tianqi/wu.png" alt="">

天气套图下载地址
提取码: 6rfd

喜欢 (0)