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

传奇手游开服表网站医疗器械公司简介

传奇手游开服表网站,医疗器械公司简介,求几个好看的关键词,北京商场哪个便宜又好uniappH5实现 阿里云OSS上传视频 示例图#xff1a; 上传视频完整示例代码#xff1a; 使用npm安装SDK开发包#xff0c;安装命令为 npm install ali-oss --save accessKeyId 和 accessKeySecret 还有 bucket 替换成你的就行。 multipartUpload 的第一个入参是#x…uniappH5实现 阿里云OSS上传视频  示例图 上传视频完整示例代码 使用npm安装SDK开发包安装命令为 npm install ali-oss --save accessKeyId 和 accessKeySecret 还有 bucket 替换成你的就行。 multipartUpload 的第一个入参是 文件路径 文件名称 第二个入参是文件对象 templateview classquiz!-- view classtitle title3上传/view --!-- 添加图片 --view classmainAddpicp classaddPicspan选择视频/span/pview classThreePicvideo v-iflocVideoUrl :srclocVideoUrl classadd1/video!-- image classaddPic1 v-else src/static/upImg.png clickaddPic / --img v-else classpicMore clickaddPic() src/static/upImg.png //view/viewview classbtn clickupbtn()上传保存/view/view /templatescriptimport OSS from ali-ossimport uploadFile from /util/uploadFile;var that;export default {data() {return {delet: https://oss.xxx.com.cn/web/tempProject/applyClosed.png,addImg: https://oss.xxx.com.cn/web/tempProject/addImg.png,quiz_upImg: https://oss.xxx.com.cn/web/tempProject/quiz_upImg.png,locVideoUrl: ,};},onLoad() {that this;},methods: {// 添加addPic(e) {uni.chooseVideo({sourceType: [camera, album],success: (res) {console.log(chooseVideo-res, res);this.locVideoObj res.tempFilethis.locVideoUrl res.tempFilePath;console.log(locVideoUrl, this.locVideoUrl);}});},async upbtn() {uni.showLoading({title:上传中···})const client new OSS({// yourregion填写Bucket所在地域。以华东1杭州为例Region填写为oss-cn-hangzhou。region: oss-cn-shanghai,// 从STS服务获取的临时访问密钥AccessKey ID和AccessKey Secret。accessKeyId: LTAI5tF59uyDCJxxxxxxxKD5,accessKeySecret: M5or7KKsHm2RxxxxxxxxxxCjeyQT,// 从STS服务获取的安全令牌SecurityToken。// 填写Bucket名称例如examplebucket。bucket: xxxx-pap,});const progress (p, _checkpoint) {// Object的上传进度。console.log(p);// 分片上传的断点信息。console.log(_checkpoint);};const headers { // 指定Object的存储类型。x-oss-storage-class: Standard, // 指定Object标签可同时设置多个标签。//x-oss-tagging: Tag11Tag22, // 指定初始化分片上传时是否覆盖同名Object。此处设置为true表示禁止覆盖同名Object。x-oss-forbid-overwrite: true}const result await client.multipartUpload(meetingminu/${this.locVideoObj.name}, this.locVideoObj, {progress,// headers,// 指定meta参数自定义Object的元信息。通过head接口可以获取到Object的meta数据。meta: {year: 2020,people: test,},});console.log(result, result);// 填写Object完整路径例如exampledir/exampleobject.txt。Object完整路径中不能包含Bucket名称。const head await client.head(meetingminu/${this.locVideoObj.name});console.log(head, head);uni.hideLoading()uni.showToast({title:上传成功})setTimeout((){uni.reLaunch({url:/pages/index/index})},1500)},}}; /scriptstyle langscss scoped.quiz {margin: 36rpx;position: relative;color: #102841;padding-bottom: 180rpx;.mainAddpic {width: 100%;padding: 40rpx 28rpx 50rpx;border-radius: 20rpx;margin-bottom: 20rpx;box-sizing: border-box;.ThreePic {display: flex;// justify-introduce: space-around;flex-wrap: wrap}.addPic {width: 100%;padding-left: 10rpx;padding-bottom: 10rpx;border-bottom: 1px solid #E5F1FF;span:nth-child(1) {font-family: PingFangSC-Medium, PingFang SC;font-size: 28rpx;color: grey;font-weight: bold;}span:nth-child(2) {font-size: 24rpx;color: #999;}}.picMore {width: 170rpx;height: 170rpx;border-radius: 8rpx;display: flex;margin: 30rpx auto 10rpx;position: relative;// border: 1px dashed #ccc;image {width: 88rpx;height: 88rpx;margin: 0 auto;}.add1 {width: 186rpx;height: 186rpx;border-radius: 8rpx;}.delete {position: absolute;right: 0;top: 0;z-index: 2;width: 40rpx;}.addPic1 {width: 60rpx;height: 60rpx;}}}.quiz_upImg {width: 212rpx;height: 212rpx;position: relative;left: 50%;margin-left: -106rpx;margin-top: 40rpx;}.title {// height: 100rpx;position: relative;font-size: 34rpx;font-family: Source Han Sans CN;font-weight: 500;}.title2 {margin-top: 80rpx;}.title3 {margin-top: 60rpx;}textarea {width: 83.8vw;}.xuanzhe {width: 83.8vw;position: relative;top: 22rpx;padding: 24rpx;background: #fcfcfc;border-radius: 14rpx;box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(16, 40, 65, 0.26);.rrr {width: 12rpx;height: 22rpx;position: absolute;right: 30rpx;margin-top: 10rpx;z-index: 3;}}textarea {position: relative;top: 22rpx;padding: 24rpx;background: #fcfcfc;border-radius: 14rpx;box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(16, 40, 65, 0.26);}.textarea1 {height: 70rpx;}.textarea2 {margin-top: 26rpx;height: 200rpx;}.btn {position: relative;margin: auto;margin-top: 34rpx;border-radius: 10rpx;height: 70rpx;line-height: 70rpx;width: 220rpx;left: 50%;margin-left: -110rpx;background-color: #102841;color: #fff;font-size: 32rpx;text-align: center;}.list {margin-top: 40rpx;.item {width: 90%;padding-bottom: 0rpx;min-height: 80rpx;background: #FFFFFF;box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(16, 40, 65, 0.26);border-radius: 12rpx;margin: auto;position: relative;margin-bottom: 28rpx;.red_point {margin-top: -6rpx;margin-right: 14rpx;width: 16rpx;height: 16rpx;border-radius: 50%;background-color: red;position: absolute;right: 4rpx;}.txt {line-height: 96rpx;// height: 36rpx;font-size: 28rpx;font-family: Source Han Sans CN;font-weight: 500;color: #102841;margin-left: 30rpx;width: 470rpx;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}}}} /style
http://www.dnsts.com.cn/news/250572.html

