Commit c2aba632 authored by 骆瑛's avatar 骆瑛

修改

parent 73641eca
//定义变量 //定义变量
// @import './themes/deepBlank.less'; // @import './themes/deepBlank.less';
// @import './themes/green.less'; @import './themes/green.less';
@import './themes/default.less'; // @import './themes/default.less';
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
@table-bottom-border:#ffffff; @table-bottom-border:#ffffff;
@action-buttons_col:#106FFE; @action-buttons_col:#106FFE;
@add_col:#ffffff; @add_col:#ffffff;
@buttons_bg:rgba(47, 47, 87, 0.6); @buttons_bg:rgba(47, 47, 87, 1);
@add_border-right:rgba(255, 255, 255, 0.06); @add_border-right:rgba(255, 255, 255, 0.06);
//工单列表等背景色 //工单列表等背景色
@part_body_backcolor:#2F2F57; @part_body_backcolor:#2F2F57;
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
@table-bottom_line:#dcdee2; @table-bottom_line:#dcdee2;
@table-bottom-border:#ffffff; @table-bottom-border:#ffffff;
@action-buttons_col:#515a6e; @action-buttons_col:#515a6e;
@buttons_bg:rgba(186, 232, 238, 0.06); @buttons_bg:#ebf7ff;
@add_border-right:rgba(98, 97, 102, 0.06); @add_border-right:rgba(98, 97, 102, 0.06);
@add_col:#5f6470; @add_col:#5f6470;
//工单列表等背景色 //工单列表等背景色
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
@part_top_border:1px solid #ffffff; @part_top_border:1px solid #ffffff;
@table_border-bg:transparent; @table_border-bg:transparent;
@table_line: #ffffff; @table_line: #ffffff;
@buttons_bg:rgba(255, 255, 255, 0.6); @buttons_bg:rgba(255, 255, 255, 1);
@table-bottom_line:transparent; @table-bottom_line:transparent;
@table-bottom-border:#ffffff; @table-bottom-border:#ffffff;
@action-buttons_col:#04BB8C; @action-buttons_col:#04BB8C;
......
...@@ -19,10 +19,9 @@ ...@@ -19,10 +19,9 @@
background: #f5f7f9; background: #f5f7f9;
} }
} }
</style> </style>
<template> <template>
<Layout class="lay100"> <Layout class="lay100">
<Sider hide-trigger v-if="showMenu" class="menu_side" width="300"> <Sider hide-trigger v-if="showMenu" class="menu_side" width="300">
<ProductTree @on-hide="onHide" @on-select="productSearch" /> <ProductTree @on-hide="onHide" @on-select="productSearch" />
</Sider> </Sider>
...@@ -31,15 +30,33 @@ ...@@ -31,15 +30,33 @@
<Icon type="ios-arrow-forward" size="24" /> <Icon type="ios-arrow-forward" size="24" />
</a> </a>
</div> </div>
<Content class="con" :class="!showMenu?'con_bord':''"> <Content class="con" :class="!showMenu ? 'con_bord' : ''">
<DataGrid :columns="columns" ref="grid" :action="action" exportTitle="工艺规程" > <DataGrid
:columns="columns"
ref="grid"
:action="action"
exportTitle="工艺规程"
>
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline> <Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys"> <FormItem prop="keys">
<Input placeholder="请输入工艺名称/工艺编号" v-width="200" v-model="easySearch.keys.value" clearable /> <Button type="primary" class="search_icon" @click="search" icon="ios-search"></Button> <Input
placeholder="请输入工艺名称/工艺编号"
v-width="200"
v-model="easySearch.keys.value"
clearable
/>
<Button
type="primary"
class="search_icon"
@click="search"
icon="ios-search"
></Button>
</FormItem> </FormItem>
<FormItem> <FormItem>
<Button type="text" class="search_text" @click="search">高级搜索</Button> <Button type="text" class="search_text" @click="search"
>高级搜索</Button
>
</FormItem> </FormItem>
</Form> </Form>
</template> </template>
...@@ -47,24 +64,29 @@ ...@@ -47,24 +64,29 @@
<Search /> <Search />
</template> </template>
<template slot="buttons"> <template slot="buttons">
<Button type="text" @click="add" class="search_text" icon="icon iconfont iconxinzeng">新增</Button> <Button type="text" @click="add" class="yuan_add">新增</Button>
<Dropdown class="dropIcon" @on-click="changeMenu">
<a href="javascript:void(0)">
<Icon type="icon iconfont iconshezhi-liebiaozhanshi" class="zhanshi" />
<Icon type="ios-arrow-down" class="arrow_down"></Icon>
</a>
<DropdownMenu slot="list" >
<DropdownItem name='导入' > <Icon type="icon iconfont icondaoru" />导入</DropdownItem>
<DropdownItem name='导出' > <Icon type="icon iconfont icondaochu" />导出</DropdownItem>
</DropdownMenu>
</Dropdown>
<Button @click="openModalIm" icon="icon iconfont icondaoru" class="search_text" type="text">导入</Button>
</template> </template>
</DataGrid> </DataGrid>
<Modal v-model="modal" :title="title" width="1120" footer-hide> <Modal v-model="modal" :title="title" width="1120" footer-hide>
<component :is="detail" :eid="curId" :uid="uId" :title="title" :headid="hid" @on-close="cancel" @on-ok="ok" /> <component
:is="detail"
:eid="curId"
:uid="uId"
:title="title"
:headid="hid"
@on-close="cancel"
@on-ok="ok"
/>
</Modal> </Modal>
<Modal v-model="documentShow" title="送审" :mask-closable="false" :scrollable="true" ok-text="确定" cancel-text="取消" fullscreen> <Modal
v-model="documentShow"
title="送审"
:mask-closable="false"
:scrollable="true"
ok-text="确定"
cancel-text="取消"
fullscreen
>
<sendAudit ref="sendAudit"></sendAudit> <sendAudit ref="sendAudit"></sendAudit>
<div slot="footer"> <div slot="footer">
...@@ -83,28 +105,46 @@ ...@@ -83,28 +105,46 @@
<Icon type="ios-undo-outline" size="24" />返回工艺规程 <Icon type="ios-undo-outline" size="24" />返回工艺规程
</a> </a>
</div> </div>
<div class="fg tc f14 fwBold blueTitle" style="padding-right:200px;"> <div class="fg tc f14 fwBold blueTitle" style="padding-right: 200px">
{{l('code')}}: {{ l("code") }}:
<span class="grayTitle mr10">{{titleObj.code}}</span> <span class="grayTitle mr10">{{ titleObj.code }}</span>
{{l('name')}}: {{ l("name") }}:
<span class="grayTitle mr10">{{titleObj.name}}</span> <span class="grayTitle mr10">{{ titleObj.name }}</span>
{{l('routingType')}}: {{ l("routingType") }}:
<span class="grayTitle mr10"> <span class="grayTitle mr10">
<state code="Process.Routing.routingType" :value="titleObj.routingType" type="text"></state> <state
code="Process.Routing.routingType"
:value="titleObj.routingType"
type="text"
></state>
</span> </span>
{{l('version')}}: {{ l("version") }}:
<span class="grayTitle">{{titleObj.version}}</span> <span class="grayTitle">{{ titleObj.version }}</span>
{{l('departmentName')}}: {{ l("departmentName") }}:
<span class="grayTitle">{{titleObj.departmentName}}</span> <span class="grayTitle">{{ titleObj.departmentName }}</span>
</div> </div>
</div> </div>
<div class="fg"> <div class="fg">
<iframe width="100%" id="infoFrame" height="100%" frameborder="0" :src="src"></iframe> <iframe
width="100%"
id="infoFrame"
height="100%"
frameborder="0"
:src="src"
></iframe>
</div> </div>
</div> </div>
<ImportExcel ref="importExcel" @on-get-data="getData" :modalTitle="temTitle" :columns="columns" :open="ModalIm" @on-cancel="ModalImCancel" @on-ok="ok" /> <ImportExcel
ref="importExcel"
@on-get-data="getData"
:modalTitle="temTitle"
:columns="columns"
:open="ModalIm"
@on-cancel="ModalImCancel"
@on-ok="ok"
/>
</Content> </Content>
</Layout> </Layout>
</template> </template>
<script> <script>
...@@ -115,7 +155,7 @@ import ProductTree from "@/components/page/productTree.vue"; ...@@ -115,7 +155,7 @@ import ProductTree from "@/components/page/productTree.vue";
import sendAudit from "./sendAudit.vue"; import sendAudit from "./sendAudit.vue";
import routingchangeorder from "../processDesign/Process/routingchangeorder.vue"; import routingchangeorder from "../processDesign/Process/routingchangeorder.vue";
import changelist from "../processDesign/Process/changelist.vue"; import changelist from "../processDesign/Process/changelist.vue";
import theme from '../theme' import theme from "../theme";
export default { export default {
components: { components: {
ProductTree, ProductTree,
...@@ -127,7 +167,7 @@ export default { ...@@ -127,7 +167,7 @@ export default {
head: { head: {
title: "工艺规程", title: "工艺规程",
author: "henq", author: "henq",
description: "routing_header 4/26/2020 10:12:38 AM" description: "routing_header 4/26/2020 10:12:38 AM",
}, },
data() { data() {
return { return {
...@@ -137,8 +177,8 @@ export default { ...@@ -137,8 +177,8 @@ export default {
easySearch: { easySearch: {
keys: { keys: {
op: "unicode,name,code", op: "unicode,name,code",
value: null value: null,
} },
}, },
hid: 0, hid: 0,
modal: false, modal: false,
...@@ -150,13 +190,14 @@ export default { ...@@ -150,13 +190,14 @@ export default {
curId: 0, curId: 0,
uId: "", uId: "",
documentShow: false, documentShow: false,
columns: [{ columns: [
{
key: "code", key: "code",
title: this.l("code"), title: this.l("code"),
align: "left", align: "left",
width: 200, width: 200,
easy: true, easy: true,
high: true high: true,
}, },
{ {
key: "name", key: "name",
...@@ -172,7 +213,7 @@ export default { ...@@ -172,7 +213,7 @@ export default {
align: "center", align: "center",
high: true, high: true,
width: 100, width: 100,
code: "Process.Routing.phase" code: "Process.Routing.phase",
}, },
{ {
key: "versionid", key: "versionid",
...@@ -180,14 +221,14 @@ export default { ...@@ -180,14 +221,14 @@ export default {
align: "center", align: "center",
high: true, high: true,
width: 100, width: 100,
code: "Process.Routing.version" code: "Process.Routing.version",
}, },
{ {
title: this.l("approvalStatus"), title: this.l("approvalStatus"),
key: "approvalStatus", key: "approvalStatus",
align: "center", align: "center",
width: "120", width: "120",
code: "process.RoutingStatus" code: "process.RoutingStatus",
}, },
{ {
key: "routingType", key: "routingType",
...@@ -195,13 +236,13 @@ export default { ...@@ -195,13 +236,13 @@ export default {
align: "center", align: "center",
width: 100, width: 100,
high: true, high: true,
code: "Process.Routing.routingType" code: "Process.Routing.routingType",
}, },
{ {
key: "drawingNo", key: "drawingNo",
title: this.l("drawingNo"), title: this.l("drawingNo"),
align: "left", align: "left",
high: true high: true,
}, },
{ {
key: "productName", key: "productName",
...@@ -245,7 +286,7 @@ export default { ...@@ -245,7 +286,7 @@ export default {
align: "center", align: "center",
width: 80, width: 80,
high: true, high: true,
code: "Process.Status" code: "Process.Status",
}, },
//{ key: "id", title: this.$t("id"), hide: true, align: "left" }, //{ key: "id", title: this.$t("id"), hide: true, align: "left" },
// { key:"upId",title:this.l("upId") ,align:"left" ,high:true }, // { key:"upId",title:this.l("upId") ,align:"left" ,high:true },
...@@ -266,27 +307,27 @@ export default { ...@@ -266,27 +307,27 @@ export default {
key: "creationTime", key: "creationTime",
title: this.$t("creationTime"), title: this.$t("creationTime"),
align: "left", align: "left",
hide: true hide: true,
}, },
{ {
key: "creatorUserId", key: "creatorUserId",
title: this.$t("creatorUserId"), title: this.$t("creatorUserId"),
align: "left", align: "left",
hide: true, hide: true,
type: "user" type: "user",
}, },
{ {
key: "lastModificationTime", key: "lastModificationTime",
title: this.$t("lastModificationTime"), title: this.$t("lastModificationTime"),
align: "left", align: "left",
hide: true hide: true,
}, },
{ {
key: "lastModifierUserId", key: "lastModifierUserId",
title: this.$t("lastModifierUserId"), title: this.$t("lastModifierUserId"),
align: "left", align: "left",
hide: true, hide: true,
type: "user" type: "user",
}, },
{ {
title: "操作", title: "操作",
...@@ -294,97 +335,111 @@ export default { ...@@ -294,97 +335,111 @@ export default {
width: 260, width: 260,
align: "left", align: "left",
render: (h, params) => { render: (h, params) => {
return h("div", { return h(
class: "action" "div",
}, [ {
class: "action",
},
[
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "detail" oprate: "detail",
}, },
on: { on: {
click: () => this.viewprocess(params.row) click: () => this.viewprocess(params.row),
} },
}, },
"预览" "预览"
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "detail" oprate: "detail",
}, },
on: { on: {
click: () => this.view(params.row) click: () => this.view(params.row),
} },
}, },
"查看" "查看"
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "copy" oprate: "copy",
}, },
on: { on: {
click: () => this.copy(params.row.id) click: () => this.copy(params.row.id),
} },
}, },
"克隆" "克隆"
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "edit" oprate: "edit",
}, },
on: { on: {
click: () => this.edit(params.row) click: () => this.edit(params.row),
} },
}, },
'编辑' "编辑"
// params.row.approvalStatus == 4||params.row.approvalStatus == 0 ? "编辑" : "" // params.row.approvalStatus == 4||params.row.approvalStatus == 0 ? "编辑" : ""
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "delete" oprate: "delete",
}, },
on: { on: {
click: () => this.remove(params.row.id) click: () => this.remove(params.row.id),
} },
}, },
params.row.approvalStatus == 4 || params.row.approvalStatus == 0 ? "删除" : "" params.row.approvalStatus == 4 ||
params.row.approvalStatus == 0
? "删除"
: ""
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "detail" oprate: "detail",
}, },
on: { on: {
click: () => this.TechnologyChange(params.row) click: () => this.TechnologyChange(params.row),
} },
}, },
params.row.approvalStatus == 1 ? "新增更改单" : "" params.row.approvalStatus == 1 ? "新增更改单" : ""
), ),
h( h(
"op", { "op",
{
attrs: { attrs: {
oprate: "detail" oprate: "detail",
}, },
on: { on: {
click: () => this.sendAuditFun(params.row) click: () => this.sendAuditFun(params.row),
} },
}, },
params.row.approvalStatus == 4 ? "送审" : "" params.row.approvalStatus == 4 ? "送审" : ""
) ),
]); ]
} );
} },
},
], ],
titleObj: { titleObj: {
code: "", //工艺编号 code: "", //工艺编号
name: "", //工艺名称 name: "", //工艺名称
routingType: 0, //工艺类型 routingType: 0, //工艺类型
version: "", //工艺版本 version: "", //工艺版本
departmentName: null //车间 departmentName: null, //车间
}, },
processviewModal: false, processviewModal: false,
ModalIm: false, ModalIm: false,
...@@ -394,10 +449,7 @@ export default { ...@@ -394,10 +449,7 @@ export default {
created() { created() {
this.treeHeight = window.innerHeight - 120; this.treeHeight = window.innerHeight - 120;
}, },
async fetch({ async fetch({ store, params }) {
store,
params
}) {
await store.dispatch("loadDictionary"); // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
}, },
mounted() { mounted() {
...@@ -422,8 +474,8 @@ export default { ...@@ -422,8 +474,8 @@ export default {
let where = { let where = {
productId: { productId: {
op: "In", op: "In",
value: ids value: ids,
} },
}; };
this.$refs.grid.reload(where); this.$refs.grid.reload(where);
}, },
...@@ -435,11 +487,17 @@ export default { ...@@ -435,11 +487,17 @@ export default {
name: row.name, name: row.name,
routingType: row.routingType, routingType: row.routingType,
version: row.version, version: row.version,
departmentName: row.departmentName departmentName: row.departmentName,
}; };
// this.info=()=>import("./details") // this.info=()=>import("./details")
this.src = "/technology/details?id=" + row.id + "&headerStatus=" + row.approvalStatus + "&productBomId=" + row.productBomId; this.src =
"/technology/details?id=" +
row.id +
"&headerStatus=" +
row.approvalStatus +
"&productBomId=" +
row.productBomId;
}, },
viewClose() { viewClose() {
this.viewModal = false; this.viewModal = false;
...@@ -495,7 +553,7 @@ export default { ...@@ -495,7 +553,7 @@ export default {
this.modal = true; this.modal = true;
}, },
remove(id) { remove(id) {
Api.delete(id).then(r => { Api.delete(id).then((r) => {
if (r.success) { if (r.success) {
this.$refs.grid.load(); this.$refs.grid.load();
this.$Message.success("删除成功"); this.$Message.success("删除成功");
...@@ -522,7 +580,7 @@ export default { ...@@ -522,7 +580,7 @@ export default {
passDocument() { passDocument() {
this.dataListRetrun = []; this.dataListRetrun = [];
this.dataListRetrun = this.$refs.sendAudit.returnDataList(); this.dataListRetrun = this.$refs.sendAudit.returnDataList();
this.$http.order.batchstart(this.dataListRetrun).then(res => { this.$http.order.batchstart(this.dataListRetrun).then((res) => {
if (res.success) { if (res.success) {
this.$Message.success("工艺规程送审成功!"); this.$Message.success("工艺规程送审成功!");
this.loaddata(); this.loaddata();
...@@ -546,9 +604,11 @@ export default { ...@@ -546,9 +604,11 @@ export default {
this.seleId = data.row.id; this.seleId = data.row.id;
this.$refs.changelist.seleId = data.row.id; this.$refs.changelist.seleId = data.row.id;
let url = `${designUrl}/routingheaderchangeorder/getpaged`; let url = `${designUrl}/routingheaderchangeorder/getpaged`;
service.get(`${url}`, { service
routing_header_id: this.seleId .get(`${url}`, {
}).then(res => { routing_header_id: this.seleId,
})
.then((res) => {
//console.log(res) //console.log(res)
this.$refs.changelist.data2 = res.result.items; this.$refs.changelist.data2 = res.result.items;
this.$refs.changelist.myloading = false; this.$refs.changelist.myloading = false;
...@@ -563,14 +623,18 @@ export default { ...@@ -563,14 +623,18 @@ export default {
//批量导入start //批量导入start
//导入功能 //导入功能
openModalIm() { openModalIm() {
this.ModalIm = true this.ModalIm = true;
}, },
ModalImCancel() { ModalImCancel() {
this.ModalIm = false this.ModalIm = false;
}, },
getData(val) { getData(val) {
let url = `${technologyUrl}routingheaderimportservice/import`; let url = `${technologyUrl}routingheaderimportservice/import`;
this.$refs.importExcel.deelData(url, this.columns, this.formatMethod(val)) this.$refs.importExcel.deelData(
url,
this.columns,
this.formatMethod(val)
);
}, },
//根据页面二次处理数据 //根据页面二次处理数据
formatMethod(val) { formatMethod(val) {
...@@ -580,9 +644,9 @@ export default { ...@@ -580,9 +644,9 @@ export default {
let obj = { let obj = {
classId: null, classId: null,
unicode: "", unicode: "",
name: ele.name ? ele.name : '', name: ele.name ? ele.name : "",
code: ele.code ? ele.code : '', code: ele.code ? ele.code : "",
productId: ele.productId ? ele.productId : '', //? productId: ele.productId ? ele.productId : "", //?
productName: ele.productName ? ele.productName : "", //? productName: ele.productName ? ele.productName : "", //?
productBomId: ele.productBomId ? ele.productBomId : "", //? productBomId: ele.productBomId ? ele.productBomId : "", //?
drawingNo: ele.drawingNo ? ele.drawingNo : "", //? drawingNo: ele.drawingNo ? ele.drawingNo : "", //?
...@@ -606,32 +670,30 @@ export default { ...@@ -606,32 +670,30 @@ export default {
isSendPpm: 1, isSendPpm: 1,
fileId: "", fileId: "",
phase: ele.phase ? ele.phase : null, phase: ele.phase ? ele.phase : null,
isEffect: ele.isEffect ? ele.isEffect : 1 isEffect: ele.isEffect ? ele.isEffect : 1,
}; };
if (ele.name && ele.name != '') { if (ele.name && ele.name != "") {
obj.ico = false obj.ico = false;
} else { } else {
obj.ico = true obj.ico = true;
} }
tempList.push(obj); tempList.push(obj);
}); });
return tempList return tempList;
}, },
//批量导入end //批量导入end
//下拉菜单事件导入 //下拉菜单事件导入
changeMenu(name){ changeMenu(name) {
if(name=='导入'){ if (name == "导入") {
openModalIm(); openModalIm();
} }
if(name=='导出'){ if (name == "导出") {
}
}
} }
},
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.order-quotation { .order-quotation {
height: 100vh !important; height: 100vh !important;
} }
...@@ -651,5 +713,15 @@ export default { ...@@ -651,5 +713,15 @@ export default {
.single-page-con { .single-page-con {
overflow-y: hidden !important; overflow-y: hidden !important;
} }
.yuan_add {
color: #747b8b;
background-color: #ffffff;
border-color: #e3e5e8;
}
.yuan_add:hover {
color: #57a3f3;
background-color: white;
border-color: #57a3f3;
}
</style> </style>
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
placeholder="请输入工艺名称/工艺编号" placeholder="请输入工艺名称/工艺编号"
v-width="280" v-width="280"
v-model="formInline.value" v-model="formInline.value"
clearable clearable/>
/>
<Button type="primary" class="search_icon" icon="ios-search"></Button> <Button type="primary" class="search_icon" icon="ios-search"></Button>
<Button type="text" class="search_text">高级搜索</Button> <Button type="text" class="search_text">高级搜索</Button>
</Form> </Form>
...@@ -46,7 +45,7 @@ ...@@ -46,7 +45,7 @@
<Table :border="false" stripe :columns="columns1" :data="data1"> <Table :border="false" stripe :columns="columns1" :data="data1">
<template <template
slot="action" slot="action"
slot-scope="{ row, index }" slot-scope="{ row , index }"
style="width: 100%; height: 100%" style="width: 100%; height: 100%"
> >
<a href="" class="action-buttons" <a href="" class="action-buttons"
...@@ -62,10 +61,6 @@ ...@@ -62,10 +61,6 @@
<Icon type="icon iconfont iconshanchu" /> <Icon type="icon iconfont iconshanchu" />
删除</a 删除</a
> >
<!-- <a class="add mr20">
<Icon type="icon iconfont iconshanchu" />
分解</a
> -->
</div> </div>
</a> </a>
</template> </template>
...@@ -78,8 +73,7 @@ ...@@ -78,8 +73,7 @@
type="flex" type="flex"
justify="center" justify="center"
align="end" align="end"
class="page_index" class="page_index">
>
<Page :total="100" show-elevator /> <Page :total="100" show-elevator />
</Col> </Col>
</Row> </Row>
...@@ -343,7 +337,6 @@ export default { ...@@ -343,7 +337,6 @@ export default {
font-size: 22px; font-size: 22px;
} }
.ivu-select-dropdown { .ivu-select-dropdown {
background-color: #222341 !important; background-color: #222341 !important;
.ivu-dropdown-item { .ivu-dropdown-item {
color: #ffffff !important; color: #ffffff !important;
...@@ -402,7 +395,7 @@ export default { ...@@ -402,7 +395,7 @@ export default {
position: absolute; position: absolute;
display: none; display: none;
right: -58px; right: -58px;
top: -22px; top: -21px;
width: -webkit-max-content; // 兼容 width: -webkit-max-content; // 兼容
width: -moz-max-content; // 兼容 width: -moz-max-content; // 兼容
width: max-content; width: max-content;
......
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