调整样式

This commit is contained in:
Anyon 2020-09-24 12:23:56 +08:00
parent 468f8bd0e2
commit 766374263e
6 changed files with 22 additions and 20 deletions

View File

@ -12,13 +12,13 @@
<table class="layui-table" lay-skin="line"> <table class="layui-table" lay-skin="line">
<thead> <thead>
<tr class="layui-bg-cyan"> <tr class="layui-bg-cyan">
<th class="text-left">商品规格</th> <th class="text-left nowrap border-0">商品规格</th>
<th class="text-center nowrap">市场价格</th> <th class="text-center nowrap border-0">市场价格</th>
<th class="text-center nowrap">销售价格</th> <th class="text-center nowrap border-0">销售价格</th>
<th class="text-center nowrap">库存统计</th> <th class="text-center nowrap border-0">库存统计</th>
<th class="text-center nowrap">总销统计</th> <th class="text-center nowrap border-0">总销统计</th>
<th class="text-center nowrap">库存剩余</th> <th class="text-center nowrap border-0">库存剩余</th>
<th class="text-center nowrap">入库数量</th> <th class="text-center nowrap border-0">入库数量</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -30,10 +30,13 @@
<td class="layui-bg-gray text-center" width="12%">{$goods.stock_total|default=0}</td> <td class="layui-bg-gray text-center" width="12%">{$goods.stock_total|default=0}</td>
<td class="layui-bg-gray text-center" width="12%">{$goods.stock_sales|default=0}</td> <td class="layui-bg-gray text-center" width="12%">{$goods.stock_sales|default=0}</td>
<td class="layui-bg-gray text-center" width="12%">{$goods.stock_total-$goods.stock_sales}</td> <td class="layui-bg-gray text-center" width="12%">{$goods.stock_total-$goods.stock_sales}</td>
<td class="padding-0" width="12%"> <td class="padding-0 nowrap" width="12%">
<input type="hidden" name="goods_code[]" value="{$goods.goods_code|default=''}"> <input type="hidden" name="goods_code[]" value="{$goods.goods_code|default=''}">
<input type="hidden" name="goods_spec[]" value="{$goods.goods_spec|default=''}"> <input type="hidden" name="goods_spec[]" value="{$goods.goods_spec|default=''}">
<input class="layui-input text-center border-0 padding-left-0" onblur="this.value=parseInt(this.value)||0" name="goods_stock[]" value="0"> <label>
<input class="layui-input text-center border-0 padding-left-0 padding-right-30" maxlength="20" data-blur-number="0" name="goods_stock[]" value="0">
<span class="input-right-icon"></span>
</label>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -215,11 +215,10 @@
} }
} }
.input-right-icon { .input-right-icon {
top: 0; top: 0;
right: 0; right: 0;
width: 38px; width: 30px;
height: 38px; height: 38px;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
@ -436,10 +435,10 @@
text-overflow: ellipsis; text-overflow: ellipsis;
word-wrap: normal; word-wrap: normal;
user-select: none; user-select: none;
pointer-events: none;
-moz-user-select: none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-webkit-pointer-events: none pointer-events: none;
-webkit-pointer-events: none;
} }
.mobile-body { .mobile-body {

View File

@ -3,11 +3,11 @@
"version": "1.0.0", "version": "1.0.0",
"description": "ThinkAdmin Theme Less build", "description": "ThinkAdmin Theme Less build",
"dependencies": { "dependencies": {
"less": "^2.5.3", "less": "^2.7.3",
"less-plugin-clean-css": "^1.5.0" "less-plugin-clean-css": "^1.5.1"
}, },
"scripts": { "scripts": {
"install": "npm install -g less less-plugin-clean-css", "install": "npm install less less-plugin-clean-css",
"build": "lessc --clean-css --source-map console.less console.css \n lessc --clean-css --source-map login.less login.css" "build": "\nlessc --clean-css --source-map console.less console.css \nlessc --clean-css --source-map mobile.less mobile.css \nlessc --clean-css --source-map login.less login.css"
} }
} }

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2020-09-24 10:51:47 // This file is automatically generated at:2020-09-24 11:36:49
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',