Commit 86a98c8f by zhangxw

ui走查修改

1 parent 84896f97
......@@ -4,7 +4,7 @@
right: 70px;
}
.tip {
margin-top: 105px;
margin-top: 120px;
text-align: center;
color: #fff;
font-size: 16px;
......

2.54 KB | W: | H:

1.09 KB | W: | H:

src/assets/icon/replay-pause.png
src/assets/icon/replay-pause.png
src/assets/icon/replay-pause.png
src/assets/icon/replay-pause.png
  • 2-up
  • Swipe
  • Onion skin

2.32 KB | W: | H:

1.11 KB | W: | H:

src/assets/icon/replay-play.png
src/assets/icon/replay-play.png
src/assets/icon/replay-play.png
src/assets/icon/replay-play.png
  • 2-up
  • Swipe
  • Onion skin

3.17 KB | W: | H:

1.95 KB | W: | H:

src/assets/icon/replay-refresh.png
src/assets/icon/replay-refresh.png
src/assets/icon/replay-refresh.png
src/assets/icon/replay-refresh.png
  • 2-up
  • Swipe
  • Onion skin

2.35 KB | W: | H:

5.14 KB | W: | H:

src/assets/icon/share.png
src/assets/icon/share.png
src/assets/icon/share.png
src/assets/icon/share.png
  • 2-up
  • Swipe
  • Onion skin
.icon {display: inline-block;background-image: url(sprite.png);background-size: 172px 172px;}
.icon-begin { width: 26px; height: 36px; background-position: 0px -136px; }
.icon-checked { width: 10px; height: 10px; background-position: -106px -120px; }
.icon-copy { width: 28px; height: 28px; background-position: -120px -92px; }
.icon-device { width: 14px; height: 14px; background-position: -154px -52px; }
.icon-loc-icon { width: 30px; height: 30px; background-position: -52px -136px; }
.icon-locate-sm { width: 14px; height: 14px; background-position: -154px -66px; }
.icon-location { width: 24px; height: 24px; background-position: -148px -92px; }
.icon-navgation { width: 28px; height: 28px; background-position: -82px -136px; }
.icon-off-car { width: 52px; height: 52px; background-position: -60px -60px; }
.icon-offline-time { width: 14px; height: 14px; background-position: -64px -120px; }
.icon-on-car { width: 52px; height: 52px; background-position: -120px 0px; }
.icon-online-time { width: 14px; height: 14px; background-position: -78px -120px; }
.icon-put-away { width: 64px; height: 16px; background-position: 0px -120px; }
.icon-refresh-car { width: 24px; height: 24px; background-position: -110px -136px; }
.icon-replay-pause { width: 60px; height: 60px; background-position: 0px 0px; }
.icon-replay-play { width: 60px; height: 60px; background-position: -60px 0px; }
.icon-replay-refresh { width: 60px; height: 60px; background-position: 0px -60px; }
.icon-resident { width: 26px; height: 36px; background-position: -26px -136px; }
.icon-screen-btn { width: 12px; height: 12px; background-position: -154px -80px; }
.icon-setting-btn { width: 24px; height: 24px; background-position: -134px -136px; }
.icon-share { width: 34px; height: 40px; background-position: -120px -52px; }
.icon-typeList { width: 14px; height: 14px; background-position: -92px -120px; }
\ No newline at end of file
.icon {display: inline-block;background-image: url(sprite.png);background-size: 192px 188px;}
.icon-begin { width: 26px; height: 36px; background-position: -140px -52px; }
.icon-copy { width: 28px; height: 28px; background-position: -144px -96px; }
.icon-device { width: 14px; height: 14px; background-position: -118px -68px; }
.icon-loc-icon { width: 30px; height: 30px; background-position: -88px -52px; }
.icon-locate-sm { width: 14px; height: 14px; background-position: -88px -82px; }
.icon-location { width: 24px; height: 24px; background-position: -28px -160px; }
.icon-navgation { width: 28px; height: 28px; background-position: 0px -160px; }
.icon-off-car { width: 52px; height: 52px; background-position: -88px 0px; }
.icon-offline-time { width: 14px; height: 14px; background-position: -102px -82px; }
.icon-on-car { width: 52px; height: 52px; background-position: -140px 0px; }
.icon-online-time { width: 14px; height: 14px; background-position: -116px -82px; }
.icon-put-away { width: 64px; height: 16px; background-position: 0px -144px; }
.icon-refresh-car { width: 24px; height: 24px; background-position: -52px -160px; }
.icon-replay-pause { width: 48px; height: 48px; background-position: 0px -96px; }
.icon-replay-play { width: 48px; height: 48px; background-position: -48px -96px; }
.icon-replay-refresh { width: 48px; height: 48px; background-position: -96px -96px; }
.icon-resident { width: 26px; height: 36px; background-position: -166px -52px; }
.icon-search { width: 16px; height: 16px; background-position: -118px -52px; }
.icon-setting-btn { width: 24px; height: 24px; background-position: -76px -160px; }
.icon-share { width: 88px; height: 96px; background-position: 0px 0px; }
.icon-typeList { width: 14px; height: 14px; background-position: -144px -124px; }
.icon-warning { width: 16px; height: 16px; background-position: -172px -96px; }
\ No newline at end of file

36.4 KB | W: | H:

35.6 KB | W: | H:

src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<template>
<div class="map-box">
<slot name="mapBox"></slot>
<div v-if="sharePage" class="share-tip">
<p>
<van-icon name="warning-o" class="warning-icon" />
提示:此分享功能请在有效时间内使用,详情联系分享者
</p>
</div>
<div v-show="isUploaded">
<a class="map-cmd-icon location" @click="getLocation">
<span v-if="!isGetLocation" class="icon icon-location"></span>
......@@ -23,18 +17,20 @@
import { onMounted, ref } from "vue";
export default {
name: "mapContent",
props: {},
props: {
noShowNotice: {
type: Boolean,
},
},
setup(props, context) {
let map = null;
const isUploaded = ref(false);
let checkLoadedTimeoutId = "";
const satelActive = ref(null);
const roadActive = ref(null);
const sharePage = ref(false);
const isGetLocation = ref(false);
onMounted(() => {});
const initMap = (id) => {
sharePage.value = JSON.parse(localStorage.getItem("sharePage"));
let check = () => {
checkLoadedTimeoutId && window.clearTimeout(checkLoadedTimeoutId);
let AMap = window.AMap;
......@@ -99,7 +95,6 @@ export default {
roadActive,
refresh,
isUploaded,
sharePage,
isGetLocation,
};
},
......@@ -110,23 +105,6 @@ export default {
.map-box {
height: 100%;
}
.share-tip {
position: fixed;
top: 100px;
z-index: 101;
background: rgba(0, 0, 0, 0.5);
font-size: 12px;
left: 50%;
margin-left: -140px;
width: 260px;
padding: 5px 10px;
text-align: center;
color: #fff;
border-radius: 5px;
.warning-icon {
color: var(--van-warning-color);
}
}
.map-cmd-icon {
width: 40px;
height: 40px;
......@@ -137,6 +115,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
}
.location {
bottom: 160px;
......
......@@ -12,6 +12,7 @@ import {
Switch,
Cell,
Loading,
NoticeBar,
} from "vant";
export function vant(app) {
......@@ -28,4 +29,5 @@ export function vant(app) {
app.use(Tabs);
app.use(Cell);
app.use(Loading);
app.use(NoticeBar);
}
......@@ -274,7 +274,7 @@ export default {
.time {
color: #666;
font-size: 12px;
margin-top: 5px;
margin-top: 7px;
}
}
:last-child {
......@@ -287,7 +287,7 @@ export default {
transition: max-height 0.3s;
}
.toggle-bottom-monitor.show {
max-height: 80%;
max-height: 60%;
transition: max-height 0.3s;
.list-content-monitor {
overflow-y: scroll;
......
......@@ -581,6 +581,9 @@ export default defineComponent({
left: 50%;
margin-left: -72px;
z-index: 101;
a {
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
}
.icon-replay-refresh {
margin-left: 12px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!