mirror of
https://gitee.com/XZCRAZY/wx_epaper_lite.git
synced 2025-12-06 11:32:48 +08:00
add EPD270T91
This commit is contained in:
@@ -151,7 +151,7 @@ Page({
|
|||||||
|
|
||||||
epd_model_select: {
|
epd_model_select: {
|
||||||
// array: ['1.54', '4.2c', '5.83c', '7.5c', '1.54c'],
|
// array: ['1.54', '4.2c', '5.83c', '7.5c', '1.54c'],
|
||||||
array: ['1.54', '2.66c', '2.66hc', '2.9c', '4.2c', '5.83c', '7.5c'],
|
array: ['1.54', '2.66c', '2.66hc', '2.9c', '4.2c', '5.83c', '7.5c', '2.7'],
|
||||||
objectArray: [{
|
objectArray: [{
|
||||||
id: 0,
|
id: 0,
|
||||||
name: '1.54',
|
name: '1.54',
|
||||||
@@ -236,6 +236,18 @@ Page({
|
|||||||
rotationSet: 0, //旋转
|
rotationSet: 0, //旋转
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 7,
|
||||||
|
name: '2.7c',
|
||||||
|
epd: {
|
||||||
|
model: "epd_EPD270T91",
|
||||||
|
width: 176,
|
||||||
|
height: 264,
|
||||||
|
color: 2,
|
||||||
|
rotation: 0, //初始
|
||||||
|
rotationSet: 0, //旋转
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
rotate_select: {
|
rotate_select: {
|
||||||
@@ -790,8 +802,8 @@ Page({
|
|||||||
// let dithering_select = this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value
|
// let dithering_select = this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value
|
||||||
let dithering_select = this.data.config.epd.color == 2 ? this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value2 : this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value3
|
let dithering_select = this.data.config.epd.color == 2 ? this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value2 : this.data.dithering_select.objectArray[this.data.config.page_image.dithering_index].value3
|
||||||
|
|
||||||
if ((this.data.config.epd.model == 'epd_EPD154C1' & (!dithering_select.startsWith('bwr')) || this.data.config.epd.model == 'epd_EPD154Z90' || this.data.config.epd.model == 'epd_EPD290Z94' || this.data.config.epd.model == 'epd_EPD266Z90' || this.data.config.epd.model == 'epd_EPD420Z96' || this.data.config.epd.model == 'epd_EPD266H850')) {
|
// if ((this.data.config.epd.model == 'epd_EPD154C1' & (!dithering_select.startsWith('bwr')) || this.data.config.epd.model == 'epd_EPD154Z90' || this.data.config.epd.model == 'epd_EPD290Z94' || this.data.config.epd.model == 'epd_EPD266Z90' || this.data.config.epd.model == 'epd_EPD420Z96' || this.data.config.epd.model == 'epd_EPD266H850')) {
|
||||||
// if (1) {
|
if (1) {
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: '../nfc/nfc'
|
url: '../nfc/nfc'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user