|
@@ -121,13 +121,36 @@ export default {
|
|
|
props: {},
|
|
props: {},
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ dragIndex: '',
|
|
|
|
|
+ enterIndex: '',
|
|
|
|
|
+ resourcesUrl: process.env.VUE_APP_RESOURCES_URL,
|
|
|
commonCheckFieldRules: 'checkData', // 当前组件默认的规则判断函数
|
|
commonCheckFieldRules: 'checkData', // 当前组件默认的规则判断函数
|
|
|
dialogChooseGoods: false,
|
|
dialogChooseGoods: false,
|
|
|
isGetChooseData: false, // 是否该是获取选择的数据
|
|
isGetChooseData: false, // 是否该是获取选择的数据
|
|
|
|
|
+ iconList: [{
|
|
|
|
|
+ value: 'el-icon-circle-plus-outline',
|
|
|
|
|
+ label: '1'
|
|
|
|
|
+ }, {
|
|
|
|
|
+ value: 'el-icon-goods',
|
|
|
|
|
+ label: '2'
|
|
|
|
|
+ }, {
|
|
|
|
|
+ value: 'el-icon-s-goods',
|
|
|
|
|
+ label: '3'
|
|
|
|
|
+ }],
|
|
|
formData: {
|
|
formData: {
|
|
|
size: 2, // 一行多少个
|
|
size: 2, // 一行多少个
|
|
|
- showContent: [1, 2, 3],
|
|
|
|
|
- goods: []
|
|
|
|
|
|
|
+ showContent: [1, 2, 3, 4],
|
|
|
|
|
+ button_type: '1',
|
|
|
|
|
+ goods: [],
|
|
|
|
|
+ button_img_width: 54,
|
|
|
|
|
+ button_img_height: 24,
|
|
|
|
|
+ button_imgsrc: undefined,//购买按钮背景图
|
|
|
|
|
+ buy_btn_type: 1, // 购买按钮的样式
|
|
|
|
|
+ button_text: '马上抢',// 购买按钮的文本
|
|
|
|
|
+ icon_class: 'el-icon-s-goods', //购买按钮的icon
|
|
|
|
|
+ button_font_size: 10,// 购买按钮的字体大小
|
|
|
|
|
+ button_border_radius: 0, //购买按钮边框弧度
|
|
|
|
|
+ button_back_color: '#ffffff' //购买按钮背景颜色
|
|
|
// buy_btn_type: 1, // 购买按钮的样式
|
|
// buy_btn_type: 1, // 购买按钮的样式
|
|
|
// button_text: '马上抢'// 购买按钮的文本
|
|
// button_text: '马上抢'// 购买按钮的文本
|
|
|
},
|
|
},
|
|
@@ -144,6 +167,10 @@ export default {
|
|
|
{
|
|
{
|
|
|
value: 3,
|
|
value: 3,
|
|
|
label: this.$i18n.t('shopFeature.goods.prodPrice')
|
|
label: this.$i18n.t('shopFeature.goods.prodPrice')
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 4,
|
|
|
|
|
+ label: '按钮'
|
|
|
}],
|
|
}],
|
|
|
// 一行几个
|
|
// 一行几个
|
|
|
lineSize: [
|
|
lineSize: [
|