style:模具管理模块图标更改

master
黄伟杰 2 weeks ago
parent 6dbe599eda
commit d3565c0b44

@ -223,31 +223,31 @@
<view class="function-grid">
<view class="function-item" @click="handleClick('模具类型')">
<view class="function-icon" style="background: rgba(156, 39, 176, 0.1);">
<text class="icon-inner">📋</text>
<uni-icons type="list" size="22" color="#9c27b0"></uni-icons>
</view>
<text class="function-name">模具类型</text>
</view>
<view class="function-item" @click="handleClick('模具台账')">
<view class="function-icon" style="background: rgba(156, 39, 176, 0.1);">
<text class="icon-inner">📊</text>
<uni-icons type="bars" size="22" color="#9c27b0"></uni-icons>
</view>
<text class="function-name">模具台账</text>
</view>
<view class="function-item" @click="handleClick('moldGet')">
<view class="function-icon" style="background: rgba(156, 39, 176, 0.1);">
<text class="icon-inner">📤</text>
<uni-icons type="redo" size="22" color="#9c27b0"></uni-icons>
</view>
<text class="function-name">{{ t('moldGet.moduleName') }}</text>
</view>
<view class="function-item" @click="handleClick('moldReturn')">
<view class="function-icon" style="background: rgba(156, 39, 176, 0.1);">
<text class="icon-inner">📥</text>
<uni-icons type="undo" size="22" color="#9c27b0"></uni-icons>
</view>
<text class="function-name">{{ t('moldReturn.moduleName') }}</text>
</view>
<view class="function-item" @click="handleClick('moldOperate')">
<view class="function-icon" style="background: rgba(156, 39, 176, 0.1);">
<text class="icon-inner">🔄</text>
<uni-icons type="loop" size="22" color="#9c27b0"></uni-icons>
</view>
<text class="function-name">{{ t('moldOperate.moduleName') }}</text>
</view>

@ -48,14 +48,6 @@
<text class="equipment-name">{{ item.deviceName }}</text>
<text class="equipment-code">编码: {{ item.deviceCode }}</text>
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="handleEdit(item)">
<text class="action-icon"></text>
</view>
<view class="action-btn delete-btn" @click.stop="handleDelete(item)">
<text class="action-icon">🗑</text>
</view>
</view>
</view>
<view class="card-body">
<view class="card-row">
@ -85,6 +77,14 @@
<text class="card-value">{{ item.supplier || '-' }}</text>
</view>
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="handleEdit(item)">
<uni-icons type="compose" size="18" color="#ffffff"></uni-icons>
</view>
<view class="action-btn delete-btn" @click.stop="handleDelete(item)">
<uni-icons type="trash" size="18" color="#ffffff"></uni-icons>
</view>
</view>
</view>
</view>
</scroll-view>
@ -763,8 +763,10 @@ function handleSave() {
}
.card-actions {
margin-top: 24rpx;
display: flex;
gap: 16rpx;
justify-content: flex-end;
gap: 14rpx;
}
.action-btn {

@ -50,14 +50,6 @@
<view class="status-chip" :class="statusClass(item.status)">
{{ moldStatusText(item.status) }}
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="openEdit(item)">
<text class="action-icon"></text>
</view>
<view class="action-btn delete-btn" @click.stop="confirmDelete(item)">
<text class="action-icon">🗑</text>
</view>
</view>
</view>
</view>
<view class="card-body">
@ -78,6 +70,14 @@
<text class="value">{{ formatDateTime(item.createTime) }}</text>
</view>
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="openEdit(item)">
<uni-icons type="compose" size="18" color="#ffffff"></uni-icons>
</view>
<view class="action-btn delete-btn" @click.stop="confirmDelete(item)">
<uni-icons type="trash" size="18" color="#ffffff"></uni-icons>
</view>
</view>
</view>
<view v-if="loading && pageNo === 1" class="loading-text">...</view>
@ -1007,14 +1007,16 @@ function resolveUploadUrl(res) {
}
.card-actions {
margin-top: 24rpx;
display: flex;
gap: 10rpx;
justify-content: flex-end;
gap: 14rpx;
}
.action-btn {
width: 54rpx;
height: 54rpx;
border-radius: 10rpx;
width: 60rpx;
height: 60rpx;
border-radius: 12rpx;
display: flex;
align-items: center;
justify-content: center;

@ -39,14 +39,6 @@
<text class="type-name">{{ textValue(item.name) }}</text>
<text class="type-code">编码: {{ textValue(item.code) }}</text>
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="openEdit(item)">
<text class="action-icon"></text>
</view>
<view class="action-btn delete-btn" @click.stop="confirmDelete(item)">
<text class="action-icon">🗑</text>
</view>
</view>
</view>
<view class="card-body">
<view class="row">
@ -70,6 +62,14 @@
<text class="value">{{ formatDateTime(item.createTime) }}</text>
</view>
</view>
<view class="card-actions">
<view class="action-btn edit-btn" @click.stop="openEdit(item)">
<uni-icons type="compose" size="18" color="#ffffff"></uni-icons>
</view>
<view class="action-btn delete-btn" @click.stop="confirmDelete(item)">
<uni-icons type="trash" size="18" color="#ffffff"></uni-icons>
</view>
</view>
</view>
<view v-if="loading && pageNo === 1" class="loading-text">...</view>
@ -536,7 +536,9 @@ function openDetail(item) {
}
.card-actions {
margin-top: 24rpx;
display: flex;
justify-content: flex-end;
gap: 14rpx;
}

Loading…
Cancel
Save