V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xiaohantx  ›  全部回复第 12 页 / 共 69 页
回复总数  1375
1 ... 8  9  10  11  12  13  14  15  16  17 ... 69  
哪个集团裁这么厉害。。
看这要求感觉像是中国电信
2024-07-03 08:45:22 +08:00
回复了 chenruohan 创建的主题 酷工作 [上海] [华为 OD] 招聘云开发工程师
@shyyouarebest od 不是要 985/211 的吗。。
薪资可谈嘛
2024-07-02 15:08:59 +08:00
回复了 DinnyXu 创建的主题 职场话题 如何举报公司强制加班?
有点难,貌似举报流程需要实名谁主张谁举报。
2024-07-02 09:31:25 +08:00
回复了 Gowther 创建的主题 酷工作 [上海] 前端招人
学历硬卡吗
2024-06-21 17:11:11 +08:00
回复了 gzldc 创建的主题 职场话题 亲妹目前国企建筑行业 想转互联网行业 我该劝她吗
除非一些小众岗位,现在岗位非常饱和。。。而且造价越老越吃香吧。。。
2024-06-05 15:49:33 +08:00
回复了 faizgear 创建的主题 酷工作 [帕西尼感知科技] 招 Nodejs 开发
@tomatocici2333
@boogoogle
@Motorola3
虽然好笑但是就这个环境来说确实这个区间能找到。。。
2024-06-04 15:24:20 +08:00
回复了 faizgear 创建的主题 酷工作 [帕西尼感知科技] [深圳-线下] 招前端
学历硬吗
2024-06-03 11:44:44 +08:00
回复了 lstz 创建的主题 职场话题 金三银四过去了,你现在做的工作是你喜欢的吗
现在有种被摁着头吃屎的感觉。。
2024-05-25 09:30:37 +08:00
回复了 cntchen 创建的主题 酷工作 腾讯文档子公司前端工程师招聘
子公司是不是也会卡学历
2024-05-20 13:34:38 +08:00
回复了 kandaakihito 创建的主题 职场话题 上家卡离职要一个月后才放怎么办
@valkyrjaE #40 现在大环境如此,除非很正规的大厂流出能等你,大部分其实都是 Gap 时间长的不要,没离职的不要,就是要你刚离职,gap 时间短,入职时间快。
2024-05-16 09:49:21 +08:00
回复了 xiaohantx 创建的主题 微信 关于微信小程序 canvas 2d 的问题,感觉这块内容好少
```
const drawCanvas = (canvasId, data) => {
uni.createSelectorQuery().select(canvasId).fields({
node: true,
size: true
}).exec(res => {
// 处理数据
demoList[0].value = data.levelOne ?? 0
demoList[1].value = data.levelTwo ?? 0
demoList[2].value = data.levelThree ?? 0
const {
devicePixelRatio,
screenWidth
} = uni.getSystemInfoSync()
const rpx = devicePixelRatio
const canvas = res[0].node
let ctx = canvas.getContext('2d')
// 初始化画布大小
canvas.width = res[0].width * rpx
canvas.height = res[0].height * rpx
// 获取结束
const x = res[0].width / 2 * rpx;
const y = res[0].height / 2 * rpx;
const lineWidth = 20 * rpx;
const radius = (res[0].height / 2) * rpx - (lineWidth / 2) // 半径
const sumResult = canvasId === '#chart' ? data.errorTotal : data.alertTotal;
let startAngle = 0;
demoList.map(item => {
// 绘制数组中的百分比
ctx.beginPath();
console.log('sum', sumResult)
let angle = (item.value / sumResult) * 2 * Math.PI
ctx.arc(x, y, radius, startAngle, startAngle + angle);
ctx.lineWidth = lineWidth;
ctx.strokeStyle = item.color;
ctx.stroke();
startAngle += angle
})
// 文字颜色
ctx.fillStyle = "#1D2129"
ctx.font = `${30 * rpx}px sans-serif`
ctx.textAlign = 'center'
// // 文字位置
// // 插入文字
ctx.fillText(sumResult, canvas.width / 2, y)
// // 文字大小
ctx.fillStyle = "#86909C"
ctx.font = `${12 * rpx}px sans-serif`
ctx.textAlign = 'center'
// // 文字颜色
// // 插入文字
ctx.fillText('故障总计(台)', canvas.width / 2, y + (20 * rpx))
uni.canvasToTempFilePath({
canvas: canvas,
success: function(res) {
if (canvasId === '#chart') {
canvasSrc1.value = res.tempFilePath;
} else {
canvasSrc2.value = res.tempFilePath;
}
},
fail: function(res) {
console.log(222, res)
}
})
})
}
```
1 ... 8  9  10  11  12  13  14  15  16  17 ... 69  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   3361 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 51ms · UTC 11:46 · PVG 19:46 · LAX 03:46 · JFK 06:46
♥ Do have faith in what you're doing.