当前位置: 首页 > news >正文

做电影网站用什么软件叫什么名字关键词优化排名

做电影网站用什么软件叫什么名字,关键词优化排名,wordpress 图片链接,自己怎么建个网站赚钱技术前置: 1.框架采用colorUI 2.原生开发 功能: 上传图片 1.上传已经拍摄的图片 2.实时拍摄上传 3.设置上传图片数量,每次上传数量 4.上传等待 ChooseImage() {if(this.data.imgList.length>4){_this.ErrorEvent("最多上传4…

在这里插入图片描述
技术前置:

1.框架采用colorUI

2.原生开发

功能:

上传图片

1.上传已经拍摄的图片

2.实时拍摄上传

3.设置上传图片数量,每次上传数量

4.上传等待

ChooseImage() {if(this.data.imgList.length>=4){_this.ErrorEvent("最多上传4张照片");return;}if(this.data.imgList.length>=4){_this.ErrorEvent("最多上传4张照片");return;}if(this.data.Mylatitude==null){this.ErrorEvent("请点击定位送达地址!");return;}if(this.data.Mylongitude==null){this.ErrorEvent("请点击定位送达地址!");return;}var position=this.data.Mylatitude+","+this.data.Mylongitude;wx.chooseImage({count: 1, //默认9sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有sourceType: ['album','camera'], //从相册选择 ,success: (res) => {if(res.tempFilePaths.length<=0){return;}wx.showLoading({title: '正在上传图片',// icon: 'loading',// duration: 5000,mask: true})const tempFilePaths = res.tempFilePaths;var uploadimgs=[];for(var i=0;i<tempFilePaths.length;i++){this.uploadImg(tempFilePaths[i],position);}}});},//上传图片uploadImg(address,longlatData){let reqaddress= app.globalData.baseUrl+ '/uploadPic';let _this=this;wx.uploadFile({url: reqaddress, //仅为示例,非真实的接口地址filePath: address,name: 'file',formData: {'user': 'test'},success (res){const data = res.data;var mdata= JSON.parse(data);wx.hideLoading();if(mdata.code==0){if (_this.data.uploadImgList.length > 0) {_this.setData({uploadImgList:_this.data.uploadImgList.concat(mdata.data.relativePath),})} else {var show="uploadImgList[0]";_this.setData({[show]:mdata.data.relativePath})}if (_this.data.imgList.length != 0) {_this.setData({imgList: _this.data.imgList.concat(address),})} else {var show="imgList[0]";_this.setData({[show]: address,})}_this.HideErrorEvent();wx.showToast({title: '图片上传成功',duration: 1000,})}else{// var count=_this.data.imgList.length;// _this.setData({//   imgList:_this.data.imgList.splice(count-1, 1)// })_this.ErrorEvent("上传图片到服务器失败!请重传");}}, complete() {  },fail(error){wx.hideLoading();console.log(error);// var count=_this.data.imgList.length;// _this.setData({//   imgList:_this.data.imgList.splice(count-1, 1)// })_this.ErrorEvent("上传图片到服务器失败!请重传");}})},
http://www.ds6.com.cn/news/48590.html

相关文章:

  • 个人网站开发的背景百度竞价广告投放
  • 企业网站为什么都选千博企业网站google官网进入
  • 网站被k的原因郑州关键词优化顾问
  • 怎么做阿里巴巴国际网站首页营销型网站一般有哪些内容
  • 做网站的企业排名大连seo顾问
  • 新建南昌网站建设公司58同城如何发广告
  • 如何在百度上做公司做网站如何建立网站 个人
  • 襄阳电商网站建设营销策略范文
  • 昌乐网站制作东莞做网站哪家公司好
  • 网站关键词代码怎么做百度推广怎么赚钱
  • 选择做网站销售的优势赣州seo外包
  • 做软件去哪个网站seo网站排名全选
  • 顺德网站建设哪家好泰安网站建设
  • 湛江海田网站建设招聘关键词优化的价格查询
  • 闵行区做网站公司搜索排名提升
  • 建立网站目录结构应遵循的方法和建议数据分析师需要学哪些课程
  • 软件开发流程模板网站google搜索优化
  • 如何自做网站企业关键词排名优化网址
  • 公司做网站设计要注意沈阳企业网站seo公司
  • 重庆品牌网站建设公司网站设计与制作
  • 付网站首期合同款怎么做分录企业培训课程ppt
  • wordpress端口更改seo托管服务
  • 找人做网站靠谱吗山西百度推广开户
  • 常州网官网百度seo排名教程
  • 做球球棒棒糖网站源码seo广告优化
  • wordpress 上传网站站长seo推广
  • web产品销售网站开发广东seo推广公司
  • app策划书模板范文杭州优化外包哪里好
  • 移动端h5网站开发框架搜索网站的软件
  • 网站平台建设合同模版上海单个关键词优化