Merge pull request 'FIX:第四次审批样式修改' (#166) from fix/change_task into test

Reviewed-on: #166
pull/167/head
赵辉 1 year ago
commit 303a8b0f90

@ -98,7 +98,14 @@ const fullscreenStyles = computed<any>(() => ({
left: isFullScreen.value ? '0' : '', left: isFullScreen.value ? '0' : '',
zIndex: isFullScreen.value ? '100' : '', zIndex: isFullScreen.value ? '100' : '',
})) }))
const fullscreenStylestwo = computed<any>(() => ({
width: isFullScreen.value ? '100vw' : '',
height: isFullScreen.value ? '100vh' : '',
position: isFullScreen.value ? 'fixed' : '',
top: isFullScreen.value ? '0' : '',
left: isFullScreen.value ? '0' : '',
zIndex: isFullScreen.value ? '160' : '',
}))
onMounted(() => { onMounted(() => {
window.addEventListener('keydown', handleKeydown) window.addEventListener('keydown', handleKeydown)
@ -470,6 +477,7 @@ onUnmounted(() => {
}) })
function immersionHandler() { function immersionHandler() {
imgbigshow.value=true
// taskStore.updateImmersion() // taskStore.updateImmersion()
toggleFullScreen() toggleFullScreen()
} }
@ -661,7 +669,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
<div <div
ref="scrollContainer" ref="scrollContainer"
class="wrapper fullscreen-container" class="wrapper fullscreen-container"
:style="fullscreenStyles" :style="!imgbigshow?fullscreenStylestwo:fullscreenStyles"
@scroll="checkBottom" @scroll="checkBottom"
> >
<div class="wrapper-header"> <div class="wrapper-header">
@ -771,6 +779,12 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
: {} : {}
" "
> >
<div v-show="!imgbigshow" :style="{position:'fixed',height:'100vh',zIndex:169, height: '100vh',
background:'rgb(80, 122, 253)',
right: '16px',
marginTop: '5px',
width: '2px',
height: '91.5vh'}"></div>
<div <div
v-show="!imgbigshow" v-show="!imgbigshow"
class="aside-collapse-btn" class="aside-collapse-btn"
@ -779,10 +793,12 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
right: '0px', right: '0px',
top: '155px', top: '155px',
cursor: 'pointer', cursor: 'pointer',
zIndex: 100, zIndex:170
}" }"
@click="collapseHandler" @click="collapseHandler"
> >
<SvgIcon <SvgIcon
:name="false ? 'expand-cir' : 'collapse-cir'" :name="false ? 'expand-cir' : 'collapse-cir'"
size="40" size="40"
@ -796,12 +812,13 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
? imgbigshow ? imgbigshow
? { ? {
'position': 'relative', 'position': 'relative',
'flex': 2, 'flex': 0.75,
'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`, 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
} }
: { : {
'height': '92vh', 'height': '92vh',
'flex': 2, 'flex': 1,
'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`, 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
} }
: { : {
@ -951,9 +968,10 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
:style=" :style="
isFullScreen isFullScreen
? { ? {
width: '320px', flex:'0.25',
borderLeft: '2px solid #507AFD', borderLeft: '2px solid #507AFD',
position: 'relative', position: 'relative',
borderRadius:0
} }
: {} : {}
" "
@ -1063,7 +1081,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
</div> </div>
</div> </div>
<n-scrollbar v-else style="max-height: 100%"> <n-scrollbar v-else style="max-height: 100%">
<n-ellipsis style=""> <n-ellipsis :style="{fontSize:'22px',fontWeight:500,color:'#0D0B22'}">
{{ taskDetailInfo.fromtaskname }} {{ taskDetailInfo.fromtaskname }}
</n-ellipsis> </n-ellipsis>
<div class="tags"> <div class="tags">
@ -1096,11 +1114,11 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
</div> </div>
</div> </div>
<n-divider class="divider-line" /> <n-divider class="divider-line" />
<div> <div :style="{width:'100%'}">
<div v-for="(item, index) in taskTableData" :key="index"> <div v-for="(item, index) in taskTableData" :key="index" :style="{width:'100%'}">
<div <div
v-if="item[0].label == '拜访终端名称'" v-if="item[0].label == '拜访终端名称'"
:style="{ display: 'flex', height: '26px' }" :style="{ display: 'flex', height: '100%',width:'100%' }"
> >
<div <div
:style="{ :style="{
@ -1111,7 +1129,9 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
> >
{{ item[0].label }} {{ item[0].label }}
</div> </div>
<div :style="{ marginLeft: '15px', fontSize: '16px' }"> <div :style="{ marginLeft: '15px', fontSize: '16px' ,textOverflow: 'ellipsis',
paddingTop: '2px'
}">
{{ item[0].value }} {{ item[0].value }}
</div> </div>
</div> </div>
@ -1658,7 +1678,7 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
.action { .action {
position: absolute; position: absolute;
z-index: 3;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;

@ -32,6 +32,9 @@ function setAsideItemName(text) {
:deep(.wrapper){ :deep(.wrapper){
top:0 top:0
} }
:deep(.ip_box){
z-index: 105;
}
.main { .main {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

Loading…
Cancel
Save