From 5a424170415da0453c2bada6441bc98c1b02f151 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 10 十月 2023 11:23:32 +0800 Subject: [PATCH] 工艺模型 增加产品+样式调整+再次打开弹框的分页修改 --- src/components/ProcessModel.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/ProcessModel.vue b/src/components/ProcessModel.vue index 18c0d1b..f6792a9 100644 --- a/src/components/ProcessModel.vue +++ b/src/components/ProcessModel.vue @@ -32,8 +32,9 @@ <img src="../../public/process-model.png" /> </div> <div class="item-r" @click="processDetailsClick(item,index)"> - <div class="item-r-t font_weight">{{ item.procedure }}</div> - <div class="item-r-b">褰撳墠宸ヨ壓缂栧彿锛歿{ item.number }}</div> + <div class="item-r-t font_weight">{{ item.number }}</div> + <div class="item-r-b">浜у搧锛歿{ item.product }}</div> + <div class="item-r-b">宸ュ簭锛歿{ item.procedure }}</div> </div> <div class="tip-r" v-if="item.isUpdate"> <img src="../../public/process-tip.png" /> @@ -132,6 +133,7 @@ }, watch: { islook(){ + this.pageObj.page=1 this.getProcessModelList() }, }, @@ -149,8 +151,9 @@ if ( Object.keys(this.listData).length > 0 ) { - this.islook = true; + this.pageObj.page=1 this.getProcessModelList() + this.islook = true; } else { this.islook = false; } @@ -427,7 +430,7 @@ width:calc(100% - 20px); .title-item{ width:calc(50% - 30px); - height:77px; + height:92px; padding:23px 10px 10px; background:#31478f; border-radius: 8px; @@ -450,7 +453,7 @@ .item-r{ width:calc(100% - 60px); float:left; - line-height:25px; + line-height:22px; color:#fff; font-size:15px; cursor:pointer; -- Gitblit v1.8.0