<el-dropdown class="avatar-container" trigger="click"> <div class="avatar-wrapper"> <el-button type="primary" size="medium"> 支付 <i class="el-icon-caret-bottom" /> </el-button> </div> <el-dropdown-menu slot="dropdown" class="user-dropdown"> <a v-if="isPC &&(item.status==1||item.status==3)&&(payMethod==0||payMethod==1)" target="_blank" :href="openPayPageUrl"> <el-dropdown-item>银行卡支付</el-dropdown-item> </a> <el-dropdown-item v-if="(item.status==1||item.status==3)&&(isPC||isWX)&&(payMethod==0||payMethod==2)"> <span style="display:block;" @click="wxPayPc(item.id)">微信支付</span> </el-dropdown-item> <el-dropdown-item divided> <span style="display:block;">线下支付</span> </el-dropdown-item> </el-dropdown-menu> </el-dropdown>
原文地址:https://www.cnblogs.com/fqh123/p/11378167.html
时间: 2024-11-06 05:54:59