| @@ -7,7 +7,7 @@ | |||
| width:750rpx; | |||
| height:150rpx; | |||
| box-sizing: border-box; | |||
| border-top: 1rpx solid #B8B6B9; | |||
| border-top: 3rpx solid #B8B6B9; | |||
| display: flex; | |||
| align-items: center; | |||
| justify-content: center; | |||
| @@ -249,17 +249,17 @@ Page({ | |||
| } | |||
| app.wxRequest(app.globalData.urlRoot + "userInfo/submitOrderInfo", this.data.subscribeData, res => { | |||
| if (res.code == 200) { | |||
| // wx.showToast({ | |||
| // title: '预约成功' | |||
| // }) | |||
| // this.setData({ | |||
| // isRegister:true | |||
| // }) | |||
| wx.showToast({ | |||
| title: '预约成功' | |||
| }) | |||
| this.setData({ | |||
| isRegister:true | |||
| }) | |||
| app.globalData.isRegister = true; | |||
| app.globalData.userMobile = this.data.subscribeData.mobile; | |||
| wx.redirectTo({ | |||
| url: "../myCenter/myCenter?sourcePage='home'" | |||
| }) | |||
| // wx.redirectTo({ | |||
| // url: "../myCenter/myCenter?sourcePage='home'" | |||
| // }) | |||
| } else { | |||
| wx.showToast({ | |||
| title: res.msg, | |||
| @@ -1,4 +1,5 @@ | |||
| { | |||
| "navigationBarTitleText": "启辰星", | |||
| "usingComponents": { | |||
| "service": "../component/service/index", | |||
| "tabBar": "../component/tabBar/index" | |||
| @@ -8,7 +8,7 @@ | |||
| <image wx:if="{{!videoVideoControls}}" bindtap="hideVideoControls" class="videoPlay" src="{{imgUrl+'/images/videoPlay.png'}}"></image> | |||
| </view> | |||
| <view class="swiperFrame"> | |||
| <swiper class="swiperSty" current="{{swiperCurrent}}" bindchange="swiperChange"> | |||
| <swiper class="swiperSty" autoplay current="{{swiperCurrent}}" bindchange="swiperChange"> | |||
| <swiper-item wx:for="{{bannerList}}" wx:key="index"><image src="{{item.bannerUrl}}" style="width:100%;" mode="aspectFill"></image></swiper-item> | |||
| </swiper> | |||
| <image class="leftArrow" bindtap="prevImg" src="{{imgUrl+'/images/leftArrow.png'}}"></image> | |||
| @@ -2,6 +2,10 @@ | |||
| image{ | |||
| display: block; | |||
| } | |||
| view{ | |||
| overflow:auto; | |||
| -webkit-overflow-scrolling: touch; | |||
| } | |||
| .main{ | |||
| height: calc(100vh - 150rpx); | |||
| overflow: auto; | |||
| @@ -1,4 +1,5 @@ | |||
| { | |||
| "navigationBarTitleText": "个人中心", | |||
| "usingComponents": { | |||
| "service": "../component/service/index", | |||
| "tabBar": "../component/tabBar/index" | |||
| @@ -72,7 +72,7 @@ | |||
| <view class="taskName">{{item.taskName}}</view> | |||
| <view style="margin-top:12rpx;"> | |||
| <view class="taskLineFrame"> | |||
| <view class="taskLine" style="width:{{(item.children.length*25)+'%'}}"></view> | |||
| <view class="taskLine" style="width:{{(item.childIdArr.length*25)+'%'}}"></view> | |||
| </view> | |||
| <view class="taskSignGroup"> | |||
| <image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | |||
| @@ -81,8 +81,8 @@ | |||
| <image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | |||
| </view> | |||
| </view> | |||
| <view wx:if="{{item.children.length==4}}" class="taskSuccessBtn">已完成</view> | |||
| <view wx:if="{{item.children.length!=4}}" class="taskWaitBtn">未完成</view> | |||
| <view wx:if="{{item.childIdArr.length==4}}" class="taskSuccessBtn">已完成</view> | |||
| <view wx:if="{{item.childIdArr.length!=4}}" class="taskWaitBtn">未完成</view> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| @@ -2,6 +2,10 @@ | |||
| image{ | |||
| display: block; | |||
| } | |||
| view{ | |||
| overflow:auto; | |||
| -webkit-overflow-scrolling: touch; | |||
| } | |||
| .main{ | |||
| height: calc(100vh - 150rpx); | |||
| overflow: auto; | |||