Browse Source

BUG修复

fanghuisheng 1 year ago
parent
commit
020cf36d9d

+ 4 - 5
src/pages/common/invoicing/index.vue

@@ -299,8 +299,8 @@ function handleSubmit(value) {
         current: 1,
         size: 10,
         invoiceTitle: form.value.invoiceTitle,
-        startTime: publicStore.formatterDateTime(new Date()),
-        endTime: publicStore.getYearLast(new Date()),
+        startTime: publicStore.getYearLast(new Date()),
+        endTime: publicStore.formatterDateTime(new Date()),
       }).then((requset) => {
         if (requset.status === "SUCCESS") {
           if (requset.data.records.length > 0) {
@@ -380,12 +380,11 @@ function tabsClick(e) {
 onLoad((options) => {
   if ("customId" in options) {
     form.value.customId = options.customId;
+    document.getElementsByClassName("uni-page-head-hd")[0].style.cssText = "display: none;";
   }
 });
 
-onReady(() => {
-  //   form.value.setRules(rules.value);
-});
+onReady(() => {});
 
 onShow(() => {
   //调用系统主题颜色

+ 3 - 0
src/pages/common/success/index.vue

@@ -46,6 +46,9 @@ onLoad((options) => {});
   padding: 0 15px;
   margin: auto;
   padding-top: 20%;
+  //#ifdef MP-WEIXIN
+  padding-top: 30%;
+  //#endif
   background-color: #ffffff;
 
   .top {

+ 2 - 2
src/pages/login.vue

@@ -307,7 +307,7 @@ onLoad((options) => {});
     position: relative;
     z-index: 1;
     width: 100%;
-    padding: 0 40px;
+    padding: 0 30px;
     margin: auto;
     margin-top: 30%;
 
@@ -322,7 +322,7 @@ onLoad((options) => {});
         // border-color: gray !important;
         // background-color: rgba(255, 255, 255, 0.1) !important;
         background-color: #f5f6fa !important;
-        margin-bottom: 20px;
+        margin-bottom: 15px;
       }
 
       :deep(.input-placeholder) {

+ 4 - 2
src/pages/serveConfig.vue

@@ -28,7 +28,6 @@
           height: '45px',
           lineHeight: '45px',
           fontSize: '17px',
-          marginTop: '20px',
         }"
         @click="handleSubmit()"
       >
@@ -141,9 +140,12 @@ onLoad((options) => {});
   bottom: 0;
   z-index: 1;
   width: 100%;
-  padding: 0 40px;
   margin: auto;
+  padding: 0 30px;
   padding-top: 20%;
+  //#ifdef MP-WEIXIN
+  padding-top: 30%;
+  //#endif
   background-color: #ffffff;
 
   .top {

+ 19 - 2
src/pages/serveConfigSelect.vue

@@ -28,7 +28,21 @@
         </u-radio-group>
       </div>
 
-      <u-button v-if="radiolist.length > 0" type="primary" style="width: 100%; height: 45px; font-size: 17px; margin-top: 20px" @click="handleSubmit()" shape="circle"> 保 存</u-button>
+      <u-button
+        v-if="radiolist.length > 0"
+        type="primary"
+        :customStyle="{
+          display: 'block',
+          width: '100%',
+          height: '45px',
+          lineHeight: '45px',
+          fontSize: '17px',
+        }"
+        @click="handleSubmit()"
+        shape="circle"
+      >
+        保 存</u-button
+      >
     </view>
   </view>
 </template>
@@ -168,9 +182,12 @@ onLoad((options) => {});
   z-index: 1;
   width: 100%;
   height: 100vh;
-  padding: 0 40px;
   margin: auto;
+  padding: 0 30px;
   padding-top: 20%;
+  //#ifdef MP-WEIXIN
+  padding-top: 30%;
+  //#endif
   background-color: #ffffff;
 
   .top {

+ 1 - 67
src/static/scss/public.scss

@@ -310,70 +310,4 @@ uni-input {
   padding-bottom: constant(safe-area-inset-bottom);
   padding-bottom: env(safe-area-inset-bottom);
   //#endif
-}
-
-// 自定义图片上传功能样式 开始
-.uploadView {
-  position: relative;
-  overflow: hidden;
-  width: calc(33% - 10px);
-  height: 110px;
-  margin: 0 15px 15px 0;
-  border: 1px solid #d9d9d9;
-  border-radius: 6px;
-  cursor: pointer;
-
-  .uploadUimage {
-    height: 100%;
-
-    >uni-view {
-      height: 100%;
-    }
-  }
-
-  .uploadViewClose {
-    position: absolute;
-    background-color: #409eff;
-    transform: rotate(45deg);
-    width: 40px;
-    height: 24px;
-    text-align: center;
-    right: -15px;
-    top: -6px;
-    cursor: pointer;
-
-    .u-icon {
-      font-size: 12px;
-      margin-top: 4px;
-      margin-left: 10px;
-      transform: rotate(-45deg);
-      color: #ffffff;
-    }
-  }
-
-  img {
-    width: 100%;
-  }
-}
-
-.uploadView:nth-child(3n) {
-  margin: 0 !important;
-}
-
-.upload-buttom {
-  display: flex;
-  font-size: 28px;
-  color: #909399;
-  border: 1px dashed #d9d9d9;
-  background-color: #fafafa;
-}
-
-.upload-buttom:hover {
-  border: 1px dashed #409eff;
-}
-
-:deep(.uploadDisabled) {
-  display: none !important;
-}
-
-// 自定义图片上传功能样式 结束
+}