Browse Source

打包演示版本

dev_230517
刘洪超 2 years 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(() => { @@ -56,10 +56,7 @@ onMounted(() => {
},
{
img: "/assets/imgs/drop-down-menu/func-jieneng@2x.png",
text: "节能",
onClick: () => {
router.push("/message");
}
text: "节能"
},
{
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) => { @@ -256,7 +256,7 @@ const goToDetail = (item: any) => {
}
.content-btm {
margin-top: 18px;
margin-top: 8px;
font-family: Roboto-Light, Roboto;
//

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

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

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

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
</div>
<div class="content">
<div class="content-left">
<div class="time">
<div class="time" @click="envSelect">
{{ hour }}<span>:</span>{{ minutes }}
</div>
</div>
@ -86,7 +86,12 @@ const change = () => { @@ -86,7 +86,12 @@ const change = () => {
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 = () => {
router.push("/message");
@ -95,7 +100,7 @@ const goMessagePage = () => { @@ -95,7 +100,7 @@ const goMessagePage = () => {
<style lang="scss" scoped>
#home-screen-wrapper {
width: 100vh;
width: 100vw;
height: 100vh;
background: url('@/assets/imgs/home-screen/snow@2x.png') no-repeat;
background-size: 100% 100%;
@ -106,10 +111,11 @@ const goMessagePage = () => { @@ -106,10 +111,11 @@ const goMessagePage = () => {
align-items: center;
color: #FFF;
margin-top: 12px;
.wifi-icon {
margin-left: 24px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 28px;
height: 28px;

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

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

Loading…
Cancel
Save