| | |
| | | > |
| | | <slot></slot> |
| | | </div> |
| | | <div class="popupBtn" v-if="showBtn"> |
| | | <div |
| | | class="popupBtn" |
| | | v-if="showBtn" |
| | | > |
| | | <div v-if="btnArr && btnArr.length"> |
| | | <el-button |
| | | v-for="item in btnArr" |
| | |
| | | size="mini" |
| | | :type="item.type" |
| | | @click="item.fun" |
| | | >{{ item.name }}</el-button |
| | | > |
| | | >{{ item.name }}</el-button> |
| | | </div> |
| | | <div v-else> |
| | | <el-button size="mini" @click="cancel">取消</el-button> |
| | | <el-button type="primary" size="mini" @click="yes" |
| | | >确定</el-button |
| | | > |
| | | <el-button |
| | | size="mini" |
| | | @click="cancel" |
| | | >取消</el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="yes" |
| | | >确定</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | close() { |
| | | this.showBox = false; |
| | | this.$emit("close"); |
| | | if (window.UndergroundMode) { |
| | | window.sgworld.Analysis.UndergroundMode(false, 0); |
| | | window.UndergroundMode = null; |
| | | } |
| | | }, |
| | | yes() { |
| | | this.$emit("yes"); |