1、效果展示

2、关键代码
① index.wxml
checkbox1 checkbox2 checkbox3 提示:{{text}}
② index.js
Page({
data:{
// text:"这是一个页面"
text:''
},
checkboxgroupBindchange:function(e){
var temp1=e.detail.value
var temp2=''
console.log(temp1)
if(temp1.length!=0){
for(var i=0,len=temp1.length;i