Sprinkler-app/pages/login/login.vue

94 lines
1.6 KiB
Vue
Raw Normal View History

2024-03-13 10:54:22 +08:00
<template>
2024-10-09 16:52:44 +08:00
<view>
<image src="https://api.ccttiot.com/smartmeter/img/static/uZUV03nVfyr3MvcLKUfs" class="bj" mode=""></image>
<view class="anniu">
<view class="zhuce" @click="btnzc">
注册
</view>
<view class="denglu" @click="denglu">
登录
2024-03-13 10:54:22 +08:00
</view>
2024-10-09 16:52:44 +08:00
</view>
2024-03-13 10:54:22 +08:00
</view>
</template>
<script>
export default {
2024-10-09 16:52:44 +08:00
data() {
return {
2024-03-13 10:54:22 +08:00
}
},
2024-10-18 17:59:38 +08:00
// 分享到好友(会话)
onShareAppMessage: function() {
return {
title: '绿小能',
path: '/pages/index/index'
}
},
// 分享到朋友圈
onShareTimeline: function() {
return {
title: '绿小能',
query: '',
path: '/pages/index/index'
}
},
2024-10-09 16:52:44 +08:00
onLoad() {
2024-03-13 10:54:22 +08:00
},
2024-10-09 16:52:44 +08:00
methods:{
btnzc(){
uni.navigateTo({
url:'/pages/login/zhuce'
2024-03-25 19:46:07 +08:00
})
2024-10-09 16:52:44 +08:00
},
denglu(){
uni.navigateTo({
url:'/pages/login/denglu'
})
}
}
2024-03-13 10:54:22 +08:00
}
</script>
2024-10-09 16:52:44 +08:00
<style lang="less">
.bj{
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
2024-03-13 10:54:22 +08:00
}
2024-10-09 16:52:44 +08:00
.anniu{
position: fixed;
left: 50%;
bottom: 198rpx;
transform: translateX(-50%);
.zhuce{
width: 614rpx;
height: 102rpx;
border-radius: 14rpx 14rpx 14rpx 14rpx;
border: 4rpx solid #FFFFFF;
font-size: 48rpx;
2024-03-13 10:54:22 +08:00
color: #FFFFFF;
2024-10-09 16:52:44 +08:00
font-weight: 600;
text-align: center;
line-height: 102rpx;
}
.denglu{
width: 614rpx;
height: 102rpx;
background: #FFFFFF;
border-radius: 14rpx 14rpx 14rpx 14rpx;
font-size: 48rpx;
color: #48893B;
font-weight: 600;
text-align: center;
line-height: 102rpx;
margin-top: 22rpx;
2024-03-13 10:54:22 +08:00
}
}
2024-10-09 16:52:44 +08:00
</style>