细节优化

feat/task1-c-wallet
Devil 2020-11-30 22:23:13 +08:00
parent c3bc0abc72
commit d1e10cb5db
5 changed files with 7 additions and 3 deletions

View File

@ -139,7 +139,7 @@ class Goods extends Common
} else {
if($goods['inventory'] <= 0)
{
$result['nav_submit_text'] = '卖光了';
$result['nav_submit_text'] = '没货了';
$result['nav_submit_is_disabled'] = true;
}
}

View File

@ -466,7 +466,7 @@
</form>
{{/if}}
{{else /}}
<p class="goods-not-buy-tips">商品卖光</p>
<p class="goods-not-buy-tips">没货</p>
{{/if}}
{{/if}}
{{if $goods.is_shelves neq 1}}

View File

@ -400,7 +400,6 @@ class WarehouseGoodsService
return DataReturn($ret, -1);
}
// 存在则校验状态并且启用
// 不存在添加
$where = [
'goods_id' => intval($params['goods_id']),

View File

@ -193,5 +193,9 @@ return array (
array (
0 => 'app\\plugins\\distribution\\Hook',
),
'plugins_view_admin_goods_list_operate' =>
array (
0 => 'app\\plugins\\goodsalledit\\Hook',
),
);
?>

View File

@ -15,6 +15,7 @@ web端
5. 分页组件新增自定义页码跳转
6. 后端动态表格数据列表组件优化高度固定
7. 首页轮播左侧商品分类和右侧聚合内容新增开关控制
8. 商品列表支持库存快捷配置
小程序
1. 支付订单0金额错误修复