suizhijia пре 5 година
родитељ
комит
f6b06e9d53
14 измењених фајлова са 233 додато и 31 уклоњено
  1. +1
    -1
      496_dongfengqichen/pages/guess/guess.wxml
  2. +1
    -1
      496_dongfengqichen/pages/guess/guess.wxss
  3. +53
    -0
      496_dongfengqichen/pages/guessPrize/guessPrize.js
  4. +38
    -11
      496_dongfengqichen/pages/guessPrize/guessPrize.wxml
  5. +121
    -0
      496_dongfengqichen/pages/guessPrize/guessPrize.wxss
  6. +1
    -1
      496_dongfengqichen/pages/index/index.wxml
  7. +1
    -1
      496_dongfengqichen/pages/mobileVerification/mobileVerification.wxml
  8. +1
    -1
      496_dongfengqichen/pages/mobileVerification/mobileVerification.wxss
  9. +10
    -10
      496_dongfengqichen/pages/myCenter/myCenter.wxml
  10. +1
    -1
      496_dongfengqichen/pages/placingOrder/placingOrder.wxml
  11. +1
    -1
      496_dongfengqichen/pages/poster/poster.js
  12. +1
    -1
      496_dongfengqichen/pages/poster/poster.wxml
  13. +1
    -1
      496_dongfengqichen/pages/star/star.wxss
  14. +2
    -1
      496_dongfengqichen/pages/vrLookCar/vrLookCar.wxml

+ 1
- 1
496_dongfengqichen/pages/guess/guess.wxml Прегледај датотеку

@@ -1,7 +1,7 @@
<!--pages/guess/guess.wxml-->
<view class="all">
<view class="main">
<image class="pageBg" src="{{imgUrl+'/versions/3.png?v=002'}}"></image>
<image class="pageBg" src="{{imgUrl+'/newImages4/20.png'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages4/17.png'}}"></image>
<image class="startBtn" bindtap="enterGuessPrize" src="{{imgUrl+'/versions/2.png?v=002'}}"></image>
<image class="drawBtn" bindtap="enterLucky" src="{{imgUrl+'/versions/1.png'}}"></image>

+ 1
- 1
496_dongfengqichen/pages/guess/guess.wxss Прегледај датотеку

@@ -12,7 +12,7 @@ view{
}
.pageBg{
width: 750rpx;
height: 1389rpx;
height: 1390rpx;
}
.gameRule{
width: 750rpx;

+ 53
- 0
496_dongfengqichen/pages/guessPrize/guessPrize.js Прегледај датотеку

@@ -17,6 +17,12 @@ Page({
slideState:false,//滑动状态
slideNum:0,//滑动距离
slideDay:['0','0'],//距离上市时间
submitBefore:true,//提交预测价格之前
inputValue:"",//输入的价格
stringValue:"",
tipWindow:false,//是否显示价格超出的提示弹窗
tipWindow2:false,
focusState:false
},

/**
@@ -124,6 +130,7 @@ Page({
this.data.guessPriceArr[i] = parseInt(this.data.guessPriceArr[i]);
}
this.setData({
submitBefore:false,
firstPrice:true,
guessPriceArr:this.data.guessPriceArr
})
@@ -146,8 +153,10 @@ Page({
this.data.httpState = false;
if (res.code == 200) {
this.setData({
submitBefore:false,
firstPrice:true
})
this.tipWindowControl2();
this.shareWindowControl();
}else{
wx.showToast({
@@ -233,5 +242,49 @@ Page({
slideDay:slideNum//距离上市时间
})
}
},
getValue:function(e){
this.data.inputValue = e.detail.value;
this.setData({
stringValue:e.detail.value
})
},
submitPrice2:function(){
if(this.data.inputValue>150000 || this.data.inputValue<110000){
this.tipWindowControl();
}else{
this.data.guessPrice = this.data.inputValue;
this.data.guessPriceArr = this.data.guessPrice.toString().split("");
for(let i=0;i<this.data.guessPriceArr.length;i++){
this.data.guessPriceArr[i] = parseInt(this.data.guessPriceArr[i]);
}
this.setData({
guessPriceArr:this.data.guessPriceArr
})
console.log(this.data.guessPrice);
console.log(this.data.guessPriceArr);
this.tipWindowControl2();
}
// this.submitFirstGuessInfo();
},
tipWindowControl:function(){
this.setData({
tipWindow:!this.data.tipWindow
})
},
tipWindowControl2:function(){
this.setData({
tipWindow2:!this.data.tipWindow2
})
},
focusControl:function(){
this.setData({
focusState:true
})
},
focusControl2:function(){
this.setData({
focusState:false
})
}
})

+ 38
- 11
496_dongfengqichen/pages/guessPrize/guessPrize.wxml Прегледај датотеку

@@ -7,19 +7,31 @@
<image class="versions-15" src="{{imgUrl+'/versions/15.png'}}"></image>
<image class="versions-9" bindtap="lookConfigure" src="{{imgUrl+'/versions/9.png'}}"></image>
<image class="versions-16" src="{{imgUrl+'/versions/16.png'}}"></image>
<image class="versions-17" src="{{imgUrl+'/versions/17.png'}}"></image>
<view class="selectFream">
<image class="versions-19" src="{{imgUrl+'/versions/19.png'}}"></image>
<view class="priceGroup" bindtouchstart="stratMove" bindtouchend="endMove" wx:for="{{guessPriceArr}}" wx:key="index" data-index="{{index}}" style="left:{{154+index*77}}rpx">
<image class="priceImg priceImg2" src="{{imgUrl+'/newImages4/newNum/'+(item-1<0?9:item-1)+'.png?v=002'}}"></image>
<image class="priceImg" src="{{imgUrl+'/newImages4/newNum/'+item+'.png?v=002'}}"></image>
<image class="priceImg priceImg3" src="{{imgUrl+'/newImages4/newNum/'+(item+1>9?1:item+1)+'.png?v=002'}}"></image>
<view wx:if="{{submitBefore}}">
<image class="newImages4-22" src="{{imgUrl+'/newImages4/22.png'}}"></image>
<view class="newImages4-23">
<image src="{{imgUrl+'/newImages4/23.png'}}"></image>
<view class="inputFrame">{{stringValue}}</view>
<view wx:if="{{focusState}}" class="inputFrame2" style="left:{{34+stringValue.length*77}}rpx;"></view>
<input class="inputPrice" bindfocus="focusControl" bindblur="focusControl2" type="number" maxlength="6" bindinput="getValue"></input>
</view>
<view wx:if="{{firstPrice}}" class="slideMask"></view>
<image class="newImages4-24" bindtap="submitPrice2" src="{{imgUrl+'/newImages4/24.png'}}"></image>
</view>
<view wx:if="{{!submitBefore}}">
<image class="versions-17" src="{{imgUrl+'/versions/17.png'}}"></image>
<view class="selectFream">
<image class="versions-19" src="{{imgUrl+'/versions/19.png'}}"></image>
<view class="priceGroup" bindtouchstart="stratMove" bindtouchend="endMove" wx:for="{{guessPriceArr}}" wx:key="index" data-index="{{index}}" style="left:{{154+index*77}}rpx">
<image class="priceImg priceImg2" src="{{imgUrl+'/newImages4/newNum/'+(item-1<0?9:item-1)+'.png?v=002'}}"></image>
<image class="priceImg" src="{{imgUrl+'/newImages4/newNum/'+item+'.png?v=002'}}"></image>
<image class="priceImg priceImg3" src="{{imgUrl+'/newImages4/newNum/'+(item+1>9?1:item+1)+'.png?v=002'}}"></image>
</view>
<view wx:if="{{firstPrice}}" class="slideMask"></view>
</view>
<image class="versions-8" wx:if="{{!firstPrice}}" bindtap="submitPrice" src="{{imgUrl+'/versions/8.png'}}"></image>
<image class="versions-8" wx:if="{{firstPrice}}" bindtap="submitPrice" src="{{imgUrl+'/newImages4/18.png'}}"></image>
<image class="versions-18" src="{{imgUrl+'/versions/18.png'}}"></image>
</view>
<image class="versions-8" wx:if="{{!firstPrice}}" bindtap="submitPrice" src="{{imgUrl+'/versions/8.png'}}"></image>
<image class="versions-8" wx:if="{{firstPrice}}" bindtap="submitPrice" src="{{imgUrl+'/newImages4/18.png'}}"></image>
<image class="versions-18" src="{{imgUrl+'/versions/18.png'}}"></image>
<!-- <view class="timeFrame">
<image class="versions-12" src="{{imgUrl+'/versions/12.png'}}"></image>
<image class="versions-10" src="{{imgUrl+'/versions/10.png'}}"></image>
@@ -51,6 +63,21 @@
</view>
</view>
</view>
<view class="ruleFrame ruleFrame2" wx:if="{{tipWindow}}">
<view class="tipWindow">
<image class="tipWindowBg" src="{{imgUrl+'/newImages4/25.png'}}"></image>
<image class="tipWindowClose" bindtap="tipWindowControl" src="{{imgUrl+'/newImages4/27.png'}}"></image>
<image class="tipWindowBtn" bindtap="tipWindowControl" src="{{imgUrl+'/newImages4/26.png'}}"></image>
</view>
</view>
<view class="ruleFrame ruleFrame2" wx:if="{{tipWindow2}}">
<view class="tipWindow">
<image class="tipWindowBg" src="{{imgUrl+'/newImages4/28.png'}}"></image>
<image class="tipWindowClose" bindtap="tipWindowControl2" src="{{imgUrl+'/newImages4/27.png'}}"></image>
<image class="tipWindowBtn" style="bottom:150rpx;" bindtap="submitFirstGuessInfo" src="{{imgUrl+'/newImages4/29.png'}}"></image>
<image class="tipWindowBtn" bindtap="tipWindowControl2" src="{{imgUrl+'/newImages4/30.png'}}"></image>
</view>
</view>
<yuyue bindyuyue="yuyueControl" wx:if="{{yuyueShow}}"></yuyue>
<tabBar></tabBar>
</view>

+ 121
- 0
496_dongfengqichen/pages/guessPrize/guessPrize.wxss Прегледај датотеку

@@ -32,6 +32,38 @@ view{
height: calc(100vh - 120rpx);
overflow: auto;
}
.ruleFrame2{
width: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0,0,0,0.5);
z-index: 9;
}
.tipWindow{
position: relative;
width: 591rpx;
height: 483rpx;
}
.tipWindowBg{
width: 100%;
height: 100%;
}
.tipWindowClose{
position: absolute;
top: -32rpx;
right: -32rpx;
width: 42rpx;
height: 42rpx;
}
.tipWindowBtn{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 60rpx;
width: 390rpx;
height: 60rpx;
}
.gameRule{
width: 750rpx;
height: 2362rpx;
@@ -225,4 +257,93 @@ view{
.priceImg3{
top: auto;
bottom: -23rpx;
}
.newImages4-22{
width: 504rpx;
height: 90rpx;
margin: 0 auto;
margin-top: 84rpx;
}
.newImages4-23{
width: 567rpx;
height: 145rpx;
margin-left: 108rpx;
margin-top: 24rpx;
position: relative;
overflow: hidden;
}
.newImages4-23>image{
width: 100%;
height: 100%;
}
.inputPrice{
position: absolute;
left: -100%;
top: 0;
width: 5320rpx;
height: 100%;
line-height: 145rpx;
font-size:24rpx;
font-family:PingFangSC;
font-weight:600;
color:rgba(0,0,0,1);
padding: 0 34rpx;
box-sizing: border-box;
}
.newImages4-24{
width: 389rpx;
height: 60rpx;
margin:0 auto;
margin-top: 25rpx;
}
.inputFrame{
position: absolute;
left: 0;
top: 0;
width: 532rpx;
height: 100%;
line-height: 145rpx;
font-size:77rpx;
font-family:PingFangSC;
font-weight:bold;
color:rgba(0,0,0,1);
padding: 0 34rpx;
box-sizing: border-box;
letter-spacing:36rpx;
}


/* input {
margin-left: -120%;
} */

.blocks {
display: flex;
}

.block {
width: 100rpx;
height: 88rpx;
background: #fafafa;
margin-left: 18rpx;
}

.inputFrame2{
position: absolute;
top: 50%;
transform: translateY(-50%);
height: 77rpx;
left: 34rpx;
width: 1rpx;
background-color: #000;
animation: focus 0.9s linear infinite;
}
@keyframes focus {
from {
opacity: 1;
}

to {
opacity: 0;
}
}

+ 1
- 1
496_dongfengqichen/pages/index/index.wxml Прегледај датотеку

@@ -4,7 +4,7 @@
<view class="contentFrame">
<view class="newImages2-76">
<!-- <image style="width:750rpx;height:10368rpx;" src="{{imgUrl+'/newImages4/16.png'}}"></image> -->
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages4/indeximages/new_01.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages4/indeximages/new_01.png?v=002'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages4/indeximages/new_02.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages4/indeximages/new_03.png'}}"></image>
<image style="width:750rpx;height:1600rpx;" src="{{imgUrl+'/newImages4/indeximages/new_04.png'}}"></image>

