Commit ad413483 by zhanghaozhe

myedit

parent e2d676b4
...@@ -2,7 +2,7 @@ import React, {PureComponent} from 'react' ...@@ -2,7 +2,7 @@ import React, {PureComponent} from 'react'
import './index.scss' import './index.scss'
import {connect} from "react-redux" import {connect} from "react-redux"
import {Toast} from 'antd-mobile' import {Toast} from 'antd-mobile'
import {api, http} from "@/utils" import {http} from "@/utils"
import {HeaderBar} from "@/common" import {HeaderBar} from "@/common"
import {logout, updateUser} from '@/store/userAction' import {logout, updateUser} from '@/store/userAction'
import {compose} from "redux"; import {compose} from "redux";
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
} }
.edit-mbc { .edit-mbc {
position: fixed; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
...@@ -187,11 +187,15 @@ ...@@ -187,11 +187,15 @@
background: rgba(0, 0, 0, .5); background: rgba(0, 0, 0, .5);
.edit-content { .edit-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -100%);
background-color: $bg_fff; background-color: $bg_fff;
width: 300px; width: 300px;
height: 135px; height: 135px;
border-radius: 5px; border-radius: 5px;
margin: 224px auto 0 auto; //margin: 224px auto 0 auto;
text-align: center; text-align: center;
padding-top: 20px; padding-top: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment