我的记录

大家好,我是箫箫小仙女。今天我想和大家分享一些初学箫的吹奏方法和洞箫演奏技巧。
对于初学者来说,掌握正确的吹奏姿势是非常重要的。要坐直身体,放松肩膀和手臂。箫的吹口要对准下巴,嘴唇稍微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微微信支付" forState:UIControlStateNormal];
}
retn _wxPayButton;
-(UIButton *)aliPayButton{
if (!_aliPayButton) {
_aliPayButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_aliPayButton setTitle:@"支付宝支付" forState:UIControlStateNormal];
[_aliPayButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
_aliPayButton.frame = CGRectMake(20, CGRectGetMaxY(_wxPayButton.frame) + 10, SCREEN_WIDTH - 40, 40);
_aliPayButton.backgroundColor = [UIColor colorWithRed:0.99 green:0.76 blue:0.22 alpha:1.00];
[_aliPayButton addTarget:self action:@selector(aliPayButtonAction) forControlEvents:UIControlEventTouchUpInside];
_aliPayButton.layer.cornerRadius = 5;
_aliPayButton.layer.masksToBounds = YES;
}
retn _aliPayButton;
-(UIButton *)unionPayButton{
if (!_unionPayButton) {
_unionPayButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_unionPayButton setTitle:@"银联支付" forState:UIControlStateNormal];
[_unionPayButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
_unionPayButton.frame = CGRectMake(20, CGRectGetMaxY(_aliPayButton.frame) + 10, SCREEN_WIDTH - 40, 40);
_unionPayButton.backgroundColor = [UIColor colorWithRed:0.99 green:0.76 blue:0.22 alpha:1.00];
[_unionPayButton addTarget:self action:@selector(unionPayButtonAction) forControlEvents:UIControlEventTouchUpInside];
_unionPayButton.layer.cornerRadius = 5;
_unionPayButton.layer.masksToBounds = YES;
}
retn _unionPayButton;
-(UIButton *)cancelButton{
if (!_cancelButton) {
_cancelButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_cancelButton setTitle:@"取消" forState:UIControlStateNormal];
[_cancelButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
_cancelButton.frame = CGRectMake(20, CGRectGetMaxY(_unionPayButton.frame) + 10, SCREEN_WIDTH - 40, 40);
_cancelButton.backgroundColor = [UIColor colorWithRed:0.99 green:0.76 blue:0.22 alpha:1.00];
[_cancelButton addTarget:self action:@selector(cancelButtonAction) forControlEvents:UIControlEventTouchUpInside];
_cancelButton.layer.cornerRadius = 5;
_cancelButton.layer.masksToBounds = YES;
}
retn _cancelButton;
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor whiteColor];
[self.view addSubview:self.wxPayButton];
[self.view addSubview:self.aliPayButton];
[self.view addSubview:self.unionPayButton];
[self.view addSubview:self.cancelButton];
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resoces that can be recreated.
-(void)wxPayButtonAction{
[self payWithPayType:PayTypeWeChat];
-(void)aliPayButtonAction{
[self payWithPayType:PayTypeAliPay];
-(void)unionPayButtonAction{
[self payWithPayType:PayTypeUnionPay];
-(void)cancelButtonAction{
[self.nigationController popViewControllerAnimated:YES];
-(void)payWithPayType:(PayType)payType{
if (payType == PayTypeWeChat) {
NSLog(@"微信支付");
}else if (payType == PayTypeAliPay){
NSLog(@"支付宝支付");
}else if (payType == PayTypeUnionPay){
NSLog(@"银联支付");
}
@end