提交 dcc80a33 编写于 作者: M m0_74163447

修改界面

上级 484200a5
<template>
<view class="bg">
<view class="content">
<image class="returnBack" src="/static/discover/back.png" @click="goBack(1,'/pages/login/login')"></image>
<image class="logo" src="/static/login/find.png"></image>
<view class="text-area">
......@@ -29,6 +29,7 @@
<button class="confirmButton" @click="confirm('form')">确认</button>
</uni-forms-item>
</uni-forms>
</view>
<uni-popup ref="popupDialog" type="center">
......@@ -266,7 +267,8 @@
</script>
<style>
.bg {
.content {
width: 100%;
height: 100%;
position: absolute;
......@@ -295,7 +297,7 @@
}
.returnBack {
float: left;
height: 55rpx;
width: 55rpx;
margin-top: 50rpx;
......
......@@ -70,17 +70,10 @@
},
methods: {
goBack() {
var url
if (this.type === '跑步') {
url = '/pages/my/my-running-record'
} else {
url = '/pages/my/my-walking-record'
}
uni.reLaunch({
url: url,
animationType: 'pop-in',
animationDuration: 300
uni.navigateBack({
delta: 1, //返回层数,2则上上页
})
},
getData(res) {
console.log(res);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册