Parcourir la source

拼团详情增加返回首页按钮

tags/安徽版C.4.1.6最终版
刘晖 il y a 6 ans
Parent
révision
044bd028fd
3 fichiers modifiés avec 30 ajouts et 2 suppressions
  1. +6
    -0
      pages/spellGroup/mySpellGroup/index.js
  2. +1
    -0
      pages/spellGroup/mySpellGroup/index.wxml
  3. +23
    -2
      pages/spellGroup/mySpellGroup/index.wxss

+ 6
- 0
pages/spellGroup/mySpellGroup/index.js Voir le fichier

@@ -10,6 +10,7 @@ Page({
*/
data: {
teljpgUrl: imgurl.teljpg.url,
home: imgurl.home.url,
couponChannelId:'',
couponId:'',
data:[],
@@ -51,6 +52,11 @@ Page({
})
})
},
gotoIndex() {
wx.reLaunch({
url: '/pages/index/index',
})
},
/**
* 拨打电话
*/


+ 1
- 0
pages/spellGroup/mySpellGroup/index.wxml Voir le fichier

@@ -50,6 +50,7 @@
</view>
</view>
<view class='edit'>
<button class='goback' bindtap='gotoIndex'><image src='{{home}}' mode="widthFix"></image></button>
<view class='edit-left' bindtap='{{canBuyIf?"gotoBuy":""}}'>
<view class='edit-left-top'>
<view class='price'>{{data.price}}</view>


+ 23
- 2
pages/spellGroup/mySpellGroup/index.wxss Voir le fichier

@@ -8,6 +8,27 @@
width: 100%;
height: 533rpx;
}
.goback {
float:left;
width:122rpx!important;
height:95rpx;
background:rgba(255,255,255,1);
line-height:95rpx;
border:1rpx solid rgba(227,227,227,1);
box-shadow:0px 8px 8px 1px rgba(189,189,189,0.32);
border-radius:48rpx;
margin-right:25rpx;
}
.goback image{
position:absolute;
width:60rpx;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
height: 80rpx;
}
.content-box{
box-sizing: content-box;
height: auto;
@@ -170,7 +191,7 @@
}
.edit-left{
float: left;
width: 330rpx;
width: 269rpx;
height: 95rpx;
background:rgba(255,169,2,1);
box-shadow:0px 8rpx 8rpx 1rpx rgba(255,169,2,0.32);
@@ -178,7 +199,7 @@
}
.edit-right{
float: right;
width: 330rpx;
width: 269rpx;
height: 95rpx;
line-height: 46rpx;
background:linear-gradient(90deg,rgba(236,59,45,1) 0%,rgba(248,98,52,1) 100%);


Chargement…
Annuler
Enregistrer