小程序优惠劵
parent
dac1db769e
commit
900f0f0d12
|
|
@ -123,6 +123,18 @@
|
|||
color: #ff8f44;
|
||||
}
|
||||
|
||||
/**
|
||||
* 留言
|
||||
*/
|
||||
.content-textarea-view {
|
||||
height: 220rpx;
|
||||
}
|
||||
.content-textarea-view textarea {
|
||||
height: 180rpx;
|
||||
}
|
||||
.content-textarea-view view {
|
||||
padding: 8rpx 10rpx;
|
||||
}
|
||||
|
||||
/**
|
||||
* 插件样式区域
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@
|
|||
</view>
|
||||
|
||||
<!-- 留言 -->
|
||||
<textarea onInput="bind_user_note_event" maxlength="60" auto-height placeholder="留言" class="spacing-mb" />
|
||||
<view class="content-textarea-view bg-white spacing-mb">
|
||||
<textarea a:if="{{!popup_plugins_coupon_status}}" onInput="bind_user_note_event" value="{{user_note_value}}" maxlength="60" placeholder="留言" />
|
||||
<view a:if="{{popup_plugins_coupon_status}}" class="cr-888">{{user_note_value || '留言'}}</view>
|
||||
</view>
|
||||
|
||||
<!-- 优惠劵 -->
|
||||
<view a:if="{{(plugins_coupon_data || null) != null && plugins_coupon_data.coupon_list.length > 0}}" class="plugins-coupon bg-white spacing-mb arrow-right" onTap="plugins_coupon_open_event">
|
||||
|
|
|
|||
|
|
@ -106,6 +106,10 @@ Page({
|
|||
|
||||
// 显示秒杀插件-倒计时
|
||||
plugins_limitedtimediscount_countdown() {
|
||||
// 销毁之前的任务
|
||||
clearInterval(this.data.plugins_limitedtimediscount_timer);
|
||||
|
||||
// 定时参数
|
||||
var status = this.data.plugins_limitedtimediscount_data.time.status || 0;
|
||||
var msg = this.data.plugins_limitedtimediscount_data.time.msg || '';
|
||||
var hours = parseInt(this.data.plugins_limitedtimediscount_data.time.hours) || 0;
|
||||
|
|
|
|||
|
|
@ -126,12 +126,14 @@
|
|||
/**
|
||||
* 留言
|
||||
*/
|
||||
.content-textarea {
|
||||
padding: 10rpx;
|
||||
min-height: 10vh;
|
||||
width: 100%;
|
||||
.content-textarea-view,
|
||||
.content-textarea-view textarea {
|
||||
height: 180rpx;
|
||||
}
|
||||
.content-textarea-view textarea,
|
||||
.content-textarea-view view {
|
||||
padding: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 插件样式区域
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@
|
|||
</view>
|
||||
|
||||
<!-- 留言 -->
|
||||
<textarea bindinput="bind_user_note_event" maxlength="60" auto-height placeholder="留言" class="content-textarea bg-white spacing-mb" />
|
||||
<view class="content-textarea-view bg-white spacing-mb">
|
||||
<textarea s-if="!popup_plugins_coupon_status" bindinput="bind_user_note_event" value="{{user_note_value}}" maxlength="60" placeholder="留言" class="wh-auto" />
|
||||
<view s-if="popup_plugins_coupon_status" class="cr-888">{{user_note_value || '留言'}}</view>
|
||||
</view>
|
||||
|
||||
<!-- 优惠劵 -->
|
||||
<view s-if="(plugins_coupon_data || null) != null && plugins_coupon_data.coupon_list.length > 0" class="plugins-coupon bg-white spacing-mb arrow-right" bindtap="plugins_coupon_open_event">
|
||||
|
|
|
|||
|
|
@ -109,6 +109,10 @@ Page({
|
|||
|
||||
// 显示秒杀插件-倒计时
|
||||
plugins_limitedtimediscount_countdown() {
|
||||
// 销毁之前的任务
|
||||
clearInterval(this.data.plugins_limitedtimediscount_timer);
|
||||
|
||||
// 定时参数
|
||||
var status = this.data.plugins_limitedtimediscount_data.time.status || 0;
|
||||
var msg = this.data.plugins_limitedtimediscount_data.time.msg || '';
|
||||
var hours = parseInt(this.data.plugins_limitedtimediscount_data.time.hours) || 0;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ App({
|
|||
// 请求地址
|
||||
request_url: "{{request_url}}",
|
||||
request_url: 'http://tp5-dev.com/',
|
||||
//request_url: 'https://test.shopxo.net/',
|
||||
request_url: 'https://test.shopxo.net/',
|
||||
|
||||
// 基础信息
|
||||
application_title: "{{application_title}}",
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@
|
|||
</view>
|
||||
|
||||
<!-- 留言 -->
|
||||
<textarea bindinput="bind_user_note_event" maxlength="60" auto-height placeholder="留言" class="content-textarea bg-white spacing-mb" />
|
||||
<view class="content-textarea-view bg-white spacing-mb">
|
||||
<textarea wx:if="{{!popup_plugins_coupon_status}}" bindinput="bind_user_note_event" value="{{user_note_value}}" maxlength="60" placeholder="留言" class="wh-auto" />
|
||||
<view wx:if="{{popup_plugins_coupon_status}}" class="cr-888">{{user_note_value || '留言'}}</view>
|
||||
</view>
|
||||
|
||||
<!-- 优惠劵 -->
|
||||
<view wx:if="{{(plugins_coupon_data || null) != null && plugins_coupon_data.coupon_list.length > 0}}" class="plugins-coupon bg-white spacing-mb arrow-right" bindtap="plugins_coupon_open_event">
|
||||
|
|
|
|||
|
|
@ -126,10 +126,12 @@
|
|||
/**
|
||||
* 留言
|
||||
*/
|
||||
.content-textarea {
|
||||
padding: 10rpx;
|
||||
min-height: 10vh;
|
||||
width: 100%;
|
||||
.content-textarea-view,
|
||||
.content-textarea-view textarea {
|
||||
height: 180rpx;
|
||||
}
|
||||
.content-textarea-view view {
|
||||
padding: 12rpx;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue