摘要:
微信小程序内嵌H5,发布后无法打开页面 解决方法 一、在微信公众平台,登录微信小程序的帐号。 二、配置业务域名 进入【开发-开发管理-开发设置-业务域名】中,开始配置业务域名(配置业务域名需小程序管理员扫码验证) 填写需要跳转的域名,然后点击下载校验文件,并将其放置在需要跳转的域名的根目录下。 注意 阅读全文
摘要:
1图居中、圆边角、指示点颜色更改、指示点样式更改 下图是样式不好看的组件 要修改成这样:: wxml: <swiper class="bd" indicator-dots="{{true}}" indicator-active-color="#ff8f00" autoplay="{{true}}" 阅读全文
摘要:
<view class="tab-list-movie" style="background:{{bgColor[swiperIndex]}}"> <swiper class="movie-swiper" autoplay interval="3000" circular indicator-dot 阅读全文
摘要:
https://open.weixin.qq.com/sns/getexpappinfo?appid=这里填写你的appId&path=需要跳转的小程序地址 注意:需要跳转的小程序地址,需要在 地址最后 参数前 增加.html 例如a56爆大奖在线娱乐需要跳转体验版的小程序地址为 pages/home/index?n 阅读全文
摘要:
::v-deep .el-input { input[type="number"] { padding-right: 0px; -moz-appearance: textfield; -webkit-appearance: textfield; // 解决el-input设置类型为number时,中 阅读全文
摘要:
wxml 内 <view class='product-contact' wx:if="{{contact!=''}}" data-contact1="{{contact1}}" data-contact2="{{contact2}}" catchtap='makeCall'>立即联系</view> 阅读全文
摘要:
data: { animationData: {} }, created() { let animation = wx.createAnimation({ duration: 500, // delay: 1000, timingFunction: 'ease' }); this.animation 阅读全文
摘要:
转码 var url = "https://www.example.com/页面"; // 需要跳转的链接包含中文字符var encodedUrl = encodeURIComponent(url); // 对链接进行编码window.location.href = encodedUrl; // 通 阅读全文
摘要:
图片压缩js import ImageCompressor from 'image-compressor.js'; export function compressFile(file) { return new Promise((resolve, reject) => { const options 阅读全文
摘要:
<scroll-view scroll-y class="right-box" :scroll-top="scrollRightTop" @scrolltolower="onreachBottom" :refresher-enabled="true" :refresher-triggered="tr 阅读全文