Commit b39a02ef by zhanghaozhe

password icon

parent 28096c90
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
"detail.css": "/static/css/detail.72edbb5f.chunk.css", "detail.css": "/static/css/detail.72edbb5f.chunk.css",
"detail.js": "/static/js/detail.1231b30b.chunk.js", "detail.js": "/static/js/detail.1231b30b.chunk.js",
"detail.js.map": "/static/js/detail.1231b30b.chunk.js.map", "detail.js.map": "/static/js/detail.1231b30b.chunk.js.map",
"main.css": "/static/css/main.1a0f2def.chunk.css", "main.css": "/static/css/main.17c89ee9.chunk.css",
"main.js": "/static/js/main.142249c3.chunk.js", "main.js": "/static/js/main.0178084f.chunk.js",
"main.js.map": "/static/js/main.142249c3.chunk.js.map", "main.js.map": "/static/js/main.0178084f.chunk.js.map",
"myorders.css": "/static/css/myorders.5434bc7e.chunk.css", "myorders.css": "/static/css/myorders.5434bc7e.chunk.css",
"myorders.js": "/static/js/myorders.db6f4295.chunk.js", "myorders.js": "/static/js/myorders.db6f4295.chunk.js",
"myorders.js.map": "/static/js/myorders.db6f4295.chunk.js.map", "myorders.js.map": "/static/js/myorders.db6f4295.chunk.js.map",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.a98afee5.chunk.js": "/static/js/31.a98afee5.chunk.js", "static/js/31.a98afee5.chunk.js": "/static/js/31.a98afee5.chunk.js",
"static/js/31.a98afee5.chunk.js.map": "/static/js/31.a98afee5.chunk.js.map", "static/js/31.a98afee5.chunk.js.map": "/static/js/31.a98afee5.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.6c337f3129b44262813583065f6f2df9.js": "/precache-manifest.6c337f3129b44262813583065f6f2df9.js", "precache-manifest.eb4affa0479cc0502288784753809bb0.js": "/precache-manifest.eb4affa0479cc0502288784753809bb0.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.257b0329.chunk.css.map": "/static/css/24.257b0329.chunk.css.map", "static/css/24.257b0329.chunk.css.map": "/static/css/24.257b0329.chunk.css.map",
"static/css/26.1b3a6258.chunk.css.map": "/static/css/26.1b3a6258.chunk.css.map", "static/css/26.1b3a6258.chunk.css.map": "/static/css/26.1b3a6258.chunk.css.map",
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
"static/css/aist-share.bef8c404.chunk.css.map": "/static/css/aist-share.bef8c404.chunk.css.map", "static/css/aist-share.bef8c404.chunk.css.map": "/static/css/aist-share.bef8c404.chunk.css.map",
"static/css/coupons.9ece7350.chunk.css.map": "/static/css/coupons.9ece7350.chunk.css.map", "static/css/coupons.9ece7350.chunk.css.map": "/static/css/coupons.9ece7350.chunk.css.map",
"static/css/detail.72edbb5f.chunk.css.map": "/static/css/detail.72edbb5f.chunk.css.map", "static/css/detail.72edbb5f.chunk.css.map": "/static/css/detail.72edbb5f.chunk.css.map",
"static/css/main.1a0f2def.chunk.css.map": "/static/css/main.1a0f2def.chunk.css.map", "static/css/main.17c89ee9.chunk.css.map": "/static/css/main.17c89ee9.chunk.css.map",
"static/css/myorders.5434bc7e.chunk.css.map": "/static/css/myorders.5434bc7e.chunk.css.map", "static/css/myorders.5434bc7e.chunk.css.map": "/static/css/myorders.5434bc7e.chunk.css.map",
"static/css/purchased.4b0044ec.chunk.css.map": "/static/css/purchased.4b0044ec.chunk.css.map", "static/css/purchased.4b0044ec.chunk.css.map": "/static/css/purchased.4b0044ec.chunk.css.map",
"static/css/search.ab4d378d.chunk.css.map": "/static/css/search.ab4d378d.chunk.css.map", "static/css/search.ab4d378d.chunk.css.map": "/static/css/search.ab4d378d.chunk.css.map",
......
...@@ -112,12 +112,12 @@ self.__precacheManifest = [ ...@@ -112,12 +112,12 @@ self.__precacheManifest = [
"url": "/static/js/detail.1231b30b.chunk.js" "url": "/static/js/detail.1231b30b.chunk.js"
}, },
{ {
"revision": "e0215c97a61192d00c1d", "revision": "dcfd5b77d9ef6f7650f2",
"url": "/static/css/main.1a0f2def.chunk.css" "url": "/static/css/main.17c89ee9.chunk.css"
}, },
{ {
"revision": "e0215c97a61192d00c1d", "revision": "dcfd5b77d9ef6f7650f2",
"url": "/static/js/main.142249c3.chunk.js" "url": "/static/js/main.0178084f.chunk.js"
}, },
{ {
"revision": "92e6701b001ea1417b68", "revision": "92e6701b001ea1417b68",
...@@ -212,16 +212,16 @@ self.__precacheManifest = [ ...@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.6db31585.chunk.js" "url": "/static/js/28.6db31585.chunk.js"
}, },
{ {
"revision": "55ad4bbcfbe7879698a2538de5145a09", "revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.55ad4bbc.ttf" "url": "/static/media/iconfont.10b7bd5b.eot"
}, },
{ {
"revision": "3df38dc7a54f39248999", "revision": "3df38dc7a54f39248999",
"url": "/static/js/29.8d0f5030.chunk.js" "url": "/static/js/29.8d0f5030.chunk.js"
}, },
{ {
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0", "revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.10b7bd5b.eot" "url": "/static/media/iconfont.55ad4bbc.ttf"
}, },
{ {
"revision": "a88224351f48eb4dbc88", "revision": "a88224351f48eb4dbc88",
...@@ -260,7 +260,7 @@ self.__precacheManifest = [ ...@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.257b0329.chunk.css" "url": "/static/css/24.257b0329.chunk.css"
}, },
{ {
"revision": "e8996b256d856a9186a7aa9207180e61", "revision": "c1d0eb4aa099f92d947b5f5d192a5016",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.6c337f3129b44262813583065f6f2df9.js" "/precache-manifest.eb4affa0479cc0502288784753809bb0.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -32,4 +32,13 @@ ...@@ -32,4 +32,13 @@
} }
} }
.lock-icon{
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 10px;
font-size: 22px;
}
} }
\ No newline at end of file
...@@ -50,6 +50,9 @@ class AccountLogin extends PureComponent { ...@@ -50,6 +50,9 @@ class AccountLogin extends PureComponent {
{...field} {...field}
autoComplete={'on'} autoComplete={'on'}
placeholder={'密码'} placeholder={'密码'}
icon={
<i className={'iconfont iconiconfront-74 lock-icon'}/>
}
/> />
)} )}
/> />
......
...@@ -24,9 +24,6 @@ class PasswordInput extends PureComponent { ...@@ -24,9 +24,6 @@ class PasswordInput extends PureComponent {
wrapperClass={'password-input'} wrapperClass={'password-input'}
placeholder={placeholder} placeholder={placeholder}
{...rest} {...rest}
icon={
<i className={'iconfont iconiconfront-74 lock-icon'}></i>
}
> >
<i className={classnames('iconfont', [this.state.showPassword ? 'iconpwd-hidden' : 'iconyanjing'])} <i className={classnames('iconfont', [this.state.showPassword ? 'iconpwd-hidden' : 'iconyanjing'])}
onClick={this.togglePasswordVisibility}/> onClick={this.togglePasswordVisibility}/>
......
.password-input { .password-input {
margin-bottom: 24px; margin-bottom: 24px;
.iconfont{ .iconfont:last-child{
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
right: 16px; right: 16px;
font-size: 20px; font-size: 20px;
} }
.lock-icon{
left: 10px;
font-size: 22px;
}
} }
\ No newline at end of file
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