This commit is contained in:
3321822538@qq.com 2024-06-17 18:03:50 +08:00
parent 127e82e880
commit f4ca941247
4 changed files with 42 additions and 8 deletions

View File

@ -1,6 +1,6 @@
const install = (Vue, vm) => { const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({ Vue.prototype.$u.http.setConfig({
baseUrl: 'http://192.168.2.88:3100/dev-api', baseUrl: 'http://192.168.2.10:3100/dev-api',
// baseUrl: 'https://znb.ccttiot.com', // baseUrl: 'https://znb.ccttiot.com',
loadingText: '努力加载中~', loadingText: '努力加载中~',
loadingTime: 800, loadingTime: 800,

View File

@ -67,7 +67,7 @@
background:'#25D088' background:'#25D088'
}, },
listmap: [], listmap: [],
mapScale: 15, mapScale: 16,
datetime: 0, datetime: 0,
dingobj: '', dingobj: '',
mapContext: null, mapContext: null,
@ -117,6 +117,9 @@
width: 25, width: 25,
height: 30, height: 30,
iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw', iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
}; };
this.covers.push(shopCover) this.covers.push(shopCover)
}); });
@ -136,7 +139,10 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000', textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000',
rotate:20 rotate:20,
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
} }
this.covers.push(shopCover) this.covers.push(shopCover)
@ -260,6 +266,9 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white', textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
}; };
this.covers.push(shopCover) this.covers.push(shopCover)
@ -343,7 +352,7 @@
display: flex; display: flex;
margin-bottom: 10rpx; margin-bottom: 10rpx;
// justify-content: space-between; // justify-content: space-between;
padding-left: 155rpx; padding-left: 140rpx;
width: 625rpx; width: 625rpx;
box-sizing: border-box; box-sizing: border-box;
border-radius: 8rpx 8rpx 8rpx 8rpx; border-radius: 8rpx 8rpx 8rpx 8rpx;

View File

@ -135,7 +135,7 @@
jinweidu: '', jinweidu: '',
zujieflag: false, zujieflag: false,
listmap: [], listmap: [],
mapScale: 15, mapScale: 16,
datetime: 0, datetime: 0,
dingobj: '', dingobj: '',
mapContext: null, mapContext: null,
@ -358,6 +358,9 @@
width: 25, width: 25,
height: 30, height: 30,
iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw', iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
}; };
this.covers.push(shopCover) this.covers.push(shopCover)
}); });
@ -377,7 +380,10 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000', textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000',
rotate: 20 rotate: 20,
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
} }
this.covers.push(shopCover) this.covers.push(shopCover)
@ -511,6 +517,9 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white', textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
}; };
this.covers.push(shopCover) this.covers.push(shopCover)

View File

@ -19,6 +19,7 @@
{{item.name}} {{item.name}}
</view> </view>
<view class="cenb"> <view class="cenb">
<image src="https://api.ccttiot.com/smartmeter/img/static/unwm4Usi5czX1UjZl6aL" mode=""></image>
{{item.address}} {{item.address}}
</view> </view>
<view class="cenc"> <view class="cenc">
@ -59,7 +60,7 @@
background:'#25D088' background:'#25D088'
}, },
listmap: [], listmap: [],
mapScale: 15, mapScale: 16,
datetime: 0, datetime: 0,
dingobj: '', dingobj: '',
mapContext: null, mapContext: null,
@ -131,6 +132,9 @@
width: 25, width: 25,
height: 30, height: 30,
iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw', iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uI3B6yPwtiUBD3vafLtw',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
}; };
this.covers.push(shopCover); this.covers.push(shopCover);
}); });
@ -152,7 +156,10 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000', textShadow: '2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000',
rotate:20 rotate:20,
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
} }
this.covers.push(shopCover); this.covers.push(shopCover);
@ -248,6 +255,9 @@
fontWeight: 700, fontWeight: 700,
color: '#25D088', color: '#25D088',
textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white', textShadow: '2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white',
borderColor:'#fff',
borderRadius:5,
bgColor: 'rgba(255, 255, 255, 0.7)'
} }
}; };
this.covers.push(shopCover); this.covers.push(shopCover);
@ -407,6 +417,12 @@
color: #3D3D3D; color: #3D3D3D;
line-height: 32rpx; line-height: 32rpx;
margin-top: 14rpx; margin-top: 14rpx;
image {
display: inline-block;
width: 22rpx;
height: 22rpx;
margin-right: 6rpx;
}
} }
.cenc{ .cenc{
font-weight: 400; font-weight: 400;