2022年1月12日
摘要: <video :src="class_info.video_audio_url" id="myVideo" :poster="imgurl" @timeupdate="videoTimeUpdateEvent"></video> data() { return { videoContext: {}, 阅读全文
posted @ 2022-01-12 10:47 天空中的云~飞起来了 阅读(611) 评论(0) 推荐(0)
摘要: plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => { console.log(wgtinfo) wgtinfo.version; //1.1.6 wgtinfo.versionCode; //116 } 阅读全文
posted @ 2022-01-12 10:35 天空中的云~飞起来了 阅读(876) 评论(0) 推荐(0)
摘要: uni.$emit uni.$emit('update',{msg:'页面更新'}) uni.$on uni.$on('update',function(data){ console.log('监听到事件来自 update ,携带参数 msg 为:' + data.msg); }) https:// 阅读全文
posted @ 2022-01-12 10:07 天空中的云~飞起来了 阅读(93) 评论(0) 推荐(0)
摘要: 问题:在使用uniapp开发手机App时,因为HBuildX创建的应用默认是沉浸式样式,如果去除自带的导航栏之后,页面会直通手机顶部状态栏,解决办法如下: 方法1:使用uniapp官方文档提供的解决方案 https://uniapp.dcloud.io/collocation/pages?id=cu 阅读全文
posted @ 2022-01-12 10:02 天空中的云~飞起来了 阅读(837) 评论(0) 推荐(0)
  2021年5月28日
摘要: <view class="apply-form"> <view class="apply-lt"> 手机号 </view> <view class="apply-phone"> <input type="text" :value="info.telephone" name="telephone" p 阅读全文
posted @ 2021-05-28 09:51 天空中的云~飞起来了 阅读(1491) 评论(2) 推荐(0)
  2021年5月21日
摘要: 1.微信小程序 // 微信小程序 订阅消息,最多三条 wx.requestSubscribeMessage({ tmplIds: [''], success (res) { } }) object.success 回调函数 参数 Object res 属性类型说明 errMsg String 接口调 阅读全文
posted @ 2021-05-21 16:51 天空中的云~飞起来了 阅读(179) 评论(0) 推荐(0)
摘要: 1.uniapp插件市场下载mp-html。 链接:mp-html.zip 2.放到components目录下。 3.页面使用。 <template> <view class="content"> <view class="text-area"> <text class="title">{{titl 阅读全文
posted @ 2021-05-21 14:16 天空中的云~飞起来了 阅读(2207) 评论(0) 推荐(0)
摘要: // 上拉加载 onReachBottom() { var page = this.data.page, ifPage = this.data.ifPage, list = this.data.list page++; app.ajax("/Goods/integral_index", { user 阅读全文
posted @ 2021-05-21 11:25 天空中的云~飞起来了 阅读(116) 评论(0) 推荐(0)
  2021年4月30日
摘要: 状态栏高度 40rpx=20px 导航栏高度 88rpx=44px 1.xxx.json "navigationStyle"设为"custom" { "usingComponents": {}, "navigationBarTitleText": "", "navigationStyle": "cu 阅读全文
posted @ 2021-04-30 17:01 天空中的云~飞起来了 阅读(487) 评论(0) 推荐(0)
摘要: /* 字体颜色 */ .color-white { background-color: #ffffff; } .color-grey { background-color: #eeeeee; } /* 背景颜色 */ .bg-color-white { background-color: #ffff 阅读全文
posted @ 2021-04-30 14:56 天空中的云~飞起来了 阅读(144) 评论(0) 推荐(0)