width:750rpx; | width:750rpx; | ||||
height:150rpx; | height:150rpx; | ||||
box-sizing: border-box; | box-sizing: border-box; | ||||
border-top: 1rpx solid #B8B6B9; | |||||
border-top: 3rpx solid #B8B6B9; | |||||
display: flex; | display: flex; | ||||
align-items: center; | align-items: center; | ||||
justify-content: center; | justify-content: center; |
} | } | ||||
app.wxRequest(app.globalData.urlRoot + "userInfo/submitOrderInfo", this.data.subscribeData, res => { | app.wxRequest(app.globalData.urlRoot + "userInfo/submitOrderInfo", this.data.subscribeData, res => { | ||||
if (res.code == 200) { | if (res.code == 200) { | ||||
// wx.showToast({ | |||||
// title: '预约成功' | |||||
// }) | |||||
// this.setData({ | |||||
// isRegister:true | |||||
// }) | |||||
wx.showToast({ | |||||
title: '预约成功' | |||||
}) | |||||
this.setData({ | |||||
isRegister:true | |||||
}) | |||||
app.globalData.isRegister = true; | app.globalData.isRegister = true; | ||||
app.globalData.userMobile = this.data.subscribeData.mobile; | app.globalData.userMobile = this.data.subscribeData.mobile; | ||||
wx.redirectTo({ | |||||
url: "../myCenter/myCenter?sourcePage='home'" | |||||
}) | |||||
// wx.redirectTo({ | |||||
// url: "../myCenter/myCenter?sourcePage='home'" | |||||
// }) | |||||
} else { | } else { | ||||
wx.showToast({ | wx.showToast({ | ||||
title: res.msg, | title: res.msg, |
{ | { | ||||
"navigationBarTitleText": "启辰星", | |||||
"usingComponents": { | "usingComponents": { | ||||
"service": "../component/service/index", | "service": "../component/service/index", | ||||
"tabBar": "../component/tabBar/index" | "tabBar": "../component/tabBar/index" |
<image wx:if="{{!videoVideoControls}}" bindtap="hideVideoControls" class="videoPlay" src="{{imgUrl+'/images/videoPlay.png'}}"></image> | <image wx:if="{{!videoVideoControls}}" bindtap="hideVideoControls" class="videoPlay" src="{{imgUrl+'/images/videoPlay.png'}}"></image> | ||||
</view> | </view> | ||||
<view class="swiperFrame"> | <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-item wx:for="{{bannerList}}" wx:key="index"><image src="{{item.bannerUrl}}" style="width:100%;" mode="aspectFill"></image></swiper-item> | ||||
</swiper> | </swiper> | ||||
<image class="leftArrow" bindtap="prevImg" src="{{imgUrl+'/images/leftArrow.png'}}"></image> | <image class="leftArrow" bindtap="prevImg" src="{{imgUrl+'/images/leftArrow.png'}}"></image> |
image{ | image{ | ||||
display: block; | display: block; | ||||
} | } | ||||
view{ | |||||
overflow:auto; | |||||
-webkit-overflow-scrolling: touch; | |||||
} | |||||
.main{ | .main{ | ||||
height: calc(100vh - 150rpx); | height: calc(100vh - 150rpx); | ||||
overflow: auto; | overflow: auto; |
{ | { | ||||
"navigationBarTitleText": "个人中心", | |||||
"usingComponents": { | "usingComponents": { | ||||
"service": "../component/service/index", | "service": "../component/service/index", | ||||
"tabBar": "../component/tabBar/index" | "tabBar": "../component/tabBar/index" |
<view class="taskName">{{item.taskName}}</view> | <view class="taskName">{{item.taskName}}</view> | ||||
<view style="margin-top:12rpx;"> | <view style="margin-top:12rpx;"> | ||||
<view class="taskLineFrame"> | <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> | ||||
<view class="taskSignGroup"> | <view class="taskSignGroup"> | ||||
<image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | <image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | ||||
<image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | <image class="taskSignIcon" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | ||||
</view> | </view> | ||||
</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> | </view> | ||||
</view> | </view> |
image{ | image{ | ||||
display: block; | display: block; | ||||
} | } | ||||
view{ | |||||
overflow:auto; | |||||
-webkit-overflow-scrolling: touch; | |||||
} | |||||
.main{ | .main{ | ||||
height: calc(100vh - 150rpx); | height: calc(100vh - 150rpx); | ||||
overflow: auto; | overflow: auto; |