Jelajahi Sumber

登录页修改

xiaohaizhao 1 tahun lalu
induk
melakukan
3f1e0244ca

+ 1 - 1
pages/login/modules/agreement.js

@@ -30,7 +30,7 @@ Component({
                 title: '加载中...',
             })
             wx.downloadFile({
-                url: 'https://ccyosg20230413.obs.cn-east-3.myhuaweicloud.com/system/%E6%A5%9A%E6%A5%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE.docx',
+                url: 'https://lsa79853.obs.cn-east-3.myhuaweicloud.com/system/%E6%9D%A5%E6%96%AF%E5%A5%A5E%E8%AE%A2%E5%8D%95.docx',
                 success: (res) => {
                     wx.openDocument({
                         filePath: res.tempFilePath,

+ 1 - 1
pages/login/modules/agreement.scss

@@ -5,7 +5,7 @@
     justify-content: center;
 
     .con {
-        width: 376rpx;
+        width: 316rpx;
         text-align: center;
         font-size: 24rpx !important;
         font-family: PingFang SC-Regular, PingFang SC;

+ 1 - 1
pages/login/modules/agreement.wxml

@@ -1,3 +1,3 @@
 <view class="agreement">
-    <van-checkbox icon-size="28rpx" label-class='con' value="{{ isAgree }}" bind:change="isAgreeChange">登录代表您已同意<text catchtap="checkTheAgreement">《隐私协议》</text></van-checkbox>
+    <van-checkbox icon-size="28rpx" label-class='con' value="{{ isAgree }}" bind:change="isAgreeChange">已阅读并同意<text catchtap="checkTheAgreement">《隐私协议》</text></van-checkbox>
 </view>

+ 1 - 1
pages/login/modules/login.js

@@ -26,7 +26,7 @@ function query_userauth() {
             nocache: true
         }
     }).then(res => {
-        console.log("查询权限", res.data)
+        console.log("查询权限", res)
         if (res.msg != '成功') return wx.showToast({
             title: '权限查询失败,请稍后再试',
             icon: "none"