提交 0ba0e0c6 编写于 作者: D Devil

细节优化

上级 c60cdb9e
......@@ -501,7 +501,8 @@
<a href="{{if empty($v['value'])}}javascript:;{{else /}}tel:{{$v.value}}{{/if}}"
class="buy-btn {{if !empty($v['class'])}}{{$v.class}}{{/if}}"
{{if !empty($v['title'])}}title="{{$v.title}}"{{/if}}
data-type="{{$v.type}}">
data-type="{{$v.type}}"
data-value="{{if isset($v['value'])}}{{$v.value}}{{/if}}">
{{if !empty($v['icon'])}}
<i class="{{$v.icon}}"></i>
{{/if}}
......@@ -512,7 +513,8 @@
<button type="button"
class="buy-btn {{$v.type}}-submit {{if !empty($v['color']) and $v['color'] eq 'second'}}buy-btn-second {{/if}} {{if !empty($v['class'])}}{{$v.class}} {{/if}}"
{{if !empty($v['title'])}}title="{{$v.title}}"{{/if}}
data-type="{{$v.type}}">
data-type="{{$v.type}}"
data-value="{{if isset($v['value'])}}{{$v.value}}{{/if}}">
{{if !empty($v['icon'])}}
<i class="{{$v.icon}}"></i>
{{/if}}
......
......@@ -546,7 +546,13 @@ class GoodsService
// 虚拟商品展示数据
if(isset($v['fictitious_goods_value']))
{
$v['fictitious_goods_value'] = ResourcesService::ContentStaticReplace($v['fictitious_goods_value'], 'get');
// 非后台模块移除该字段、避免数据泄露
if(strtolower(request()->module()) != 'admin')
{
unset($v['fictitious_goods_value']);
} else {
$v['fictitious_goods_value'] = ResourcesService::ContentStaticReplace($v['fictitious_goods_value'], 'get');
}
}
// 产地
......
......@@ -140,6 +140,9 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom:
margin-left: 0;
margin-top: 0;
}
.am-modal-dialog .am-modal-bd {
background: #fff;
}
/**
......
......@@ -14,14 +14,17 @@ var dialog = dialog || {};
dialog.alert = function(options) {
options = options || {};
options.title = options.title || '提示';
options.title = options.title || null;
options.content = options.content || '提示内容';
options.onConfirm = options.onConfirm || function() {
};
var html = [];
html.push('<div class="am-modal am-modal-alert" tabindex="-1">');
html.push('<div class="am-modal-dialog">');
html.push('<div class="am-modal-hd">' + options.title + '</div>');
if(options.title !== null)
{
html.push('<div class="am-modal-hd">' + options.title + '</div>');
}
html.push('<div class="am-modal-bd">' + options.content + '</div>');
html.push('<div class="am-modal-footer"><span class="am-modal-btn">确定</span></div>');
html.push('</div>');
......
......@@ -301,6 +301,12 @@ flex: 1 1 0%;line-height: 16px;cursor: pointer;}
text-align: left;
}
}
@media only screen and (min-width:1025px) {
.buy-nav {
padding-left: 65px;
margin-top: 10px !important;
}
}
@media only screen and (max-width:641px) {
.buy-nav .buy-submit-container,
.goods-not-buy-tips {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册