+ 1
- 1
496_dongfengqichen/pages/mobileVerification/mobileVerification.wxml Прегледај датотеку

@@ -1,7 +1,7 @@
<!--pages/mobileVerification/mobileVerification.wxml-->
<view class="all" >
<view class="main">
<image class="bg" src="{{imgUrl+'/newImages2/92.png'}}"></image>
<image class="bg" src="{{imgUrl+'/newImages4/21.png'}}"></image>
<image class="starRule" wx:if="{{false}}" bindtap="showRule" src="{{imgUrl+'/newIcon/2.png'}}"></image>
<view class="msgFrame">
<view class="titleGroup">

+ 1
- 1
496_dongfengqichen/pages/mobileVerification/mobileVerification.wxss Прегледај датотеку

@@ -14,7 +14,7 @@ view{
top: 0;
left: 0;
width: 750rpx;
height: 1111rpx;
height: 1278rpx;
}
.msgFrame{
position: absolute;

+ 10
- 10
496_dongfengqichen/pages/myCenter/myCenter.wxml Прегледај датотеку

@@ -114,7 +114,6 @@
<view bindtap="selectRecord" data-type='3' class="taskText recordText {{recordNow==3?'taskText2':''}}">星探奖励</view>
</view>
<!-- <view class="recordFrame"> -->
<scroll-view class="recordFrame" wx:if="{{recordList.length}}" scroll-y bindscrolltolower="scrolltolower2">
<image class="newImages1" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newImages3/16.png'}}"></image>
<image class="newImages2-64" bindtap="enterLucky" wx:if="{{!recordList.length && recordNow==1 && !getState}}" src="{{imgUrl+'/newImages2/64.png'}}"></image>
<image class="newImages5" wx:if="{{!recordList.length && recordNow==2 && !getState}}" src="{{imgUrl+'/newImages2/65.png'}}"></image>
@@ -122,17 +121,18 @@
<image class="newImages8" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newImages3/19.png'}}"></image>
<image class="newImages6" bindtap="starGo" wx:if="{{!recordList.length && recordNow==3 && !getState}}" src="{{imgUrl+'/newImages2/64.png'}}"></image>
<view class="recordGroup" wx:if="{{recordList.length}}" wx:for="{{recordList}}" wx:key="index">
<view class="recordGroupLeft">
<image class="awardPicurl" mode="aspectFit" src="{{item.awardPicurl}}"></image>
<view class="recordMainGroup" style="width:230rpx;">
<view class="rewardName">{{item.awardName}}</view>
<view class="rewardTerm">{{item.cdate}}</view>
</view>
<scroll-view class="recordFrame" wx:if="{{recordList.length}}" scroll-y bindscrolltolower="scrolltolower2">
<view class="recordGroup" wx:if="{{recordList.length}}" wx:for="{{recordList}}" wx:key="index">
<view class="recordGroupLeft">
<image class="awardPicurl" mode="aspectFit" src="{{item.awardPicurl}}"></image>
<view class="recordMainGroup" style="width:230rpx;">
<view class="rewardName">{{item.awardName}}</view>
<view class="rewardTerm">{{item.cdate}}</view>
</view>
<image class="lookDetail" bindtap="lookDesc" data-index="{{index}}" src="{{imgUrl+'/newImages3/34.png'}}"></image>
</view>
</scroll-view>
<image class="lookDetail" bindtap="lookDesc" data-index="{{index}}" src="{{imgUrl+'/newImages3/34.png'}}"></image>
</view>
</scroll-view>
<!-- </view> -->
</view>
<view class="ranksGroup" wx:if="{{selectNow==3}}">

+ 1
- 1
496_dongfengqichen/pages/placingOrder/placingOrder.wxml Прегледај датотеку

@@ -66,7 +66,7 @@
</view>
<view class="subscribeBtn">
<!-- <image style="width:100%;height:100%;" bindtap="preBuy" src="{{imgUrl+'/btns/placingOrderBtn.png'}}"></image> -->
<image style="width:100%;height:100%;" bindtap="tipShowControl" src="{{imgUrl+'/btns/placingOrderBtn.png'}}"></image>
<image style="width:100%;height:100%;" bindtap="tipShowControl" src="{{imgUrl+'/newImages4/19.png'}}"></image>
</view>
</view>
<agreement bindmyevent="agreementControl" wx:if="{{agreement}}"></agreement>

+ 1
- 1
496_dongfengqichen/pages/poster/poster.js Прегледај датотеку

@@ -51,7 +51,7 @@ Page({
this.data.windowH = option.windowHeight;
for (let i = 0; i < 3; i++) {
wx.getImageInfo({//缓存海报背景
src: this.data.imgUrl + '/newImages3/tempImg'+(i+1)+'.jpg?v=008',
src: this.data.imgUrl + '/newImages3/tempImg'+(i+1)+'.jpg?v=009',
success: res => {
this.data.posterBg[i] = res.path;
}

+ 1
- 1
496_dongfengqichen/pages/poster/poster.wxml Прегледај датотеку

@@ -18,7 +18,7 @@
<swiper-item wx:for="{{3}}" wx:key="index">
<view class="selectTempFrame {{index==swiperCurrent?'selectTempFrameBorder':''}}">
<view class="imgGroup">
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages3/tempImg'+(index+1)+'.jpg?v=006'}}"></image>
<image style="width:100%;height:100%;" src="{{imgUrl+'/newImages3/tempImg'+(index+1)+'.jpg?v=007'}}"></image>
<view class="userMsg">
<image class="userHead" src="{{userHead}}"></image>
<!-- <image class="userHead" src="{{imgUrl+'/images/posterChoose.png'}}"></image> -->

+ 1
- 1
496_dongfengqichen/pages/star/star.wxss Прегледај датотеку

@@ -16,7 +16,7 @@ view{
.home>.logo1 {
position: absolute;
top: 0;
left: 60rpx;
left: 50rpx;
width: 175rpx;
height: 150rpx;
}

+ 2
- 1
496_dongfengqichen/pages/vrLookCar/vrLookCar.wxml Прегледај датотеку

@@ -1,2 +1,3 @@
<!--pages/vrLookCar/vrLookCar.wxml-->
<web-view src="https://xr.realibox.com/dongfeng-venucia"></web-view>
<!-- <web-view src="https://xr.realibox.com/dongfeng-venucia"></web-view> -->
<web-view src="https://vr.venucia.com.cn/dongfeng-venucia/?p=qcx&c=false"></web-view>

Loading…
Откажи
Сачувај