diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 4e74922..ef456e1 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -2,115 +2,141 @@ - 已扫画筒号:{{ state.pid }} - - +
+ 已扫画筒号:{{ state.pid }} + + - 搜索 - - - - - - 暂无画作搜索 - - - + +
+ + + + + style=" + margin-left: 240rpx; + margin-top: 200rpx; + margin-bottom: 20px; + " + > + 暂无画作 - {{ painting.ArtworkName }} - 画作编号:{{ painting.Tfnum }} - 画家编号:{{ painting.Tnum }} - 画家姓名:{{ painting.ArtistName }} - 平尺(寸):{{ painting.Ruler }} - - - - - - + + + + +
+ {{ + painting.ArtworkName + }} + + + +
+ 画作编号:{{ painting.Tfnum }} + 画家编号:{{ painting.Tnum }} + 画家姓名:{{ painting.ArtistName }} + 平尺(寸):{{ painting.Ruler }} +
+
+
+ +
+
+ + 取消 + + {{ buttonText }} -
- - 取消 - - {{ buttonText }} @@ -290,60 +316,63 @@ page { background: url("@/static/bgp.png") no-repeat; background-size: 100% 100%; background-attachment: fixed; - height: 100vh; + height: 100%; box-sizing: border-box; } - +:deep(.u-radio) { + justify-content: end; +} .content { + overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; - + padding: 40rpx; + box-sizing: border-box; + width: 100%; + height: 100%; .container-box { - height: auto; - width: 95%; - display: flex; - flex-direction: column; - margin-top: 40rpx; - padding: 40rpx; - box-sizing: border-box; - background-color: #fff; - } - - .login-input { - width: 80%; - display: flex; - background-color: #f9f9f9; - margin-top: 20rpx; - padding: 32rpx 24rpx; - box-sizing: border-box; - height: 96rpx; - } - - .painting-box { - height: 100%; + margin-bottom: 20rpx; width: 100%; + box-sizing: border-box; + height: 100%; + flex: 1; + padding: 40rpx; display: flex; flex-direction: column; - margin-top: 20rpx; - padding: 20rpx; box-sizing: border-box; background-color: #fff; - box-shadow: 0 0 6px rgba(219, 218, 218, 0.5); + .login-input { + width: 80%; + display: flex; + background-color: #f9f9f9; + margin-top: 20rpx; + padding: 32rpx 24rpx; + box-sizing: border-box; + height: 96rpx; + } + + .painting-box { + height: 100%; + width: 100%; + display: flex; + flex-direction: column; + margin-top: 20rpx; + padding: 20rpx; + box-sizing: border-box; + background-color: #fff; + box-shadow: 0 0 6px rgba(219, 218, 218, 0.5); + } } } .button-container { display: flex; justify-content: space-between; width: 100%; - position: fixed; - bottom: 1rpx; - left: 0; - padding: 0 20rpx; + padding: 20rpx; box-sizing: border-box; background-color: #fff; - height: 8%; } uni-button:after { border: none; diff --git a/src/pages/painting/index.vue b/src/pages/painting/index.vue index 5813bb8..09bfd73 100644 --- a/src/pages/painting/index.vue +++ b/src/pages/painting/index.vue @@ -134,6 +134,9 @@ const closeFn = async () => { } } else { showMessage({ type: "error", message: res.msg }); + if (runTimeEnv()) { + closeWebview(); + } } loading.value = false; };