Commit 664639acfae6f36214a1ae09cc80edb4f55d483f

Authored by 陈晓峰
2 parents f43241ca 4d3462de

Merge branch 'master' of gitlab.davyin.net:will.chen/miniapps-nature

1 1
2 2 App({
3   - url: 'https://stg.natureresearch.cn',
  3 + url: 'https://www.natureresearch.cn',
4 4 onLaunch: function () {
5 5
6 6 this.getUserInfo()
... ... @@ -25,7 +25,7 @@ App({
25 25 typeof cb == "function" && cb(that.globalData.userInfo);
26 26 //插入修改会员表返回openid
27 27 wx.request({
28   - url: 'https://stg.natureresearch.cn/mpapi/1.0.0/user/login',
  28 + url: 'https://www.natureresearch.cn/mpapi/1.0.0/user/login',
29 29 method: 'POST',
30 30 header: {
31 31 'content-type': 'application/json',
... ...
... ... @@ -10,7 +10,7 @@
10 10 </view> -->
11 11 </view>
12 12 <view class="video">
13   - <video src="https://stg.natureresearch.cn/sites/default/files/videos/NatureResearch.mp4"
  13 + <video src="https://www.natureresearch.cn/sites/default/files/videos/NatureResearch.mp4"
14 14 binderror="videoErrorCallback" poster="http://xcx.yiscio.com/app/shipin.png" controls></video>
15 15 </view>
16 16 <view class="content1">
... ...
... ... @@ -19,8 +19,8 @@
19 19 <text class="{{total==0?'hide':'display'}}">{{total}}</text>
20 20 </navigator>
21 21 <navigator bindtap='a9'>
22   - <view class="{{total1==0?'wenzi1':'wenzi'}}">参加的活动</view>
23   - <text class="{{total1==0?'hide':'display'}}">{{total1}}</text>
  22 + <view class="{{(total1==0 || total1==null)?'wenzi1':'wenzi'}}">参加的活动</view>
  23 + <text class="{{(total1==0 || total1==null)?'hide':'display'}}">{{total1}}</text>
24 24 </navigator>
25 25 <view class="cl"></view>
26 26 </view>
... ...
Please register or login to post a comment