Quellcode durchsuchen

[拼团分享详情页面ui修改]

tags/河北版C.8.1.01
刘晖 vor 5 Jahren
Ursprung
Commit
13ccfca567
4 geänderte Dateien mit 62 neuen und 66 gelöschten Zeilen
  1. +1
    -0
      pages/joinFrDpell/index.js
  2. +19
    -19
      pages/joinFrDpell/index.wxml
  3. +40
    -46
      pages/joinFrDpell/index.wxss
  4. +2
    -1
      pages/spellGroup/mySpellGroup/index.js

+ 1
- 0
pages/joinFrDpell/index.js Datei anzeigen

@@ -14,6 +14,7 @@ Page({
teljpgUrl: imgurl.teljpg.url,
wmhome: imgurl.wmhome.url,
orderGroupFail: imgurl.orderGroupFail.url,
homeSelectedO: imgurl.homeSelectedO.url,
couponChannelId: '',
couponId: '',
data: [],


+ 19
- 19
pages/joinFrDpell/index.wxml Datei anzeigen

@@ -45,31 +45,31 @@
<view class='p-title'>购买须知:</view>
<view class='p-list'>{{data.remark}}</view>
</view>
<form bindsubmit="submit" report-submit='true' >
<view class='edit'>
<button class='goback' bindtap='gotoIndex'>
<image src='{{homeSelectedO}}' mode="widthFix"></image>
<text class='btnTxt'>首页</text>
<view class='edit'>
<button class='goback' bindtap='gotoIndex'>
<image src='{{homeSelectedO}}' mode="widthFix"></image>
<text class='btnTxt'>首页</text>
</button>
<form bindsubmit='{{canBuyIf?"gotoBuy":""}}' report-submit='true' wx:if='{{data.id}}'>
<button form-type="submit" class='edit-left'>
<view class='edit-left-top'>
<view class='price'>{{data.price}}</view>
<view class='price-unit'>元</view>
</view>
<view class='edit-left-bottom'>立即购买</view>
</button>
<button form-type="submit" class='edit-left' wx:if='{{data.id}}' bindtap='{{canBuyIf?"gotoBuy":""}}'>
</form>
<!-- <button class='edit-right' id="shareBtn" open-type="share"></button> -->
<form bindsubmit='{{canSpell?"gotoSpell":""}}' report-submit='true' wx:if='{{data.id}}'>
<button class='edit-right' form-type="submit" >
<view class='edit-left-top'>
<view class='price'>{{data.price}}</view>
<view class='price'>{{data.salePrice}}</view>
<view class='price-unit'>元</view>
</view>
<view class='edit-left-bottom'>立即购买</view>
<view class='edit-left-bottom'>参加拼团</view>
</button>
<!-- <button class='edit-right' id="shareBtn" open-type="share"></button> -->
<view class='edit-right' wx:if='{{data.id}}' bindtap='{{canSpell?"gotoSpell":""}}'>
<view class='edit-right-top'>
<view class='real-price'>{{data.salePrice}}</view>
<view class='real-price-unit'>元</view>
</view>
<view class='edit-right-bottom'>参加拼团</view>
</view>
</form>
</view>
</form>

</view>
</view>
<view class='al-bg' wx:if='{{showErr}}'></view>


+ 40
- 46
pages/joinFrDpell/index.wxss Datei anzeigen

@@ -13,6 +13,14 @@
height: auto;
overflow: hidden;
}
.edit-right{
float: right;
width: 268rpx;
height: 96rpx;
line-height: 46rpx;
background:linear-gradient(90deg,rgba(40,179,255,1) 0%,rgba(48,103,255,1) 100%);
border-radius:32rpx;
}
.content{
position: relative;
width: 100%;
@@ -138,33 +146,10 @@
color:rgba(51,51,51,1);
line-height:50rpx;
}
.edit{
position: fixed;
width: 690rpx;
bottom: 20rpx;
left: 30rpx;
}
.edit-left{
float: left;
width: 269rpx;
height: 95rpx;
background:rgba(255,169,2,1);
box-shadow:0px 8rpx 8rpx 1rpx rgba(255,169,2,0.32);
border-radius:48rpx;
}
.edit-right{
float: right;
width: 269rpx;
height: 95rpx;
line-height: 46rpx;
background:linear-gradient(90deg,rgba(236,59,45,1) 0%,rgba(248,98,52,1) 100%);
box-shadow:0px 8rpx 8rpx 1rpx rgba(246,93,51,0.32);
border-radius:48rpx;
}
.edit-left-top{
height: 46rpx;
line-height: 46rpx;
text-align: center;
line-height:65rpx;
}
.price{
display: inline;
@@ -173,27 +158,31 @@
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(254,254,254,1);
margin-top: 6rpx;
}
.price-unit{
display: inline;
font-size:27rpx;
line-height: 27rpx;
margin-top: 11rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(254,254,254,1);
}

.edit-left-bottom{
text-align: center;
font-size:30rpx;
line-height: 40rpx;
height: 40rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(254,254,254,1);
}

.edit-left{
float: left;
width: 268rpx;
height: 96rpx;
background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
border-radius:32rpx;
}
.edit-right-top{
line-height: 32rpx;
text-align: center;
@@ -210,8 +199,6 @@
display: inline;
font-size:27rpx;
line-height: 27rpx;
margin-top: 11rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(254,254,254,1);
}
@@ -219,7 +206,6 @@
text-align: center;
font-size:30rpx;
line-height: 40rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(254,254,254,1);
}
@@ -318,6 +304,7 @@
color:rgba(51,51,51,1);
line-height: 44rpx;
}
button::after{ border: none; }
.j-time{
display: inline;
font-size:26rpx;
@@ -328,24 +315,24 @@
}
.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;
width:132rpx!important;
height:96rpx;
background:#fff!important;
line-height:96rpx;
border-radius:32rpx;
margin-right:25rpx;
border: 0!important;
box-sizing: border-box;
}
.goback image{
position:absolute;
width:60rpx;
left:0;
right:0;
top:0;
position: absolute;
width:52rpx;
height: 50rpx;
left: 0;
right: 0;
top: 0;
bottom:0;
margin:auto;
height: 80rpx;
margin:10rpx auto;
}
.rest {
font-size: 24rpx;
@@ -377,7 +364,14 @@
color: #919191;
letter-spacing: 0;
}

.edit{
position:fixed;
bottom:0;
left:0;
right:0;
padding:20rpx 22rpx;
/* background:#fff; */
}
.times {
display: inline-block;
color: #ff4949;


+ 2
- 1
pages/spellGroup/mySpellGroup/index.js Datei anzeigen

@@ -497,7 +497,8 @@ Page({
/**
* 发起支付
*/
orderFunc(orderGroupId) {
orderFunc() {
let orderGroupId = this.data.orderGroupId;
let data = {
couponChannelId: this.data.data.id,
couponId: this.data.data.couponId,


Laden…
Abbrechen
Speichern