chengjie před 1 rokem
rodič
revize
8844726fe8
3 změnil soubory, kde provedl 10 přidání a 3 odebrání
  1. 2 2
      app.js
  2. 1 1
      pages/main/school.wxml
  3. 7 0
      pages/main/scoreline.js

+ 2 - 2
app.js

@@ -1,8 +1,8 @@
1 1
 // app.js
2 2
 App({
3 3
   globalData: {
4
-    Version: "1.0.15",
5
-    //IsProduction: true,
4
+    Version: "1.0.16",
5
+    IsProduction: true,
6 6
     ShareTitle: "上海中考招生信息查询工具",
7 7
     SharePath: "pages/index/index",
8 8
     ShareImage: '../images/fs_a01.png',

+ 1 - 1
pages/main/school.wxml

@@ -248,7 +248,7 @@
248 248
   <view class="panelBasicCss FlexColumn" wx:if="{{Info.ImageOther}}">
249 249
     <view class="panelSchoolText08">校园风光</view>
250 250
     <view class="panelScrollView" bindtap="goto" data-url="imagelist?ID={{Info.ID}}&SchoolFullName={{Info.SchoolFullName}}&SchoolShortName={{Info.SchoolShortName}}&ImageOtherStr={{Info.ImageOtherStr}}">
251
-      <image lazy-load="true" mode="aspectFill" class="scrollItem" src="{{ImagePath}}web/_School/{{item}}" wx:for="{{Info.ImageOther}}" wx:key="index" wx:if="{{index<9}}" />
251
+      <image lazy-load="true" mode="aspectFill" class="scrollItem" src="{{ImagePath}}web/_School/{{item}}" wx:for="{{Info.ImageOtherSmall}}" wx:key="index" wx:if="{{index<9}}" />
252 252
     </view>
253 253
   </view>
254 254
 

+ 7 - 0
pages/main/scoreline.js

@@ -69,6 +69,8 @@ Page({
69 69
           DistrictName:name,
70 70
         });
71 71
       }
72
+      //debugger;
73
+      //title="对比·"+options.SchoolType1+"·"+that.data.District[that.data.DistrictID-1].Name;
72 74
       title="对比·"+options.SchoolType1;
73 75
     }
74 76
     else{
@@ -248,6 +250,11 @@ Page({
248 250
         obj.setData({
249 251
           ListNullData:arr,
250 252
         });
253
+
254
+        var title="对比·"+obj.data.SchoolType1+"·"+obj.data.District[that.data.DistrictID-1].Name;
255
+        wx.setNavigationBarTitle({
256
+          title: title,
257
+        });
251 258
       }
252 259
       return data;
253 260
     }