| "pages/placingOrder/placingOrder", | "pages/placingOrder/placingOrder", | ||||
| "pages/fragmentRule/fragmentRule", | "pages/fragmentRule/fragmentRule", | ||||
| "pages/supplement/supplement", | "pages/supplement/supplement", | ||||
| "pages/prizeDetail/prizeDetail" | |||||
| "pages/prizeDetail/prizeDetail", | |||||
| "pages/scoutRule/scoutRule" | |||||
| ], | ], | ||||
| "window": { | "window": { | ||||
| "backgroundTextStyle": "light", | "backgroundTextStyle": "light", |
| <!--pages/component/service/index.wxml--> | <!--pages/component/service/index.wxml--> | ||||
| <view> | <view> | ||||
| <image class="serviceIcon" style="height:82rpx;" bindtap="maskShow" src="{{imgUrl+'/newImages/38.png'}}"></image> | |||||
| <image class="serviceIcon" bindtap="openYuyue" style="top:577rpx;" src="{{imgUrl+'/btns/appointmentIcon.png'}}"></image> | |||||
| <image class="serviceIcon" bindtap="maskShow" src="{{imgUrl+'/newIcon/3.png'}}"></image> | |||||
| <image class="serviceIcon" bindtap="openYuyue" style="top:577rpx;" src="{{imgUrl+'/newIcon/4.png'}}"></image> | |||||
| <view wx:if="{{maskState}}" class="maskGroup" catchtouchmove="ture"> | <view wx:if="{{maskState}}" class="maskGroup" catchtouchmove="ture"> | ||||
| <view class="contentGroup"> | <view class="contentGroup"> | ||||
| <image style="width:100%;height:100%;" src="{{imgUrl+'/images/serviceBg.png'}}"></image> | <image style="width:100%;height:100%;" src="{{imgUrl+'/images/serviceBg.png'}}"></image> |
| <!--pages/everyday/everyday.wxml--> | <!--pages/everyday/everyday.wxml--> | ||||
| <view id="everyday" class="showView"> | <view id="everyday" class="showView"> | ||||
| <image class="showImg" src="{{imgUrl+'/newImages/30.png'}}"></image> | <image class="showImg" src="{{imgUrl+'/newImages/30.png'}}"></image> | ||||
| <image class="ruleBtn" bindtap="ruleControl" data-state="{{true}}" src="{{imgUrl+'/images/everyDayRuleIcon.png'}}"></image> | |||||
| <image class="ruleBtn" bindtap="ruleControl" data-state="{{true}}" src="{{imgUrl+'/newIcon/1.png'}}"></image> | |||||
| <view class="title">集碎片,攒红包</view> | <view class="title">集碎片,攒红包</view> | ||||
| <view class="menuBox"> | <view class="menuBox"> | ||||
| <image class="menu" src="{{imgUrl+'/star/everyday/menu.png'}}"></image> | <image class="menu" src="{{imgUrl+'/star/everyday/menu.png'}}"></image> |
| <view class="all"> | <view class="all"> | ||||
| <view class="main"> | <view class="main"> | ||||
| <view class="contentGroup"> | <view class="contentGroup"> | ||||
| <image class="newImages26" src="{{imgUrl+'/newImages/26.png'}}"></image> | |||||
| <image class="newImages26" src="{{imgUrl+'/newImages/41.png'}}"></image> | |||||
| <image class="newImages27" bindtap="cutPage" src="{{imgUrl+'/newImages/27.png'}}"></image> | <image class="newImages27" bindtap="cutPage" src="{{imgUrl+'/newImages/27.png'}}"></image> | ||||
| </view> | </view> | ||||
| </view> | </view> |
| .contentGroup{ | .contentGroup{ | ||||
| position: relative; | position: relative; | ||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1506rpx; | |||||
| height: 2276rpx; | |||||
| } | } | ||||
| .newImages26{ | .newImages26{ | ||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 1506rpx; | |||||
| height: 2276rpx; | |||||
| } | } | ||||
| .newImages27{ | .newImages27{ | ||||
| position: absolute; | position: absolute; |
| gameEnd:true, | gameEnd:true, | ||||
| ani:null, | ani:null, | ||||
| certificationInfo:false,//是否车主认证了 | certificationInfo:false,//是否车主认证了 | ||||
| addressShow:false | |||||
| addressShow:false, | |||||
| isChanceShow:true,//是否还有机会 | |||||
| }, | }, | ||||
| /** | /** | ||||
| } | } | ||||
| }, 1000); | }, 1000); | ||||
| }else{ | }else{ | ||||
| wx.showToast({ | |||||
| title: res.msg, | |||||
| icon:"none" | |||||
| this.setData({ | |||||
| isChanceShow:false | |||||
| }) | }) | ||||
| } | } | ||||
| },this) | },this) | ||||
| this.setData({ | this.setData({ | ||||
| addressShow: !this.data.addressShow | addressShow: !this.data.addressShow | ||||
| }) | }) | ||||
| }, | |||||
| chanceShowControl:function(){ | |||||
| this.setData({ | |||||
| isChanceShow:true | |||||
| }) | |||||
| } | } | ||||
| }) | }) |
| <image bindtap="cutPage" class="gameTip" src="{{imgUrl+'/images/luckyGetMoney.png'}}"></image> | <image bindtap="cutPage" class="gameTip" src="{{imgUrl+'/images/luckyGetMoney.png'}}"></image> | ||||
| <view class="gameRuleDesc" wx:if="{{ruleShow}}"> | <view class="gameRuleDesc" wx:if="{{ruleShow}}"> | ||||
| <view class="ruleGroup"> | <view class="ruleGroup"> | ||||
| <image class="gameRuleIcon" src="{{imgUrl+'/images/gameRuleDesc.png'}}"></image> | |||||
| <image class="gameRuleIcon" src="{{imgUrl+'/newImages/47.png'}}"></image> | |||||
| <image class="gameRuleClose" wx:if="{{ruleCloseShow}}" bindtap="closeRule" src="{{imgUrl+'/star/closebtn.png'}}"></image> | <image class="gameRuleClose" wx:if="{{ruleCloseShow}}" bindtap="closeRule" src="{{imgUrl+'/star/closebtn.png'}}"></image> | ||||
| <view class="gameStrat" bindtap="closeRule"><image style="width:100%;height:100%;" src="{{imgUrl+'/btns/gameStart.png'}}"></image><button wx:if="{{!userData}}" style="min-height:0;width: 277rpx;height: 50rpx;" bindgetuserinfo="getUserWxMsg" class="getUserMsgBtn" open-type="getUserInfo" lang="zh_CN"></button></view> | |||||
| <view class="gameRuleGroup"> | |||||
| <view style="width: 460rpx;height: 839rpx;"> | |||||
| <image class="newImages48" style="width: 100%;height: 100%;" src="{{imgUrl+'/newImages/48.png'}}"></image> | |||||
| </view> | |||||
| <view class="gameStrat" bindtap="closeRule"> | |||||
| <image style="width:100%;height:100%;" src="{{imgUrl+'/btns/gameStart.png'}}"></image> | |||||
| <button wx:if="{{!userData}}" style="min-height:0;width: 277rpx;height: 50rpx;" bindgetuserinfo="getUserWxMsg" class="getUserMsgBtn" open-type="getUserInfo" lang="zh_CN"></button> | |||||
| </view> | |||||
| </view> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="gameRuleDesc" style="background-color:rgba(000,000,000,0)" wx:if="{{false}}"> | |||||
| </view> | |||||
| <view class="gameRuleDesc" style="background-color:rgba(000,000,000,0)" wx:if="{{false}}"></view> | |||||
| <view class="successPop" wx:if="{{pizeTip}}"> | <view class="successPop" wx:if="{{pizeTip}}"> | ||||
| <view class="successGroup" wx:if="{{pizeTip==1}}"> | <view class="successGroup" wx:if="{{pizeTip==1}}"> | ||||
| <image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType1.png'}}"></image> | <image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType1.png'}}"></image> | ||||
| <view class="downTimeGroup" wx:if="{{startDown!=-1}}"> | <view class="downTimeGroup" wx:if="{{startDown!=-1}}"> | ||||
| <image class="luckyNum" src="{{imgUrl+'/images/luckyNum'+startDown+'.png'}}"></image> | <image class="luckyNum" src="{{imgUrl+'/images/luckyNum'+startDown+'.png'}}"></image> | ||||
| </view> | </view> | ||||
| <view class="downTimeGroup" wx:if="{{!isChanceShow}}"> | |||||
| <view class="chanceGroup"> | |||||
| <image class="newImages44" src="{{imgUrl+'/newImages/44.png'}}"></image> | |||||
| <image class="newImages45" bindtap="chanceShowControl" src="{{imgUrl+'/newImages/45.png'}}"></image> | |||||
| <image class="gameRuleClose" bindtap="chanceShowControl" src="{{imgUrl+'/star/closebtn.png'}}"></image> | |||||
| </view> | |||||
| </view> | |||||
| <userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg> | <userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg> | ||||
| </view> | </view> | ||||
| <tabBar></tabBar> | <tabBar></tabBar> |
| } | } | ||||
| .ruleGroup{ | .ruleGroup{ | ||||
| position: relative; | position: relative; | ||||
| width: 487rpx; | |||||
| height: 459rpx; | |||||
| width: 549rpx; | |||||
| height: 736rpx; | |||||
| } | } | ||||
| .gameRuleIcon{ | .gameRuleIcon{ | ||||
| width: 100%; | width: 100%; | ||||
| .gameStrat{ | .gameStrat{ | ||||
| width:277rpx; | width:277rpx; | ||||
| height:50rpx; | height:50rpx; | ||||
| position: absolute; | |||||
| bottom: 50rpx; | |||||
| left: 50%; | |||||
| transform: translateX(-50%); | |||||
| padding-top: 37rpx; | |||||
| } | } | ||||
| .gameMain{ | .gameMain{ | ||||
| position: relative; | position: relative; | ||||
| top: 920rpx; | top: 920rpx; | ||||
| width: 147rpx; | width: 147rpx; | ||||
| height: 105rpx; | height: 105rpx; | ||||
| } | |||||
| .chanceGroup{ | |||||
| position: relative; | |||||
| width: 489rpx; | |||||
| height: 460rpx; | |||||
| } | |||||
| .newImages44{ | |||||
| width: 100%; | |||||
| height: 100%; | |||||
| } | |||||
| .newImages45{ | |||||
| position: absolute; | |||||
| bottom: 58rpx; | |||||
| left: 50%; | |||||
| transform: translateX(-50%); | |||||
| width: 278rpx; | |||||
| height: 51rpx; | |||||
| } | |||||
| .gameRuleGroup{ | |||||
| position: absolute; | |||||
| top: 115rpx; | |||||
| left:0; | |||||
| width: 100%; | |||||
| height: 570rpx; | |||||
| display: flex; | |||||
| flex-direction: column; | |||||
| align-items: center; | |||||
| overflow: auto; | |||||
| } | } |
| addressShow:false, | addressShow:false, | ||||
| mycenterTipWindow:0, | mycenterTipWindow:0, | ||||
| barNums:0, | barNums:0, | ||||
| getState:true | |||||
| getState:true, | |||||
| scoutRule:false | |||||
| }, | }, | ||||
| /** | /** | ||||
| placing: !this.data.placing | placing: !this.data.placing | ||||
| }) | }) | ||||
| }, | }, | ||||
| scoutRuleControl:function(){ | |||||
| this.setData({ | |||||
| scoutRule: !this.data.scoutRule | |||||
| }) | |||||
| }, | |||||
| tipWindow:function(){ | tipWindow:function(){ | ||||
| this.setData({ | this.setData({ | ||||
| mycenterTipWindow:0 | mycenterTipWindow:0 |
| "tabBar": "../component/tabBar/index", | "tabBar": "../component/tabBar/index", | ||||
| "agreement": "../agreement/agreement", | "agreement": "../agreement/agreement", | ||||
| "userMsg": "/pages/userMsg/userMsg", | "userMsg": "/pages/userMsg/userMsg", | ||||
| "placingOrder": "/pages/placingOrder/placingOrder" | |||||
| "placingOrder": "/pages/placingOrder/placingOrder", | |||||
| "scoutRule": "/pages/scoutRule/scoutRule" | |||||
| } | } | ||||
| } | } |
| </view> | </view> | ||||
| <view class="userNameGroup"> | <view class="userNameGroup"> | ||||
| <view class="userName">{{userData.nickName}}</view> | <view class="userName">{{userData.nickName}}</view> | ||||
| <image bindtap="addressControl" class="userNameEdit" src="{{imgUrl+'/images/userNameEdit.png'}}"></image> | |||||
| <image bindtap="addressControl" class="userNameEdit" src="{{imgUrl+'/newImages/40.png'}}"></image> | |||||
| </view> | </view> | ||||
| <view class="userLevel" wx:if="{{userData.userLevel}}"> | <view class="userLevel" wx:if="{{userData.userLevel}}"> | ||||
| <image class="userLevelIcon" src="{{imgUrl+'/images/userLevelIcon'+userData.userLevel+'.png'}}"></image> | <image class="userLevelIcon" src="{{imgUrl+'/images/userLevelIcon'+userData.userLevel+'.png'}}"></image> | ||||
| <image class="userLevelTip" src="{{imgUrl+'/images/myCenterTipLevel.jpg'}}"></image> | <image class="userLevelTip" src="{{imgUrl+'/images/myCenterTipLevel.jpg'}}"></image> | ||||
| <image class="userLevelText" src="{{imgUrl+'/images/userLevelText'+userData.userLevel+'.png'}}"></image> | <image class="userLevelText" src="{{imgUrl+'/images/userLevelText'+userData.userLevel+'.png'}}"></image> | ||||
| <image class="lookRule" bindtap="lookRule" data-value="{{true}}" src="{{imgUrl+'/btns/myCenterRule.jpg'}}"></image> | |||||
| <image class="lookRule" bindtap="scoutRuleControl" data-value="{{true}}" src="{{imgUrl+'/btns/myCenterRule.jpg'}}"></image> | |||||
| </view> | </view> | ||||
| <view class="userLevel" wx:if="{{!userData.userLevel}}"> | <view class="userLevel" wx:if="{{!userData.userLevel}}"> | ||||
| <image class="userWaitIcon" src="{{imgUrl+'/images/userWaitIcon.png'}}"></image> | <image class="userWaitIcon" src="{{imgUrl+'/images/userWaitIcon.png'}}"></image> | ||||
| <view class="userWaitText">您的星探待激活</view> | <view class="userWaitText">您的星探待激活</view> | ||||
| <image class="lookRule" bindtap="lookRule" data-value="{{true}}" src="{{imgUrl+'/btns/myCenterRule.jpg'}}"></image> | |||||
| <image class="lookRule" bindtap="scoutRuleControl" data-value="{{true}}" src="{{imgUrl+'/btns/myCenterRule.jpg'}}"></image> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="funList"> | <view class="funList"> | ||||
| <view class="taskLine" style="width:{{(item.unlockNum*25)+'%'}}"></view> | <view class="taskLine" style="width:{{(item.unlockNum*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> | |||||
| <image class="taskSignIcon" src="{{imgUrl+'/newIcon/9.png'}}"></image> | |||||
| <image class="taskSignIcon" src="{{imgUrl+'/newIcon/9.png'}}"></image> | |||||
| <image class="taskSignIcon" src="{{imgUrl+'/newIcon/9.png'}}"></image> | |||||
| <image class="taskSignIcon" src="{{imgUrl+'/newIcon/9.png'}}"></image> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view wx:if="{{item.unlockNum==4}}" class="taskSuccessBtn">已完成</view> | <view wx:if="{{item.unlockNum==4}}" class="taskSuccessBtn">已完成</view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="taskDetailFrame" wx:if="{{taskNow==2}}"> | <view class="taskDetailFrame" wx:if="{{taskNow==2}}"> | ||||
| <image class="scoutTaskDesc" src="{{imgUrl+'/newImages/scoutTaskDesc.png'}}"></image> | |||||
| <image class="scoutTaskIcon" src="{{imgUrl+'/newImages/scoutTaskIcon'+(barNums>3?'2':barNums>0?'':'3')+'.png?v=002'}}"></image> | |||||
| <image class="scoutTaskDesc" src="{{imgUrl+'/newIcon/5.png'}}"></image> | |||||
| <image class="scoutTaskIcon" src="{{imgUrl+'/newIcon/'+(barNums>3?'12':barNums>0?'6':'11')+'.png?v=002'}}"></image> | |||||
| <view class="barFrame"> | <view class="barFrame"> | ||||
| <view style="position:absolute;top:-5rpx;left:295rpx;"> | <view style="position:absolute;top:-5rpx;left:295rpx;"> | ||||
| <view class="barCarIcon"> | <view class="barCarIcon"> | ||||
| <image class="scoutTaskCar" wx:for="{{0+barNums>5?5:0+barNums}}" wx:key="index" src="{{imgUrl+'/newImages/scoutTaskCarIcon2.png'}}"></image> | |||||
| <image class="scoutTaskCar" wx:for="{{5-barNums>0?5-barNums:0}}" wx:key="index" src="{{imgUrl+'/newImages/scoutTaskCarIcon1.png'}}"></image> | |||||
| <image class="scoutTaskCar" wx:for="{{0+barNums>5?5:0+barNums}}" wx:key="index" src="{{imgUrl+'/newIcon/8.png'}}"></image> | |||||
| <image class="scoutTaskCar" wx:for="{{5-barNums>0?5-barNums:0}}" wx:key="index" src="{{imgUrl+'/newIcon/7.png'}}"></image> | |||||
| </view> | </view> | ||||
| <view class="barGroup"> | <view class="barGroup"> | ||||
| <view class="barContent" style="width:{{(barNums<=5?barNums:5)*20+'%'}}"></view> | <view class="barContent" style="width:{{(barNums<=5?barNums:5)*20+'%'}}"></view> | ||||
| </view> | </view> | ||||
| <view class="barSignIcon"> | <view class="barSignIcon"> | ||||
| <image class="taskSignIcon2" wx:for="{{5}}" wx:key="index" src="{{imgUrl+'/images/taskSignIcon.png'}}"></image> | |||||
| <image class="taskSignIcon2" wx:for="{{5}}" wx:key="index" src="{{imgUrl+'/newIcon/9.png'}}"></image> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <image class="scoutTaskGo" bindtap="starGo" src="{{imgUrl+'/newImages/scoutTaskGo.png'}}"></image> | |||||
| <image class="scoutTaskGo" bindtap="starGo" src="{{imgUrl+'/newIcon/10.png'}}"></image> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="taskGroup" wx:if="{{selectNow==2}}"> | <view class="taskGroup" wx:if="{{selectNow==2}}"> | ||||
| <view bindtap="selectRecord" data-type='3' class="taskText recordText {{recordNow==3?'taskText2':''}}">星探奖励</view> | <view bindtap="selectRecord" data-type='3' class="taskText recordText {{recordNow==3?'taskText2':''}}">星探奖励</view> | ||||
| </view> | </view> | ||||
| <view class="recordFrame"> | <view class="recordFrame"> | ||||
| <image class="newImages1" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newImages/1.png'}}"></image> | |||||
| <image class="newImages1" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newIcon/16.png'}}"></image> | |||||
| <image class="newImages2" bindtap="enterLucky" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newImages/2.png'}}"></image> | <image class="newImages2" bindtap="enterLucky" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newImages/2.png'}}"></image> | ||||
| <image class="newImages5" wx:if="{{!recordList.length && recordNow==2 && !getState}}" src="{{imgUrl+'/newImages/5.png'}}"></image> | |||||
| <image class="newImages5" wx:if="{{!recordList.length && recordNow==2 && !getState}}" src="{{imgUrl+'/newIcon/15.png'}}"></image> | |||||
| <image class="newImages6" bindtap="enterEvery" wx:if="{{!recordList.length && recordNow==2 && !getState}}" src="{{imgUrl+'/newImages/6.png'}}"></image> | <image class="newImages6" bindtap="enterEvery" wx:if="{{!recordList.length && recordNow==2 && !getState}}" src="{{imgUrl+'/newImages/6.png'}}"></image> | ||||
| <image class="newImages8" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newImages/8.png'}}"></image> | |||||
| <image class="newImages8" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newIcon/13.png'}}"></image> | |||||
| <image class="newImages6" bindtap="starGo" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newImages/6.png'}}"></image> | <image class="newImages6" bindtap="starGo" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newImages/6.png'}}"></image> | ||||
| <view class="recordGroup" wx:if="{{recordList.length}}" wx:for="{{recordList}}" wx:key="index"> | <view class="recordGroup" wx:if="{{recordList.length}}" wx:for="{{recordList}}" wx:key="index"> | ||||
| <view class="recordGroupLeft"> | <view class="recordGroupLeft"> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="ranksGroup" wx:if="{{selectNow==3}}"> | <view class="ranksGroup" wx:if="{{selectNow==3}}"> | ||||
| <image class="newImages3" wx:if="{{!shareFriendList.length}}" src="{{imgUrl+'/newImages/3.png'}}"></image> | |||||
| <image class="newImages4" bindtap="starGo" wx:if="{{!shareFriendList.length}}" src="{{imgUrl+'/newImages/4.png'}}"></image> | |||||
| <image class="newImages7" wx:if="{{shareFriendList.length}}" src="{{imgUrl+'/newImages/7.png'}}"></image> | |||||
| <image class="newImages3" wx:if="{{!shareFriendList.length}}" src="{{imgUrl+'/newIcon/18.png'}}"></image> | |||||
| <image class="newImages4" bindtap="starGo" wx:if="{{!shareFriendList.length}}" src="{{imgUrl+'/newIcon/17.png'}}"></image> | |||||
| <image class="newImages7" wx:if="{{shareFriendList.length}}" src="{{imgUrl+'/newIcon/19.png'}}"></image> | |||||
| <scroll-view class="ranksList" wx:if="{{shareFriendList.length}}" scroll-y bindscrolltolower="scrolltolower"> | <scroll-view class="ranksList" wx:if="{{shareFriendList.length}}" scroll-y bindscrolltolower="scrolltolower"> | ||||
| <view class="detachmentGroup" wx:for="{{shareFriendList}}" wx:key="index"> | <view class="detachmentGroup" wx:for="{{shareFriendList}}" wx:key="index"> | ||||
| <view class="detachmentGroupLeft"> | <view class="detachmentGroupLeft"> | ||||
| <image style="width:100%;height:100%;" src="{{imgUrl+'/btns/myCenterBtn2.png'}}"></image></view> | <image style="width:100%;height:100%;" src="{{imgUrl+'/btns/myCenterBtn2.png'}}"></image></view> | ||||
| </view> --> | </view> --> | ||||
| <view class="orderDescGroup" wx:if="{{selectNow==4 && !buyState}}"> | <view class="orderDescGroup" wx:if="{{selectNow==4 && !buyState}}"> | ||||
| <image class="orderDesc" src="{{imgUrl+'/images/orderDesc.png'}}"></image> | |||||
| <image class="orderDesc" src="{{imgUrl+'/newImages/43.png'}}"></image> | |||||
| <image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> | <image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> | ||||
| </view> | </view> | ||||
| <view class="placingOrder" wx:if="{{selectNow==4 && buyState}}"> | <view class="placingOrder" wx:if="{{selectNow==4 && buyState}}"> | ||||
| <agreement bindmyevent="agreementControl" wx:if="{{agreement}}"></agreement> | <agreement bindmyevent="agreementControl" wx:if="{{agreement}}"></agreement> | ||||
| <userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg> | <userMsg bindaddress="addressControl" wx:if="{{addressShow}}"></userMsg> | ||||
| <placingOrder bindplacing="placingControl" wx:if="{{placing}}"></placingOrder> | <placingOrder bindplacing="placingControl" wx:if="{{placing}}"></placingOrder> | ||||
| <scoutRule bindscoutRule="scoutRuleControl" wx:if="{{scoutRule}}"></scoutRule> | |||||
| <tabBar></tabBar> | <tabBar></tabBar> | ||||
| </view> | </view> |
| overflow: auto; | overflow: auto; | ||||
| } | } | ||||
| .msgGroup{ | .msgGroup{ | ||||
| padding-top: 108rpx; | |||||
| padding-top: 97rpx; | |||||
| margin-bottom: 111rpx; | margin-bottom: 111rpx; | ||||
| } | } | ||||
| .pageTitle{ | .pageTitle{ | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| width: 161rpx; | |||||
| height: 161rpx; | |||||
| width: 178rpx; | |||||
| height: 178rpx; | |||||
| margin: 0 auto; | margin: 0 auto; | ||||
| margin-bottom: 27rpx; | margin-bottom: 27rpx; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| position: relative; | position: relative; | ||||
| width:137rpx; | width:137rpx; | ||||
| height:137rpx; | height:137rpx; | ||||
| border: 1rpx solid #7A797E; | |||||
| border: 1rpx solid #355485; | |||||
| border-radius: 10rpx; | border-radius: 10rpx; | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| border: 2rpx solid black; | border: 2rpx solid black; | ||||
| } | } | ||||
| .userMsg{ | .userMsg{ | ||||
| padding-top: 108rpx; | |||||
| padding-top: 97rpx; | |||||
| position: relative; | position: relative; | ||||
| } | } | ||||
| .userNameGroup{ | .userNameGroup{ | ||||
| margin-bottom: 44rpx; | margin-bottom: 44rpx; | ||||
| } | } | ||||
| .userName{ | .userName{ | ||||
| font-weight: bold; | |||||
| font-size: 30rpx; | |||||
| color: black; | |||||
| font-size:36rpx; | |||||
| font-family:NissanBrand; | |||||
| font-weight:bold; | |||||
| color:rgba(30,27,28,1); | |||||
| } | } | ||||
| .userNameEdit{ | .userNameEdit{ | ||||
| width: 27rpx; | |||||
| height: 27rpx; | |||||
| margin-left: 10rpx; | |||||
| width: 39rpx; | |||||
| height: 40rpx; | |||||
| margin-left: 12rpx; | |||||
| } | } | ||||
| .userMsgBg{ | .userMsgBg{ | ||||
| position: absolute; | position: absolute; | ||||
| .arrowIcon{ | .arrowIcon{ | ||||
| border-left: 10rpx solid transparent; | border-left: 10rpx solid transparent; | ||||
| border-right: 10rpx solid transparent; | border-right: 10rpx solid transparent; | ||||
| border-top: 10rpx solid #0066F9; | |||||
| border-top: 10rpx solid #355485; | |||||
| content: ""; | content: ""; | ||||
| /* position: relative; */ | /* position: relative; */ | ||||
| width: 0; | width: 0; | ||||
| padding-bottom: 64rpx; | padding-bottom: 64rpx; | ||||
| } | } | ||||
| .orderDesc{ | .orderDesc{ | ||||
| width: 614rpx; | |||||
| width: 627rpx; | |||||
| height: 842rpx; | height: 842rpx; | ||||
| margin-bottom: 81rpx; | margin-bottom: 81rpx; | ||||
| } | } | ||||
| } | } | ||||
| .scoutTaskCar{ | .scoutTaskCar{ | ||||
| width: 51rpx; | width: 51rpx; | ||||
| height: 22rpx; | |||||
| height: 21rpx; | |||||
| } | } | ||||
| .barSignIcon{ | .barSignIcon{ | ||||
| position: absolute; | position: absolute; |
| for(let i=0;i<res.data.list.length;i++){ | for(let i=0;i<res.data.list.length;i++){ | ||||
| province.push(res.data.list[i].province); | province.push(res.data.list[i].province); | ||||
| } | } | ||||
| for (let j = 0; j < res.data.list[0].children.length; j++) { | |||||
| city.push(res.data.list[0].children[j].city) | |||||
| for (let j = 0; j < res.data.list[res.data.nearData.provinceIndex].children.length; j++) { | |||||
| city.push(res.data.list[res.data.nearData.provinceIndex].children[j].city) | |||||
| } | } | ||||
| //将数据赋值给变量 | //将数据赋值给变量 | ||||
| this.setData({ | this.setData({ |
| // pages/scoutRule/scoutRule.js | |||||
| const app = getApp() | |||||
| Component({ | |||||
| /** | |||||
| * 组件的属性列表 | |||||
| */ | |||||
| properties: { | |||||
| }, | |||||
| /** | |||||
| * 组件的初始数据 | |||||
| */ | |||||
| data: { | |||||
| imgUrl: app.globalData.urlStatic,//图片路径 | |||||
| }, | |||||
| /** | |||||
| * 组件的方法列表 | |||||
| */ | |||||
| methods: { | |||||
| closeXieyi: function () { | |||||
| this.triggerEvent('scoutRule') | |||||
| } | |||||
| } | |||||
| }) |
| { | |||||
| "component": true, | |||||
| "usingComponents": {} | |||||
| } |
| <!--pages/scoutRule/scoutRule.wxml--> | |||||
| <view class="all"> | |||||
| <view class="main"> | |||||
| <view class="titleText">预约试驾</view> | |||||
| <view class="lineSty"></view> | |||||
| <image class="closeXieyi" bindtap="closeXieyi" src="{{imgUrl+'/images/closeXieyi.png'}}"></image> | |||||
| <image class="newImages46" src="{{imgUrl+'/newImages/46.png'}}"></image> | |||||
| </view> | |||||
| </view> |
| /* pages/scoutRule/scoutRule.wxss */ | |||||
| .main{ | |||||
| width: 750rpx; | |||||
| position: fixed; | |||||
| left: 0; | |||||
| top: 0; | |||||
| height: calc(100vh - 150rpx); | |||||
| overflow: auto; | |||||
| background-color: white; | |||||
| z-index: 99; | |||||
| } | |||||
| .titleText{ | |||||
| width: 682rpx; | |||||
| margin: 0 auto; | |||||
| margin-top: 78rpx; | |||||
| margin-bottom: 28rpx; | |||||
| line-height: 39rpx; | |||||
| font-size:39rpx; | |||||
| font-family:PingFangSC; | |||||
| font-weight:bold; | |||||
| color:rgba(0,77,149,1); | |||||
| } | |||||
| .lineSty{ | |||||
| width: 682rpx; | |||||
| height:2rpx; | |||||
| background-color: #B6B6B6; | |||||
| margin: 0 auto; | |||||
| margin-bottom: 59rpx; | |||||
| } | |||||
| .closeXieyi{ | |||||
| position: absolute; | |||||
| right: 48rpx; | |||||
| top: 38rpx; | |||||
| width: 42rpx; | |||||
| height: 42rpx; | |||||
| } | |||||
| .newImages46{ | |||||
| width: 750rpx; | |||||
| height: 3578rpx; | |||||
| margin-bottom: 77rpx; | |||||
| } |
| <view id="star" class="showView"> | <view id="star" class="showView"> | ||||
| <view class="home"> | <view class="home"> | ||||
| <view class="bgGroup"> | <view class="bgGroup"> | ||||
| <image class="bg" src="{{imgUrl+'/newImages/31.png'}}"></image> | |||||
| <image class="bg" src="{{imgUrl+'/newImages/42.png'}}"></image> | |||||
| <image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages/32.png'}}"></image> | <image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages/32.png'}}"></image> | ||||
| </view> | </view> | ||||
| <image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image> | <image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image> | ||||
| <image class="logo2" src="{{imgUrl+'/star/logo2.png'}}"></image> | <image class="logo2" src="{{imgUrl+'/star/logo2.png'}}"></image> | ||||
| <image class="starRule" bindtap="showRule" src="{{imgUrl+'/newImages/25.png'}}"></image> | |||||
| <image class="starRule" bindtap="showRule" src="{{imgUrl+'/newIcon/2.png'}}"></image> | |||||
| <!-- <view class="ruleBtn" wx:if="{{!maskShow}}" bindtap="showRule">规则说明</view> --> | <!-- <view class="ruleBtn" wx:if="{{!maskShow}}" bindtap="showRule">规则说明</view> --> | ||||
| <!-- <view class="ruleBtn ruleBtnColor" wx:if="{{maskShow}}" bindtap="showRule">规则说明</view> --> | <!-- <view class="ruleBtn ruleBtnColor" wx:if="{{maskShow}}" bindtap="showRule">规则说明</view> --> | ||||
| <view class="propagandaBox"> | <view class="propagandaBox"> |
| .bg { | .bg { | ||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 2814rpx; | |||||
| height: 5377rpx; | |||||
| } | } | ||||
| .home>.logo1 { | .home>.logo1 { | ||||
| top: 175rpx; | top: 175rpx; | ||||
| } | } | ||||
| .starBtn{ | .starBtn{ | ||||
| position: absolute; | |||||
| bottom: 219rpx; | |||||
| left: 50%; | |||||
| transform: translateX(-50%); | |||||
| width: 711rpx; | width: 711rpx; | ||||
| height: 70rpx; | height: 70rpx; | ||||
| margin:60rpx auto; | |||||
| } | } | ||||
| .starRuleTitle{ | .starRuleTitle{ | ||||
| width: 632rpx; | width: 632rpx; | ||||
| .bgGroup{ | .bgGroup{ | ||||
| position: relative; | position: relative; | ||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 2814rpx; | |||||
| height: 5377rpx; | |||||
| } | } |
| for (let i = 0; i < res.data.list.length; i++) { | for (let i = 0; i < res.data.list.length; i++) { | ||||
| province.push(res.data.list[i].province); | province.push(res.data.list[i].province); | ||||
| } | } | ||||
| for (let j = 0; j < res.data.list[0].children.length; j++) { | |||||
| city.push(res.data.list[0].children[j].city) | |||||
| for (let j = 0; j < res.data.list[res.data.nearData.provinceIndex].children.length; j++) { | |||||
| city.push(res.data.list[res.data.nearData.provinceIndex].children[j].city) | |||||
| } | } | ||||
| //将数据赋值给变量 | //将数据赋值给变量 | ||||
| this.setData({ | this.setData({ |
| <image src="{{imgUrl+'/images/selectIcon.png'}}" class="selectIcon"></image> | <image src="{{imgUrl+'/images/selectIcon.png'}}" class="selectIcon"></image> | ||||
| </view> | </view> | ||||
| </picker> | </picker> | ||||
| <image class="newImages50" src="{{imgUrl+'/newImages/50.png'}}"></image> | |||||
| <!-- </view> --> | <!-- </view> --> | ||||
| <view class="agreementGroup"> | <view class="agreementGroup"> | ||||
| <image class="agreeIcon" bindtap="agreementState" src="{{imgUrl+(isAgreement?'/images/agreeIcon.png?v=003':'/images/disagreeIcon.png?v=002')}}"></image> | <image class="agreeIcon" bindtap="agreementState" src="{{imgUrl+(isAgreement?'/images/agreeIcon.png?v=003':'/images/disagreeIcon.png?v=002')}}"></image> |
| border-radius: 20rpx; | border-radius: 20rpx; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| line-height: 65rpx; | line-height: 65rpx; | ||||
| padding: 0 25rpx; | |||||
| padding: 0 35rpx; | |||||
| font-size: 24rpx; | font-size: 24rpx; | ||||
| margin-top: 18rpx; | margin-top: 18rpx; | ||||
| display: flex; | display: flex; | ||||
| border-radius: 20rpx; | border-radius: 20rpx; | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| line-height: 65rpx; | line-height: 65rpx; | ||||
| padding: 0 25rpx; | |||||
| padding: 0 35rpx; | |||||
| font-size: 24rpx; | font-size: 24rpx; | ||||
| margin-top: 18rpx; | margin-top: 18rpx; | ||||
| display: flex; | display: flex; | ||||
| color:rgba(156,157,157,1); | color:rgba(156,157,157,1); | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| } | |||||
| .newImages50{ | |||||
| width: 653rpx; | |||||
| height: 66rpx; | |||||
| margin: 0 auto; | |||||
| margin-top: 18rpx; | |||||
| } | } |
| "name": "认证", | "name": "认证", | ||||
| "pathName": "pages/scout/register/register", | "pathName": "pages/scout/register/register", | ||||
| "query": "" | "query": "" | ||||
| }, | |||||
| { | |||||
| "id": -1, | |||||
| "name": "星探规则", | |||||
| "pathName": "pages/scoutRule/scoutRule", | |||||
| "query": "" | |||||
| } | } | ||||
| ] | ] | ||||
| } | } |