android 选择银行类型,vue2.0实现银行卡类型种类的选择

功能效果:vue2.0实现银行卡类型种类的选择

AAffA0nNPuCLAAAAAElFTkSuQmCC

参考代码如下:

卡类型

{{name}}

export default {

data() {

return {

actions2: [], //底部弹出提示框

sheetVisible2: false,//透明遮罩背景

name: "普卡"//默认数值

};

},

computed: {

},

components: {

},

methods: {

// 点击显示会员等级

memberRank() {

this.sheetVisible2 = true;

},

//赋值到框里

commonCard() {

this.name = "普卡";

},

silverCard() {

this.name = "银卡";

},

goldCard() {

this.name = "金卡";

},

},

mounted() {//移动但底部弹出选项

this.actions2 = [

{

name: "普卡",

method: this.commonCard

},

{

name: "银卡",

method: this.silverCard

},

{

name: "金卡",

method: this.goldCard

}

];

}

};

header {

height: 1.5rem;

width: 100%;

background-image: linear-gradient(-134deg, #f62241 0%, #f62241 100%);

position: relative;

}

.details {

background: white;

margin-top: 0.3rem;

height: auto;

}

.details div span:nth-child(2):not(.phoneNum) {

position: absolute;

left: 4rem;

}

.details div {

clear: both;

border-bottom: 0.025rem solid rgba(0, 0, 0, 0.02);

height: 1.5rem;

line-height: 1.5rem;

font-size: 0.48rem;

color: rgba(0, 0, 0, 0.7);

margin-left: 0.5rem;

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值