Jelajahi Sumber

更新代码11-4

wangjinbiao 5 tahun lalu
induk
melakukan
0f03a18575

+ 4 - 4
dorm-manager-wx/pages/home/index.js

@@ -26,20 +26,20 @@ Page({
     iconList: [{
       picUrl: '/images/message.png',
       content: '通知公告',
-      url: '/pages/handle/index'
+      url: '/pages/home/list/index'
     },
     {
       picUrl: '/images/video.png',
       content: '媒体科大',
-      url: '/pages/handle/reservation/index'
+      url: '/pages/home/list/index'
     }, {
       picUrl: '/images/audio.png',
       content: '科大视听',
-      url: '/pages/handle/search/search'
+      url: '/pages/home/list/index'
     }, {
       picUrl: '/images/wenhua.png',
       content: '校园文化',
-      url: '/pages/user/handling/handling'
+      url: '/pages/home/list/index'
     }
     ],
 

+ 2 - 2
dorm-manager-wx/pages/student/application/application.wxml

@@ -72,7 +72,7 @@
     <swiper-item>
       <view class="result">
         <view style="padding-top:40rpx;text-align:center">
-          <view wx:if='{{!photo}}' class="photo-images" style="margin:auto;margin-bottom:30rpx;">
+          <view wx:if='{{!photo}}' class="photo-images" style="margin:auto;">
             <image style="width:130rpx;height:130rpx;" src="/images/default-urser.png"></image>
           </view>
           <image wx:if='{{photo}}' bindtap="previewImage" mode="aspectFill" style="margin-top:0rpx;" class='photo-show' src='{{photo}}'></image>
@@ -94,7 +94,7 @@
           </view>
           <view class="result-content">
             <view class="result-name">通行原因:</view>
-            <view class="result-data1">{{text?text:'未填'}}</view>
+            <view class="result-data1">{{text}}</view>
           </view>
           
         </view>

+ 6 - 5
dorm-manager-wx/pages/student/application/application.wxss

@@ -3,7 +3,7 @@ page{
 }
 .number{
   width: 690rpx;
-  height: 244rpx;
+  height: 200rpx;
   margin: 0 auto;
   margin-top: 25rpx;
   background: #fff;
@@ -74,8 +74,8 @@ swiper{
   margin-top: 30rpx;
 }
 .photo-images{
-  width: 240rpx;
-  height: 240rpx;
+  width: 200rpx;
+  height: 200rpx;
   display: flex;
   justify-content: center;
   align-items: center;
@@ -104,7 +104,7 @@ swiper{
   left: 0;
   right: 0;
   margin:0 auto;
-  bottom: 120rpx;
+  bottom: 60rpx;
 }
 
 .form{
@@ -123,6 +123,7 @@ swiper{
   /* justify-content: center; */
   margin-top: 20rpx;
   padding: 0rpx 40rpx;
+  line-height: 60rpx;
 }
 .input view{
   font-size: 30rpx;
@@ -189,7 +190,7 @@ textarea{
 
 .result{
   width: 690rpx;
-  height: 650rpx;
+  height: 620rpx;
   background: #fff;
   margin: 0 auto;
   margin-top: 20rpx;

+ 1 - 1
dorm-manager-wx/utils/api.js

@@ -96,7 +96,7 @@ const index = 2,
   [oneportal, root] =
     [["http://192.168.100.234:8080/oneportal/", "https://zhll.dgtis.com/wx/"],
       ["http://192.168.100.254:9082/wx/", "https://zhll.dgtis.com/wx/"],
-      ["https://dorm.dgtis.com/oneportal/", "https://zhll.dgtis.com/wx/"]][index]
+      ["http://dorm.dgtis.com/oneportal/", "https://zhll.dgtis.com/wx/"]][index]
 Object.keys(api).forEach(x => {
   let v = api[x]
   api[x] = `${/\.if$/.test(v) ? oneportal : root}${v}`