fix
This commit is contained in:
parent
5a2cde2e0a
commit
811e6bbe0d
@ -2,6 +2,7 @@
|
|||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- <navBar> 添加画作 </navBar> -->
|
<!-- <navBar> 添加画作 </navBar> -->
|
||||||
<view class="container-box">
|
<view class="container-box">
|
||||||
|
<div style="height: 160rpx">
|
||||||
<span style="font-weight: bold"> 已扫画筒号:{{ state.pid }} </span>
|
<span style="font-weight: bold"> 已扫画筒号:{{ state.pid }} </span>
|
||||||
<view style="display: flex; align-items: center">
|
<view style="display: flex; align-items: center">
|
||||||
<up-input
|
<up-input
|
||||||
@ -27,14 +28,21 @@
|
|||||||
>搜索</up-button
|
>搜索</up-button
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<up-list @scrolltolower="scrolltolower" style="height: 1120rpx">
|
</div>
|
||||||
|
|
||||||
|
<view style="flex: 1">
|
||||||
|
<up-list @scrolltolower="scrolltolower" style="height: 1050rpx">
|
||||||
<span>
|
<span>
|
||||||
<up-image
|
<up-image
|
||||||
v-if="showNoResultImage"
|
v-if="showNoResultImage"
|
||||||
src="../../static/empty.png"
|
src="../../static/empty.png"
|
||||||
width="100px"
|
width="100px"
|
||||||
height="100px"
|
height="100px"
|
||||||
style="margin-left: 240rpx; margin-top: 200rpx; margin-bottom: 20px"
|
style="
|
||||||
|
margin-left: 240rpx;
|
||||||
|
margin-top: 200rpx;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
</up-image>
|
</up-image>
|
||||||
<span
|
<span
|
||||||
@ -53,7 +61,9 @@
|
|||||||
v-for="(painting, index) in state.tableData"
|
v-for="(painting, index) in state.tableData"
|
||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
<span style="display: flex; align-items: center; position: relative">
|
<span
|
||||||
|
style="display: flex; align-items: center; position: relative"
|
||||||
|
>
|
||||||
<up-image
|
<up-image
|
||||||
:show-loading="true"
|
:show-loading="true"
|
||||||
:src="painting.HdPic"
|
:src="painting.HdPic"
|
||||||
@ -62,9 +72,32 @@
|
|||||||
@click="enlarge(painting.HdPic)"
|
@click="enlarge(painting.HdPic)"
|
||||||
></up-image>
|
></up-image>
|
||||||
<span
|
<span
|
||||||
style="display: flex; flex-direction: column; margin-left: 10px"
|
style="
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 10px;
|
||||||
|
flex: 1;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<span style="font-weight: bold">{{ painting.ArtworkName }}</span>
|
<div
|
||||||
|
style="
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<span style="font-weight: bold">{{
|
||||||
|
painting.ArtworkName
|
||||||
|
}}</span>
|
||||||
|
<up-radio-group
|
||||||
|
v-model="painting.checked"
|
||||||
|
placement="right"
|
||||||
|
@change="groupChange"
|
||||||
|
>
|
||||||
|
<up-radio :name="painting.ArtworkUuid"></up-radio>
|
||||||
|
</up-radio-group>
|
||||||
|
</div>
|
||||||
<span style="color: #bcbcbc; font-size: 16px"
|
<span style="color: #bcbcbc; font-size: 16px"
|
||||||
>画作编号:{{ painting.Tfnum }}</span
|
>画作编号:{{ painting.Tfnum }}</span
|
||||||
>
|
>
|
||||||
@ -78,14 +111,6 @@
|
|||||||
>平尺(寸):{{ painting.Ruler }}</span
|
>平尺(寸):{{ painting.Ruler }}</span
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
<up-radio-group
|
|
||||||
v-model="painting.checked"
|
|
||||||
style="position: absolute; left: 550rpx; bottom: 150rpx"
|
|
||||||
placement="right"
|
|
||||||
@change="groupChange"
|
|
||||||
>
|
|
||||||
<up-radio :name="painting.ArtworkUuid"></up-radio>
|
|
||||||
</up-radio-group>
|
|
||||||
</span>
|
</span>
|
||||||
</up-list-item>
|
</up-list-item>
|
||||||
</up-list>
|
</up-list>
|
||||||
@ -112,6 +137,7 @@
|
|||||||
{{ buttonText }}</up-button
|
{{ buttonText }}</up-button
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
@ -290,27 +316,33 @@ page {
|
|||||||
background: url("@/static/bgp.png") no-repeat;
|
background: url("@/static/bgp.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
height: 100vh;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
:deep(.u-radio) {
|
||||||
|
justify-content: end;
|
||||||
|
}
|
||||||
.content {
|
.content {
|
||||||
|
overflow-y: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.container-box {
|
|
||||||
height: auto;
|
|
||||||
width: 95%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin-top: 40rpx;
|
|
||||||
padding: 40rpx;
|
padding: 40rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
.container-box {
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
padding: 40rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
|
||||||
|
|
||||||
.login-input {
|
.login-input {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -333,17 +365,14 @@ page {
|
|||||||
box-shadow: 0 0 6px rgba(219, 218, 218, 0.5);
|
box-shadow: 0 0 6px rgba(219, 218, 218, 0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.button-container {
|
.button-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
padding: 20rpx;
|
||||||
bottom: 1rpx;
|
|
||||||
left: 0;
|
|
||||||
padding: 0 20rpx;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 8%;
|
|
||||||
}
|
}
|
||||||
uni-button:after {
|
uni-button:after {
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -134,6 +134,9 @@ const closeFn = async () => {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
showMessage({ type: "error", message: res.msg });
|
showMessage({ type: "error", message: res.msg });
|
||||||
|
if (runTimeEnv()) {
|
||||||
|
closeWebview();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user