File:Nanodcal.htm
Method:system.set()
styles
对像不存在
Nanodcal.htm
... data: {
AttrValues: AttrValues
},
success: function (ret) {
var jsonBoj = JSON.parse(ret);
$.each(jsonBoj, function (index, item) {
$("#jiage").html("¥" + item.Price)
$("#yincan").attr("data-value", item.ItemId)
})

}
})
}
</script>
<script>
$(function () {
var UserId = "{%$session.get(UserId)%}"
var sty = "
{%@styles%}";
var id = "{%$argv(0)%}";
$("#yincan").attr("style", sty);
$("#yincan").click(function () {
var ids = $(this).attr("data-value");


if (ids == null) {
layer.msg("请选择规格!", {
time: 3000
});
return false;
}

if (sty != '') {
layer.msg("该商品已下架,请重新选择商品!", {
time: 3000
});
...