
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
html代码<!-- #ifdef APP-PLUS --><view>// adpid 自己的广告id<ad :adpid="adpid" type="banner" @load="onloads" @error="onerror" @close="onclose"></ad></view><!-- #endif -->js
uniapp自定义隐私协议弹窗#ifdef APP-PLUS// isAgreePrivacy返回布尔值 true falselet agree = plus.runtime.isAgreePrivacy();if(!agree){// 跳转弹窗页 uni,redirectTothis.$common.redirectTo('/pages/index/agree');}// #endif...
1.view// share分享< button open-type=“share” ></ button>2.js模块// 微信小程序端onShareAppMessage(res) {if (res.from === 'button') {// 来自页面内分享按钮console.log(res)}return {title: '分享标题',path: '/pages/in
custom(value) { // 搜索事件if (!value) {// this.$common.errorToShow 是封装的提示框方法this.$common.errorToShow('请输入关键词搜索');return;}// this.$db.get 是封装的获取异步缓存方法if (this.$db.get(‘key’)) {this.keyMap = this.$db.get('
uni.downloadFile({url: 'http://www.example.com/file/test', //仅为示例,并非真实的资源success: (res) => {console.log('下载进度' + res.progress);console.log('已经下载的数据长度' + res.totalBytesWritten);console.log('预期需要下载的数
uniapp首次安装不提示存储权限
在这里插入代码片可以在manifest.json文件的源码视图中配置忽略这个提醒"app-plus": {"compatible": {"ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持},},...
login() {var wxCode = '';uni.login({provider:'weixin',success: (res) => {//console.log(res.code)wxCode = res.code;}})uni.getUserProfile({lang:'zh_CN',desc: '获取您的昵称、头像、地区及性别',success: async (pro..
【代码】宝塔 docker 安装 rabbitmq。

<?phpnamespace app\job;use think\queue\Job;class JobQueue{public function fire(Job $job, $data){if ($job->attempts() > 3) {$job->delete();}$doJob = $this->doJob($data);if ($doJob) {$job







