This commit is contained in:
3321822538@qq.com 2024-05-21 18:02:34 +08:00
parent ceb9558de4
commit 6f69ad215d
31 changed files with 127 additions and 109 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="用电分析" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="用电分析" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36' id="navbar"></u-navbar> height='58' id="navbar"></u-navbar>
<view class="card"> <view class="card">
<view class="xzsj"> <view class="xzsj">
<u-picker mode="time" v-model="show" :params="params" @confirm="confirm"></u-picker> <u-picker mode="time" v-model="show" :params="params" @confirm="confirm"></u-picker>
@ -52,7 +52,7 @@
}, },
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
params: { params: {
year: true, year: true,

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="充值" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="充值" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="title"> <view class="title">
设备名称{{deviceobj.deviceName}} 设备名称{{deviceobj.deviceName}}
</view> </view>

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="关于我们" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="关于我们" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="title"> <view class="title">
{{obj.title}} {{obj.title}}

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="设备故障" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="设备故障" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="nav"> <view class="nav">
<view class="top"> <view class="top">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="上报异常" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="上报异常" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list"> <view class="list">
<view class="sbbh"> <view class="sbbh">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="商家合作" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="商家合作" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="title"> <view class="title">
请输入您的真实有效信息我们将在第一时间联系 请输入您的真实有效信息我们将在第一时间联系
</view> </view>

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="订单详情" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="订单详情" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="listxq"> <view class="listxq">
<view class="nav"> <view class="nav">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="我的订单" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="我的订单" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list" @scrolltolower="onReachBottom" v-for="(item,index) in wateringList" :key="index" @click="btndetail(item)"> <view class="list" @scrolltolower="onReachBottom" v-for="(item,index) in wateringList" :key="index" @click="btndetail(item)">
<view class="list_val"> <view class="list_val">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="修改店铺" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="修改店铺" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list"> <view class="list">
<view class="listval"> <view class="listval">
@ -391,7 +391,7 @@
.list { .list {
width: 680rpx; width: 680rpx;
height: 1254rpx; height: 1180rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx; border-radius: 24rpx 24rpx 24rpx 24rpx;
margin: auto; margin: auto;

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="我的店铺" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="我的店铺" :border-bottom="false" :background="bgc" title-color='#fff' title-size='36' back-icon-color="#fff"
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="top"> <view class="top">
<u-search placeholder="搜索" input-align="center" v-model="keyword" @custom="searchs"></u-search> <u-search placeholder="搜索" input-align="center" v-model="keyword" @custom="searchs"></u-search>
@ -311,7 +311,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
position: fixed; position: fixed;
top: 160rpx; top: 200rpx;
.cjshop { .cjshop {
width: 200rpx; width: 200rpx;
height: 64rpx; height: 64rpx;

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="设备列表" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="设备列表" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="warp_box"> <view class="warp_box">
<view class="swiper" :current='curtitidx' @change="swiperchange" @scrolltolower="onReachBottom"> <view class="swiper" :current='curtitidx' @change="swiperchange" @scrolltolower="onReachBottom">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="店铺详情" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="店铺详情" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="shopname"> <view class="shopname">
{{listobj.name}} {{listobj.name}}

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="创建店铺" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="创建店铺" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list"> <view class="list">
<view class="listval"> <view class="listval">
@ -353,7 +353,7 @@
.list { .list {
width: 680rpx; width: 680rpx;
height: 1254rpx; height: 1180rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx; border-radius: 24rpx 24rpx 24rpx 24rpx;
margin: auto; margin: auto;

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="附近共享" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' height='38'></u-navbar> <u-navbar title="附近共享" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='44' height='58'></u-navbar>
<view class="dtxs"> <view class="dtxs">
<map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick" :markers="covers" :show-location="true" /> <map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick" :markers="covers" :show-location="true" />
</view> </view>
@ -10,10 +10,10 @@
<!-- <image src="https://api.ccttiot.com/smartmeter/img/static/uGVN2tOaCq2hiWKy1cYl" mode="" @click="btndt(2)" v-if="isMch"></image> --> <!-- <image src="https://api.ccttiot.com/smartmeter/img/static/uGVN2tOaCq2hiWKy1cYl" mode="" @click="btndt(2)" v-if="isMch"></image> -->
</view> </view>
<view class="list" v-for="(item,index) in gxlist" :key="index"> <view class="list" v-for="(item,index) in gxlist" :key="index">
<view class="pic"> <view class="pic" @click="btndts(item)">
<image :src="item.picture" mode=""></image> <image :src="item.picture" mode=""></image>
</view> </view>
<view class="cen"> <view class="cen" @click="btndts(item)">
<view class="cena" style="font-weight: 600;"> <view class="cena" style="font-weight: 600;">
{{item.name}} {{item.name}}
</view> </view>
@ -43,7 +43,10 @@
covers: [], covers: [],
index:1, index:1,
isMch:false, isMch:false,
gxlist:[] gxlist:[],
bgc: {
backgroundColor: " #8883F0",
},
} }
}, },
onLoad() { onLoad() {
@ -127,6 +130,12 @@
url: '/page_user/mapditu/index?markerId=' + markerId url: '/page_user/mapditu/index?markerId=' + markerId
}) })
}, },
btndts(item){
const markerId = item.storeId;
uni.navigateTo({
url: '/page_user/mapditu/index?markerId=' + markerId
})
},
btntab(num){ btntab(num){
this.index = num this.index = num
@ -168,14 +177,14 @@
left: 0; left: 0;
.dtxs{ .dtxs{
width: 100%; width: 100%;
height: 50vh; height: 70vh;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
z-index: -1; z-index: -1;
} }
.listbox{ .listbox{
margin-top: 480rpx; margin-top: 850rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 64rpx 64rpx 0 0; border-radius: 64rpx 64rpx 0 0;
box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0,0,0,0.08); box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0,0,0,0.08);
@ -183,12 +192,12 @@
padding-left: 32rpx; padding-left: 32rpx;
padding-right: 32rpx; padding-right: 32rpx;
box-sizing: border-box; box-sizing: border-box;
height: 70vh; height:40vh;
overflow-y: scroll; overflow-y: scroll;
padding-bottom: 400rpx; padding-bottom: 400rpx;
.moshi{ .moshi{
position: fixed; position: fixed;
top: 570rpx; bottom: 37vh;
left: 30rpx; left: 30rpx;
z-index: 99; z-index: 99;
image{ image{
@ -229,15 +238,17 @@
background-color: #D9D8FF; background-color: #D9D8FF;
border-radius: 10rpx; border-radius: 10rpx;
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 20rpx;
image{ image{
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 20rpx;
} }
} }
.cen{ .cen{
width: 488rpx; width: 488rpx;
.cena{ .cena{
font-weight: 500; font-weight: 700 !important;
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
line-height: 38rpx; line-height: 38rpx;
@ -265,6 +276,7 @@
margin-left: 10rpx; margin-left: 10rpx;
background:#D9D8FF; background:#D9D8FF;
color: #4D48B5; color: #4D48B5;
font-size: 20rpx;
} }
} }
} }

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="常见问题" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="常见问题" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="serch"> <view class="serch">
<u-search placeholder="搜索问题" height="72" :showAction="false" v-model="keyword" @change="sousuo"></u-search> <u-search placeholder="搜索问题" height="72" :showAction="false" v-model="keyword" @change="sousuo"></u-search>
</view> </view>

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="常见问题" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="常见问题" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="title"> <view class="title">
{{listobj.title}} {{listobj.title}}

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="新增套餐" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="新增套餐" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list"> <view class="list">
<view class="title"> <view class="title">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="套餐列表" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="套餐列表" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<u-swipe-action :show="item.show" :index="index" v-for="(item, index) in list" :key="index" @click="click(item)" @open="open" :options="options"> <u-swipe-action :show="item.show" :index="index" v-for="(item, index) in list" :key="index" @click="click(item)" @open="open" :options="options">
<view class="boxlist" @click="btnedit(item)"> <view class="boxlist" @click="btnedit(item)">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="充值记录" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' <u-navbar title="充值记录" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='38'></u-navbar> height='58'></u-navbar>
<view class="box"> <view class="box">
<view class="list" @scrolltolower="onReachBottom" v-for="(item,index) in wateringList" :key="index"> <view class="list" @scrolltolower="onReachBottom" v-for="(item,index) in wateringList" :key="index">
<view class="list_val"> <view class="list_val">

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="店铺管理" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="店铺管理" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="fzbox"> <view class="fzbox">
<!-- 禁用 --> <!-- 禁用 -->
<view class="card" :class="{fixed: index === 0}" v-for="(item,index) in groupList " :key="index" v-if="index==0"> <view class="card" :class="{fixed: index === 0}" v-for="(item,index) in groupList " :key="index" v-if="index==0">
@ -75,7 +75,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
obj: [], obj: [],
newobj:[], newobj:[],

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="地图模式" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' height='38'></u-navbar> <u-navbar title="地图模式" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='44' height='58'></u-navbar>
<view class="dtxs"> <view class="dtxs">
<map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick" :markers="covers" :show-location="true"/> <map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick" :markers="covers" :show-location="true"/>
</view> </view>
@ -43,10 +43,10 @@
</view> </view>
<view class="anniu"> <view class="anniu">
<view class="" @click="mapFun"> <view class="" @click="mapFun">
到这去 <image class="picsm" src="https://api.ccttiot.com/smartmeter/img/static/u9Z7DXlWfjJtIrq5OEty" mode=""></image> 到这去
</view> </view>
<view class="" style="color: #fff;background-color: #8883F0;" @click="scanQRCode"> <view class="" style="color: #fff;background-color: #8883F0;" @click="scanQRCode">
扫一扫 <image class="picsm" src="https://api.ccttiot.com/smartmeter/img/static/uvrsmSxGunHTI9S51ujn" mode=""></image> 扫一扫
</view> </view>
</view> </view>
</view> </view>
@ -68,7 +68,10 @@
listobj:{}, listobj:{},
mapname:'', mapname:'',
mapaddress:'', mapaddress:'',
isMch:'' isMch:'',
bgc: {
backgroundColor: " #8883F0",
},
} }
}, },
onLoad(option) { onLoad(option) {
@ -342,7 +345,14 @@
} }
} }
} }
.picsm{
width: 48rpx;
height: 48rpx;
vertical-align: middle;
display: inline-block;
margin-bottom: 10rpx;
margin-right: 10rpx;
}
.dtxs{ .dtxs{
width: 100%; width: 100%;
height: 100vh; height: 100vh;

View File

@ -1,7 +1,7 @@
<template> <template>
<view> <view>
<u-navbar title="账单详情" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="账单详情" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="cont"> <view class="cont">
<view class="order_card"> <view class="order_card">
<view class="cardtop"> <view class="cardtop">
@ -75,7 +75,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
list: {}, list: {},
payType: '' payType: ''

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar :title="tittxt" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar :title="tittxt" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36' id="navbar"> height='58' id="navbar">
</u-navbar> </u-navbar>
<view class="zhuhu"> <view class="zhuhu">
<view class="card1"> <view class="card1">
@ -159,7 +159,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
ec: { ec: {

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="设置" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="设置" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="card"> <view class="card">
<view class="li" @click.stop="sremakemc()"> <view class="li" @click.stop="sremakemc()">
<view class="tit"> <view class="tit">
@ -168,7 +168,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
showloading: false, showloading: false,
showfz: false, showfz: false,

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="pages"> <view class="pages">
<u-navbar title="收支明细" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="收支明细" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="cards" v-for="(item,index) in wateringList" :key="index" @click="btndetail(item.billId)" @scrolltolower="onReachBottom"> <view class="cards" v-for="(item,index) in wateringList" :key="index" @click="btndetail(item.billId)" @scrolltolower="onReachBottom">
@ -32,7 +32,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
obj:{}, obj:{},
pagenum: 1, pagenum: 1,

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="pages"> <view class="pages">
<u-navbar title="提现记录" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="提现记录" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<!-- <view class="tops"> <!-- <view class="tops">
<view class="tit">提现记录</view> <view class="tit">提现记录</view>
@ -36,7 +36,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
list:'' list:''
} }

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar title="设置" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="设置" :border-bottom="false" :background="bgc" back-icon-color="#fff" title-color='#fff' title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="card"> <view class="card">
<view class="li"> <view class="li">
<view class="tit"> <view class="tit">
@ -118,7 +118,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
showloading: false, showloading: false,
showfz: false, showfz: false,

View File

@ -1,7 +1,7 @@
<template> <template>
<view> <view>
<u-navbar title="收款账户" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36' <u-navbar title="收款账户" :border-bottom="false" :background="bgc" title-color='#fff' back-icon-color="#fff" title-size='36'
height='36'></u-navbar> height='58'></u-navbar>
<view class="cont"> <view class="cont">
<view class="top_box"> <view class="top_box">
<view class="tip">账户余额()</view> <view class="tip">账户余额()</view>
@ -81,7 +81,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
name:'', name:'',
idnum:'', idnum:'',
@ -314,7 +314,7 @@
margin-top: 218rpx; margin-top: 218rpx;
width: 590rpx; width: 590rpx;
height: 84rpx; height: 84rpx;
background: #2A82E4; background: #8883f0;
border-radius: 40rpx; border-radius: 40rpx;
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi; font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
font-weight: 400; font-weight: 400;

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar :is-back="false" :title="tittxt" :border-bottom="false" :background="bgc" title-color='#2E4975' <u-navbar :is-back="false" :title="tittxt" :border-bottom="false" :background="bgc" title-color='#fff'
title-size='44' height='44' id="navbar"> title-size='44' height='58' id="navbar">
</u-navbar> </u-navbar>
<u-mask :show="showtip" @click="show = false" :z-index='1000' /> <u-mask :show="showtip" @click="show = false" :z-index='1000' />
<view class="tip_box" v-if="showtip"> <view class="tip_box" v-if="showtip">
@ -69,7 +69,6 @@
<view class="swiper-item "> <view class="swiper-item ">
<view class="card_box" @scrolltolower="onReachBottom" @click="todetail(item.deviceId)" <view class="card_box" @scrolltolower="onReachBottom" @click="todetail(item.deviceId)"
v-for="(item,index) in wateringList" :key="index"> v-for="(item,index) in wateringList" :key="index">
<!-- deviceList -->
<view class="card"> <view class="card">
<view class="card_left"> <view class="card_left">
<view class="card_left_tit"> <view class="card_left_tit">
@ -138,7 +137,7 @@
data() { data() {
return { return {
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
ec: { ec: {
@ -1171,10 +1170,11 @@
.card_cont { .card_cont {
width: 750rpx; width: 750rpx;
display: flex; // display: flex;
flex-wrap: wrap; // flex-wrap: wrap;
align-items: baseline; // align-items: baseline;
justify-content: center; // justify-content: center;
padding-left: 30rpx;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;

View File

@ -2,15 +2,15 @@
<view class="page"> <view class="page">
<!-- 用户首页显示 --> <!-- 用户首页显示 -->
<view class="useryonghu"> <view class="useryonghu">
<u-navbar :is-back="false" title="首页" :border-bottom="false" :background="bgc" title-color='#000' <u-navbar :is-back="false" title="首页" :border-bottom="false" :background="bgc" title-color='#fff'
title-size='44' height='44'></u-navbar> title-size='44' height='58'></u-navbar>
<!-- <view class="title"> <!-- <view class="title">
充电宝 充电宝
</view> --> </view> -->
<view class="ditu"> <view class="ditu">
<view class="dtxs"> <view class="dtxs">
<map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick" <map class='map' :latitude="latitude" :longitude="longitude" @markertap="handleMarkerClick"
:show-location="true" :markers="covers" :scale="13"/> :show-location="true" :markers="covers" :scale="15"/>
</view> </view>
<view class="fujin"> <view class="fujin">
<image src="https://api.ccttiot.com/smartmeter/img/static/u7HPhEwbIJqbLRpImBON" mode="" @click="btnindex(5)"></image> <image src="https://api.ccttiot.com/smartmeter/img/static/u7HPhEwbIJqbLRpImBON" mode="" @click="btnindex(5)"></image>
@ -173,20 +173,15 @@
longitude: item.lng, longitude: item.lng,
width: 25, width: 25,
height: 30, height: 30,
iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uZXgsJE6hXbRSwbKILB4' // iconPath: 'https://api.ccttiot.com/smartmeter/img/static/uZXgsJE6hXbRSwbKILB4' ,//
label: {
content: item.name,
// anchorX:-20,
textAlign:'center'
}
}; };
this.covers.push(shopCover); // this.covers.push(shopCover); //
}); });
//
// const myLocationCover = {
// latitude: this.latitude,
// longitude: this.longitude,
// width: 20,
// height: 40,
// iconPath: '../../static/image/icon1.png'
// };
// this.covers.push(myLocationCover);
} }
}); });
}, },

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="page"> <view class="page">
<u-navbar :is-back="false" title="统计" :border-bottom="false" :background="bgc" title-color='#2E4975' <u-navbar :is-back="false" title="统计" :border-bottom="false" :background="bgc" title-color='#fff'
title-size='44' height='44' id="navbar"> title-size='44' height='58' id="navbar">
</u-navbar> </u-navbar>
<view v-if="userType=='01'"> <view v-if="userType=='01'">
@ -20,11 +20,8 @@
本月收入{{recharge}} 累计收入{{totalRecharge}} 本月收入{{recharge}} 累计收入{{totalRecharge}}
</view> </view>
<view class="echarts" v-if="loging"> <view class="echarts">
<!-- <mpvue-echarts id="main" ref="pieChart" :echarts="echarts" @onInit="initChart" /> --> <uni-ec-canvas class="uni-ec-canvas" id="uni-ec-canvas" ref="canvas" canvas-id="uni-ec-canvas" :ec="ec"></uni-ec-canvas>
<!-- <l-echart ref="chart" @finished="initChart"></l-echart> -->
<uni-ec-canvas class="uni-ec-canvas" id="uni-ec-canvas" ref="canvas" canvas-id="uni-ec-canvas" :ec="ec">
</uni-ec-canvas>
</view> </view>
</view> </view>
<view class="list" style="padding-bottom: 120rpx;"> <view class="list" style="padding-bottom: 120rpx;">
@ -103,7 +100,7 @@
}, },
recharge: 0, recharge: 0,
bgc: { bgc: {
backgroundColor: "#F7FAFE", backgroundColor: "#8883f0",
}, },
show: false, show: false,
@ -119,6 +116,8 @@
deviceId: '', deviceId: '',
userType: '', userType: '',
totalRecharge: 0, totalRecharge: 0,
} }
}, },
onLoad() { onLoad() {
@ -154,6 +153,8 @@
// } // }
}, },
methods: { methods: {
// //
confirm(e) { confirm(e) {
this.recharge = 0 this.recharge = 0