@@ -22,7 +22,9 @@ | |||
"pages/fragmentRule/fragmentRule", | |||
"pages/supplement/supplement", | |||
"pages/prizeDetail/prizeDetail", | |||
"pages/scoutRule/scoutRule" | |||
"pages/scoutRule/scoutRule", | |||
"pages/vrLookCar/vrLookCar", | |||
"pages/configure/configure" | |||
], | |||
"window": { | |||
"backgroundTextStyle": "light", |
@@ -0,0 +1,90 @@ | |||
// pages/configure/configure.js | |||
const app = getApp() | |||
Page({ | |||
/** | |||
* 页面的初始数据 | |||
*/ | |||
data: { | |||
imgUrl: app.globalData.urlStatic,//图片路径 | |||
paramesSwitchNum:0, | |||
carTypeShow:false | |||
}, | |||
/** | |||
* 生命周期函数--监听页面加载 | |||
*/ | |||
onLoad: function (options) { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面初次渲染完成 | |||
*/ | |||
onReady: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面显示 | |||
*/ | |||
onShow: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面隐藏 | |||
*/ | |||
onHide: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面卸载 | |||
*/ | |||
onUnload: function () { | |||
}, | |||
/** | |||
* 页面相关事件处理函数--监听用户下拉动作 | |||
*/ | |||
onPullDownRefresh: function () { | |||
}, | |||
/** | |||
* 页面上拉触底事件的处理函数 | |||
*/ | |||
onReachBottom: function () { | |||
}, | |||
/** | |||
* 用户点击右上角分享 | |||
*/ | |||
onShareAppMessage: function () { | |||
}, | |||
chooseType:function(e){ | |||
if (this.data.paramesSwitchNum == e.currentTarget.dataset.type) { | |||
this.setData({ | |||
paramesSwitchNum: 0 | |||
}) | |||
} else { | |||
this.setData({ | |||
paramesSwitchNum: e.currentTarget.dataset.type | |||
}) | |||
} | |||
}, | |||
backPage:function(){ | |||
wx.navigateBack({ | |||
delta:1 | |||
}) | |||
}, | |||
carTypeControl:function(){ | |||
this.setData({ | |||
carTypeShow: !this.data.carTypeShow | |||
}) | |||
} | |||
}) |
@@ -0,0 +1,4 @@ | |||
{ | |||
"navigationBarTitleText": "启辰星", | |||
"usingComponents": {} | |||
} |
@@ -0,0 +1,76 @@ | |||
<!--pages/configure/configure.wxml--> | |||
<view class="all"> | |||
<view class="topImg"> | |||
<image class="newImages2-82" src="{{imgUrl+'/newImages2/82.png'}}"></image> | |||
</view> | |||
<view class="carTitle"> | |||
<view>车型价格 12.78万元</view> | |||
<view class="selectTypeGroup" bindtap="carTypeControl"> | |||
<view class="selectType"> | |||
<view>260T 手动星悦版</view> | |||
<image class="newImages2-83" src="{{imgUrl+'/newImages2/83.png'}}"></image> | |||
</view> | |||
</view> | |||
</view> | |||
<view class="detailFrame"> | |||
<view class="paramesGroup {{paramesSwitchNum==1?'selectSty':''}}" bindtap="chooseType" data-type="1"> | |||
<view class="paramesContent"> | |||
<view>基本参数</view> | |||
<image class="newImages2-84" wx:if="{{paramesSwitchNum!=1}}" src="{{imgUrl+'/newImages2/84.png'}}"></image> | |||
<image class="newImages2-86" wx:if="{{paramesSwitchNum==1}}" src="{{imgUrl+'/newImages2/86.png'}}"></image> | |||
</view> | |||
</view> | |||
<image class="newImages2-87" wx:if="{{paramesSwitchNum==1}}" src="{{imgUrl+'/newImages2/87.png'}}"></image> | |||
<view class="paramesGroup {{paramesSwitchNum==2?'selectSty':''}}" bindtap="chooseType" data-type="2"> | |||
<view class="paramesContent"> | |||
<view>全新造型</view> | |||
<image class="newImages2-84" wx:if="{{paramesSwitchNum!=2}}" src="{{imgUrl+'/newImages2/84.png'}}"></image> | |||
<image class="newImages2-86" wx:if="{{paramesSwitchNum==2}}" src="{{imgUrl+'/newImages2/86.png'}}"></image> | |||
</view> | |||
</view> | |||
<view class="paramesGroup {{paramesSwitchNum==3?'selectSty':''}}" bindtap="chooseType" data-type="3"> | |||
<view class="paramesContent"> | |||
<view>联盟技术</view> | |||
<image class="newImages2-84" wx:if="{{paramesSwitchNum!=3}}" src="{{imgUrl+'/newImages2/84.png'}}"></image> | |||
<image class="newImages2-86" wx:if="{{paramesSwitchNum==3}}" src="{{imgUrl+'/newImages2/86.png'}}"></image> | |||
</view> | |||
</view> | |||
<view class="paramesGroup {{paramesSwitchNum==4?'selectSty':''}}" bindtap="chooseType" data-type="4"> | |||
<view class="paramesContent"> | |||
<view>智趣科技</view> | |||
<image class="newImages2-84" wx:if="{{paramesSwitchNum!=4}}" src="{{imgUrl+'/newImages2/84.png'}}"></image> | |||
<image class="newImages2-86" wx:if="{{paramesSwitchNum==4}}" src="{{imgUrl+'/newImages2/86.png'}}"></image> | |||
</view> | |||
</view> | |||
<image class="newImages2-88" wx:if="{{paramesSwitchNum==4}}" src="{{imgUrl+'/newImages2/88.png'}}"></image> | |||
<view class="paramesGroup {{paramesSwitchNum==5?'selectSty':''}}" bindtap="chooseType" data-type="5"> | |||
<view class="paramesContent" style="border:none;"> | |||
<view>越级舒适</view> | |||
<image class="newImages2-84" wx:if="{{paramesSwitchNum!=5}}" src="{{imgUrl+'/newImages2/84.png'}}"></image> | |||
<image class="newImages2-86" wx:if="{{paramesSwitchNum==5}}" src="{{imgUrl+'/newImages2/86.png'}}"></image> | |||
</view> | |||
</view> | |||
<image class="newImages2-89" wx:if="{{paramesSwitchNum==5}}" src="{{imgUrl+'/newImages2/89.png'}}"></image> | |||
</view> | |||
<image class="newImages2-90" src="{{imgUrl+'/newImages2/90.png'}}"></image> | |||
<image class="newImages2-85" bindtap="backPage" src="{{imgUrl+'/newImages2/85.png'}}"></image> | |||
<image class="newImages2-91" src="{{imgUrl+'/newImages2/91.png'}}"></image> | |||
<view class="carTypeFrame" wx:if="{{carTypeShow}}"> | |||
<view class="carTypeGroup" bindtap="carTypeControl"> | |||
<view>260T 自动</view> | |||
<view>星尚版</view> | |||
</view> | |||
<view class="carTypeGroup" bindtap="carTypeControl"> | |||
<view>260T 48V轻混增压</view> | |||
<view>星享版</view> | |||
</view> | |||
<view class="carTypeGroup" bindtap="carTypeControl"> | |||
<view>260T 48V轻混增压</view> | |||
<view>星睿版</view> | |||
</view> | |||
<view class="carTypeGroup" bindtap="carTypeControl"> | |||
<view>260T 48V轻混增压</view> | |||
<view>星曜版</view> | |||
</view> | |||
</view> | |||
</view> |
@@ -0,0 +1,121 @@ | |||
/* pages/configure/configure.wxss */ | |||
image{ | |||
display: block; | |||
} | |||
view{ | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
.topImg{ | |||
display: flex; | |||
justify-content: center; | |||
padding: 80rpx 0; | |||
} | |||
.newImages2-82{ | |||
width: 444rpx; | |||
height: 47rpx; | |||
} | |||
.carTitle{ | |||
height: 102rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 0 30rpx; | |||
background-color: black; | |||
font-size:30rpx; | |||
font-family:PingFangSC; | |||
font-weight:300; | |||
color:rgba(255,255,255,1); | |||
line-height:30rpx; | |||
} | |||
.newImages2-83{ | |||
width: 23rpx; | |||
height: 14rpx; | |||
margin-left: 6rpx; | |||
} | |||
.selectTypeGroup{ | |||
height: 100%; | |||
display: flex; | |||
align-items: center; | |||
} | |||
.selectType{ | |||
display: flex; | |||
align-items: flex-end; | |||
} | |||
.paramesGroup{ | |||
padding: 0 35rpx; | |||
} | |||
.newImages2-84{ | |||
width: 23rpx; | |||
height: 12rpx; | |||
} | |||
.paramesContent{ | |||
height: 120rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding-left: 33rpx; | |||
padding-right: 47rpx; | |||
font-size:30rpx; | |||
font-family:PingFangSC; | |||
font-weight:500; | |||
color:rgba(0,0,0,1); | |||
line-height:30rpx; | |||
border-bottom: 2rpx solid #F0EDF1; | |||
box-sizing: border-box; | |||
} | |||
.selectSty{ | |||
background-color: #F0EDF1; | |||
border: none; | |||
} | |||
.newImages2-85{ | |||
width: 49rpx; | |||
height: 50rpx; | |||
margin: 0 auto; | |||
margin-top: 50rpx; | |||
} | |||
.newImages2-86{ | |||
width: 23rpx; | |||
height: 4rpx; | |||
margin-left: 6rpx; | |||
} | |||
.newImages2-87{ | |||
width: 750rpx; | |||
height: 5085rpx; | |||
} | |||
.newImages2-88{ | |||
width: 750rpx; | |||
height: 1296rpx; | |||
} | |||
.newImages2-89{ | |||
width: 750rpx; | |||
height: 1597rpx; | |||
} | |||
.newImages2-90{ | |||
width: 565rpx; | |||
height: 215rpx; | |||
margin: 50rpx auto; | |||
} | |||
.newImages2-91{ | |||
width: 271rpx; | |||
height: 10rpx; | |||
margin: 150rpx auto 50rpx; | |||
} | |||
.carTypeFrame{ | |||
position: absolute; | |||
top: 309rpx; | |||
right: 0; | |||
background-color: black; | |||
} | |||
.carTypeGroup{ | |||
width: 340rpx; | |||
height: 100rpx; | |||
font-size:30rpx; | |||
font-family:NissanBrand; | |||
font-weight:300; | |||
color:rgba(255,255,255,1); | |||
line-height:40rpx; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
} |
@@ -38,7 +38,25 @@ Page({ | |||
showAppointment:false, | |||
placing:false, | |||
buyState:false, | |||
isStartAdvertisingFunState:false | |||
isStartAdvertisingFunState:false, | |||
swiperGroup:{ | |||
one:{ | |||
nums:4, | |||
current:0 | |||
}, | |||
two: { | |||
nums: 4, | |||
current: 0 | |||
}, | |||
three: { | |||
nums: 7, | |||
current: 0 | |||
}, | |||
four: { | |||
nums: 2, | |||
current: 0 | |||
} | |||
} | |||
}, | |||
onLoad: function (options) { | |||
if (app.globalData.isFirstLogin){ | |||
@@ -75,39 +93,6 @@ Page({ | |||
subscribeData: this.data.subscribeData | |||
}) | |||
} | |||
if (app.globalData.isFirstLogin) { | |||
this.getHomeBanner();//获取banner | |||
this.getHomeVideo();//获取视频 | |||
} else { | |||
if (app.globalData.indexData.bannerList){ | |||
this.setData({ | |||
bannerList: app.globalData.indexData.bannerList | |||
}) | |||
} else { | |||
this.getHomeBanner();//获取banner | |||
} | |||
if (app.globalData.indexData.videoList) { | |||
this.setData({ | |||
videoList: app.globalData.indexData.videoList | |||
}) | |||
} else { | |||
this.getHomeVideo();//获取视频 | |||
} | |||
if (app.globalData.indexData.provinceArr){ | |||
this.setData({ | |||
provinceArr: app.globalData.indexData.provinceArr, | |||
storeArr: app.globalData.indexData.storeArr, | |||
provinceValue: app.globalData.indexData.provinceValue, | |||
storeValue: app.globalData.indexData.storeValue | |||
}) | |||
this.data.subscribeData.province = this.data.provinceArr[this.data.provinceValue].province; | |||
this.data.subscribeData.agentDetail = this.data.storeArr[this.data.storeValue].agent_detail; | |||
this.data.subscribeData.agent_code = this.data.storeArr[this.data.storeValue].agent_code; | |||
} | |||
} | |||
// if (!app.globalData.isRegister) { | |||
// this.getOrderInfo(); | |||
// } | |||
this.setData({ | |||
mainShow: true, | |||
isStartAdvertisingShow: this.data.isOnce ? true : app.globalData.isFirstLogin, | |||
@@ -203,11 +188,11 @@ Page({ | |||
}) | |||
} | |||
}, | |||
swiperChange(e){//通过鼠标滑动改变swiper时 | |||
this.setData({ | |||
swiperCurrent: e.detail.current, | |||
}) | |||
}, | |||
// swiperChange(e){//通过鼠标滑动改变swiper时 | |||
// this.setData({ | |||
// swiperCurrent: e.detail.current, | |||
// }) | |||
// }, | |||
getDistributorList: function (longitude, latitude){//获取经销商列表 | |||
app.wxRequest(app.globalData.urlRoot + "agent/getAgentList", { longitude: longitude, latitude: latitude}, res => { | |||
if (res.code == 200) { | |||
@@ -480,6 +465,16 @@ Page({ | |||
url: '/pages/moreType/moreType', | |||
}) | |||
}, | |||
vrLookCar: function () { | |||
wx.navigateTo({ | |||
url: '/pages/vrLookCar/vrLookCar', | |||
}) | |||
}, | |||
lookConfigure: function () { | |||
wx.navigateTo({ | |||
url: '/pages/configure/configure', | |||
}) | |||
}, | |||
openAppointment:function(){//预约 | |||
this.setData({ | |||
showAppointment: !this.data.showAppointment | |||
@@ -494,5 +489,50 @@ Page({ | |||
this.setData({ | |||
placing: !this.data.placing | |||
}) | |||
}, | |||
swiperChange:function(e){ | |||
var num = e.currentTarget.dataset.num; | |||
if(num==1){ | |||
this.data.swiperGroup.one.current = e.detail.current; | |||
} else if (num == 2) { | |||
this.data.swiperGroup.two.current = e.detail.current; | |||
} else if (num == 3) { | |||
this.data.swiperGroup.three.current = e.detail.current; | |||
} else if (num == 4) { | |||
this.data.swiperGroup.four.current = e.detail.current; | |||
} | |||
this.setData({ | |||
swiperGroup: this.data.swiperGroup | |||
}) | |||
}, | |||
leftSlide:function(e){ | |||
var num = e.currentTarget.dataset.num; | |||
if (num == 1 && this.data.swiperGroup.one.current>0) { | |||
this.data.swiperGroup.one.current-=1; | |||
} else if (num == 2 && this.data.swiperGroup.two.current > 0) { | |||
this.data.swiperGroup.two.current -= 1; | |||
} else if (num == 3 && this.data.swiperGroup.three.current > 0) { | |||
this.data.swiperGroup.three.current -= 1; | |||
} else if (num == 4 && this.data.swiperGroup.four.current > 0) { | |||
this.data.swiperGroup.four.current -= 1; | |||
} | |||
this.setData({ | |||
swiperGroup: this.data.swiperGroup | |||
}) | |||
}, | |||
rightSlide: function (e) { | |||
var num = e.currentTarget.dataset.num; | |||
if (num == 1 && this.data.swiperGroup.one.current < this.data.swiperGroup.one.nums-1) { | |||
this.data.swiperGroup.one.current += 1; | |||
} else if (num == 2 && this.data.swiperGroup.two.current < this.data.swiperGroup.two.nums - 1) { | |||
this.data.swiperGroup.two.current += 1; | |||
} else if (num == 3 && this.data.swiperGroup.three.current < this.data.swiperGroup.three.nums - 1) { | |||
this.data.swiperGroup.three.current += 1; | |||
} else if (num == 4 && this.data.swiperGroup.four.current < this.data.swiperGroup.four.nums - 1) { | |||
this.data.swiperGroup.four.current += 1; | |||
} | |||
this.setData({ | |||
swiperGroup: this.data.swiperGroup | |||
}) | |||
} | |||
}) |
@@ -1,71 +1,78 @@ | |||
<!--index.wxml--> | |||
<view class="all" wx:if="{{mainShow}}"> | |||
<view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"> | |||
<image class="indexOrderIcon" wx:if="{{!buyState}}" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> | |||
<view class="contentFrame"> | |||
<image class="kvurlImg" style="width:100%;height:{{kvurlH}}px;" mode="widthFix" src="{{kvurl}}"></image> | |||
<image style="width:750rpx;height:331rpx;" src="{{imgUrl+'/images/indexText.png'}}"></image> | |||
<view class="swiperFrame"> | |||
<swiper class="swiperSty" autoplay current="{{swiperCurrent}}" bindchange="swiperChange"> | |||
<swiper-item wx:for="{{bannerList}}" wx:key="index"><image src="{{item.bannerUrl}}" style="width:750rpx;height:530rpx;" mode="aspectFill"></image></swiper-item> | |||
</swiper> | |||
<image class="leftArrow" bindtap="prevImg" src="{{imgUrl+'/images/leftArrow.png'}}"></image> | |||
<image class="rightArrow" bindtap="nextImg" src="{{imgUrl+'/images/rightArrow.png'}}"></image> | |||
<image class="newImages2-76" src="{{imgUrl+'/newImages2/76.jpg'}}"></image> | |||
<image class="newImages2-11" wx:if="{{!buyState}}" bindtap="placingControl" src="{{imgUrl+'/newImages2/11.png'}}"></image> | |||
<image class="newImages2-12" bindtap="lookConfigure" src="{{imgUrl+'/newImages2/12.png'}}"></image> | |||
<image class="newImages2-13" bindtap="vrLookCar" src="{{imgUrl+'/newImages2/13.png'}}"></image> | |||
<swiper class="swiper1" bindchange="swiperChange" data-num="1" current="{{swiperGroup.one.current}}"> | |||
<swiper-item wx:for="{{swiperGroup.one.nums}}" wx:key="index"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages2/testImg/1/'+(index+1)+'_1.png'}}"></image> | |||
</swiper-item> | |||
</swiper> | |||
<view class="arrow-left-1"> | |||
<image class="newImages2-78" bindtap="leftSlide" data-num="1" src="{{imgUrl+'/newImages2/78.png'}}"></image> | |||
</view> | |||
<view class="bannerBarFrame"> | |||
<!-- <view class="bannerBarGroup"> | |||
<view class="bannerBar1 {{index==swiperCurrent?'bannerBar2':''}}" wx:for="{{bannerList}}" wx:key="index"></view> | |||
</view> --> | |||
<view class="bannerName">{{bannerList[swiperCurrent].bannerName}}</view> | |||
<view class="arrow-right-1"> | |||
<image class="newImages2-78" bindtap="rightSlide" data-num="1" src="{{imgUrl+'/newImages2/79.png'}}"></image> | |||
</view> | |||
<view class="videoSty"> | |||
<video id="video" poster="{{videoList.posterUrl}}" src="{{videoList.videoUrl}}"></video> | |||
<image wx:if="{{!videoVideoControls}}" class="videoPoster" src="{{videoList.posterUrl}}"></image> | |||
<image wx:if="{{!videoVideoControls}}" bindtap="hideVideoControls" class="videoPlay" src="{{imgUrl+'/images/videoPlay.png'}}"></image> | |||
<view class="dotGroup1"> | |||
<image class="{{swiperGroup.one.current!=index?'newImages2-80':'newImages2-81'}}" wx:for="{{swiperGroup.one.nums}}" wx:key="index" src="{{imgUrl+'/newImages2/'+(swiperGroup.one.current!=index?'80':'81')+'.png'}}"></image> | |||
</view> | |||
<view class="interval1"></view> | |||
<view class="indexBottom2Group"> | |||
<image class="indexBottom" src="{{imgUrl+'/images/indexBottom2.png?v=002'}}"></image> | |||
<view class="lookMore" bindtap="lookMore"></view> | |||
<image class="testText" src="{{imgUrl+'/newImages2/testImg/1/'+(swiperGroup.one.current+1)+'_2.png?v=001'}}"></image> | |||
<swiper class="swiper2" bindchange="swiperChange" data-num="2" current="{{swiperGroup.two.current}}"> | |||
<swiper-item wx:for="{{swiperGroup.two.nums}}" wx:key="index"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages2/testImg/2/'+(index+1)+'_1.png'}}"></image> | |||
</swiper-item> | |||
</swiper> | |||
<view class="arrow-left-2"> | |||
<image class="newImages2-78" bindtap="leftSlide" data-num="2" src="{{imgUrl+'/newImages2/78.png'}}"></image> | |||
</view> | |||
<view wx:if="{{!buyState}}" class="indexBottom2"></view> | |||
</view> | |||
<!-- <view class="msgFrame" wx:if="{{!isRegister}}"> --> | |||
<view class="msgFrame" wx:if="{{false}}"> | |||
<view class="inputGroup"> | |||
<input class="inputSty" placeholder="姓名" value="{{subscribeData.realname}}" bindinput="getRealname"></input> | |||
<input class="inputSty" bindinput="getMobile" type="number" value="{{subscribeData.mobile}}" maxlength='11' placeholder="电话"></input> | |||
<view class="getPhoneFrame" wx:if="{{!phoneInputShow}}"> | |||
<button class="getPhoneBtn" style="width:100%;height:100%;min-height:0;" open-type="getPhoneNumber" bindgetphonenumber="getUserPhone"></button> | |||
</view> | |||
<view class="arrow-right-2"> | |||
<image class="newImages2-78" bindtap="rightSlide" data-num="2" src="{{imgUrl+'/newImages2/79.png'}}"></image> | |||
</view> | |||
<view class="dotGroup2"> | |||
<image class="{{swiperGroup.two.current!=index?'newImages2-80':'newImages2-81'}}" wx:for="{{swiperGroup.two.nums}}" wx:key="index" src="{{imgUrl+'/newImages2/'+(swiperGroup.two.current!=index?'80':'81')+'.png'}}"></image> | |||
</view> | |||
<image class="testText2" src="{{imgUrl+'/newImages2/testImg/2/'+(swiperGroup.two.current+1)+'_2.png'}}"></image> | |||
<swiper class="swiper3" bindchange="swiperChange" data-num="3" current="{{swiperGroup.three.current}}"> | |||
<swiper-item wx:for="{{swiperGroup.three.nums}}" wx:key="index"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages2/testImg/3/'+(index+1)+'_1.png'}}"></image> | |||
</swiper-item> | |||
</swiper> | |||
<view class="arrow-left-3"> | |||
<image class="newImages2-78" bindtap="leftSlide" data-num="3" src="{{imgUrl+'/newImages2/78.png'}}"></image> | |||
</view> | |||
<view class="arrow-right-3"> | |||
<image class="newImages2-78" bindtap="rightSlide" data-num="3" src="{{imgUrl+'/newImages2/79.png'}}"></image> | |||
</view> | |||
<view class="dotGroup3"> | |||
<image class="{{swiperGroup.three.current!=index?'newImages2-80':'newImages2-81'}}" wx:for="{{swiperGroup.three.nums}}" wx:key="index" src="{{imgUrl+'/newImages2/'+(swiperGroup.three.current!=index?'80':'81')+'.png'}}"></image> | |||
</view> | |||
<image class="testText3" src="{{imgUrl+'/newImages2/testImg/3/'+(swiperGroup.three.current+1)+'_2.png'}}"></image> | |||
<swiper class="swiper4" bindchange="swiperChange" data-num="4" current="{{swiperGroup.four.current}}"> | |||
<swiper-item wx:for="{{swiperGroup.four.nums}}" wx:key="index"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages2/testImg/4/'+(index+1)+'_1.png'}}"></image> | |||
</swiper-item> | |||
</swiper> | |||
<view class="arrow-left-4"> | |||
<image class="newImages2-78" bindtap="leftSlide" data-num="4" src="{{imgUrl+'/newImages2/78.png'}}"></image> | |||
</view> | |||
<view class="codeGroup"> | |||
<input class="inputCode" bindfocus="showSite" bindinput="getCaptcha" value="{{subscribeData.captcha}}" placeholder="验证码"></input> | |||
<view class="codeTime" bindtap="getCode">{{verificationCode}}</view> | |||
<view class="arrow-right-4"> | |||
<image class="newImages2-78" bindtap="rightSlide" data-num="4" src="{{imgUrl+'/newImages2/79.png'}}"></image> | |||
</view> | |||
<view wx:if="{{siteSelect}}"> | |||
<picker mode='selector' range="{{provinceArr}}" range-key="province" value="{{provinceValue}}" bindchange="provinceChane"> | |||
<view class="selectGroup"> | |||
<text class="selectName">{{provinceArr[provinceValue].province}}</text> | |||
<image src="{{imgUrl+'/images/selectIcon.png'}}" class="selectIcon"></image> | |||
</view> | |||
</picker> | |||
<picker mode='selector' range="{{storeArr}}" range-key="agent_detail" value="{{storeValue}}" bindchange="storeChane"> | |||
<view class="selectGroup"> | |||
<text class="selectName">{{storeArr[storeValue].agent_detail}}</text> | |||
<image src="{{imgUrl+'/images/selectIcon.png'}}" class="selectIcon"></image> | |||
</view> | |||
</picker> | |||
<view class="dotGroup4"> | |||
<image class="{{swiperGroup.four.current!=index?'newImages2-80':'newImages2-81'}}" wx:for="{{swiperGroup.four.nums}}" wx:key="index" src="{{imgUrl+'/newImages2/'+(swiperGroup.four.current!=index?'80':'81')+'.png'}}"></image> | |||
</view> | |||
<view class="subscribeBtn" bindtap="subscribeFun"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/btns/indexMake.png'}}"></image> | |||
<button wx:if="{{!userData}}" class="getUserMsgBtn" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="getUserWxMsg" style="width:100%;height:100%;min-height:0;"></button> | |||
<image class="testText4" src="{{imgUrl+'/newImages2/testImg/4/'+(swiperGroup.four.current+1)+'_2.png'}}"></image> | |||
<view class="lookMoreCar"> | |||
<image class="newImages2-14" bindtap="lookMore" src="{{imgUrl+'/newImages2/14.png'}}"></image> | |||
</view> | |||
</view> | |||
<service></service> | |||
<placingOrder bindplacing="placingControl" wx:if="{{placing}}"></placingOrder> | |||
</view> | |||
<tabBar wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"></tabBar> | |||
<!-- <view wx:if="{{isStartAdvertisingShow}}" class='imgBg' catchtouchmove="ture"></view> --> | |||
<image wx:if="{{isStartAdvertisingShow}}" bindtap="isStartAdvertisingFun" mode="widthFix" style="opacity:{{isStartAdvertising}};" src="{{startAdvertisingUrl}}" class='imgBg' catchtouchmove="ture"></image> | |||
<image wx:if="{{isStartAdvertisingShow}}" bindtap="isStartAdvertisingFun" mode="widthFix" style="opacity:{{isStartAdvertising}};" src="{{startAdvertisingUrl}}" class='imgBg' catchtouchmove="ture"></image> | |||
</view> |
@@ -235,4 +235,166 @@ view{ | |||
width: 710rpx; | |||
height: 71rpx; | |||
z-index: 9; | |||
} | |||
.contentFrame{ | |||
position: relative; | |||
} | |||
.newImages2-76{ | |||
width: 750rpx; | |||
height: 9912rpx; | |||
} | |||
.lookMoreCar{ | |||
width: 750rpx; | |||
padding: 60rpx 0; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background-color: #00a0e9; | |||
} | |||
.newImages2-14{ | |||
width: 448rpx; | |||
height: 69rpx; | |||
} | |||
.newImages2-11{ | |||
width:389rpx; | |||
height: 60rpx; | |||
position: absolute; | |||
top: 971rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
} | |||
.newImages2-12{ | |||
width:390rpx; | |||
height: 62rpx; | |||
position: absolute; | |||
top: 3262rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
} | |||
.newImages2-13{ | |||
width:391rpx; | |||
height: 62rpx; | |||
position: absolute; | |||
top: 3632rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
} | |||
.swiper1{ | |||
position: absolute; | |||
left: 0; | |||
top: 4560rpx; | |||
width: 750rpx; | |||
height: 477rpx; | |||
} | |||
.arrow-left-1,.arrow-right-1,.arrow-left-2,.arrow-right-2,.arrow-left-3,.arrow-right-3,.arrow-left-4,.arrow-right-4{ | |||
position: absolute; | |||
top: 4560rpx; | |||
height: 477rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.arrow-left-1,.arrow-left-2,.arrow-left-3,.arrow-left-4{ | |||
left: 18rpx; | |||
} | |||
.arrow-right-1,.arrow-right-2,.arrow-right-3,.arrow-right-4{ | |||
right:18rpx; | |||
} | |||
.arrow-left-2,.arrow-right-2{ | |||
top: 5954rpx; | |||
height: 496rpx; | |||
} | |||
.arrow-left-3,.arrow-right-3{ | |||
top: 7524rpx; | |||
height: 402rpx; | |||
} | |||
.arrow-left-4,.arrow-right-4{ | |||
top: 9010rpx; | |||
height: 447rpx; | |||
} | |||
.newImages2-78{ | |||
width: 26rpx; | |||
height: 117rpx; | |||
} | |||
.dotGroup1,.dotGroup2,.dotGroup3,.dotGroup4{ | |||
position: absolute; | |||
left: 0; | |||
top: 5003rpx; | |||
width: 750rpx; | |||
height: 16rpx; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.dotGroup2{ | |||
top: 6423rpx; | |||
} | |||
.dotGroup3{ | |||
top: 7894rpx; | |||
} | |||
.dotGroup4{ | |||
top: 9421rpx; | |||
} | |||
.newImages2-80{ | |||
width: 17rpx; | |||
height: 16rpx; | |||
margin: 0 5rpx; | |||
} | |||
.newImages2-81{ | |||
width: 69rpx; | |||
height: 16rpx; | |||
margin: 0 5rpx; | |||
} | |||
.testText{ | |||
position: absolute; | |||
top: 5049rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 732rpx; | |||
height: 82rpx; | |||
} | |||
.swiper2{ | |||
position: absolute; | |||
left: 0; | |||
top: 5954rpx; | |||
width: 750rpx; | |||
height: 496rpx; | |||
} | |||
.testText2{ | |||
position: absolute; | |||
top: 6476rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 653rpx; | |||
height: 99rpx; | |||
} | |||
.swiper3{ | |||
position: absolute; | |||
left: 0; | |||
top: 7524rpx; | |||
width: 750rpx; | |||
height: 402rpx; | |||
} | |||
.testText3{ | |||
position: absolute; | |||
top: 7953rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 525rpx; | |||
height: 101rpx; | |||
} | |||
.swiper4{ | |||
position: absolute; | |||
left: 0; | |||
top: 9010rpx; | |||
width: 750rpx; | |||
height: 447rpx; | |||
} | |||
.testText4{ | |||
position: absolute; | |||
top: 9481rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 518rpx; | |||
height: 99rpx; | |||
} |
@@ -4,7 +4,9 @@ | |||
<view class="titleText">星探规则</view> | |||
<view class="lineSty"></view> | |||
<image class="closeXieyi" bindtap="closeXieyi" src="{{imgUrl+'/images/closeXieyi.png'}}"></image> | |||
<image class="newImages46" src="{{imgUrl+'/newImages2/35.png'}}"></image> | |||
<image class="newImages2-4" bindtap="cutPage" src="{{imgUrl+'/newImages2/4.png'}}"></image> | |||
<view style="position: relative;"> | |||
<image class="newImages46" src="{{imgUrl+'/newImages2/77.png'}}"></image> | |||
<image class="newImages2-4" bindtap="cutPage" src="{{imgUrl+'/newImages2/4.png'}}"></image> | |||
</view> | |||
</view> | |||
</view> |
@@ -36,12 +36,13 @@ | |||
} | |||
.newImages46{ | |||
width: 750rpx; | |||
height: 4927rpx; | |||
margin-bottom: 70rpx; | |||
height: 5628rpx; | |||
} | |||
.newImages2-4{ | |||
position: absolute; | |||
bottom: 70rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 711rpx; | |||
height: 70rpx; | |||
margin: 0 auto; | |||
margin-bottom: 70rpx; | |||
} |
@@ -2,7 +2,7 @@ | |||
<view id="star" class="showView"> | |||
<view class="home"> | |||
<view class="bgGroup"> | |||
<image class="bg" src="{{imgUrl+'/newImages2/5.png'}}"></image> | |||
<image class="bg" src="{{imgUrl+'/newImages2/76.png'}}"></image> | |||
<image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages2/4.png'}}"></image> | |||
</view> | |||
<image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image> |
@@ -10,7 +10,7 @@ view{ | |||
.bg { | |||
width: 750rpx; | |||
height: 6570rpx; | |||
height: 7008rpx; | |||
} | |||
.home>.logo1 { | |||
@@ -184,7 +184,7 @@ view{ | |||
.bgGroup{ | |||
position: relative; | |||
width: 750rpx; | |||
height: 6570rpx; | |||
height: 7008rpx; | |||
} | |||
.newImages2-4{ | |||
position: absolute; |
@@ -0,0 +1,66 @@ | |||
// pages/vrLookCar/vrLookCar.js | |||
Page({ | |||
/** | |||
* 页面的初始数据 | |||
*/ | |||
data: { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面加载 | |||
*/ | |||
onLoad: function (options) { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面初次渲染完成 | |||
*/ | |||
onReady: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面显示 | |||
*/ | |||
onShow: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面隐藏 | |||
*/ | |||
onHide: function () { | |||
}, | |||
/** | |||
* 生命周期函数--监听页面卸载 | |||
*/ | |||
onUnload: function () { | |||
}, | |||
/** | |||
* 页面相关事件处理函数--监听用户下拉动作 | |||
*/ | |||
onPullDownRefresh: function () { | |||
}, | |||
/** | |||
* 页面上拉触底事件的处理函数 | |||
*/ | |||
onReachBottom: function () { | |||
}, | |||
/** | |||
* 用户点击右上角分享 | |||
*/ | |||
onShareAppMessage: function () { | |||
} | |||
}) |
@@ -0,0 +1,4 @@ | |||
{ | |||
"navigationBarTitleText": "Venucia", | |||
"usingComponents": {} | |||
} |
@@ -0,0 +1,2 @@ | |||
<!--pages/vrLookCar/vrLookCar.wxml--> | |||
<web-view src="https://xr.realibox.com/dongfeng-venucia"></web-view> |
@@ -0,0 +1 @@ | |||
/* pages/vrLookCar/vrLookCar.wxss */ |
@@ -170,7 +170,13 @@ | |||
"name": "星探规则", | |||
"pathName": "pages/scoutRule/scoutRule", | |||
"query": "" | |||
} | |||
}, | |||
{ | |||
"id": -1, | |||
"name": "查看完整配置", | |||
"pathName": "pages/configure/configure", | |||
"query": "" | |||
} | |||
] | |||
} | |||
} |