Commit f1e59f17 authored by zhengke's avatar zhengke

修改

parent e0580668
......@@ -372,10 +372,13 @@
</el-tooltip>
</template>
<el-tooltip class="item" effect="dark" content="建议尺寸:420 * 336" placement="top">
<el-button size="mini">选择图片</el-button>
<el-button size="mini" @click="imgDialog=true">选择图片</el-button>
</el-tooltip>
<div class="zk_pic_box" flex="main:center cross:center" style="width:80px;height:80px;">
<i class="el-icon-picture-outline"></i>
<div class="zk_pic_box" @click="imgDialog=true" style="width:80px;height:80px;" flex="main:center cross:center"
:style="{backgroundImage:'url(' + getIconLink(addMsg.App_share_pic) + ')'}">
<i v-if="addMsg.App_share_pic==''" class="el-icon-picture-outline"></i>
<el-button type="danger" v-if="addMsg.App_share_pic!=''" class="image-delete" size="mini"
icon="el-icon-close" @click.stop="addMsg.App_share_pic=''" circle></el-button>
</div>
<el-button type="text">查看图例</el-button>
</el-form-item>
......@@ -409,9 +412,9 @@
</span>
</el-dialog>
<!-- 选择图片 -->
<!-- <el-dialog title="选择文件" :visible.sync="changeState" width="1240px">
<el-dialog title="选择文件" :visible.sync="imgDialog" width="1240px">
<ChooseImg @SelectId="SelectId" :IsMultiple="true"></ChooseImg>
</el-dialog> -->
</el-dialog>
<!-- 选择商品服务 -->
<el-dialog title="选择商品服务" :visible.sync="serviceDig" width="600px">
<div style="border: 1px solid #EBEEF5;padding:20px 0">
......@@ -533,6 +536,7 @@
choosebdDig: false, //选择表单
checkedForm:'',
formName: '',
imgDialog:false,
rules: {
},
......@@ -646,7 +650,14 @@
}
this.formName='默认表单';
this.choosebdDig=false;
}
},
//选择图片
SelectId(msg) {
let that = this;
this.addMsg.App_share_pic = that.getIconLink(msg[0].url);
this.imgDialog = false;
},
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment