Explorar el Código

[问卷调查][修改]:问卷调查修改

tags/富茂客官2.3.1
meo hace 6 años
padre
commit
d68a36b92a
Se han modificado 3 ficheros con 14 adiciones y 17 borrados
  1. +10
    -9
      pages/coupon/detail/index.js
  2. +3
    -3
      pages/coupon/detail/index.wxml
  3. +1
    -5
      pages/coupon/detail/index.wxss

+ 10
- 9
pages/coupon/detail/index.js Ver fichero

@@ -33,9 +33,7 @@ Page({
scaleData: null,
skewData: null,
matrixData: null,
// flag: false,
scale01:0,
opacity01:0,
opacity:0,
queueData:null,
zIndex:11,
display:null
@@ -96,13 +94,16 @@ Page({

closeQuestion: function () {
let that = this;
that.setData({
display:"none",
zIndex: 11,
})
setTimeout(function(){
that.setData({
display: "none",
zIndex: 11,
opacity: 0
})
},500)
setTimeout(function () {
that.orderFunc();
}, 300)
}, 500)
},
/**
* gotopay
@@ -128,7 +129,7 @@ Page({
} else if (res.data) {
var animation = wx.createAnimation({});
animation.translate((that.data.widthScreen - that.data.widthScreen), 0).scale(1).opacity(1).step({
duration: 1000
duration: 500
})

that.setData({


+ 3
- 3
pages/coupon/detail/index.wxml Ver fichero

@@ -4,7 +4,7 @@
<view class='banner'>
<image src='{{data.coverImg}}'></image>
</view>
<view class='coupons_info'>
<view class='coupons_info' style='position:relative;z-index:{{zIndex}}'>
<view class='fenxiang'>
<image class="fenxiang" src='./../../../assets/img/fenxiang.png' mode="widthFix"></image>
<button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}'
@@ -67,7 +67,7 @@
<text>{{data.merchantName}}</text>
<text>{{data.addr}}{{data.buildingName}}{{data.floorName}}</text>
</view>
<image bindtap='phone' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
<image style='position:absolute;z-index:{{zIndex}}' bindtap='phone' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
</view>
</view>
<view class='notes'>
@@ -89,7 +89,7 @@
</view>
</view>
<!-- 问卷调查 -->
<view class="b1" style="opacity:0;display: {{display}}" animation="{{queueData}}">
<view class="b1" style="opacity:{{opacity}};display: {{display}}" animation="{{queueData}}">
<view id='con' class='con'>
<image class='close' mode='widthFix' src="./../../../assets/img/closed.png" bindtap="closeQuestion"></image>
<image class='ques_gou' mode='widthFix' src="./../../../assets/img/ques_gou.png"></image>


+ 1
- 5
pages/coupon/detail/index.wxss Ver fichero

@@ -23,14 +23,12 @@ page {
}

.coupons_info {
position: relative;
width: 92%;
padding: 0 4%;
background: #fff;
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
margin-top: -25rpx;
z-index: 3;
}

.fenxiang {
@@ -48,7 +46,7 @@ page {
}

.user-motto {
width: 100%;
width: 100rpx;
border: 0;
background: none;
height: 60rpx;
@@ -286,14 +284,12 @@ page {
}

.tel {
position: absolute;
right: 0;
top: 0;
bottom: 0;
margin: auto;
width: 50rpx;
height: 50rpx;
z-index: 3;
}

.txt {


Cargando…
Cancelar
Guardar