zjl #4

Merged
gtz217 merged 4 commits from zjl into master 2022-11-08 16:48:09 +08:00
Showing only changes of commit 3b17b75f85 - Show all commits

View File

@ -1,7 +1,8 @@
<template> <template>
<div class="order-box" :style="{ padding: '0 ' + 16 * beilv + 'px', fontSize: 14 * beilv + 'px'}"> <div class="order-box" :style="{ padding: '0 ' + 16 * beilv + 'px', fontSize: 14 * beilv + 'px'}">
<!-- 小块 --> <!-- 小块 -->
<div v-for="(item,index) in orderMsg" :key="index" :style="{ padding: 10 * beilv + 'px' + ' 20px ' + 16 * beilv + 'px' + ' 16px'}" class="box"> <div v-for="(item,index) in orderMsg" :key="index" :style="{ padding: 10 * beilv + 'px ' + 20 * beilv + 'px ' + 16 * beilv + 'px ' + 16 * beilv
+ 'px', height: 168 * beilv + 'px'}" class="box">
<p class="line1"> <p class="line1">
<span>工单编号<span class="light-color">{{ item.code }}</span></span> <span>工单编号<span class="light-color">{{ item.code }}</span></span>
<span class="fr"> <span class="fr">
@ -13,7 +14,7 @@
<span>产品名称<span class="light-color">{{ item.name }}</span></span> <span>产品名称<span class="light-color">{{ item.name }}</span></span>
<span class="fr"> <span class="fr">
产线 产线
<span class="light-color" style="margin-right: 25px">{{ item.line }}</span> <span class="light-color" :style="{marginRight: 25 * beilv + 'px'}">{{ item.line }}</span>
</span> </span>
</p> </p>
<p :style="{ paddingLeft: 15 * beilv + 'px'}"> <p :style="{ paddingLeft: 15 * beilv + 'px'}">
@ -55,11 +56,11 @@ export default {
justify-content: space-between; justify-content: space-between;
.box { .box {
width: 49.5%; width: 49.5%;
height: 49.5%;
margin-bottom: 8px; margin-bottom: 8px;
background-image: url('../../../../assets/img/cockpit/module-back.png'); background-image: url('../../../../assets/img/cockpit/module-back.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
overflow: auto;
.light-color { .light-color {
opacity: 0.5; opacity: 0.5;
} }