powerbank/page_user/shuju/index.vue
2024-05-31 18:01:02 +08:00

103 lines
2.2 KiB
Vue

<template>
<view class="page">
<u-navbar title="维修申报" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
height='58'></u-navbar>
<view class="box">
<view class="list">
<view class="lisy_val" @click="btnpage(1)">
<image src="https://api.ccttiot.com/smartmeter/img/static/u5rNGPmNiFGOZmCmovYF" mode=""></image>
<text>流水分析</text>
</view>
<!-- <view class="lisy_val" @click="btnpage(2)">
<image src="https://api.ccttiot.com/smartmeter/img/static/uYGHmiJ5O7hHLsiiUJAC" mode=""></image>
<text>门店流水</text>
</view> -->
<view class="lisy_val" @click="btnpage(3)">
<image src="https://api.ccttiot.com/smartmeter/img/static/uquhtDd1oxIqYdAGF44t" mode=""></image>
<text>门店收益</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc:{
background: '#25CE88'
}
}
},
methods: {
btnpage(num){
if(num == 1){
uni.navigateTo({
url:'/page_user/shuju/lsfx'
})
}else if(num == 2){
}else if(num == 3){
uni.navigateTo({
url:'/pages/income/index'
})
}
}
}
}
</script>
<style lang="scss">
/deep/ .u-title,
/deep/ .uicon-nav-back {
padding-bottom: 40rpx;
}
page {
// background: linear-gradient(180deg, #25CE88 0%, rgba(255, 255, 255, 0) 100%);
}
.page {
width: 750rpx;
position: fixed;
top: 0;
left: 0;
.box{
width: 750rpx;
height: 1440rpx;
background: #F4F5F7;
border-radius: 0rpx 0rpx 0rpx 0rpx;
padding-top: 50rpx;
.list{
width: 680rpx;
height: 200rpx;
background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx;
display: flex;
// justify-content: space-between;
padding: 54rpx 78rpx;
box-sizing: border-box;
margin: auto;
.lisy_val{
width: 40%;
// text-align: center;
// margin-right: 60rpx;
image{
width: 48rpx;
height: 48rpx;
display: block;
margin-left: 24rpx;
margin-bottom: 10rpx;
vertical-align: middle;
}
text{
font-size: 24rpx;
color: #3D3D3D;
width: 120rpx;
display: inline-block;
}
}
}
}
}
</style>