jufubao-admin-library 1.1.87 → 1.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -283,10 +283,10 @@ module.exports = {
|
|
|
283
283
|
path: '/code-partner/v1/code-activity-for-forign',
|
|
284
284
|
isRule: false,
|
|
285
285
|
params: {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
286
|
+
activity_name: ['activity_name', 'String', '非必填'],
|
|
287
|
+
activity_use_scene: ['activity_use_scene', 'String', '非必填'],
|
|
288
|
+
selected_activity_id: ['selected_activity_id', 'String', '非必填'],
|
|
289
|
+
site_id: ['site_id', 'String', '非必填'],
|
|
290
290
|
},
|
|
291
291
|
disabled: true,
|
|
292
292
|
role: '',
|
|
@@ -619,5 +619,16 @@ export default {
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
+
#qrCode{
|
|
623
|
+
display: flex;
|
|
624
|
+
justify-content: center;
|
|
625
|
+
padding-top: 25px;
|
|
626
|
+
}
|
|
627
|
+
.code_notice{
|
|
628
|
+
text-align: center;
|
|
629
|
+
color: #606266;
|
|
630
|
+
font-size: 16px;
|
|
631
|
+
margin-bottom: 10px;
|
|
632
|
+
}
|
|
622
633
|
</style>
|
|
623
634
|
|
|
@@ -81,6 +81,18 @@
|
|
|
81
81
|
>
|
|
82
82
|
<people-manage :id="clickId"></people-manage>
|
|
83
83
|
</xd-dialog>
|
|
84
|
+
<xd-dialog
|
|
85
|
+
title="提示"
|
|
86
|
+
:show.sync="codeVisible"
|
|
87
|
+
:showClose="false"
|
|
88
|
+
@onConfirm="handleSure"
|
|
89
|
+
@onCancel="handleSure"
|
|
90
|
+
>
|
|
91
|
+
<div class="code_notice">请使用微信扫二维码体验活动</div>
|
|
92
|
+
<div style="height: 200px; background: #efefef">
|
|
93
|
+
<div id="qrCode" ref="qrcode"></div>
|
|
94
|
+
</div>
|
|
95
|
+
</xd-dialog>
|
|
84
96
|
</div>
|
|
85
97
|
</template>
|
|
86
98
|
|
|
@@ -95,6 +107,7 @@ import permissions from "@/constant/permissions"
|
|
|
95
107
|
import PeopleManage from './components/PeopleManage'
|
|
96
108
|
import XdDialog from "@/components/XdDialog.vue";
|
|
97
109
|
import { getOptions } from "@/utils/options";
|
|
110
|
+
import QRCode from 'qrcodejs2'
|
|
98
111
|
import {
|
|
99
112
|
mapActions,
|
|
100
113
|
mapState,
|
|
@@ -178,6 +191,7 @@ export default {
|
|
|
178
191
|
showPeopleManage:false,
|
|
179
192
|
clickId:null,
|
|
180
193
|
sourceFromData:[],
|
|
194
|
+
codeVisible:false,
|
|
181
195
|
}
|
|
182
196
|
},
|
|
183
197
|
|
|
@@ -370,7 +384,17 @@ export default {
|
|
|
370
384
|
</script>
|
|
371
385
|
|
|
372
386
|
<style scoped lang="scss">
|
|
373
|
-
|
|
387
|
+
#qrCode{
|
|
388
|
+
display: flex;
|
|
389
|
+
justify-content: center;
|
|
390
|
+
padding-top: 25px;
|
|
391
|
+
}
|
|
392
|
+
.code_notice{
|
|
393
|
+
text-align: center;
|
|
394
|
+
color: #606266;
|
|
395
|
+
font-size: 16px;
|
|
396
|
+
margin-bottom: 10px;
|
|
397
|
+
}
|
|
374
398
|
|
|
375
399
|
</style>
|
|
376
400
|
|