chengjie 1 년 전
부모
커밋
81acfca030

+ 23 - 23
app.js

@@ -3,7 +3,6 @@ App({
3 3
   globalData: {
4 4
     Version: "1.0.13",
5 5
     //IsProduction: true,
6
-    IsProduction: false,
7 6
     ShareTitle: "上海中考招生信息查询工具",
8 7
     SharePath: "pages/index/index",
9 8
     ShareImage: '../images/fs_a01.png',
@@ -23,16 +22,18 @@ App({
23 22
     userInfo: null,
24 23
     Key: "kylx365_chengjie",
25 24
     IV: "kylx365hongliren",
26
-    SourceID: 0,//来源ID
27
-    IsGoto:true,//可以跳转
28
-    WebViewUrl:"",//webview的链接
29
-    PageCount:100,//每一页翻页数
30
-    MyWish:{},//我的福帖
25
+    SourceID: 0, //来源ID
26
+    IsGoto: true, //可以跳转
27
+    WebViewUrl: "", //webview的链接
28
+    PageCount: 100, //每一页翻页数
29
+    TempParam: "", //临时参数
30
+    MyWish: {}, //我的福帖
31
+
31 32
   },
32 33
   onLaunch: function (options) {
33 34
     this.getSystemInfo();
34 35
   },
35
-  onShow: function(options) {
36
+  onShow: function (options) {
36 37
     if (options && options.scene) {
37 38
       this.globalData.userSource = options.scene;
38 39
       console.log("options.scene2:" + options.scene);
@@ -41,28 +42,27 @@ App({
41 42
   getSystemInfo: function () {
42 43
     this.globalData.systemInfo = wx.getSystemInfoSync();
43 44
     if (this.globalData.systemInfo.system.indexOf("Android") >= 0) {
44
-      this.globalData.IsIOS =false;
45
-      this.globalData.IsAndroid=true;
46
-    }
47
-    else if (this.globalData.systemInfo.system.indexOf("iOS") >= 0) {
45
+      this.globalData.IsIOS = false;
46
+      this.globalData.IsAndroid = true;
47
+    } else if (this.globalData.systemInfo.system.indexOf("iOS") >= 0) {
48 48
       this.globalData.IsIOS = true;
49
-      this.globalData.IsAndroid=false;
49
+      this.globalData.IsAndroid = false;
50 50
 
51
-      if (this.globalData.systemInfo.model.indexOf("X") >= 0
52
-        || this.globalData.systemInfo.model.indexOf("11") >= 0
53
-        || this.globalData.systemInfo.model.indexOf("12") >= 0
54
-        || this.globalData.systemInfo.model.indexOf("13") >= 0 
55
-        || this.globalData.systemInfo.model.indexOf("14") >= 0)
56
-        this.globalData.IsIPhoneX=true;
51
+      if (this.globalData.systemInfo.model.indexOf("X") >= 0 ||
52
+        this.globalData.systemInfo.model.indexOf("11") >= 0 ||
53
+        this.globalData.systemInfo.model.indexOf("12") >= 0 ||
54
+        this.globalData.systemInfo.model.indexOf("13") >= 0 ||
55
+        this.globalData.systemInfo.model.indexOf("14") >= 0)
56
+        this.globalData.IsIPhoneX = true;
57 57
     }
58 58
 
59
-    if (this.globalData.systemInfo.model.indexOf("iPad")>=0){
60
-      this.globalData.IsIPad=true;
59
+    if (this.globalData.systemInfo.model.indexOf("iPad") >= 0) {
60
+      this.globalData.IsIPad = true;
61 61
     }
62 62
 
63
-    if (this.globalData.systemInfo.brand.indexOf("OPPO")>=0){
64
-      this.globalData.IsOppo=true;
63
+    if (this.globalData.systemInfo.brand.indexOf("OPPO") >= 0) {
64
+      this.globalData.IsOppo = true;
65 65
     }
66 66
   }
67 67
 
68
-})
68
+})

+ 3 - 0
pages/main/default.js

@@ -31,6 +31,9 @@ Page({
31 31
 
32 32
     that.getWish();
33 33
   },
34
+  onShow:function(){
35
+    this.getWish();
36
+  },
34 37
   getWish:function(){
35 38
     var that = this;
36 39
     main.getData("GetMPSWish?WishType=all", function (data) {

+ 1 - 1
pages/main/default.wxml

@@ -76,7 +76,7 @@
76 76
       </view>
77 77
     </view>
78 78
     <view style="height:30rpx;"></view>
79
-    <view class="panel1133 FlexRow" bindtap="goto" data-url="userinfo">
79
+    <view class="panel1133 FlexRow" bindtap="goto" data-url="userinfo?ReturnCount=1">
80 80
       <view class="text03 text031">编辑用户信息</view>
81 81
       <image class="arrowRight" src="../images/icon_nextpage_1.png"></image>
82 82
     </view>

+ 8 - 3
pages/main/default.wxss

@@ -151,7 +151,6 @@
151 151
   border-top-left-radius: 30rpx;
152 152
   border-top-right-radius: 30rpx;
153 153
   background-color: #fff;
154
-  min-height: 576rpx;
155 154
   margin-top: 40rpx;
156 155
   justify-content: flex-start;
157 156
   position: relative;
@@ -186,7 +185,7 @@
186 185
 
187 186
 .panel1142{
188 187
   justify-content: flex-start;
189
-  margin-top: 40rpx;
188
+  margin: 40rpx 0 30rpx 0;
190 189
 }
191 190
 
192 191
 .panel11420{
@@ -228,7 +227,7 @@
228 227
   position: absolute;
229 228
   bottom:0;
230 229
   width:750rpx;
231
-  height:20rpx;
230
+  height:26rpx;
232 231
   background-color:rgba(0,0,0,0.1);
233 232
   justify-content: flex-end;
234 233
 }
@@ -315,3 +314,9 @@
315 314
   font-weight: 400;
316 315
   color:#787878;
317 316
 }
317
+
318
+.arrowRight{
319
+  width:16rpx;
320
+  height:26rpx;
321
+  margin-right: 60rpx;
322
+}

+ 2 - 2
pages/main/feedback.wxml

@@ -14,7 +14,7 @@
14 14
   <view class="panelBasicCss panel2 FlexColumn">
15 15
     <view class="text01">留言</view>
16 16
     <view class="panelLine3"></view>
17
-    <textarea class="text02" bindinput="bindKeyInput" value="{{InputValue}}" maxlength="800" placeholder="请填写至少5个汉字以上内容,以便我们准确理解您的意思。" placeholder-style="color:#787878;font-size:28rpx;font-weight:400;" />
17
+    <textarea class="text02" bindinput="bindKeyInput" value="{{InputValue}}" maxlength="800" placeholder="请填写至少5个汉字以上内容,以便我们准确理解您的意思。" placeholder-style="color:#9b9b9b;font-size:28rpx;font-weight:400;" />
18 18
   </view>
19 19
   <view class="panelBasicCss panel3 FlexColumn">
20 20
     <view class="panel31 FlexRow">
@@ -38,7 +38,7 @@
38 38
     <view class="text01">联系方式</view>
39 39
     <view class="text05">劳烦提供截图,并将错处做个记号。万分感谢。</view>
40 40
     <view class="panelLine3"></view>
41
-    <textarea class="text06" bindinput="bindKeyInput2" value="{{InputValue2}}" maxlength="100" placeholder="微信号(首选)、邮箱" placeholder-style="color:#787878;font-size:28rpx;font-weight:400;" />
41
+    <textarea class="text06" bindinput="bindKeyInput2" value="{{InputValue2}}" maxlength="100" placeholder="微信号(首选)、邮箱" placeholder-style="color:#9b9b9b;font-size:28rpx;font-weight:400;" />
42 42
   </view>
43 43
   
44 44
   <view class="btn" bindtap="saveFeedback">提交</view>

+ 2 - 2
pages/main/school.wxml

@@ -68,14 +68,14 @@
68 68
           <view class="text02">{{item.WishWhom}}</view>
69 69
           <view class="text02">{{item.SchoolShortName}}</view>
70 70
         </view>
71
-        <view class="panel11423">{{item.WishContentItem}}</view>
71
+        <view class="panel11423" wx:if="{{item.WishContentItem}}">{{item.WishContentItem}}</view>
72 72
       </view>
73 73
       
74 74
     </view>
75 75
 
76 76
     <view class="panelSchoolLine02"></view>
77 77
     <view class="panelSchoolText13 panelSchoolText1311 FlexColumn">
78
-      <view class="panel114221" wx:if="{{!HasWish}}">来祝福自己、孩子、同学上本校吧</view>
78
+      <view class="panel114221" wx:if="{{!HasWish}}">来祝福孩子、自己、同学上本校吧</view>
79 79
       <block wx:if="{{HasWish}}">
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>

+ 37 - 24
pages/main/userinfo.js

@@ -4,53 +4,64 @@ import main from '../../utils/main';
4 4
 const app = getApp();
5 5
 
6 6
 Page({
7
-  data: {
8
- },
7
+  data: {},
9 8
   onLoad: function (options) {
10 9
 
11 10
     var that = this;
12
-    var nickname=app.globalData.userInfo.NickName;
13
-    if (app.globalData.userInfo.NickName=="陌生用户")
14
-      nickname="";
11
+    var nickname = app.globalData.userInfo.NickName;
12
+    if (app.globalData.userInfo.NickName == "陌生用户")
13
+      nickname = "";
15 14
     this.setData({
16 15
       Containnerheight: main.getWindowHeight(),
16
+      ReturnCount:options.ReturnCount,
17 17
       NickName: nickname,
18 18
       AvatarUrl: app.globalData.userInfo.AvatarUrl,
19 19
     });
20 20
   },
21
-  onChooseAvatar:function(e){
21
+  onChooseAvatar: function (e) {
22 22
     var that = this;
23 23
     console.log(e);
24 24
     that.uploadFileToServer(e.detail.avatarUrl, function (data) {
25 25
       if (data) {
26 26
         //console.log(data.Target);
27
-        setTimeout(function(){
27
+        setTimeout(function () {
28 28
           that.setData({
29
-            AvatarUrl:app.globalData.uploadImageUrl + data.Target,
29
+            AvatarUrl: app.globalData.uploadImageUrl + data.Target,
30 30
           });
31
-        },1000);
31
+        }, 1000);
32 32
       }
33 33
     });
34 34
   },
35 35
   onKeyInput: function (e) {
36
-    var that=this;
37
-    var nickname = e.detail.value;    
36
+    var that = this;
37
+    var nickname = e.detail.value;
38 38
     that.setData({
39 39
       NickName: nickname,
40 40
     });
41 41
   },
42
-  save:function(){
43
-    var that=this;
44
-    app.globalData.userInfo.NickName=that.data.NickName;
45
-    app.globalData.userInfo.AvatarUrl=that.data.AvatarUrl;
46
-    
47
-    var param={};
48
-    param.NickName=app.globalData.userInfo.NickName;
49
-    param.AvatarUrl=app.globalData.userInfo.AvatarUrl;
50
-    //debugger;
51
-    main.postData('UpdateMPSUserNickNameAndAvatar?UserID=' + app.globalData.userInfo.UserID, param, function (data) {
52
-      that.gotoReturn();
53
-    });
42
+  save: function () {
43
+    var that = this;
44
+    if (!that.data.NickName || that.data.NickName==""){
45
+      wx.showToast({
46
+        title: "请写昵称",
47
+        duration: 2000,
48
+        image: "../images/universalpic_exclamation_white_120x120.png",
49
+      });
50
+    } else {
51
+      app.globalData.userInfo.NickName = that.data.NickName;
52
+      app.globalData.userInfo.AvatarUrl = that.data.AvatarUrl;
53
+
54
+      var param = {};
55
+      param.NickName = app.globalData.userInfo.NickName;
56
+      param.AvatarUrl = app.globalData.userInfo.AvatarUrl;
57
+      //debugger;
58
+      main.postData('UpdateMPSUserNickNameAndAvatar?UserID=' + app.globalData.userInfo.UserID, param, function (data) {
59
+        that.setData({
60
+          ReturnCount:1,
61
+        });
62
+        that.gotoReturn();
63
+      });
64
+    }
54 65
   },
55 66
   uploadFileToServer: function (file, callback) {
56 67
     var url = common.Encrypt("MiaoguoUploadFile2");
@@ -86,7 +97,9 @@ Page({
86 97
       }
87 98
     });
88 99
   },
89
-  gotoReturn:function(){
100
+  gotoReturn: function () {
101
+    if (this.data.ReturnCount==2)
102
+      app.globalData.TempParam="return";
90 103
     wx.navigateBack({
91 104
       delta: 1
92 105
     });

+ 2 - 2
pages/main/userinfo.wxml

@@ -8,10 +8,10 @@
8 8
   <view class="line1"></view>
9 9
   <view class="panel2 panel1 FlexRow">
10 10
     <view class="text3">用户昵称</view>
11
-    <input type="nickname" class="weui-input" placeholder-class="placeholder" bindinput="onKeyInput" placeholder="没有名字" value="{{NickName}}" />
11
+    <input type="nickname" onBlur="" bindinput="onKeyInput" class="weui-input" placeholder-class="placeholder" placeholder="填写昵称" value="{{NickName}}" />
12 12
   </view>
13 13
   <view class="line2 line1"></view>
14 14
 
15
-  <view class="btn1" bindtap="save">登录</view>
15
+  <view class="btn1" bindtap="save">确定</view>
16 16
   <view class="btn2" bindtap="gotoReturn">放弃</view>
17 17
 </view>

+ 4 - 3
pages/main/userinfo.wxss

@@ -20,7 +20,7 @@
20 20
 }
21 21
 
22 22
 .avatar-wrapper{
23
-  width: 100rpx;
23
+  width: 500rpx;
24 24
   margin: 0rpx;
25 25
   padding: 0rpx;
26 26
   background-color: #F8C324;
@@ -30,7 +30,7 @@
30 30
 button:not([size=mini]) {
31 31
   margin-left: 0;
32 32
   margin-right: 0;
33
-  width: 100rpx;
33
+  width: 500rpx;
34 34
 }
35 35
 
36 36
 .avatar{
@@ -49,8 +49,9 @@ button:not([size=mini]) {
49 49
 
50 50
 
51 51
 .weui-input{
52
-  width:400rpx;
52
+  width:500rpx;
53 53
   text-align: right;
54
+  color:#8E6011;
54 55
 }
55 56
 
56 57
 .placeholder{

+ 44 - 35
pages/main/wish.js

@@ -11,16 +11,6 @@ Page({
11 11
     InputValue: "",
12 12
     ToWhomIndex: 0,
13 13
     IsOpen: true,
14
-    ArrToWhom: [{
15
-      Name: "给孩子",
16
-      CSS: "btn11"
17
-    }, {
18
-      Name: "给自己",
19
-      CSS: ""
20
-    }, {
21
-      Name: "给同学",
22
-      CSS: ""
23
-    }],
24 14
   },
25 15
   onLoad: function (options) {
26 16
     var that = this;
@@ -28,14 +18,25 @@ Page({
28 18
       Containnerheight: main.getWindowHeight(),
29 19
       SchoolID: options.SchoolID,
30 20
       ID: 0,
21
+      ArrToWhom: [{
22
+        Name: "给孩子",CSS: "btn11"
23
+      }, {
24
+        Name: "给自己",CSS: ""
25
+      }, {
26
+        Name: "给同学",CSS: ""
27
+      }],
31 28
     });
32 29
 
33 30
     if (options.type == "edit") {
34 31
       var mywish = app.globalData.MyWish;
35 32
 
36 33
       for (var i = 0; i < that.data.ArrToWhom.length; i++) {
37
-        if (mywish.ToWhom == that.data.ArrToWhom[i].Name)
34
+        if (mywish.ToWhom == that.data.ArrToWhom[i].Name){
38 35
           that.data.ArrToWhom[i].CSS = "btn11";
36
+          that.data.ToWhomIndex=i;
37
+        }
38
+        else
39
+          that.data.ArrToWhom[i].CSS = "";
39 40
       }
40 41
 
41 42
       that.setData({
@@ -44,10 +45,24 @@ Page({
44 45
         SchoolID: mywish.SchoolID,
45 46
         IsOpen: mywish.IsOpen ? true : false,
46 47
         ArrToWhom: that.data.ArrToWhom,
48
+        ToWhomIndex:that.data.ToWhomIndex,
47 49
         ID: mywish.ID,
48 50
       });
49 51
     }
50 52
   },
53
+  onShow:function(){
54
+    if (app.globalData.TempParam=="return"){
55
+      app.globalData.TempParam="";
56
+      wx.navigateBack({
57
+        delta: 1
58
+      });
59
+    }
60
+    else if (app.globalData.userInfo.NickName == "陌生用户") {
61
+      wx.navigateTo({
62
+        url: 'userinfo?ReturnCount=2',
63
+      });
64
+    }
65
+  },
51 66
   selectToWhom: function (event) {
52 67
     var index = event.currentTarget.dataset.index;
53 68
     this.data.ArrToWhom[0].CSS = "";
@@ -104,7 +119,7 @@ Page({
104 119
               wx.showToast({
105 120
                 title: data.errmsg,
106 121
                 duration: 2000,
107
-                image: "../images/universalpic_wrong_white_120x120.png",
122
+                image: "../images/universalpic_exclamation_white_120x120.png",
108 123
               });
109 124
               if (num == 1)
110 125
                 isViolate1 = true;
@@ -132,30 +147,24 @@ Page({
132 147
         confirmText: '返回',
133 148
       });
134 149
     } else {
150
+      var param = {};
151
+      param.ID = that.data.ID;
152
+      param.UserID = app.globalData.userInfo.UserID;
153
+      param.SchoolID = that.data.SchoolID;
154
+      param.ToWhom = that.data.ArrToWhom[that.data.ToWhomIndex].Name;
155
+      param.ToName = that.data.inputName;
156
+      param.WishContent = that.data.inputContent;
157
+      param.IsOpen = that.data.IsOpen ? 1 : 0;
135 158
 
136
-      if (app.globalData.userInfo.NickName == "陌生用户") {
137
-        wx.navigateTo({
138
-          url: 'userinfo',
139
-        });
140
-      } else {
141
-        var param = {};
142
-        param.ID = that.data.ID;
143
-        param.UserID = app.globalData.userInfo.UserID;
144
-        param.SchoolID = that.data.SchoolID;
145
-        param.ToWhom = that.data.ArrToWhom[that.data.ToWhomIndex].Name;
146
-        param.ToName = that.data.inputName;
147
-        param.WishContent = that.data.inputContent;
148
-        param.IsOpen = that.data.IsOpen ? 1 : 0;
149
-
150
-        console.log(param);
151
-        main.postData('MPSWish', param, function (data) {
152
-          app.globalData.MyWish = data;
153
-          //debugger;
154
-          wx.redirectTo({
155
-            url: './wishinfo',
156
-          })
157
-        });
158
-      }
159
+      console.log(param);
160
+      main.postData('MPSWish', param, function (data) {
161
+        app.globalData.MyWish = data;
162
+        //debugger;
163
+        wx.redirectTo({
164
+          url: './wishinfo',
165
+        })
166
+      });
167
+      
159 168
     }
160 169
   },
161 170
   onShareAppMessage: function () {

+ 6 - 6
pages/main/wish.wxml

@@ -7,9 +7,9 @@
7 7
   </view>
8 8
 
9 9
   <view class="panelBasicCss panelMain FlexColumn">
10
-    <view class="panelSchoolText08">被祝福者的名字(选填)</view>
10
+    <view class="panelSchoolText08">Ta的名字(选填)</view>
11 11
     <view class="panelSchoolLine02"></view>
12
-    <textarea maxlength="100" value="{{inputName}}" bindinput="bindKeyInputName" class="Input" placeholder-style="color:#787878;font-weight:400;" placeholder="可填写孩子的名字、自己的名字、同学的名字、大家的名字、学校的名字、学生的名字、班级的名字等" name="textarea"/>
12
+    <textarea maxlength="100" value="{{inputName}}" bindinput="bindKeyInputName" class="Input" placeholder-style="color:#9b9b9b;font-weight:400;" placeholder="可填写被祝福者的名字,比如孩子的名字,或自己的、同学的、学校的、学生的、班级的名字" name="textarea"/>
13 13
     
14 14
   </view>
15 15
   
@@ -20,16 +20,16 @@
20 20
       随机祝福语
21 21
     </view>
22 22
     <view class="panelSchoolLine02"></view>
23
-    <textarea maxlength="1000" value="{{inputContent}}" bindinput="bindKeyInputContent" class="Input Input2" placeholder-style="color:#787878;font-weight:400;" placeholder="可填写更具体的祝福内容" name="textarea"/>
23
+    <textarea maxlength="1000" value="{{inputContent}}" bindinput="bindKeyInputContent" class="Input Input2" placeholder-style="color:#9b9b9b;font-weight:400;" placeholder="可填写更具体的祝福内容" name="textarea"/>
24 24
     
25 25
   </view>
26 26
 
27 27
   <view class="panelWish1 FlexRow" bindtap="clickCheckbox">
28
-    <view wx:if="{{!IsOpen}}" class="checkbox"></view>
29
-    <view wx:if="{{IsOpen}}" class="checkbox checkbox1 FlexRow">
28
+    <view wx:if="{{IsOpen}}" class="checkbox"></view>
29
+    <view wx:if="{{!IsOpen}}" class="checkbox checkbox1 FlexRow">
30 30
       <image class="icon_check_01" src="../images/icon_check_01.png"></image>
31 31
     </view>
32
-    <view class="panelWish11">名字和祝福语仅自己可见(转发除外)。</view>
32
+    <text class="panelWish11">在主页中隐藏名字和祝福语,仅显示在我的福帖中。\n福帖内容仅自己可见(自己主动转发福帖给他人时除外)。</text>
33 33
   </view>
34 34
 
35 35
   <view class="panelWish2 FlexRow" bindtap="onSubmit">

+ 3 - 0
pages/main/wish.wxss

@@ -37,6 +37,7 @@
37 37
   height:120rpx;
38 38
   margin: 30rpx 0 50rpx 0;
39 39
   font-size:28rpx;
40
+  font-weight:400;
40 41
 }
41 42
 
42 43
 .placeholder{
@@ -73,6 +74,7 @@
73 74
   width:100%;
74 75
   margin: 30rpx 0 0 0;
75 76
   justify-content: flex-start;
77
+  align-items: flex-start;
76 78
 }
77 79
 
78 80
 .cbIsOpen{
@@ -83,6 +85,7 @@
83 85
 .panelWish11{
84 86
   font-size: 24rpx;
85 87
   font-weight: 400;
88
+  width:624rpx;
86 89
 }
87 90
 
88 91
 .panelWish2{

+ 14 - 3
pages/main/wishinfo.js

@@ -16,6 +16,13 @@ Page({
16 16
       IsShare:options.Share
17 17
     });
18 18
   },
19
+  onPullDownRefresh: function () {
20
+    var that=this;
21
+    that.saveLikeNum(function(){
22
+      that.onShow();
23
+    });    
24
+    wx.stopPullDownRefresh();
25
+  },
19 26
   onShow:function(){
20 27
     var that = this;
21 28
     
@@ -62,7 +69,6 @@ Page({
62 69
         delta: 3,
63 70
       });
64 71
     }
65
-  
66 72
     main.goto(e);
67 73
   },
68 74
   gotoRedirectTo:function(e){
@@ -74,8 +80,11 @@ Page({
74 80
   clickLikeNum:function(){
75 81
     var that=this;
76 82
     this.animateSmallShow();
83
+    var count=++that.data.LikeNum;
84
+    if (count>9999)
85
+      count=9999;
77 86
     that.setData({
78
-      LikeNum:++that.data.LikeNum
87
+      LikeNum:count,
79 88
     });
80 89
     if (isUpdate){
81 90
       isUpdate=false;
@@ -85,12 +94,14 @@ Page({
85 94
       that.saveLikeNum();
86 95
     }
87 96
   },
88
-  saveLikeNum:function(){
97
+  saveLikeNum:function(callback){
89 98
     var that = this;
90 99
     var likeNumAdd=that.data.LikeNum-historyLikeNum;
91 100
     main.getData("UpdateMPSWishLikeNum?ID="+that.data.ID+"&LikeNumAdd="+likeNumAdd, function (data2) {
92 101
       console.log(that.data.LikeNum);
93 102
       historyLikeNum=that.data.LikeNum;
103
+      if (callback)
104
+        callback();
94 105
     });
95 106
   },
96 107
   //动画缩小淡出

+ 2 - 1
pages/main/wishinfo.json

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

+ 8 - 0
pages/main/wishinfo.wxss

@@ -1,3 +1,7 @@
1
+page{
2
+  background-color: #DB1824;
3
+}
4
+
1 5
 .container{
2 6
   background-color: #DB1824;
3 7
   color:#FBF0E1;
@@ -14,14 +18,18 @@
14 18
   width:580rpx;
15 19
   text-align: center;
16 20
   margin-top: 60rpx;
21
+  text-shadow: 0 5rpx 0 #BD0E19;
17 22
 }
18 23
 .text02{
19 24
   font-size: 96rpx;
20 25
   margin-top: 0rpx;
26
+  text-shadow: 0 7rpx 0 #BD0E19;
21 27
 }
22 28
 .text03{
23 29
   font-size: 32rpx;
24 30
   margin-top: 30rpx;
31
+  font-weight: 400;
32
+  text-shadow: 0 3rpx 0 #BD0E19;
25 33
 }
26 34
 
27 35
 .panel1{