Explorar el Código

页面修改

guessPrice
suizhijia hace 5 años
padre
commit
b87a9ba612
Se han modificado 11 ficheros con 96 adiciones y 35 borrados
  1. +13
    -2
      496_dongfengqichen/pages/guess/guess.js
  2. +7
    -1
      496_dongfengqichen/pages/guess/guess.wxml
  3. +32
    -1
      496_dongfengqichen/pages/guess/guess.wxss
  4. +1
    -1
      496_dongfengqichen/pages/guessPrize/guessPrize.wxml
  5. +1
    -1
      496_dongfengqichen/pages/guessPrize/guessPrize.wxss
  6. +5
    -1
      496_dongfengqichen/pages/guessSecond/guessSecond.js
  7. +2
    -2
      496_dongfengqichen/pages/guessSecond/guessSecond.wxml
  8. +7
    -6
      496_dongfengqichen/pages/guessSecond/guessSecond.wxss
  9. +2
    -2
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js
  10. +9
    -8
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxml
  11. +17
    -10
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxss

+ 13
- 2
496_dongfengqichen/pages/guess/guess.js Ver fichero

@@ -9,7 +9,8 @@ Page({
imgUrl: app.globalData.urlStatic,//图片路径
yuyueShow:false,
userType:1,
isShowFun:false
isShowFun:false,
tipWindow2:false
},

/**
@@ -28,6 +29,7 @@ Page({
if (!app.globalData.addPageEnterState.guessPrize) {
app.addPageEnter("7C8AAA38F8D85EFC48C2995FB6EBAC19");
app.globalData.addPageEnterState.guessPrize = true;
this.tipWindowControl2();
}
this.getSecondGuessInfo();
},
@@ -99,7 +101,11 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {

return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl:this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
},
enterLucky:function(){//每日抽奖
wx.navigateTo({
@@ -157,5 +163,10 @@ Page({
})
}
}, this);
},
tipWindowControl2:function(){
this.setData({
tipWindow2:!this.data.tipWindow2
})
}
})

+ 7
- 1
496_dongfengqichen/pages/guess/guess.wxml Ver fichero

@@ -2,7 +2,7 @@
<view class="all">
<view class="main">
<image class="pageBg" src="{{imgUrl+'/newImages4/20.png'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages5/69.png?v=002'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages5/76.png'}}"></image>
<image class="startBtn" bindtap="enterGuessPrize" wx:if="{{userType==1}}" src="{{imgUrl+'/newImages5/60.png'}}"></image>
<image class="startBtn" bindtap="enterGuessPrize" wx:if="{{userType==4}}" src="{{imgUrl+'/newImages5/61.png'}}"></image>
<image class="startBtn" bindtap="enterGuessPrize" wx:if="{{userType==3}}" src="{{imgUrl+'/newImages5/62.png'}}"></image>
@@ -11,6 +11,12 @@
<image class="drawBtn" bindtap="enterLucky" src="{{imgUrl+'/versions/1.png'}}"></image>
<image class="yuyue" bindtap="yuyueControl" src="{{imgUrl+'/newIcon/4.png'}}"></image>
</view>
<view class="ruleFrame ruleFrame2" wx:if="{{tipWindow2}}">
<view class="tipWindow">
<image class="tipWindowBg" src="{{imgUrl+'/newImages5/77.png'}}"></image>
<image class="tipWindowClose" bindtap="tipWindowControl2" src="{{imgUrl+'/newImages4/27.png'}}"></image>
</view>
</view>
<yuyue bindyuyue="yuyueControl" wx:if="{{yuyueShow}}"></yuyue>
<tabBar></tabBar>
</view>

+ 32
- 1
496_dongfengqichen/pages/guess/guess.wxss Ver fichero

@@ -16,7 +16,7 @@ view{
}
.gameRule{
width: 750rpx;
height: 2505rpx;
height: 2513rpx;
margin-top: -1rpx;
}
.startBtn{
@@ -40,4 +40,35 @@ view{
position: fixed;
right: 35rpx;
top: 334rpx;
}
.ruleFrame{
position: fixed;
top:0;
left: 0;
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: 501rpx;
height: 395rpx;
}
.tipWindowBg{
width: 100%;
height: 100%;
}
.tipWindowClose{
position: absolute;
top: -32rpx;
right: -32rpx;
width: 42rpx;
height: 42rpx;
}

+ 1
- 1
496_dongfengqichen/pages/guessPrize/guessPrize.wxml Ver fichero

@@ -53,7 +53,7 @@
<image class="versions-5" bindtap="enterLucky" style="margin-top:20rpx;" src="{{imgUrl+'/versions/6.png'}}"></image>
</view> -->
<view class="ruleFrame" wx:if="{{ruleShow}}">
<image class="gameRule" src="{{imgUrl+'/newImages5/69.png'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages5/76.png'}}"></image>
<image class="closeRule" bindtap="ruleControl" src="{{imgUrl+'/versions/21.png'}}"></image>
</view>
<view class="shareWindow" wx:if="{{shareShow}}">

+ 1
- 1
496_dongfengqichen/pages/guessPrize/guessPrize.wxss Ver fichero

@@ -66,7 +66,7 @@ view{
}
.gameRule{
width: 750rpx;
height: 2505rpx;
height: 2513rpx;
margin-top: -1rpx;
}
.closeRule{

+ 5
- 1
496_dongfengqichen/pages/guessSecond/guessSecond.js Ver fichero

@@ -98,7 +98,11 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {

return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
},
enterLucky:function(){//每日抽奖
wx.navigateTo({

+ 2
- 2
496_dongfengqichen/pages/guessSecond/guessSecond.wxml Ver fichero

@@ -3,7 +3,7 @@
<image class="pageBg" src="{{imgUrl+'/versions/20.png?v=002'}}"></image>
<view class="topGroup">
<view style="position: relative;width:100%;height:100%;">
<image class="newImages5-2" src="{{imgUrl+'/newImages5/68.png'}}"></image>
<image class="newImages5-2" src="{{imgUrl+'/newImages5/78.png'}}"></image>
<view class="lookDetail" bindtap="lookConfigure"></view>
</view>
<!-- <image class="newImages5-1" src="{{imgUrl+'/newImages5/1.png'}}"></image> -->
@@ -24,7 +24,7 @@
<image class="drawBtn" bindtap="ruleControl" src="{{imgUrl+'/versions/7.png'}}"></image>
<image class="yuyue" bindtap="enterLucky" src="{{imgUrl+'/versions/1.png'}}"></image>
<view class="ruleFrame" wx:if="{{ruleShow}}">
<image class="gameRule" src="{{imgUrl+'/newImages5/69.png?v=002'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages5/76.png'}}"></image>
<image class="closeRule" bindtap="ruleControl" src="{{imgUrl+'/versions/21.png'}}"></image>
</view>
<view class="ruleFrame ruleFrame2" wx:if="{{drawResult==1 || drawResult==2}}">

+ 7
- 6
496_dongfengqichen/pages/guessSecond/guessSecond.wxss Ver fichero

@@ -34,9 +34,10 @@ view{
}
.topGroup{
position: relative;
width: 677rpx;
height: 405rpx;
margin: 0 auto;
width: 711rpx;
height: 440rpx;
margin-left: auto;
margin-right: 0;
margin-top: 100rpx;
}
.lookDetail{
@@ -62,7 +63,7 @@ view{
width: 634rpx;
height: 170rpx;
margin: 0 auto;
margin-top: 60rpx;
margin-top: 40rpx;
}
.newImages5-4{
width: 150rpx;
@@ -117,7 +118,7 @@ view{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 50rpx;
bottom: 30rpx;
width: 711rpx;
height: 70rpx;
}
@@ -138,7 +139,7 @@ view{
}
.gameRule{
width: 750rpx;
height: 2505rpx;
height: 2513rpx;
margin-top: -1rpx;
}
.closeRule{

+ 2
- 2
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js Ver fichero

@@ -28,7 +28,7 @@ Page({
*/
onLoad: function (options) {
app.globalData.nowPage = 3;
this.distanceDay();
// this.distanceDay();
if (app.globalData.openid) {
this.loadFun();
} else {
@@ -107,7 +107,7 @@ Page({
onShareAppMessage: function () {
return {
title: '召唤预言帝!快来和我一起猜启辰星售价,赢升舱大奖!',
imageUrl: this.data.imgUrl + "/versions/guessShareImg.jpg",
imageUrl: this.data.imgUrl+'/newImages5/56.jpg',
path: "/pages/guess/guess"
}
},

+ 9
- 8
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxml Ver fichero

@@ -3,7 +3,7 @@
<image class="pageBg" src="{{imgUrl+'/versions/20.png?v=002'}}"></image>
<view class="topGroup">
<view style="position: relative;width:100%;height:100%;">
<image class="newImages5-2" src="{{imgUrl+'/newImages5/68.png'}}"></image>
<image class="newImages5-2" src="{{imgUrl+'/newImages5/78.png'}}"></image>
<view class="lookDetail" bindtap="lookConfigure"></view>
</view>
<!-- <image class="newImages5-1" src="{{imgUrl+'/newImages5/1.png'}}"></image> -->
@@ -15,10 +15,10 @@
<image class="newImages4-bg" 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>
<image class="tipImg" wx:if="{{tipImgShow}}" src="{{imgUrl+'/newImages5/40.png'}}"></image>
<image class="tipImg" wx:if="{{tipImgShow}}" src="{{imgUrl+'/newImages5/81.png'}}"></image>
<input class="inputPrice" value="{{stringValue}}" bindfocus="focusControl" bindblur="focusControl2" type="number" maxlength="6" bindinput="getValue"></input>
</view>
<image class="newImages4-24" bindtap="submitPrice2" src="{{imgUrl+'/newImages4/24.png'}}"></image>
<image class="newImages4-24" bindtap="submitPrice2" src="{{imgUrl+'/newImages5/79.png'}}"></image>
</view>
</view>
<view wx:if="{{isGuess}}">
@@ -33,19 +33,20 @@
<view class="slideMask"></view>
</view>
<view class="shareGroup">
<image class="newImages5-42" bindtap="enterPoster" src="{{imgUrl+'/newImages5/42.png'}}"></image>
<image class="newImages5-42" bindtap="enterPoster" src="{{imgUrl+'/newImages5/80.png'}}"></image>
<button open-type="getUserInfo" wx:if="{{!isUserInfo}}" bindgetuserinfo="getUserWxMsg" style="min-height:0;width: 100%;" class="shareBtn"></button>
</view>
<view class="dayGroup">
<image class="newImages5-82" src="{{imgUrl+'/newImages5/82.png'}}"></image>
<!-- <view class="dayGroup">
<image class="newImages5-43" src="{{imgUrl+'/newImages5/43.png'}}"></image>
<view class="dayNum">{{slideDay[0]+slideDay[1]}}</view>
</view>
</view> -->
</view>
<image class="newImages5-30" bindtap="cartogramControl" src="{{imgUrl+'/newImages5/30.png'}}"></image>
<!-- <image class="newImages5-30" bindtap="cartogramControl" src="{{imgUrl+'/newImages5/30.png'}}"></image> -->
<image class="drawBtn" bindtap="ruleControl" src="{{imgUrl+'/versions/7.png'}}"></image>
<image class="yuyue" bindtap="enterLucky" src="{{imgUrl+'/versions/1.png'}}"></image>
<view class="ruleFrame" wx:if="{{ruleShow}}">
<image class="gameRule" src="{{imgUrl+'/newImages5/69.png?v=002'}}"></image>
<image class="gameRule" src="{{imgUrl+'/newImages5/76.png'}}"></image>
<image class="closeRule" bindtap="ruleControl" src="{{imgUrl+'/versions/21.png'}}"></image>
</view>
<view class="ruleFrame ruleFrame2" wx:if="{{tipWindow}}">

+ 17
- 10
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxss Ver fichero

@@ -73,7 +73,7 @@ view{
}
.gameRule{
width: 750rpx;
height: 2505rpx;
height: 2513rpx;
margin-top: -1rpx;
}
.closeRule{
@@ -85,9 +85,10 @@ view{
}
.topGroup{
position: relative;
width: 677rpx;
height: 405rpx;
margin: 0 auto;
width: 711rpx;
height: 440rpx;
margin-left: auto;
margin-right: 0;
margin-top: 100rpx;
}
.lookDetail{
@@ -155,8 +156,8 @@ view{
box-sizing: border-box;
}
.newImages4-24{
width: 389rpx;
height: 60rpx;
width: 506rpx;
height: 70rpx;
margin:0 auto;
margin-top: 25rpx;
}
@@ -251,16 +252,16 @@ view{
opacity: 0;
}
.shareGroup{
width: 388rpx;
height: 60rpx;
width: 505rpx;
height: 70rpx;
position: relative;
margin: 0 auto;
margin-top: 20rpx;
margin-bottom: 37rpx;
}
.newImages5-42{
width: 388rpx;
height: 60rpx;
width: 505rpx;
height: 70rpx;
}
.dayGroup{
position: relative;
@@ -346,4 +347,10 @@ view{
right: -42rpx;
width: 42rpx;
height: 42rpx;
}
.newImages5-82{
width: 464rpx;
height: 26rpx;
margin: 0 auto;
margin-top: 45rpx;
}

Cargando…
Cancelar
Guardar