fix: 新增扫码关注公众号功能

pull/9/head
TianYu 2023-06-01 11:53:24 +08:00
parent 296af91986
commit 55abca5129
5 changed files with 53 additions and 8 deletions

View File

@ -71,7 +71,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template v-slot="scope">
<el-button size="mini" type="text" @click="handleLook(scope.row)"
v-hasPermi="['system:tenant:update']">查看
v-hasPermi="['system:tenant:look']">查看
</el-button>
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
v-hasPermi="['system:tenant:update']">编辑
@ -85,7 +85,7 @@
>
<canvas :id="`id-${scope.row.id}`" width="120" height="120"></canvas>
<el-button slot="reference" size="mini" type="text" @click="handleQRCode(scope.row)"
v-hasPermi="['system:tenant:delete']">推广码
v-hasPermi="['system:tenant:qrcode']">推广码
</el-button>
</el-popover>
<el-dropdown @command="(command) => handleCommand(command, scope.$index, scope.row)"
@ -93,13 +93,13 @@
<el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="handleDisabled" size="mini" type="text" icon="el-icon-video-pause"
v-hasPermi="['system:tenant:delete']">禁用</el-dropdown-item>
v-hasPermi="['system:tenant:disable']">禁用</el-dropdown-item>
<el-dropdown-item command="handleCommission" size="mini" type="text" icon="el-icon-set-up"
v-hasPermi="['system:tenant:delete']">提成设置</el-dropdown-item>
v-hasPermi="['system:tenant:commission']">提成设置</el-dropdown-item>
<el-dropdown-item command="handleNotice" size="mini" type="text" icon="el-icon-chat-round"
v-hasPermi="['system:tenant:delete']">通知公告</el-dropdown-item>
v-hasPermi="['system:tenant:notice']">通知公告</el-dropdown-item>
<el-dropdown-item command="handleBanner" size="mini" type="text" icon="el-icon-picture-outline"
v-hasPermi="['system:tenant:delete']">轮播图</el-dropdown-item>
v-hasPermi="['system:tenant:banner']">轮播图</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</template>

View File

@ -204,6 +204,12 @@
"navigationBarTitleText": "用户协议"
}
},
{
"path": "wechat/index",
"style": {
"navigationBarTitleText": "关注公众号"
}
},
{
"path": "web_page/index",
"style": {

View File

@ -104,9 +104,12 @@
<u-cell title="热线电话" value="400-8009935" isLink @click="callPhone">
<u-icon slot="icon" size="45" name="/static/images/user_icon3.png"></u-icon>
</u-cell>
<u-cell title="在线客服" value="8:30-17:30" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
<u-cell title="在线客服" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
<u-icon slot="icon" size="45" name="/static/images/user_icon4.png"></u-icon>
</u-cell>
<u-cell title="扫码关注公众号" isLink @click="jumpPage('/pages/users/wechat/index')">
<u-icon slot="icon" name="weixin-fill" size="45"></u-icon>
</u-cell>
</u-cell-group>
</view>
<view class="uni-p-b-98"></view>
@ -378,7 +381,7 @@
left: 0;
top: 0;
width: 100%;
height: 616rpx;
height: 100%;
background: linear-gradient(0deg, #F94B78 0%, #FFD35C 100%);
opacity: 0.18;
z-index: 0

View File

@ -0,0 +1,36 @@
<template>
<view class="wechat-wrap">
<u-navbar autoBack title="关注公众号"></u-navbar>
<view class="bg"></view>
<image src="@/static/images/qrcod.jpg" mode="widthFix" style="width: 400rpx;"></image>
</view>
</template>
<script>
</script>
<style lang="scss" scoped>
page,
body {
height: 100%;
}
.bg {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(0deg, #F94B78 0%, #FFD35C 100%);
opacity: 0.18;
z-index: 0
}
.wechat-wrap {
width: 100%;
min-height: 100%;
padding: 260rpx 20rpx 0 20rpx;
text-align: center;
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB