报名组件封装

master
wangxia 2 years ago
parent 3deffcbf97
commit 00a0b1cfa9

@ -5,7 +5,7 @@ page {
height: 100vh; height: 100vh;
background: #f5f5f5; background: #f5f5f5;
--color-ysd: #00b666; --color-ysd: #00b666;
--color-hover: #ebfaf4; --color-hover: #3393ff;
--color-be: #ff4400; --color-be: #ff4400;
--color-f40: #ff4400; --color-f40: #ff4400;
--color-027: #ff4400; --color-027: #ff4400;
@ -2017,7 +2017,7 @@ page {
padding: 0; padding: 0;
width: 100%; width: 100%;
} }
/* 按钮样式 */ /* 按钮样式 */
.normalBtn { .normalBtn {
display: inline-block; display: inline-block;
border-radius: 18px; border-radius: 18px;
@ -2039,9 +2039,10 @@ button.nobg_Btn {
line-height: 34px; line-height: 34px;
} }
/* 按钮样式 end */ /* 按钮样式 end */
/* 输入框默认显示样式 */
/* 输入框默认显示样式 */
.input-placeholder{ .input-placeholder{
color: #CCCCCC; color: #CCCCCC;
font-weight: normal; font-weight: normal;
} }
/* 输入框默认显示样式 end */ /* 输入框默认显示样式 end */

@ -41,10 +41,10 @@ Component({
return false; return false;
}, },
hideModal () { hideModal () {
var eventDetail = { this.setData({
type: this.data.drawerType show: false
}; })
this.triggerEvent("hidedrawer", eventDetail); // this.triggerEvent("hidedrawer", eventDetail);
}, },
} }
}) })

@ -1246,17 +1246,6 @@ Page({
}) })
},*/ },*/
/**
* 抽屉组件隐藏
*
*
*/
hidedrawershow (e) {
console.log(e);
this.setData({
[e.detail.type]: false
})
},
goNewEnroll (e) { goNewEnroll (e) {
let that = this; let that = this;
console.log(e); console.log(e);

@ -476,4 +476,4 @@
</view> </view>
<view class="mask" wx:if="{{isMaskShow}}"></view> <view class="mask" wx:if="{{isMaskShow}}"></view>
</view> </view>
<record-bill show="{{recordBillShow}}" bindhidedrawer="hidedrawershow" drawerType="recordBillShow" jobDetail="{{jobDetail}}"></record-bill> <record-bill show="{{recordBillShow}}" jobDetail="{{jobDetail}}"></record-bill>

Loading…
Cancel
Save