From ee4d94defe7cc7f36f87aebf2e9efed38ba93a40 Mon Sep 17 00:00:00 2001 From: 懒羊羊 <15939171744@163.com> Date: 星期二, 14 十一月 2023 16:44:18 +0800 Subject: [PATCH] 优化 --- guns-vip-main/src/main/webapp/pages/modular/kb/formula/formulaView.html | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/guns-vip-main/src/main/webapp/pages/modular/kb/formula/formulaView.html b/guns-vip-main/src/main/webapp/pages/modular/kb/formula/formulaView.html index 18b2c8a..3e67fa9 100644 --- a/guns-vip-main/src/main/webapp/pages/modular/kb/formula/formulaView.html +++ b/guns-vip-main/src/main/webapp/pages/modular/kb/formula/formulaView.html @@ -74,13 +74,13 @@ <input type="radio" id="sex1" name="sex1" value="nan1" title="鐢�"> <span>宸ヤ欢鍒颁綅</span> <input style="margin-left: 150px" type="radio" name="sex" value="nan" title="鐢�"> - <span>宸ヤ欢鍏ョ珯</span> + <span>鍏佽鍚姩</span> </div> <div class="container"> <input type="radio" name="sex" value="nan" title="鐢�"> - <span>宸ヤ欢鍑虹珯</span> + <span>鍏佽鏀捐</span> <input style="margin-left: 150px" type="radio" name="test" value="test1" title="鐢�"> - <span>宸ヤ欢瀹屾垚</span> + <span>宸ヤ綔瀹屾垚</span> </div> </div> </div> @@ -115,14 +115,15 @@ <i class="layui-icon layui-icon-rate-solid"></i>鍥剧墖 </div> <div class="layui-card-body"> - <img id="imgs" width="320px" height="270px"> +<!-- <img id="imgs" width="320px" height="270px">--> + <img id="imgs" class="img-thumbnail"> <button type="button" class="layui-btn layui-btn-primary" id="clear">鍏ョ珯</button> </div> </div> </div> </div> -<!-- <img id="imgs" width="400px" height="380px">--> + <style> .orderInfo { margin-bottom: 5px; /* 璁剧疆鎹㈣鍚庣殑涓嬭竟璺� */ @@ -131,5 +132,10 @@ display: flex; /* 浣跨敤 Flex 甯冨眬 */ align-items: center; /* 灏嗗瓙鍏冪礌鍨傜洿灞呬腑瀵归綈 */ } + .img-thumbnail { + width: 320px; + height: auto; + transition: all 0.3s ease; + } </style> @} \ No newline at end of file -- Gitblit v1.9.3