Compare commits
2 Commits
c15e7b4aad
...
e2299f3bfb
Author | SHA1 | Date | |
---|---|---|---|
e2299f3bfb | |||
240e010745 |
@ -2,7 +2,7 @@
|
|||||||
"version" : "1.0",
|
"version" : "1.0",
|
||||||
"configurations" : [
|
"configurations" : [
|
||||||
{
|
{
|
||||||
"playground" : "standard",
|
"playground" : "custom",
|
||||||
"type" : "uni-app:app-ios"
|
"type" : "uni-app:app-ios"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"appid" : "__UNI__A21EF43",
|
"appid" : "__UNI__A21EF43",
|
||||||
"description" : "设备管控",
|
"description" : "设备管控",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : "100",
|
"versionCode" : 101,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
@ -62,7 +62,9 @@
|
|||||||
"appid" : "uni.app.UNIA21EF43",
|
"appid" : "uni.app.UNIA21EF43",
|
||||||
"privacyDescription" : {
|
"privacyDescription" : {
|
||||||
"NSBluetoothPeripheralUsageDescription" : "需要蓝牙访问权限,用于设备通信",
|
"NSBluetoothPeripheralUsageDescription" : "需要蓝牙访问权限,用于设备通信",
|
||||||
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信"
|
"NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信",
|
||||||
|
"NSLocationWhenInUseUsageDescription" : "用于地图定位服务",
|
||||||
|
"NSLocationAlwaysAndWhenInUseUsageDescription" : "用于地图定位服务"
|
||||||
},
|
},
|
||||||
"dSYMs" : false
|
"dSYMs" : false
|
||||||
},
|
},
|
||||||
@ -80,7 +82,8 @@
|
|||||||
"amap" : {
|
"amap" : {
|
||||||
"name" : "amapHG8nIFW5",
|
"name" : "amapHG8nIFW5",
|
||||||
"appkey_ios" : "065c43f02c7b627a74ad7dd23b16bb4f",
|
"appkey_ios" : "065c43f02c7b627a74ad7dd23b16bb4f",
|
||||||
"appkey_android" : "d7d852dbda2b95f6f796fb9a711a9fee"
|
"appkey_android" : "d7d852dbda2b95f6f796fb9a711a9fee",
|
||||||
|
"style" : "enable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth" : {},
|
"oauth" : {},
|
||||||
|
6
package-lock.json
generated
@ -5,6 +5,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||||
"axios": "^1.9.0",
|
"axios": "^1.9.0",
|
||||||
"cordova-sqlite-storage": "^7.0.0",
|
"cordova-sqlite-storage": "^7.0.0",
|
||||||
"iconv-lite": "^0.6.3",
|
"iconv-lite": "^0.6.3",
|
||||||
@ -13,6 +14,11 @@
|
|||||||
"vk-uview-ui": "^1.5.2"
|
"vk-uview-ui": "^1.5.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@amap/amap-jsapi-loader": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw=="
|
||||||
|
},
|
||||||
"node_modules/asynckit": {
|
"node_modules/asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||||
"axios": "^1.9.0",
|
"axios": "^1.9.0",
|
||||||
"cordova-sqlite-storage": "^7.0.0",
|
"cordova-sqlite-storage": "^7.0.0",
|
||||||
"iconv-lite": "^0.6.3",
|
"iconv-lite": "^0.6.3",
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="map-container">
|
<view class="map-container">
|
||||||
<!-- 背景保护层 -->
|
<map id="map" :style="{ width: '100%', height: '100vh' }" :latitude="latitude" :longitude="longitude" :zoom="13"
|
||||||
<view class="map-background"></view>
|
:markers="markers" :custom-style-file="customStyleFile" @markertap="onMarkerTap" @callouttap="onCalloutTap">
|
||||||
<view id="mapWrapper" ref="mapRef" class="map-wrapper"></view>
|
</map>
|
||||||
<!-- 加载提示 -->
|
|
||||||
<view v-if="loading" class="loading-mask">
|
|
||||||
<view class="loading-content">地图加载中...</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -14,76 +10,59 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true
|
latitude: 30.592,
|
||||||
}
|
longitude: 114.305,
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
hideLoading() {
|
|
||||||
this.loading = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script module="amap" lang="renderjs">
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
markers: [],
|
markers: [],
|
||||||
customPopup: null
|
// 为自定义基座提供样式文件路径
|
||||||
|
customStyleFile: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
onLoad() {
|
||||||
// 初始设置背景色
|
// #ifdef APP-PLUS
|
||||||
const container = document.getElementById('mapWrapper')
|
this.customStyleFile = plus.io.convertLocalFileSystemURL("_www/static/native-res/raw/mapstyle_grey.json");
|
||||||
container.style.backgroundColor = '#121212'
|
// #endif
|
||||||
container.style.transition = 'background 0.5s'
|
const eventChannel = this.getOpenerEventChannel();
|
||||||
|
eventChannel.on('MapData', (data) => {
|
||||||
this.initMap()
|
if (data && data.points) {
|
||||||
|
this.processMapData(data.points);
|
||||||
|
} else {
|
||||||
|
this.addDefaultMarkers();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// In case no data is received
|
||||||
|
setTimeout(() => {
|
||||||
|
if (this.markers.length === 0) {
|
||||||
|
this.addDefaultMarkers();
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async loadScript(url) {
|
processMapData(points) {
|
||||||
return new Promise((resolve) => {
|
const newMarkers = points.map((point, index) => ({
|
||||||
const script = document.createElement('script')
|
id: index,
|
||||||
script.src = url
|
latitude: point.lnglat[1],
|
||||||
script.onload = resolve
|
longitude: point.lnglat[0],
|
||||||
document.head.appendChild(script)
|
iconPath: '/static/images/biao.png',
|
||||||
})
|
width: 30,
|
||||||
},
|
height: 30,
|
||||||
|
callout: {
|
||||||
async initMap() {
|
content: point.name,
|
||||||
try {
|
color: '#ffffff',
|
||||||
// 动态加载SDK
|
fontSize: 14,
|
||||||
if (!window.AMap) {
|
borderRadius: 10,
|
||||||
await this.loadScript(
|
bgColor: '#000000',
|
||||||
'https://webapi.amap.com/maps?v=2.0&key=90bc158992feb8ccd0145e168cab1307'
|
padding: 10,
|
||||||
)
|
display: 'BYCLICK'
|
||||||
}
|
}
|
||||||
|
}));
|
||||||
|
|
||||||
const container = document.getElementById('mapWrapper')
|
if (newMarkers.length > 0) {
|
||||||
container.innerHTML = `
|
this.latitude = newMarkers[0].latitude;
|
||||||
<div id="amapContainer" style="
|
this.longitude = newMarkers[0].longitude;
|
||||||
width:100%;
|
this.markers = newMarkers;
|
||||||
height:100%;
|
}
|
||||||
opacity:0;
|
},
|
||||||
transition:opacity 0.8s ease-out;
|
addDefaultMarkers() {
|
||||||
background:#121212;
|
|
||||||
"></div>
|
|
||||||
`
|
|
||||||
|
|
||||||
// 初始化地图
|
|
||||||
this.map = new AMap.Map('amapContainer', {
|
|
||||||
viewMode: '3D',
|
|
||||||
zoom: 13,
|
|
||||||
center: [114.305, 30.592],
|
|
||||||
mapStyle: 'amap://styles/grey'
|
|
||||||
})
|
|
||||||
|
|
||||||
// 地图加载完成后淡入
|
|
||||||
this.map.on('complete', () => {
|
|
||||||
document.getElementById('amapContainer').style.opacity = 1
|
|
||||||
this.$ownerInstance.callMethod('hideLoading')
|
|
||||||
// 添加标记点
|
|
||||||
const wuhanPoints = [{
|
const wuhanPoints = [{
|
||||||
lnglat: [114.404, 30.507],
|
lnglat: [114.404, 30.507],
|
||||||
name: "华中科技大学"
|
name: "华中科技大学"
|
||||||
@ -96,157 +75,22 @@
|
|||||||
lnglat: [114.433, 30.504],
|
lnglat: [114.433, 30.504],
|
||||||
name: "武汉东站"
|
name: "武汉东站"
|
||||||
}
|
}
|
||||||
]
|
];
|
||||||
wuhanPoints.forEach(point => {
|
this.processMapData(wuhanPoints)
|
||||||
this.addMarker(point.lnglat, point.name)
|
},
|
||||||
})
|
onMarkerTap(e) {
|
||||||
})
|
console.log('marker tapped', e.detail.markerId);
|
||||||
// 创建自定义弹窗
|
},
|
||||||
this.createCustomPopup()
|
onCalloutTap(e) {
|
||||||
} catch (e) {
|
console.log('callout tapped', e.detail.markerId);
|
||||||
console.error('初始化失败:', e)
|
|
||||||
this.$ownerInstance.callMethod('hideLoading')
|
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
createCustomPopup() {
|
|
||||||
this.customPopup = document.createElement('div')
|
|
||||||
this.customPopup.className = 'custom-map-popup'
|
|
||||||
this.customPopup.innerHTML = `
|
|
||||||
<div class="popup-content">
|
|
||||||
<div class="popup-title"></div>
|
|
||||||
</div>
|
|
||||||
`
|
|
||||||
this.customPopup.style.display = 'none'
|
|
||||||
document.getElementById('amapContainer').appendChild(this.customPopup)
|
|
||||||
},
|
|
||||||
|
|
||||||
addMarker(position, title) {
|
|
||||||
const marker = new AMap.Marker({
|
|
||||||
position: new AMap.LngLat(...position),
|
|
||||||
map: this.map,
|
|
||||||
icon: 'https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png',
|
|
||||||
})
|
|
||||||
marker.on('click', () => {
|
|
||||||
this.showCustomPopup(position, title)
|
|
||||||
})
|
|
||||||
this.markers.push(marker)
|
|
||||||
return marker
|
|
||||||
},
|
|
||||||
|
|
||||||
showCustomPopup(position, title) {
|
|
||||||
const pixel = this.map.lngLatToContainer(position)
|
|
||||||
this.customPopup.querySelector('.popup-title').textContent = title
|
|
||||||
this.customPopup.style.display = 'block'
|
|
||||||
this.customPopup.style.left = `${pixel.x}px`
|
|
||||||
this.customPopup.style.top = `${pixel.y}px`
|
|
||||||
this.map.on('click', this.hideCustomPopup)
|
|
||||||
},
|
|
||||||
|
|
||||||
hideCustomPopup() {
|
|
||||||
if (this.customPopup) {
|
|
||||||
this.customPopup.style.display = 'none'
|
|
||||||
}
|
|
||||||
this.map.off('click', this.hideCustomPopup)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad(options) {
|
|
||||||
console.log(options,'optionsoptions');
|
|
||||||
const eventChannel = this.getOpenerEventChannel();
|
|
||||||
eventChannel.on('MapData', (data) => {
|
|
||||||
console.log(data, 'data');
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* 基础样式 */
|
|
||||||
.map-container {
|
.map-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.map-background {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: #121212;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.map-wrapper {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
position: relative;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 加载提示 */
|
|
||||||
.loading-mask {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: #121212;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
z-index: 999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loading-content {
|
|
||||||
color: rgba(255, 255, 255, 0.9);
|
|
||||||
font-size: 16px;
|
|
||||||
padding: 12px 24px;
|
|
||||||
background: rgba(0, 0, 0, 0.7);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 弹窗样式 */
|
|
||||||
.custom-map-popup {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 9999;
|
|
||||||
transform: translate(-50%, -100%);
|
|
||||||
min-width: 200rpx;
|
|
||||||
pointer-events: none;
|
|
||||||
animation: popupFadeIn 0.3s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.popup-content {
|
|
||||||
background: rgba(18, 45, 74, 0.95);
|
|
||||||
border-radius: 16rpx;
|
|
||||||
padding: 12rpx 24rpx;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 14px;
|
|
||||||
text-align: center;
|
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.popup-content:after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
bottom: -8px;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
border-width: 8px 8px 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: rgba(18, 45, 74, 0.95) transparent transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes popupFadeIn {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
transform: translate(-50%, -90%);
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translate(-50%, -100%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
44
static/native-res/raw/mapstyle_grey.json
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"featureType": "water",
|
||||||
|
"elementType": "geometry",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#ff0000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"featureType": "land",
|
||||||
|
"elementType": "geometry",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"featureType": "road",
|
||||||
|
"elementType": "all",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#555555"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"featureType": "building",
|
||||||
|
"elementType": "all",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#222222"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"featureType": "all",
|
||||||
|
"elementType": "labels.text.fill",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#ffffff"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"featureType": "all",
|
||||||
|
"elementType": "labels.text.stroke",
|
||||||
|
"stylers": {
|
||||||
|
"color": "#000000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
BIN
unpackage/dist/dev/app-plus/__uniapperror.png
vendored
Before Width: | Height: | Size: 5.7 KiB |
1
unpackage/dist/dev/app-plus/__uniappes6.js
vendored
8
unpackage/dist/dev/app-plus/__uniappquill.js
vendored
1
unpackage/dist/dev/app-plus/__uniappscan.js
vendored
BIN
unpackage/dist/dev/app-plus/__uniappsuccess.png
vendored
Before Width: | Height: | Size: 2.0 KiB |
25
unpackage/dist/dev/app-plus/__uniappview.html
vendored
@ -1,25 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="zh-CN">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<script>
|
|
||||||
var __UniViewStartTime__ = Date.now();
|
|
||||||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
|
||||||
CSS.supports('top: constant(a)'))
|
|
||||||
document.write(
|
|
||||||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
|
||||||
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
|
||||||
</script>
|
|
||||||
<title>View</title>
|
|
||||||
<link rel="stylesheet" href="view.css" />
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="app"></div>
|
|
||||||
<script src="__uniappes6.js"></script>
|
|
||||||
<script src="view.umd.min.js"></script>
|
|
||||||
<script src="app-view.js"></script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"prompt" : "template"
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
var isReady=false;var onReadyCallbacks=[];
|
|
||||||
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
||||||
var __uniConfig = {"pages":["pages/common/login/index","pages/common/index/index","pages/common/user/index","pages/common/scan/scan","pages/common/qrcode/qrcode","pages/common/send/index","pages/common/userAgreement/index","pages/common/privacyAgreement/index","pages/common/aboutUs/index","pages/6170/deviceControl/index","pages/common/operationVideo/index","pages/common/addvideo/index","pages/common/operatingInstruct/index","pages/common/productDes/index","pages/common/addBLE/addEquip","pages/common/addBLE/LinkBle","pages/6155/deviceDetail","pages/6155/ImgCrop","pages/common/map/index","pages/common/allType/index","pages/6170/allShare/index","pages/6170/share/index","pages/6170/shareDevices/index","pages/6170/shareManagement/index"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#121212","backgroundColor":"#121212"},"tabBar":{"color":"#fff","selectedColor":"#BBE600","backgroundColor":"#202020","list":[{"pagePath":"pages/common/index/index","text":"我的设备","iconPath":"/static/tabs/device.png","selectedIconPath":"/static/tabs/device-HL.png"},{"pagePath":"pages/common/user/index","text":"我的","iconPath":"/static/tabs/my.png","selectedIconPath":"/static/tabs/my-HL.png"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"JingQuan","compilerVersion":"4.64","entryPagePath":"pages/common/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
|
||||||
var __uniRoutes = [{"path":"/pages/common/login/index","meta":{"isQuit":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/common/scan/scan","meta":{},"window":{"navigationBarTitleText":"扫描"}},{"path":"/pages/common/qrcode/qrcode","meta":{},"window":{"navigationBarTitleText":"扫描到的设备"}},{"path":"/pages/common/send/index","meta":{},"window":{"navigationBarTitleText":"发送信息"}},{"path":"/pages/common/userAgreement/index","meta":{},"window":{"navigationBarTitleText":"用户协议"}},{"path":"/pages/common/privacyAgreement/index","meta":{},"window":{"navigationBarTitleText":"隐私协议"}},{"path":"/pages/common/aboutUs/index","meta":{},"window":{"navigationBarTitleText":"关于我们"}},{"path":"/pages/6170/deviceControl/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/operationVideo/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/addvideo/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/operatingInstruct/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/productDes/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/common/addBLE/addEquip","meta":{},"window":{"navigationBarTitleText":"添加设备"}},{"path":"/pages/common/addBLE/LinkBle","meta":{},"window":{"navigationBarTitleText":"扫描到的设备"}},{"path":"/pages/6155/deviceDetail","meta":{},"window":{"navigationBarTitleText":"HBY 6155"}},{"path":"/pages/6155/ImgCrop","meta":{},"window":{"navigationBarTitleText":"图像裁剪","navigationStyle":"custom","fullscreen":true}},{"path":"/pages/common/map/index","meta":{},"window":{"navigationBarTitleText":"地图"}},{"path":"/pages/common/allType/index","meta":{},"window":{"navigationBarTitleText":"所有类型"}},{"path":"/pages/6170/allShare/index","meta":{},"window":{"navigationBarTitleText":"所有分享"}},{"path":"/pages/6170/share/index","meta":{},"window":{"navigationBarTitleText":"分享"}},{"path":"/pages/6170/shareDevices/index","meta":{},"window":{"navigationBarTitleText":"分享设备"}},{"path":"/pages/6170/shareManagement/index","meta":{},"window":{"navigationBarTitleText":"分享管理"}}];
|
|
||||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
|
||||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
|
||||||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
|
154
unpackage/dist/dev/app-plus/app-config.js
vendored
@ -1,154 +0,0 @@
|
|||||||
/******/ (function(modules) { // webpackBootstrap
|
|
||||||
/******/ // install a JSONP callback for chunk loading
|
|
||||||
/******/ function webpackJsonpCallback(data) {
|
|
||||||
/******/ var chunkIds = data[0];
|
|
||||||
/******/ var moreModules = data[1];
|
|
||||||
/******/ var executeModules = data[2];
|
|
||||||
/******/
|
|
||||||
/******/ // add "moreModules" to the modules object,
|
|
||||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
||||||
/******/ var moduleId, chunkId, i = 0, resolves = [];
|
|
||||||
/******/ for(;i < chunkIds.length; i++) {
|
|
||||||
/******/ chunkId = chunkIds[i];
|
|
||||||
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
||||||
/******/ resolves.push(installedChunks[chunkId][0]);
|
|
||||||
/******/ }
|
|
||||||
/******/ installedChunks[chunkId] = 0;
|
|
||||||
/******/ }
|
|
||||||
/******/ for(moduleId in moreModules) {
|
|
||||||
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
|
||||||
/******/ modules[moduleId] = moreModules[moduleId];
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
|
||||||
/******/
|
|
||||||
/******/ while(resolves.length) {
|
|
||||||
/******/ resolves.shift()();
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ // add entry modules from loaded chunk to deferred list
|
|
||||||
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
|
|
||||||
/******/
|
|
||||||
/******/ // run deferred modules when all chunks ready
|
|
||||||
/******/ return checkDeferredModules();
|
|
||||||
/******/ };
|
|
||||||
/******/ function checkDeferredModules() {
|
|
||||||
/******/ var result;
|
|
||||||
/******/ for(var i = 0; i < deferredModules.length; i++) {
|
|
||||||
/******/ var deferredModule = deferredModules[i];
|
|
||||||
/******/ var fulfilled = true;
|
|
||||||
/******/ for(var j = 1; j < deferredModule.length; j++) {
|
|
||||||
/******/ var depId = deferredModule[j];
|
|
||||||
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
|
|
||||||
/******/ }
|
|
||||||
/******/ if(fulfilled) {
|
|
||||||
/******/ deferredModules.splice(i--, 1);
|
|
||||||
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
|
||||||
/******/ }
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ return result;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/ // The module cache
|
|
||||||
/******/ var installedModules = {};
|
|
||||||
/******/
|
|
||||||
/******/ // object to store loaded and loading chunks
|
|
||||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
||||||
/******/ // Promise = chunk loading, 0 = chunk loaded
|
|
||||||
/******/ var installedChunks = {
|
|
||||||
/******/ "app-config": 0
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ var deferredModules = [];
|
|
||||||
/******/
|
|
||||||
/******/ // The require function
|
|
||||||
/******/ function __webpack_require__(moduleId) {
|
|
||||||
/******/
|
|
||||||
/******/ // Check if module is in cache
|
|
||||||
/******/ if(installedModules[moduleId]) {
|
|
||||||
/******/ return installedModules[moduleId].exports;
|
|
||||||
/******/ }
|
|
||||||
/******/ // Create a new module (and put it into the cache)
|
|
||||||
/******/ var module = installedModules[moduleId] = {
|
|
||||||
/******/ i: moduleId,
|
|
||||||
/******/ l: false,
|
|
||||||
/******/ exports: {}
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Execute the module function
|
|
||||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
||||||
/******/
|
|
||||||
/******/ // Flag the module as loaded
|
|
||||||
/******/ module.l = true;
|
|
||||||
/******/
|
|
||||||
/******/ // Return the exports of the module
|
|
||||||
/******/ return module.exports;
|
|
||||||
/******/ }
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // expose the modules object (__webpack_modules__)
|
|
||||||
/******/ __webpack_require__.m = modules;
|
|
||||||
/******/
|
|
||||||
/******/ // expose the module cache
|
|
||||||
/******/ __webpack_require__.c = installedModules;
|
|
||||||
/******/
|
|
||||||
/******/ // define getter function for harmony exports
|
|
||||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
||||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
||||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // define __esModule on exports
|
|
||||||
/******/ __webpack_require__.r = function(exports) {
|
|
||||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
||||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
||||||
/******/ }
|
|
||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // create a fake namespace object
|
|
||||||
/******/ // mode & 1: value is a module id, require it
|
|
||||||
/******/ // mode & 2: merge all properties of value into the ns
|
|
||||||
/******/ // mode & 4: return value when already ns object
|
|
||||||
/******/ // mode & 8|1: behave like require
|
|
||||||
/******/ __webpack_require__.t = function(value, mode) {
|
|
||||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
||||||
/******/ if(mode & 8) return value;
|
|
||||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
||||||
/******/ var ns = Object.create(null);
|
|
||||||
/******/ __webpack_require__.r(ns);
|
|
||||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
||||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
||||||
/******/ return ns;
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
||||||
/******/ __webpack_require__.n = function(module) {
|
|
||||||
/******/ var getter = module && module.__esModule ?
|
|
||||||
/******/ function getDefault() { return module['default']; } :
|
|
||||||
/******/ function getModuleExports() { return module; };
|
|
||||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
||||||
/******/ return getter;
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // Object.prototype.hasOwnProperty.call
|
|
||||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
||||||
/******/
|
|
||||||
/******/ // __webpack_public_path__
|
|
||||||
/******/ __webpack_require__.p = "/";
|
|
||||||
/******/
|
|
||||||
/******/ var jsonpArray = this["webpackJsonp"] = this["webpackJsonp"] || [];
|
|
||||||
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
|
||||||
/******/ jsonpArray.push = webpackJsonpCallback;
|
|
||||||
/******/ jsonpArray = jsonpArray.slice();
|
|
||||||
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
|
||||||
/******/ var parentJsonpFunction = oldJsonpFunction;
|
|
||||||
/******/
|
|
||||||
/******/
|
|
||||||
/******/ // run deferred modules from other chunks
|
|
||||||
/******/ checkDeferredModules();
|
|
||||||
/******/ })
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ ([]);
|
|
26775
unpackage/dist/dev/app-plus/app-service.js
vendored
14507
unpackage/dist/dev/app-plus/app-view.js
vendored
1
unpackage/dist/dev/app-plus/manifest.json
vendored
Before Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 522 B |
BIN
unpackage/dist/dev/app-plus/static/images/del.png
vendored
Before Width: | Height: | Size: 676 B |
BIN
unpackage/dist/dev/app-plus/static/images/device.png
vendored
Before Width: | Height: | Size: 4.1 KiB |
BIN
unpackage/dist/dev/app-plus/static/images/path.png
vendored
Before Width: | Height: | Size: 454 B |
BIN
unpackage/dist/dev/app-plus/static/images/path3.png
vendored
Before Width: | Height: | Size: 957 B |
BIN
unpackage/dist/dev/app-plus/static/images/path5.png
vendored
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 197 B |
BIN
unpackage/dist/dev/app-plus/static/tabs/device.png
vendored
Before Width: | Height: | Size: 311 B |
BIN
unpackage/dist/dev/app-plus/static/tabs/my-HL.png
vendored
Before Width: | Height: | Size: 746 B |
BIN
unpackage/dist/dev/app-plus/static/tabs/my.png
vendored
Before Width: | Height: | Size: 604 B |
1
unpackage/dist/dev/app-plus/view.css
vendored
6
unpackage/dist/dev/app-plus/view.umd.min.js
vendored
@ -2,6 +2,11 @@
|
|||||||
# yarn lockfile v1
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@amap/amap-jsapi-loader@^1.0.1":
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.npmjs.org/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz"
|
||||||
|
integrity sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw==
|
||||||
|
|
||||||
asynckit@^0.4.0:
|
asynckit@^0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
|
resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
|
||||||
|