chengjie 1 年之前
父节点
当前提交
8844726fe8
共有 3 个文件被更改,包括 10 次插入3 次删除
  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
 // app.js
1
 // app.js
2
 App({
2
 App({
3
   globalData: {
3
   globalData: {
4
-    Version: "1.0.15",
5
-    //IsProduction: true,
4
+    Version: "1.0.16",
5
+    IsProduction: true,
6
     ShareTitle: "上海中考招生信息查询工具",
6
     ShareTitle: "上海中考招生信息查询工具",
7
     SharePath: "pages/index/index",
7
     SharePath: "pages/index/index",
8
     ShareImage: '../images/fs_a01.png',
8
     ShareImage: '../images/fs_a01.png',

+ 1 - 1
pages/main/school.wxml

@@ -248,7 +248,7 @@
248
   <view class="panelBasicCss FlexColumn" wx:if="{{Info.ImageOther}}">
248
   <view class="panelBasicCss FlexColumn" wx:if="{{Info.ImageOther}}">
249
     <view class="panelSchoolText08">校园风光</view>
249
     <view class="panelSchoolText08">校园风光</view>
250
     <view class="panelScrollView" bindtap="goto" data-url="imagelist?ID={{Info.ID}}&SchoolFullName={{Info.SchoolFullName}}&SchoolShortName={{Info.SchoolShortName}}&ImageOtherStr={{Info.ImageOtherStr}}">
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
     </view>
252
     </view>
253
   </view>
253
   </view>
254
 
254
 

+ 7 - 0
pages/main/scoreline.js

@@ -69,6 +69,8 @@ Page({
69
           DistrictName:name,
69
           DistrictName:name,
70
         });
70
         });
71
       }
71
       }
72
+      //debugger;
73
+      //title="对比·"+options.SchoolType1+"·"+that.data.District[that.data.DistrictID-1].Name;
72
       title="对比·"+options.SchoolType1;
74
       title="对比·"+options.SchoolType1;
73
     }
75
     }
74
     else{
76
     else{
@@ -248,6 +250,11 @@ Page({
248
         obj.setData({
250
         obj.setData({
249
           ListNullData:arr,
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
       return data;
259
       return data;
253
     }
260
     }