captain-ui
Version:
有赞vue wap业务组件库
43 lines (40 loc) • 1.03 kB
JavaScript
export default {
render: function render() {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('section', {
staticClass: "notice__wrapper"
}, [_c('header', {
staticClass: "notice__header"
}, [_vm._v("拍摄须知")]), _vm.tips ? _c('div', {
staticClass: "notice__tips"
}, [_vm._v("\n " + _vm._s(_vm.tips) + "\n ")]) : _vm._e(), _c('div', {
staticClass: "notice__items"
}, _vm._l(_vm.notices, function (notice) {
return _c('div', {
key: notice,
staticClass: "notice__item",
style: {
'background-image': "url(" + notice + ")"
}
});
}), 0), _vm.tipsBelow ? _c('div', {
staticClass: "notice__tips"
}, [_vm._v("\n " + _vm._s(_vm.tipsBelow) + "\n ")]) : _vm._e()]);
},
name: 'notice',
props: {
tips: {
type: String,
required: true
},
notices: {
type: Array,
required: true
},
tipsBelow: {
type: String
}
}
};