调整样式

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">
<thead>
<tr class="layui-bg-cyan">
<th class="text-left">商品规格</th>
<th class="text-center nowrap">市场价格</th>
<th class="text-center nowrap">销售价格</th>
<th class="text-center nowrap">库存统计</th>
<th class="text-center nowrap">总销统计</th>
<th class="text-center nowrap">库存剩余</th>
<th class="text-center nowrap">入库数量</th>
<th class="text-left nowrap border-0">商品规格</th>
<th class="text-center nowrap border-0">市场价格</th>
<th class="text-center nowrap border-0">销售价格</th>
<th class="text-center nowrap border-0">库存统计</th>
<th class="text-center nowrap border-0">总销统计</th>
<th class="text-center nowrap border-0">库存剩余</th>
<th class="text-center nowrap border-0">入库数量</th>
</tr>
</thead>
<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_sales|default=0}</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_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>
</tr>
{/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 {
top: 0;
right: 0;
width: 38px;
width: 30px;
height: 38px;
display: inline-block;
position: absolute;
@ -436,10 +435,10 @@
text-overflow: ellipsis;
word-wrap: normal;
user-select: none;
pointer-events: none;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-pointer-events: none
pointer-events: none;
-webkit-pointer-events: none;
}
.mobile-body {

View File

@ -3,11 +3,11 @@
"version": "1.0.0",
"description": "ThinkAdmin Theme Less build",
"dependencies": {
"less": "^2.5.3",
"less-plugin-clean-css": "^1.5.0"
"less": "^2.7.3",
"less-plugin-clean-css": "^1.5.1"
},
"scripts": {
"install": "npm install -g 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"
"install": "npm install less less-plugin-clean-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
// 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);
return array (
0 => 'think\\admin\\Library',