浏览代码

[首页 用户专享修改]

tags/广东版3.2.1
meo 6 年前
父节点
当前提交
8d7d0f43fb
共有 4 个文件被更改,包括 9 次插入55 次删除
  1. 二进制
      assets/img/new.png
  2. +1
    -3
      pages/index/index.wxml
  3. +3
    -44
      pages/index/index.wxss
  4. +5
    -8
      pages/passCar/passCar.js

二进制
assets/img/new.png 查看文件

之前 之后
宽度: 1420  |  高度: 360  |  大小: 256 KiB

+ 1
- 3
pages/index/index.wxml 查看文件

@@ -5,9 +5,7 @@
<!-- 小游戏暂时注释 --> <!-- 小游戏暂时注释 -->
<view class='game' bindtap="gotogame" wx-if="{{showIf}}"> <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
<view class='game-entry'> <view class='game-entry'>
<image src="{{staticGamedata.imgUrl}}" class='gameimg' mode='widthFix'></image>
<text>用户专享神秘礼物</text>
<text>独家福利,抢完即止</text>
<image src="./../../assets/img/new.png" class='gameimg' mode='widthFix'></image>
</view> </view>
</view> </view>
<c-coupons id="lists" bind:myevent="onGetCode" loadingtext="{{loadingtext}}" loading="{{loading}}" /> <c-coupons id="lists" bind:myevent="onGetCode" loadingtext="{{loadingtext}}" loading="{{loading}}" />


+ 3
- 44
pages/index/index.wxss 查看文件

@@ -19,57 +19,16 @@ page {
overflow-x: hidden; overflow-x: hidden;
} }



.txt { .txt {
margin-left: 20rpx; margin-left: 20rpx;
} }
.game-entry{ .game-entry{
width: 690rpx; width: 690rpx;
height: 140rpx; height: 140rpx;
margin: 0 auto;
border-radius: 14rpx;
box-shadow: 1px 4px 20px #C4C4C4;
}
.game {
position: relative;
width: 750rpx;
height: 200rpx;
margin: 0 auto;
padding-top: 30rpx;
box-sizing: border-box;
margin: 10rpx auto 0;
} }
.gameimg{ .gameimg{
position: absolute;
right: 25rpx;
top: -14rpx;
width: 250rpx;
}
.game text {
display: block; display: block;
position: relative;
}

.game text:nth-of-type(1) {
display: inline-block;
padding-top: 39rpx;
padding-left: 70rpx;
font-size: 32rpx;
color: #333;
line-height: 36rpx;
}

.game text:nth-of-type(2) {
font-size: 24rpx;
color: #999;
line-height: 24rpx;
padding-left: 70rpx;
}

/* .game image {
position: absolute;
width: 100%; width: 100%;
left: 0;
right: 0;
top: 0;
bottom: 0;
} */
height: 140rpx;
}

+ 5
- 8
pages/passCar/passCar.js 查看文件

@@ -545,16 +545,14 @@ Page({
} }
}; };
that.setData({ that.setData({
extraData: extraDataStr
extraData: extraDataStr,
stopFees: res.data,
timecha: Util.timecha(res.data.exitTime, res.data.entranceTime)
}); });
that.setData({
stopFees: res.data
})
that.setData({
timecha: Util.timecha(res.data.exitTime, res.data.entranceTime)
})
console.log(that.data.extraData)
}) })
.catch(error => { .catch(error => {
console.log(error)
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
content: error.message, content: error.message,
@@ -564,7 +562,6 @@ Page({
stopFees: {} stopFees: {}
}) })
}); });
console.log(that.data.extraData)
}, },
/** /**


正在加载...
取消
保存