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

自己搭建云服务平台/英语seo

自己搭建云服务平台,英语seo,优惠网站如何做,用搬瓦工搭建wordpress产品分类:uniapp/H5PC开发环境操作系统:WindowsPC开发环境操作系统版本号:win10HBuilderX类型:正式HBuilderX版本号:2.7.5浏览器平台:微信内置浏览器浏览器版本:微信公众号项目创建方式&#xf…

产品分类:

uniapp/H5

PC开发环境操作系统:

Windows

PC开发环境操作系统版本号:

win10

HBuilderX类型:

正式

HBuilderX版本号:

2.7.5

浏览器平台:

微信内置浏览器

浏览器版本:

微信公众号

项目创建方式:

HBuilderX

示例代码:

长按分享给您的好友

export default {

data() {

return {

PosterPath: uni.getStorageSync('defule_poster'),

qrcodeSrc:'',

imgPath:"/static/1.jpg",//保存图片的路径

screenHeight:1334,

screenWidth:750,

avatarUrl:'',

test:'0',

isPath:false

};

},

onLoad(options){

const context = uni.createCanvasContext('firstCanvas');

context.drawImage(imgPath,0,0,750,1334);

},

}

page{

background-color: #F1F1F1;

}

.page-foot {

position: fixed;

right: 0;

bottom: 0;

left: 0;

z-index: 30;

background-color: #282828;

}

.tips {

display: flex;

justify-content: center;

align-items: center;

height: 50px;

background: #ffffff;

font-size: 16px;

font-weight: 500;

color: #dd5544;

}

.posterImg {

position: fixed;

left: 10;

top: 10;

width: 90%;

height: 85%;

/* vertical-align: middle; */

}

.poster-canvas {

position: fixed;

right: 100vw;

bottom: 100vh;

}

.canvas{

padding: 20px;

display: flex;

justify-content: center;

}

.bottom{

padding: 20upx 0;

width: 100%;

display: flex;

justify-content: space-around;

position: fixed;

bottom: 0;

background-color:#ffffff;

}

.bottom view:first-child{

padding: 20upx 60upx;

background:#FF8A00;

border-radius:44upx;

font-size:30upx;

color:#FFFFFF;

}

.bottom view:last-child{

padding: 20upx 60upx;

background:#FF5256;

border-radius:44upx;

font-size:30upx;

color:#FFFFFF;

}

.imglist{

width:100%;

padding: 20upx 0upx;

overflow:auto;

position: absolute;

bottom: 0px;

background-color: #ffffff;

}

.imglist view{

display:flex;

justify-content:space-around;

}

.imglist image{

width:200upx;

height:200upx;

border-radius: 10upx;

}

操作步骤:

const context = uni.createCanvasContext('firstCanvas');

context.drawImage(imgPath,0,0,750,1334);

预期结果:

我希望图片可以在画布中按我指定的大小布局

实际结果:

实际只有我设想宽度的 2/1 高度只有 3/1的样子

http://www.jmfq.cn/news/4891933.html

相关文章:

  • 电子商城网站建设方案/电商代运营公司排名
  • 重庆公司网站建设价格/百度推广视频
  • 三五互联网站管理登录地址是多少/steam交易链接怎么改
  • 赤峰网站策划/深圳sem竞价托管
  • 怎么做代购彩票网站/济南网站优化公司排名
  • 湟源县wap网站建设公司/西安百度seo
  • 网站建设实训报告心得/网站外链是什么
  • 网站设计师/关键词推广
  • 贵州 网站建设/百度竞价广告怎么投放
  • 做seo需要哪些知识/安全优化大师下载
  • 铜山区建设局网站/农大南路网络营销推广优化
  • 十大SEO网站外链建设误区/上海网站外包
  • 手机低价购买网站/广告策划公司
  • 找人做网站维护多少钱/现在有哪些培训学校
  • 介绍国外的网站有什么不同/广州网络推广万企在线
  • wordpress feed 缩略图/谷歌优化工具
  • 网站建设费用包括/2022年适合小学生的新闻
  • xp花生壳做网站/国外免费网站服务器
  • 北京做网站的大公司/百度网盘服务电话6988
  • 网站投票怎么做/seo关键词优化外包公司
  • 做网站利润/aso优化榜单
  • 建英文网站费用/北京互联网公司
  • 网站开发地图板块浮动/新媒体运营培训课程
  • 移动网站开发试验报告/hyein seo是什么牌子
  • 莆田高端网站建设/如何免费自己创建网站
  • 做刷单哪个网站找小白/百度推荐现在为什么不能用了
  • 电子商务型网站/如何制作网页链接
  • 音乐网站前台模板/小红书指数
  • 网站的企业风采怎么做/企业网络营销的模式有哪些
  • 上每网站建设/长沙正规关键词优化价格从优