chengjie 1 년 전
부모
커밋
2cfe11b0e1
6개의 변경된 파일14개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 1
      pages/main/default.wxml
  2. 2 2
      pages/main/school.wxml
  3. 0 1
      pages/main/school.wxss
  4. 9 8
      pages/main/wishinfo.js
  5. 1 0
      pages/main/wishinfo.json
  6. 1 1
      pages/main/wishinfo.wxml

+ 1 - 1
pages/main/default.wxml

@@ -91,7 +91,7 @@
91 91
         <text class="text10">诚恳声明:</text>本产品所有图文内容来自网络,仅供家长对上海地区招生计划有大致了解。由于有可能存在错谬,故不能作为填报志愿的决策依据,请务必以当时当地教育局和学校提供的信息为准。我们将认真对待用户提供的纠错和建议,尽可能刊载正确信息。
92 92
       </text>
93 93
     </view>
94
-    <text class="text11" bindtap="goto" data-url="webview?url=https://mp.weixin.qq.com/s/nBQA9X-PwkdlxKaIjLOf5w">©2023 秒过分数线 版本 {{Version}}</text>
94
+    <text class="text11" bindtap="goto" data-url="webview?url=https://mp.weixin.qq.com/s/nBQA9X-PwkdlxKaIjLOf5w">©2024 秒过分数线 版本 {{Version}}</text>
95 95
     <view style="height:100rpx;"></view>
96 96
   </view>
97 97
 </view>

+ 2 - 2
pages/main/school.wxml

@@ -75,8 +75,8 @@
75 75
 
76 76
     <view class="panelSchoolLine02"></view>
77 77
     <view class="panelSchoolText13 panelSchoolText1311 FlexColumn">
78
-      <view class="panel114221" wx:if="{{!HasWish}}">来祝福孩子、自己、同学考上本校吧</view>
79
-      <block wx:if="{{HasWish}}">
78
+      <view class="panel114221" wx:if="{{WishList.length==0}}">来祝福孩子、自己、同学考上本校吧</view>
79
+      <block wx:if="{{WishList.length>0}}">
80 80
         <view class="panel11422 FlexRow" bindtap="unfoldWish" wx:if="{{!IsWishFold}}">
81 81
           <image class="icon_fold_05" src="../images/icon_fold_05.png"></image>
82 82
           展开

+ 0 - 1
pages/main/school.wxss

@@ -543,7 +543,6 @@
543 543
 
544 544
 .panel11423{
545 545
   width:580rpx;
546
-  height:160rpx;
547 546
   margin: 10rpx 0 0 50rpx;
548 547
   font-size:28rpx;
549 548
   font-weight: 400;

+ 9 - 8
pages/main/wishinfo.js

@@ -58,17 +58,18 @@ Page({
58 58
   onUnload:function(){
59 59
     this.saveLikeNum();
60 60
   },
61
-  returnDefault:function(){
61
+  returnDefault:function(e){
62
+    var url='../index/index';
63
+    var url1=e.currentTarget.dataset.url;
64
+    if (url1)
65
+      url+=url1;
66
+
67
+
62 68
     wx.reLaunch({
63
-      url: '../index/index'
69
+      url: url,
64 70
     });
65 71
   },
66 72
   goto: function (e) {
67
-    if (e.currentTarget.dataset.target=="school"){
68
-      wx.navigateBack({
69
-        delta: 3,
70
-      });
71
-    }
72 73
     main.goto(e);
73 74
   },
74 75
   gotoRedirectTo:function(e){
@@ -135,7 +136,7 @@ Page({
135 136
     var url=app.globalData.uploadImageUrl+"web/fs_a02.png";
136 137
     //debugger;
137 138
     return {
138
-      title: that.data.MyWish.WishWhom2+that.data.MyWish.SchoolShortName,
139
+      title: "中考祝福",
139 140
       path: app.globalData.SharePath + '?type=wish&ID='+that.data.MyWish.ID+'&UserID=' + app.globalData.userInfo.UserID,
140 141
       imageUrl: url,
141 142
     }

+ 1 - 0
pages/main/wishinfo.json

@@ -1,6 +1,7 @@
1 1
 {
2 2
   "navigationBarTitleText": "",
3 3
   "navigationBarBackgroundColor":"#DB1824",
4
+  "navigationBarTextStyle": "white",
4 5
   "backgroundColorTop":"#DB1824",
5 6
   "backgroundColorBottom":"#DB1824",
6 7
   "enablePullDownRefresh": true

+ 1 - 1
pages/main/wishinfo.wxml

@@ -24,6 +24,6 @@
24 24
   <view class="panelFooter FlexRow" wx:if="{{IsShare}}">
25 25
     <view class="panelFooterBtn FlexRow" bindtap="returnDefault">返回首页</view>
26 26
     <view class="line2"></view>
27
-    <view class="panelFooterBtn FlexRow" bindtap="goto" data-target="school" data-url="./school?type=school&ID={{MyWish.SchoolID}}">查询{{MyWish.SchoolShortName}}分数线</view>
27
+    <view class="panelFooterBtn FlexRow" bindtap="returnDefault" data-url="?type=school&ID={{MyWish.SchoolID}}">查询{{MyWish.SchoolShortName}}分数线</view>
28 28
   </view>
29 29
 </view>