Sprinkler-app/page_user/photolist.vue
2024-10-09 16:52:44 +08:00

113 lines
2.1 KiB
Vue
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<u-navbar :is-back="true" title='识图' title-color="#000" :border-bottom="false" :background="bgc"
id="navbar">
</u-navbar>
<image class="bj" src="https://api.ccttiot.com/smartmeter/img/static/uaHzu39R72SOBQNb34bZ" mode="aspectFit"></image>
<view class="list">
<view class="list_val" v-for="(item,index) in 5" :key="index" @click="btnxq">
<view class="lt">
<image src="https://api.ccttiot.com/smartmeter/img/static/uaHzu39R72SOBQNb34bZ" mode="aspectFill"></image>
</view>
<view class="rt">
<view class="name">
<text>凤尾竹</text> <text style="color: #48893B;font-size: 32rpx;">99%</text>
</view>
<view class="wz">
凤尾竹 Bambusa multiplex (Lour.) Raeusch. ex Schult. 
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#fff",
},
}
},
onLoad() {
},
methods:{
btnxq(){
uni.navigateTo({
url:'/page_user/photoxq'
})
}
}
}
</script>
<style lang="less">
/deep/ .u-title{
margin-bottom: 22rpx;
}
/deep/ .uicon-nav-back{
margin-bottom: 22rpx;
}
.list{
width: 100%;
position: fixed;
bottom: 42rpx;
display: flex;
overflow: scroll;
align-items: center;
.list_val{
width: 476rpx;
height: 198rpx;
background: rgba(255,255,255,0.2);
border-radius: 16rpx 16rpx 16rpx 16rpx;
display: flex;
margin-left: 28rpx;
margin-right: 28rpx;
padding: 30rpx;
box-sizing: border-box;
.lt{
image{
width: 140rpx;
height: 140rpx;
margin-right: 18rpx;
}
}
.rt{
.name{
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: 6rpx;
font-size: 32rpx;
color: #fff;
}
.wz{
font-size: 28rpx;
color: #D8D8D8;
width: 276rpx;
height: 90rpx;
overflow: scroll;
}
}
}
}
.bj{
width: 100%;
height: 100vh;
position: fixed;
top: 100rpx;
left: 0;
}
</style>