相关文章:

  • 西安网站建设动力无限公司设计网站需要注意哪些
  • 网站受到攻击网站 模板 安装
  • 怎样维护自己的网站中文儿童网站模板
  • 济南品质网站建设哪家好初级网站开发的自我推荐
  • 怎么查网站点击量优化关键词排名软件
  • 福田做商城网站建设哪家公司便宜点自考网页设计素材
  • 软文网站名称网站icp备案 去哪
  • 朝阳区网站开发公司想做网站要学什么
  • 长沙百度网站快速排名淘客导航网站开发
  • 临沂建设大型网站建设2015年做哪个网站致富
  • 外国男男做暧暧视频网站网络营销型网站策划
  • 利用虚拟主机建设企业网站实验报告千牛
  • 做网站功能模块网站广告动图怎么做的
  • 大连网站制作流程珠宝网站策划书
  • 做高端网站公司哪家好wordpress幻灯片怎么建
  • 网站的建设与管理北京做网站找哪家好
  • 网站素材类型seo数据是什么意思
  • 青岛网站推广服务浙江温州乐清
  • 牛商网建站直播网站做收入流水
  • Wix网站开发 工作室手机网站自助建
  • 网站建设费 大创个人门户网站建设流程
  • 黔东南建设厅网站网站制作长沙
  • 苏州网站建设点一点网站推广公司成功的经典案例
  • 购物网站 页面设计浙江网站制作公司
  • 对重庆电子政务网站建设评价wordpress的登录密码
  • 做购物平台网站客户体验活动直播app开发一个需要多少钱
  • 湛江企业自助建站网站dns
  • 网站开发费用可否计入无形资产徐老师在那个网站做发视频
  • 网站设计论文的摘要微商城系统开发
  • 保定建设局网站网站底部留言代码