Browse Source

打包演示版本

dev_230517
刘洪超 1 year ago
parent
commit
9c1a058d1e
  1. BIN
      public/assets/imgs/home-screen/backups@2x.png
  2. BIN
      public/assets/imgs/home-screen/message@2x.png
  3. 5
      src/view/drop-down-menu/drop-down-menu.vue
  4. 2
      src/view/tabs/device-control.vue
  5. 6
      src/view/tabs/fixed-time.vue
  6. 16
      src/view/tabs/home-screen.vue
  7. 10
      src/view/ui/env-select.vue

BIN
public/assets/imgs/home-screen/backups@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
public/assets/imgs/home-screen/message@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

5
src/view/drop-down-menu/drop-down-menu.vue

@ -56,10 +56,7 @@ onMounted(() => {
}, },
{ {
img: "/assets/imgs/drop-down-menu/func-jieneng@2x.png", img: "/assets/imgs/drop-down-menu/func-jieneng@2x.png",
text: "节能", text: "节能"
onClick: () => {
router.push("/message");
}
}, },
{ {
img: "/assets/imgs/drop-down-menu/func-set@2x.png", img: "/assets/imgs/drop-down-menu/func-set@2x.png",

2
src/view/tabs/device-control.vue

@ -256,7 +256,7 @@ const goToDetail = (item: any) => {
} }
.content-btm { .content-btm {
margin-top: 18px; margin-top: 8px;
font-family: Roboto-Light, Roboto; font-family: Roboto-Light, Roboto;
// //

6
src/view/tabs/fixed-time.vue

@ -63,12 +63,6 @@ import { Toast } from "vant";
const { proxy } = getCurrentInstance() as any; const { proxy } = getCurrentInstance() as any;
const router = useRouter(); const router = useRouter();
/**
* 环境模拟选择
*/
const envSelect = () => {
router.push("/envSelect");
};
/** /**
* 删除定时 * 删除定时
* @param index * @param index

16
src/view/tabs/home-screen.vue

@ -9,7 +9,7 @@
</div> </div>
<div class="content"> <div class="content">
<div class="content-left"> <div class="content-left">
<div class="time"> <div class="time" @click="envSelect">
{{ hour }}<span>:</span>{{ minutes }} {{ hour }}<span>:</span>{{ minutes }}
</div> </div>
</div> </div>
@ -86,7 +86,12 @@ const change = () => {
imgs.value.src = `/src/assets/imgs/home-screen/切图-关机时循环_000${index.value < 10? '0' + index.value: index.value}.png`; imgs.value.src = `/src/assets/imgs/home-screen/切图-关机时循环_000${index.value < 10? '0' + index.value: index.value}.png`;
} }
} }
/**
* 环境模拟选择
*/
const envSelect = () => {
router.push("/envSelect");
};
/** 跳转消息页面 */ /** 跳转消息页面 */
const goMessagePage = () => { const goMessagePage = () => {
router.push("/message"); router.push("/message");
@ -95,7 +100,7 @@ const goMessagePage = () => {
<style lang="scss" scoped> <style lang="scss" scoped>
#home-screen-wrapper { #home-screen-wrapper {
width: 100vh; width: 100vw;
height: 100vh; height: 100vh;
background: url('@/assets/imgs/home-screen/snow@2x.png') no-repeat; background: url('@/assets/imgs/home-screen/snow@2x.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
@ -106,10 +111,11 @@ const goMessagePage = () => {
align-items: center; align-items: center;
color: #FFF; color: #FFF;
margin-top: 12px; margin-top: 12px;
.wifi-icon { .wifi-icon {
margin-left: 24px; margin-left: 24px;
display: flex;
justify-content: center;
align-items: center;
img { img {
width: 28px; width: 28px;
height: 28px; height: 28px;

10
src/view/ui/env-select.vue

@ -8,7 +8,7 @@
/> />
<div class="zhp-title-text">环境模拟选择</div> <div class="zhp-title-text">环境模拟选择</div>
</div> </div>
<div class="zhp-item-bg"> <div class="zhp-item-bgg">
<div v-for="(item, i) in seasonList" :key="i"> <div v-for="(item, i) in seasonList" :key="i">
<div class="seasonItem" @click="itemOnClick(item)"> <div class="seasonItem" @click="itemOnClick(item)">
<div class="tem-bg"> <div class="tem-bg">
@ -67,6 +67,14 @@ const seasonList = ref([
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
//card
.zhp-item-bgg {
display: flex;
justify-content: space-between;
padding-left: 24px;
padding-right: 24px;
flex-wrap: wrap;
}
.seasonItem { .seasonItem {
margin-top: 20px; margin-top: 20px;
width: 330px; width: 330px;

Loading…
Cancel
Save