Skip to content

Commit 47f300b

Browse files
author
djf@evm
committed
更新资源图片
1 parent 3ea677c commit 47f300b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+50
-5
lines changed

bin/x86_64-window-mingw/evue.exe

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

lib/x86_64-window-mingw/libhml.a

0 Bytes
Binary file not shown.

makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ publish_evue:
4242

4343
rm -rf release_evue/src/evue.pro.user
4444

45+
rm -rf ../evue/test
46+
rm -rf ../evue/doc
4547
cp -rf release_evue/* ../evue
4648

4749

src/evue-qt5/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ MainWindow::MainWindow(char * file, QWidget *parent)
2727
setAttribute(Qt::WA_NoBackground);
2828
setFixedHeight(626);
2929
setFixedWidth(530);
30-
setWindowTitle("EVM OpenHarmony JS");
30+
setWindowTitle("EVUE Simulator");
3131
setWindowIcon(QIcon(":/skin/logo.png"));
3232

3333
GuiThread* thread = new GuiThread(file);
907 Bytes
873 Bytes
996 Bytes
2.44 KB
2.93 KB
2.27 KB
69.7 KB
45.4 KB
47.2 KB
65.9 KB
Binary file not shown.
13.1 KB
1.54 KB
65.9 KB
Binary file not shown.
40.3 KB
2.53 KB
1.85 KB
1.86 KB
12 KB
Binary file not shown.
1.86 KB
2.15 KB
2.12 KB
868 Bytes
8.39 KB
1.84 KB
2.18 KB
1.33 KB
1.7 KB
2.78 KB
2.11 KB

test/LiteWearable/pages/about-djf/index.hml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div style="background-color:black;text-align: center;width: 454px;height: 454px;border-width: 0px;">
2-
<text class="main-title" style="left: 180px;top: 20px;width: 180px;height: 35px;text-align: center;font-size: 30px;font-family: simsun;color: white;"> 丁江锋 </text>
2+
<text class="main-title" style="left: 180px;top: 20px;width: 180px;height: 35px;text-align: center;font-size: 30px;font-family: simsun;color: white;"> dragondjf </text>
33

44
<text style="left: 0px;top: 60px;width: 454px;height: 25px;text-align: center;font-size: 20px;font-family: simsun; color: gray;"> 为防止群二维码过期,请加该微信</text>
55
<text style="left: 0px;top: 80px;width: 454px;height: 25px;text-align: center;font-size: 20px;font-family: simsun; color: gray;"> 接头暗号备注:[EVUE入群] </text>

test/LiteWearable/pages/call/index.hml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="container">
22
<text style="top: 30px;color: white;width: 454px;height: 30px;text-align: center;font-size: 25px;">08:12</text>
3-
<image src="./common/images/girl-150×150.bin" style="top: 70px;left: 150px;border-radius: 50%;"></image>
3+
<image src="./common/images/girl.bin" style="top: 70px;left: 150px;border-radius: 50%;"></image>
44
<text style="top: 230px;color: white;width: 454px;height: 40px;text-align: center;font-size: 30px;font-family: simsun;">张沫凡</text>
55
<text style="top: 270px;color: white;width: 454px;height: 50px;text-align: center;font-size: 25px;">00:02</text>
66
<div class="list-container">
77
<image src="./common/images/voice.bin" class="icon-img"></image>
8-
<image src="./common/images/phone-64×64.bin" class="icon-img"></image>
8+
<image src="./common/images/phone.bin" class="icon-img"></image>
99
<image src="./common/images/microphone.bin" class="icon-img"></image>
1010
</div>
1111

test/LiteWearable/pages/index/index.hml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="container">
2-
<image src="./common/images/evm-logo-128×128.bin" style="top: 70px;left: 160px;"></image>
2+
<image src="./common/images/evue-logo.bin" style="top: 70px;left: 150px;"></image>
33

44
<!-- <text style="top: 220px;color: white;font-size: 30px;width: 454px;height: 35px;text-align: center;">Hello Developer!</text> -->
55
<marquee scrollamount="50" style="top: 240px;left: 104px;width: 240px;height: 35px;text-align: center;color: white;font-size: 30px;">Hello Developer!</marquee>

tools/viewmodel/viewmodel.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// 观察者构造函数
2+
function Observer(data) {
3+
this.data = data;
4+
this.walk(data);
5+
}
6+
7+
Observer.prototype.walk = function(obj) {
8+
val = undefined;
9+
var keys = Object.keys(obj);
10+
for (let index = 0; index < keys.length; index++) {
11+
var key = keys[index];
12+
13+
// 通过 hasOwnProperty 过滤掉一个对象本身拥有的属性
14+
if (obj.hasOwnProperty(key)) {
15+
val = obj[key];
16+
// 递归调用 循环所有对象出来
17+
if (typeof val === 'object') {
18+
new Observer(val);
19+
}
20+
print('<=====> ', keys)
21+
this.convert(key, val);
22+
}
23+
}
24+
}
25+
26+
Observer.prototype.convert = function(key, val) {
27+
print('convert', key, val);
28+
Object.defineProperty(this.data, key, {
29+
get: function() {
30+
print("=============get=========", key, val);
31+
return val;
32+
},
33+
set: function(newVal) {
34+
print("=============set=========", key, newVal, val);
35+
if (newVal == val) return;
36+
val = newVal;
37+
print("=============propertyChanged=========", key, newVal, val, propertyChanged);
38+
propertyChanged(key);
39+
}
40+
})
41+
};
42+
43+
new Observer(globalThis.data.data);

0 commit comments

Comments
 (0)