上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: 去除微信小程序里面的button边框 方法一:通过button::after button::after{ border: none; } 方法二:给button按钮加上plain属性,属性值为true <button plain="true"></button> 然后设置样式就可以去除边框了 bu 阅读全文
posted @ 2023-12-04 23:10 shuihanxiao 阅读(272) 评论(0) 推荐(0) 编辑
摘要: <el-col :span="16" id="labelStyle"> <el-select v-model="value" placeholder="" :popper-append-to-body="false"> <el-option v-for="item in sellerLabels" 阅读全文
posted @ 2023-11-24 16:56 shuihanxiao 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 结果是:http://localhost:8100/#/ 改变为 http://localhost:8100/?#/ 导致路由跳转出现问题。 原因:这里是 form 表单,点击了button 按钮,触发了他的默认事件,就是触发了提交这个行为。 解决方案:使用@click.prevent 阻止默认事件 阅读全文
posted @ 2023-11-14 14:48 shuihanxiao 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1、小程序客服接入流程 在页面使用客服消息 需要将 button 组件 open-type 的值设置为 contact,当用户点击后就会进入客服会话,如果用户在会话中点击了小程序消息,则会返回到小程序,开发者可以通过 bindcontact 事件回调获取到用户所点消息的页面路径 path 和对应的参 阅读全文
posted @ 2023-11-09 16:18 shuihanxiao 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1、小程序内打开H5 这个只需要用标签web-view即可,类似 <web-view src="https://www.baidu.com" bindload="bindload" binderror="binderror"></web-view> 参考文档:https://developers.w 阅读全文
posted @ 2023-11-01 11:25 shuihanxiao 阅读(2369) 评论(0) 推荐(0) 编辑
摘要: this.getPicSave() getPicSave(){ let _this=this wx.getSetting({ scope: 'scope.writePhotosAlbum', success(res) { if (res.authSetting['scope.writePhotosA 阅读全文
posted @ 2023-10-20 11:25 shuihanxiao 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 第一步:根据官方文来,先在微信公众平台登录小程序后台配置模板,获取模板id:,这块的模版可以在公共模版库里选。也可以新申请,但是需要3-7天才能出审核结果。 第二步,获取下发权限在获取下发权限之前,需要先获取小程序code和订阅消息的模板id给服务端,以便后台人员进行服务端配置 // 这里是获取下发 阅读全文
posted @ 2023-10-10 10:10 shuihanxiao 阅读(1550) 评论(0) 推荐(0) 编辑
摘要: 选中子类时候,获取当前子类和所有上级父类id <el-tree :data="permissionsData" show-checkbox node-key="id" ref="tree" highlight-current :default-checked-keys=defaultPermissi 阅读全文
posted @ 2023-09-05 10:41 shuihanxiao 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 产生的原因,由于回车太快导致数据还没返回就按下了回车,出现了如上的情况,当前组件已失去焦点,但下拉框依然存在。 解决办法: <el-autocomplete ref="autocomplete" v-model="modelValue" class="inline-input" :fetch-sug 阅读全文
posted @ 2023-09-05 10:24 shuihanxiao 阅读(248) 评论(0) 推荐(0) 编辑
摘要: MAP: { KEY: `${MAPKEY}`//自己申请的腾讯开发者密钥 }, loading: false, isAjaxSearch: false, // 地区列表 areas: [], // 地图搜索出来的地址 addressList: [ { value: 1, label: '', de 阅读全文
posted @ 2023-08-30 14:11 shuihanxiao 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页