diff --git a/api/merchant.js b/api/merchant.js new file mode 100644 index 0000000..ad23c41 --- /dev/null +++ b/api/merchant.js @@ -0,0 +1,19 @@ +import request from "@/utils/request.js"; + +// 商户中心 - 推广二维码 +export function promoteQrCodes(data) { + return request.get('merchant/promote_qr_code',data); +} + + + + + + + + + + + + + diff --git a/pages/admin/business/index.vue b/pages/admin/business/index.vue index 8b95fd9..19434a1 100644 --- a/pages/admin/business/index.vue +++ b/pages/admin/business/index.vue @@ -19,12 +19,22 @@ + + + + + + 关闭 + + @@ -217,4 +259,23 @@ import emptyPage from '@/components/emptyPage.vue' border: 1px solid #2291F8 !important; background-color: #2291F8 !important } + // 二维码弹框 + .qr-code-content{ + width: 80vw; + .image{ + width: 80vw; + height: 80vw; + } + .close-qr-code{ + position: fixed; + top: 35rpx; + right: 70rpx; + color: #FFFFFF; + border: 2rpx solid #FFFFFF; + height: 40rpx; + line-height: 36rpx; + padding: 0 20rpx; + border-radius: 50rpx; + } + }