|
|
|
|
@ -12,21 +12,22 @@
|
|
|
|
|
<div class="title">动态</div>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="weather-container">
|
|
|
|
|
<Card class="weather-container__card" :class="'card'+(index+1)" v-for="(item,key,index) in weatherKv" :style="{ 'background': item.color || '#fff','color': '#fff','border-radius': '14px' }">
|
|
|
|
|
<template #title>
|
|
|
|
|
<div style="display: flex;align-items: center;">
|
|
|
|
|
<div style="padding: 0 14px 0 10px;" v-html="item.icon"></div>
|
|
|
|
|
<span style="font-weight: 600;font-size: 17px;">{{ item.label }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template>
|
|
|
|
|
<template>
|
|
|
|
|
<div class="text" v-html="key === 'weather' ? weather[key] : splitSpan(weather ? weather[key] : '')"></div>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
<weatherCpn></weatherCpn>
|
|
|
|
|
<!-- <div class="weather-container">-->
|
|
|
|
|
<!-- <Card class="weather-container__card" :class="'card'+(index+1)" v-for="(item,key,index) in weatherKv" :style="{ 'background': item.color || '#fff','color': '#fff','border-radius': '14px' }">-->
|
|
|
|
|
<!-- <template #title>-->
|
|
|
|
|
<!-- <div style="display: flex;align-items: center;">-->
|
|
|
|
|
<!-- <div style="padding: 0 14px 0 10px;" v-html="item.icon"></div>-->
|
|
|
|
|
<!-- <span style="font-weight: 600;font-size: 17px;">{{ item.label }}</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template>-->
|
|
|
|
|
<!-- <template>-->
|
|
|
|
|
<!-- <div class="text" v-html="key === 'weather' ? weather[key] : splitSpan(weather ? weather[key] : '')"></div>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </Card>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@ -69,6 +70,7 @@ import LxHeader from "@/components/LxHeader/index.vue";
|
|
|
|
|
// import step1 from "@/views/order/component/step1.vue";
|
|
|
|
|
// import step2 from "@/views/order/component/step2.vue";
|
|
|
|
|
// import step3 from "@/views/order/component/step3.vue";
|
|
|
|
|
import weatherCpn from "@/views/order/component/weather.vue";
|
|
|
|
|
import createDispatch from "@/views/order/component/createDispatch.vue";
|
|
|
|
|
import dispatchList from "@/views/order/component/dispatchList.vue";
|
|
|
|
|
import axios from "axios";
|
|
|
|
|
@ -76,7 +78,8 @@ export default {
|
|
|
|
|
components: {
|
|
|
|
|
LxHeader,
|
|
|
|
|
createDispatch,
|
|
|
|
|
dispatchList
|
|
|
|
|
dispatchList,
|
|
|
|
|
weatherCpn
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
|