nwo
stringclasses 304
values | sha
stringclasses 304
values | path
stringlengths 9
214
| language
stringclasses 1
value | identifier
stringlengths 0
49
| docstring
stringlengths 1
34.2k
| function
stringlengths 8
59.4k
| ast_function
stringlengths 71
497k
| obf_function
stringlengths 8
39.4k
| url
stringlengths 102
324
| function_sha
stringlengths 40
40
| source
stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
yunkss/ef-tool
|
75f6761a0f2805d97183504745bf23c975ae514d
|
ef_json/src/main/ets/json/JSONObject.ets
|
arkts
|
parseNestedObject
|
递归解析字符串
@param nestedJson 待解析的json
@param convertDateStr 是否将日期字符串转换为日期对象
@returns 解析后的结果
|
private static parseNestedObject<U>(nestedJson: Record<string, JSONValue>, convertDateStr: boolean = true): U {
let nestedData: Record<string, JSONValue> = {};
for (let key of Object.entries(nestedJson)) {
if (typeof nestedJson[key[0]] === 'object' && nestedJson[key[0]] !== null) {
if (nestedJson[key[0]] instanceof Date && convertDateStr == true) {
nestedData[key[0]] = new Date(nestedJson[key[0]] as string);
} else if (Array.isArray(nestedJson[key[0]])) {
nestedData[key[0]] =
(nestedJson[key[0]] as Array<Record<string, JSONValue>>).map(item => JSONObject.parseNestedObject(item,
convertDateStr));
} else {
nestedData[key[0]] =
JSONObject.parseNestedObject(nestedJson[key[0]] as Record<string, JSONValue>, convertDateStr);
}
} else if (typeof nestedJson[key[0]] === 'string') {
if (DateUtil.isDate(nestedJson[key[0]] as string) && convertDateStr == true) {
nestedData[key[0]] = new Date(nestedJson[key[0]] as string);
} else {
nestedData[key[0]] = nestedJson[key[0]];
}
} else {
nestedData[key[0]] = nestedJson[key[0]];
}
}
return nestedData as U;
}
|
AST#method_declaration#Left private static parseNestedObject AST#type_parameters#Left < AST#type_parameter#Left U AST#type_parameter#Right > AST#type_parameters#Right AST#parameter_list#Left ( AST#parameter#Left nestedJson : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left JSONValue AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left convertDateStr : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left U AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left nestedData : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left JSONValue AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( let key of AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Object AST#expression#Right . entries AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left nestedJson AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#unary_expression#Left typeof AST#expression#Left nestedJson AST#expression#Right AST#unary_expression#Right AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right === AST#expression#Left 'object' AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right instanceof AST#expression#Left Date AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left convertDateStr AST#expression#Right == AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#ERROR#Left = AST#ERROR#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Date AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Array AST#expression#Right . isArray AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = AST#ERROR#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left JSONValue AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . map AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left item => AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSONObject AST#expression#Right . parseNestedObject AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left item AST#expression#Right , AST#expression#Left convertDateStr AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = JSONObject AST#ERROR#Right . parseNestedObject AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left JSONValue AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right , AST#expression#Left convertDateStr AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#unary_expression#Left typeof AST#expression#Left nestedJson AST#expression#Right AST#unary_expression#Right AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right === AST#expression#Left 'string' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DateUtil AST#expression#Right . isDate AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left convertDateStr AST#expression#Right == AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#ERROR#Left = AST#ERROR#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Date AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedJson AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = nestedJson AST#ERROR#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left nestedData AST#expression#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = nestedJson AST#ERROR#Right [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left key AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#as_expression#Left AST#expression#Left nestedData AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left U AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private static parseNestedObject<U>(nestedJson: Record<string, JSONValue>, convertDateStr: boolean = true): U {
let nestedData: Record<string, JSONValue> = {};
for (let key of Object.entries(nestedJson)) {
if (typeof nestedJson[key[0]] === 'object' && nestedJson[key[0]] !== null) {
if (nestedJson[key[0]] instanceof Date && convertDateStr == true) {
nestedData[key[0]] = new Date(nestedJson[key[0]] as string);
} else if (Array.isArray(nestedJson[key[0]])) {
nestedData[key[0]] =
(nestedJson[key[0]] as Array<Record<string, JSONValue>>).map(item => JSONObject.parseNestedObject(item,
convertDateStr));
} else {
nestedData[key[0]] =
JSONObject.parseNestedObject(nestedJson[key[0]] as Record<string, JSONValue>, convertDateStr);
}
} else if (typeof nestedJson[key[0]] === 'string') {
if (DateUtil.isDate(nestedJson[key[0]] as string) && convertDateStr == true) {
nestedData[key[0]] = new Date(nestedJson[key[0]] as string);
} else {
nestedData[key[0]] = nestedJson[key[0]];
}
} else {
nestedData[key[0]] = nestedJson[key[0]];
}
}
return nestedData as U;
}
|
https://github.com/yunkss/ef-tool/blob/75f6761a0f2805d97183504745bf23c975ae514d/ef_json/src/main/ets/json/JSONObject.ets#L69-L94
|
680c2098ab302fd56bb0e62e81c26e8ddfee4912
|
gitee
|
xinkai-hu/MyDay.git
|
dcbc82036cf47b8561b0f2a7783ff0078a7fe61d
|
entry/src/main/ets/view/ClockArea.ets
|
arkts
|
startDrawTask
|
启动绘画任务。
|
private startDrawTask(): void {
this.renderContext.translate(
this.canvasSize / 2,
this.canvasSize / 2);
this.drawClockArea();
this.drawInterval = setInterval(() => {
this.drawClockArea();
}, 40);
}
|
AST#method_declaration#Left private startDrawTask AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . renderContext AST#member_expression#Right AST#expression#Right . translate AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . canvasSize AST#member_expression#Right AST#expression#Right / AST#expression#Left 2 AST#expression#Right AST#binary_expression#Right AST#expression#Right , AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . canvasSize AST#member_expression#Right AST#expression#Right / AST#expression#Left 2 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . drawClockArea AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . drawInterval AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left setInterval AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . drawClockArea AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right , AST#expression#Left 40 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
private startDrawTask(): void {
this.renderContext.translate(
this.canvasSize / 2,
this.canvasSize / 2);
this.drawClockArea();
this.drawInterval = setInterval(() => {
this.drawClockArea();
}, 40);
}
|
https://github.com/xinkai-hu/MyDay.git/blob/dcbc82036cf47b8561b0f2a7783ff0078a7fe61d/entry/src/main/ets/view/ClockArea.ets#L75-L83
|
359cc929497d84512b2377ced630853a4ba1282f
|
github
|
ni202383/Chenguang-Calendar.git
|
c04543db2c394d662bc1336d098335134ff1e9a5
|
src/main/ets/model/TaskTimeRange.ets
|
arkts
|
1-低, 2-中, 3-高
|
constructor(id: string, taskName: string, startTime: Date, endTime: Date) {
this.id = id;
this.taskName = taskName;
this.startTime = startTime;
this.endTime = endTime;
}
|
AST#constructor_declaration#Left constructor AST#parameter_list#Left ( AST#parameter#Left id : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left taskName : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left startTime : AST#type_annotation#Left AST#primary_type#Left Date AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left endTime : AST#type_annotation#Left AST#primary_type#Left Date AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . id AST#member_expression#Right = AST#expression#Left id AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . taskName AST#member_expression#Right = AST#expression#Left taskName AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . startTime AST#member_expression#Right = AST#expression#Left startTime AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . endTime AST#member_expression#Right = AST#expression#Left endTime AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#constructor_declaration#Right
|
constructor(id: string, taskName: string, startTime: Date, endTime: Date) {
this.id = id;
this.taskName = taskName;
this.startTime = startTime;
this.endTime = endTime;
}
|
https://github.com/ni202383/Chenguang-Calendar.git/blob/c04543db2c394d662bc1336d098335134ff1e9a5/src/main/ets/model/TaskTimeRange.ets#L11-L16
|
e39711fd1f095c6e08cf6dccf4582231748d328c
|
github
|
|
Joker-x-dev/HarmonyKit.git
|
f97197ce157df7f303244fba42e34918306dfb08
|
core/state/src/main/ets/DemoCounterState.ets
|
arkts
|
decrement
|
计数减一(或自定义步长)
@param {number} step - 步长,默认 1
@returns {void} 无返回值
@example
getDemoCounterState().decrement(); // -1
|
decrement(step: number = 1): void {
if (this.count - step < 0) {
this.count = 0;
return;
}
this.count -= step;
}
|
AST#method_declaration#Left decrement AST#parameter_list#Left ( AST#parameter#Left step : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . count AST#member_expression#Right AST#expression#Right - AST#expression#Left step AST#expression#Right AST#binary_expression#Right AST#expression#Right < AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . count AST#member_expression#Right = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . count AST#member_expression#Right -= AST#expression#Left step AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
decrement(step: number = 1): void {
if (this.count - step < 0) {
this.count = 0;
return;
}
this.count -= step;
}
|
https://github.com/Joker-x-dev/HarmonyKit.git/blob/f97197ce157df7f303244fba42e34918306dfb08/core/state/src/main/ets/DemoCounterState.ets#L42-L48
|
e023d46ec4c3c07d078ea1b63b183d3d52fd42bf
|
github
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/charts/CombinedChartModel.ets
|
arkts
|
setDrawOrder
|
Sets the order in which the provided data objects should be drawn. The
earlier you place them in the provided array, the further they will be in
the background. e.g. if you provide new DrawOrer[] { DrawOrder.BAR,
DrawOrder.LINE }, the bars will be drawn behind the lines.
@param order
|
public setDrawOrder(order: DrawOrder[]): void {
if (order == null || order.length <= 0)
return;
this.mDrawOrder = order;
}
|
AST#method_declaration#Left public setDrawOrder AST#parameter_list#Left ( AST#parameter#Left order : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left DrawOrder [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left order AST#expression#Right == AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right || AST#expression#Left order AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right <= AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#statement#Left AST#return_statement#Left return ; AST#return_statement#Right AST#statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mDrawOrder AST#member_expression#Right = AST#expression#Left order AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
public setDrawOrder(order: DrawOrder[]): void {
if (order == null || order.length <= 0)
return;
this.mDrawOrder = order;
}
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/charts/CombinedChartModel.ets#L239-L243
|
4fad4580bebc31b21c739d618ef59a38cea1ae4b
|
gitee
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/components/AxisBase.ets
|
arkts
|
resetAxisMinimum
|
By calling this method, any custom minimum value that has been previously set is reset,
and the calculation is
done automatically.
|
public resetAxisMinimum(): void {
this.mCustomAxisMin = false;
}
|
AST#method_declaration#Left public resetAxisMinimum AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mCustomAxisMin AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public resetAxisMinimum(): void {
this.mCustomAxisMin = false;
}
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/components/AxisBase.ets#L711-L713
|
1c5ded0bab02cc8e10ade07b1cc95b07e232e5b3
|
gitee
|
vhall/VHLive_SDK_Harmony
|
29c820e5301e17ae01bc6bdcc393a4437b518e7c
|
watchKit/src/main/ets/components/timer/TimerComponent.ets
|
arkts
|
resetTimer
|
重置计时
|
private resetTimer() {
if (this.timerId !== -1) {
clearInterval(this.timerId);
this.timerId = -1;
}
this.isRunning = false;
this.isPaused = false;
// 根据当前模式重置时间
this.currentSeconds = this.isIncrementing ? 0 : this.totalSeconds;
this.getTimeDigits(this.currentSeconds);
this.closeDialog();
this.isTimerShow=false;
}
|
AST#method_declaration#Left private resetTimer AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . timerId AST#member_expression#Right AST#expression#Right !== AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left clearInterval ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . timerId AST#member_expression#Right AST#expression#Right ) AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#expression_statement#Left AST#expression#Left AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . timerId AST#member_expression#Right = AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isRunning AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isPaused AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right // 根据当前模式重置时间 AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentSeconds AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isIncrementing AST#member_expression#Right AST#expression#Right ? AST#expression#Left 0 AST#expression#Right : AST#expression#Left this AST#expression#Right AST#conditional_expression#Right AST#expression#Right . totalSeconds AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getTimeDigits AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentSeconds AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . closeDialog AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isTimerShow AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
private resetTimer() {
if (this.timerId !== -1) {
clearInterval(this.timerId);
this.timerId = -1;
}
this.isRunning = false;
this.isPaused = false;
this.currentSeconds = this.isIncrementing ? 0 : this.totalSeconds;
this.getTimeDigits(this.currentSeconds);
this.closeDialog();
this.isTimerShow=false;
}
|
https://github.com/vhall/VHLive_SDK_Harmony/blob/29c820e5301e17ae01bc6bdcc393a4437b518e7c/watchKit/src/main/ets/components/timer/TimerComponent.ets#L165-L177
|
21d1bece21d39763af13f6e671eec424a180e155
|
gitee
|
zl3624/harmonyos_network_samples
|
b8664f8bf6ef5c5a60830fe616c6807e83c21f96
|
code/tls/TCPBaseTLSClient/entry/src/main/ets/pages/Index.ets
|
arkts
|
connect2Server
|
连接服务端
|
async connect2Server() {
//服务端地址
let serverAddress: socket.NetAddress = { address: this.serverIp, port: this.serverPort, family: 1 }
let tcpSocket = socket.constructTCPSocketInstance()
await tcpSocket.connect({ address: serverAddress })
.then(async () => {
this.msgHistory += 'TCP连接成功 ' + "\r\n";
})
.catch((err: BusinessError) => {
this.msgHistory += `TCP连接失败:错误码 ${err.code}, 错误信息 ${JSON.stringify(err)}\r\n`;
return
})
//执行TLS通讯的对象
this.tlsSocket = socket.constructTLSSocketInstance(tcpSocket)
this.tlsSocket.on("message", async (value) => {
let msg = buf2String(value.message)
this.msgHistory += "服务端:" + msg + "\r\n"
this.scroller.scrollEdge(Edge.Bottom)
})
let context = getContext(this)
let opt: socket.TLSSecureOptions = {
ca: [copy2SandboxAndReadContent(context, this.caFileUri)]
}
await this.tlsSocket.connect({ address: serverAddress, secureOptions: opt })
.then(async () => {
this.msgHistory += 'TLS连接成功 ' + "\r\n";
this.canSend = true
})
.catch((err: BusinessError) => {
this.msgHistory += `TLS连接失败:错误码 ${err.code}, 错误信息 ${JSON.stringify(err)}\r\n`;
})
}
|
AST#method_declaration#Left async connect2Server AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { //服务端地址 AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left serverAddress : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left socket . NetAddress AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left address AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . serverIp AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left port AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . serverPort AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left family AST#property_name#Right : AST#expression#Left 1 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left tcpSocket = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left socket AST#expression#Right . constructTCPSocketInstance AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left tcpSocket AST#expression#Right AST#await_expression#Right AST#expression#Right . connect AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left address AST#property_name#Right : AST#expression#Left serverAddress AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . then AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#binary_expression#Left AST#expression#Left 'TCP连接成功 ' AST#expression#Right + AST#expression#Left "\r\n" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . catch AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left err : AST#type_annotation#Left AST#primary_type#Left BusinessError AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#template_literal#Left ` TCP连接失败:错误码 AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . code AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right , 错误信息 AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left err AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right \r \n ` AST#template_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right //执行TLS通讯的对象 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tlsSocket AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left socket AST#expression#Right . constructTLSSocketInstance AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left tcpSocket AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tlsSocket AST#member_expression#Right AST#expression#Right . on AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left "message" AST#expression#Right , AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( AST#parameter#Left value AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left msg = AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left buf2String AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left value AST#expression#Right . message AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left this AST#ERROR#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left "服务端:" AST#expression#Right + AST#expression#Left msg AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left "\r\n" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#ERROR#Left this AST#ERROR#Right . scroller AST#member_expression#Right AST#expression#Right . scrollEdge AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left Edge AST#expression#Right . Bottom AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left context = AST#expression#Left AST#call_expression#Left AST#expression#Left getContext AST#expression#Right AST#argument_list#Left ( AST#expression#Left this AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left opt : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left socket . TLSSecureOptions AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left ca AST#property_name#Right : AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#call_expression#Left AST#expression#Left copy2SandboxAndReadContent AST#expression#Right AST#argument_list#Left ( AST#expression#Left context AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . caFileUri AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . tlsSocket AST#member_expression#Right AST#expression#Right . connect AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left address AST#property_name#Right : AST#expression#Left serverAddress AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left secureOptions AST#property_name#Right : AST#expression#Left opt AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . then AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#binary_expression#Left AST#expression#Left 'TLS连接成功 ' AST#expression#Right + AST#expression#Left "\r\n" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . canSend AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . catch AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left err : AST#type_annotation#Left AST#primary_type#Left BusinessError AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#template_literal#Left ` TLS连接失败:错误码 AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . code AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right , 错误信息 AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left err AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right \r \n ` AST#template_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
async connect2Server() {
let serverAddress: socket.NetAddress = { address: this.serverIp, port: this.serverPort, family: 1 }
let tcpSocket = socket.constructTCPSocketInstance()
await tcpSocket.connect({ address: serverAddress })
.then(async () => {
this.msgHistory += 'TCP连接成功 ' + "\r\n";
})
.catch((err: BusinessError) => {
this.msgHistory += `TCP连接失败:错误码 ${err.code}, 错误信息 ${JSON.stringify(err)}\r\n`;
return
})
this.tlsSocket = socket.constructTLSSocketInstance(tcpSocket)
this.tlsSocket.on("message", async (value) => {
let msg = buf2String(value.message)
this.msgHistory += "服务端:" + msg + "\r\n"
this.scroller.scrollEdge(Edge.Bottom)
})
let context = getContext(this)
let opt: socket.TLSSecureOptions = {
ca: [copy2SandboxAndReadContent(context, this.caFileUri)]
}
await this.tlsSocket.connect({ address: serverAddress, secureOptions: opt })
.then(async () => {
this.msgHistory += 'TLS连接成功 ' + "\r\n";
this.canSend = true
})
.catch((err: BusinessError) => {
this.msgHistory += `TLS连接失败:错误码 ${err.code}, 错误信息 ${JSON.stringify(err)}\r\n`;
})
}
|
https://github.com/zl3624/harmonyos_network_samples/blob/b8664f8bf6ef5c5a60830fe616c6807e83c21f96/code/tls/TCPBaseTLSClient/entry/src/main/ets/pages/Index.ets#L146-L183
|
8a1343a8d3945c0cb796a9f5648b13dd8717de24
|
gitee
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/webpagesnapshot/src/main/ets/components/mainpage/ScrollableComponentPage.ets
|
arkts
|
getPixelMapData
|
一键截图循环滚动截图。
|
async getPixelMapData() {
// 记录滚动量数组
this.scrollOffsets.push(this.scroller.currentOffset().yOffset);
// 调用组件截图接口获取当前截图
componentSnapshot.get(Constants.COMPONENT_ID, async (error: Error, pixmap: PixelMap) => {
if (this.listWidth === 0) {
let imageInfo = pixmap.getImageInfoSync();
this.listWidth = imageInfo.size.width;
this.listHeight = imageInfo.size.height;
this.stride = pixmap.getBytesNumberPerRow();
}
let bytesNumber = pixmap.getPixelBytesNumber();
let buffer: ArrayBuffer = new ArrayBuffer(bytesNumber);
let area: image.PositionArea = {
pixels: buffer,
offset: 0,
stride: this.stride,
region: { size: { width: this.listWidth, height: this.listHeight }, x: 0, y: 0 }
}
// TODO: 知识点: readPixels、readPixelsSync均使用BGRA_8888像素格式,需搭配writePixels、writePixelsSync使用。
pixmap.readPixelsSync(area);
this.areaArray.push(area);
// 循环过程中判断是否到达底部
if (!this.scroller.isAtEnd()) {
this.scroller.scrollPage({ next: true });
await sleep(Constants.SCROLL_DURATION);
await this.getPixelMapData();
} else { // 滚动到底部后,通过每轮滚动获取的buffer,拼接生成长截图
this.gitPixelMap();
await this.afterSnapshot();
}
})
}
|
AST#method_declaration#Left async getPixelMapData AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { // 记录滚动量数组 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scrollOffsets AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scroller AST#member_expression#Right AST#expression#Right . currentOffset AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . yOffset AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right // 调用组件截图接口获取当前截图 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left componentSnapshot AST#expression#Right . get AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left Constants AST#expression#Right . COMPONENT_ID AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( AST#parameter#Left error : AST#type_annotation#Left AST#primary_type#Left Error AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left pixmap : AST#type_annotation#Left AST#primary_type#Left PixelMap AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listWidth AST#member_expression#Right AST#expression#Right === AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left imageInfo = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left pixmap AST#expression#Right . getImageInfoSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listWidth AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left imageInfo AST#expression#Right . size AST#member_expression#Right AST#expression#Right . width AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listHeight AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left imageInfo AST#expression#Right . size AST#member_expression#Right AST#expression#Right . height AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . stride AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left pixmap AST#expression#Right . getBytesNumberPerRow AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left bytesNumber = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left pixmap AST#expression#Right . getPixelBytesNumber AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left buffer : AST#type_annotation#Left AST#primary_type#Left ArrayBuffer AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left ArrayBuffer AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left bytesNumber AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left area : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left image . PositionArea AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left pixels AST#property_name#Right : AST#expression#Left buffer AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offset AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left stride AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . stride AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left region AST#property_name#Right : AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left size AST#property_name#Right : AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left width AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listWidth AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left height AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listHeight AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right // TODO: 知识点: readPixels、readPixelsSync均使用BGRA_8888像素格式,需搭配writePixels、writePixelsSync使用。 AST#ERROR#Left pixmap AST#ERROR#Right . readPixelsSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left area AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . areaArray AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left area AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right // 循环过程中判断是否到达底部 AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . scroller AST#member_expression#Right AST#expression#Right . isAtEnd AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scroller AST#member_expression#Right AST#expression#Right . scrollPage AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left next AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left sleep AST#expression#Right AST#await_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left Constants AST#expression#Right . SCROLL_DURATION AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . getPixelMapData AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { // 滚动到底部后,通过每轮滚动获取的buffer,拼接生成长截图 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . gitPixelMap AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . afterSnapshot AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
async getPixelMapData() {
this.scrollOffsets.push(this.scroller.currentOffset().yOffset);
componentSnapshot.get(Constants.COMPONENT_ID, async (error: Error, pixmap: PixelMap) => {
if (this.listWidth === 0) {
let imageInfo = pixmap.getImageInfoSync();
this.listWidth = imageInfo.size.width;
this.listHeight = imageInfo.size.height;
this.stride = pixmap.getBytesNumberPerRow();
}
let bytesNumber = pixmap.getPixelBytesNumber();
let buffer: ArrayBuffer = new ArrayBuffer(bytesNumber);
let area: image.PositionArea = {
pixels: buffer,
offset: 0,
stride: this.stride,
region: { size: { width: this.listWidth, height: this.listHeight }, x: 0, y: 0 }
}
pixmap.readPixelsSync(area);
this.areaArray.push(area);
if (!this.scroller.isAtEnd()) {
this.scroller.scrollPage({ next: true });
await sleep(Constants.SCROLL_DURATION);
await this.getPixelMapData();
} else {
this.gitPixelMap();
await this.afterSnapshot();
}
})
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/webpagesnapshot/src/main/ets/components/mainpage/ScrollableComponentPage.ets#L242-L275
|
04e57a4710228de11ac137f77ed152513ad2888b
|
gitee
|
Piagari/arkts_example.git
|
a63b868eaa2a50dc480d487b84c4650cc6a40fc8
|
hmos_app-main/hmos_app-main/legado-Harmony-master/entry/src/main/ets/common/constants/FontConstants.ets
|
arkts
|
@author 2008
@datetime 2024/6/28 22:29
@className: FontConstants
通用字体大小样式
|
export default class FontConstants{
//字体大小
static readonly FONT_SIZE_12: number = 12;
static readonly FONT_SIZE_14: number = 14;
static readonly FONT_SIZE_16: number = 16;
static readonly FONT_SIZE_18: number = 18;
static readonly FONT_SIZE_20: number = 20;
static readonly FONT_SIZE_22: number = 22;
static readonly FONT_SIZE_24: number = 24;
//字体粗细
static readonly FONT_WEIGHT_400: number = 400;
static readonly FONT_WEIGHT_500: number = 500;
static readonly FONT_WEIGHT_600: number = 600;
static readonly FONT_WEIGHT_700: number = 700;
static readonly FONT_WEIGHT_800: number = 800;
}
|
AST#export_declaration#Left export default AST#class_declaration#Left class FontConstants AST#class_body#Left { //字体大小 AST#property_declaration#Left static readonly FONT_SIZE_12 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 12 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_14 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 14 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_16 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 16 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_18 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 18 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_20 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 20 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_22 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 22 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_24 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 24 AST#expression#Right ; AST#property_declaration#Right //字体粗细 AST#property_declaration#Left static readonly FONT_WEIGHT_400 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 400 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_WEIGHT_500 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 500 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_WEIGHT_600 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 600 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_WEIGHT_700 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 700 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_WEIGHT_800 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 800 AST#expression#Right ; AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export default class FontConstants{
static readonly FONT_SIZE_12: number = 12;
static readonly FONT_SIZE_14: number = 14;
static readonly FONT_SIZE_16: number = 16;
static readonly FONT_SIZE_18: number = 18;
static readonly FONT_SIZE_20: number = 20;
static readonly FONT_SIZE_22: number = 22;
static readonly FONT_SIZE_24: number = 24;
static readonly FONT_WEIGHT_400: number = 400;
static readonly FONT_WEIGHT_500: number = 500;
static readonly FONT_WEIGHT_600: number = 600;
static readonly FONT_WEIGHT_700: number = 700;
static readonly FONT_WEIGHT_800: number = 800;
}
|
https://github.com/Piagari/arkts_example.git/blob/a63b868eaa2a50dc480d487b84c4650cc6a40fc8/hmos_app-main/hmos_app-main/legado-Harmony-master/entry/src/main/ets/common/constants/FontConstants.ets#L7-L22
|
5312a96efff88b725a6f04de8b09941299dd4434
|
github
|
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_dialog/src/main/ets/model/base/BaseSheetOptions.ets
|
arkts
|
TODO 半模态工具类,Base参数类
author: 桃花镇童长老ᥫ᭡
since: 2024/08/18
|
export interface BaseSheetOptions extends SheetOptions {
uiContext?: UIContext; //在UIContext实例对应的窗口中显示半模态。说明:使用openBindSheet启动的半模态页面,不支持设置、更新该属性。
dialogId?: string; //弹框id,具有唯一性
targetId?: number | string; //需要绑定组件的ID,若不指定则不绑定任何组件。string类型:传入组件的id,number类型:传入组件的UniqueId this.getUniqueId()。
}
|
AST#export_declaration#Left export AST#interface_declaration#Left interface BaseSheetOptions AST#extends_clause#Left extends SheetOptions AST#extends_clause#Right AST#object_type#Left { AST#type_member#Left uiContext ? : AST#type_annotation#Left AST#primary_type#Left UIContext AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; //在UIContext实例对应的窗口中显示半模态。说明:使用openBindSheet启动的半模态页面,不支持设置、更新该属性。 AST#type_member#Left dialogId ? : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; //弹框id,具有唯一性 AST#type_member#Left targetId ? : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left number AST#primary_type#Right | AST#primary_type#Left string AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#type_member#Right ; //需要绑定组件的ID,若不指定则不绑定任何组件。string类型:传入组件的id,number类型:传入组件的UniqueId this.getUniqueId()。 } AST#object_type#Right AST#interface_declaration#Right AST#export_declaration#Right
|
export interface BaseSheetOptions extends SheetOptions {
uiContext?: UIContext;
dialogId?: string;
targetId?: number | string;
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_dialog/src/main/ets/model/base/BaseSheetOptions.ets#L23-L29
|
e249db68533d887c193a6575e03f774a454ff797
|
gitee
|
|
huazheleyoushang/harmony_template.git
|
9606902a2926ca9c5e747eaa6f2a87d8d4d69eb8
|
entry/src/main/ets/common/constants/StyleConstants.ets
|
arkts
|
通用静态样式
|
export default class StyleConstants {
// head aspect ratio.
static readonly HEAD_ASPECT_RATIO: number = 1;
// 2行最小高度
static readonly DOUBLE_ROW_MIN: number = 28;
// Unit 单位
static readonly UNIT_FP: string = 'fp';
// 全屏宽度
static readonly FULL_WIDTH: string = '100%';
// 全屏高度
static readonly FULL_HEIGHT: string = '100%';
/**
* The percentage of 7.2.
*/
static readonly TITLE_BAR_HEIGHT_PERCENT: string = '7.2%';
/**
* The percentage of 93.3.
*/
static readonly BLOCK_WIDTH_PERCENT: string = '93.3%';
/**
* The percentage of 0.5.
*/
static readonly BLOCK_TOP_MARGIN_FIRST_PERCENT: string = '0.5%';
/**
* The percentage of 1.5.
*/
static readonly BLOCK_TOP_MARGIN_SECOND_PERCENT: string = '1.5%';
/**
* The percentage of 23.8.
*/
static readonly DIVIDER_END_MARGIN_PERCENT: string = '23.8%';
/**
* The percentage of 6.7.
*/
static readonly HEAD_RIGHT_PERCENT: string = '6.7%';
/**
* The percentage of 2.2.
*/
static readonly HEAD_LEFT_PERCENT: string = '2.2%';
/**
* The percentage of 64.4.
*/
static readonly MAX_CHAT_WIDTH_PERCENT: string = '64.4%';
/**
* The percentage of 3.1.
*/
static readonly CHAT_TOP_MARGIN_PERCENT: string = '3.1%';
/**
* The percentage of 6.5.
*/
static readonly SLIDER_LAYOUT_LEFT_PERCENT: string = '6.5%';
/**
* The percentage of 3.2.
*/
static readonly SLIDER_LAYOUT_TOP_PERCENT: string = '3.2%';
/**
* The percentage of 8.9.
*/
static readonly SET_CHAT_HEAD_SIZE_PERCENT: string = '8.9%';
/**
* The percentage of 12.5.
*/
static readonly A_WIDTH_PERCENT: string = '12.5%';
/**
* The percentage of 75.
*/
static readonly SLIDER_WIDTH_PERCENT: string = '75%';
/**
* The percentage of 3.3.
*/
static readonly SLIDER_HORIZONTAL_MARGIN_PERCENT: string = '3.3%';
/**
* The percentage of 1.
*/
static readonly SLIDER_TOP_MARGIN_PERCENT: string = '1%';
/**
* The percentage of 6.2.
*/
static readonly SLIDER_BOTTOM_MARGIN_PERCENT: string = '6.2%';
}
|
AST#export_declaration#Left export default AST#class_declaration#Left class StyleConstants AST#class_body#Left { // head aspect ratio. AST#property_declaration#Left static readonly HEAD_ASPECT_RATIO : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right // 2行最小高度 AST#property_declaration#Left static readonly DOUBLE_ROW_MIN : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 28 AST#expression#Right ; AST#property_declaration#Right // Unit 单位 AST#property_declaration#Left static readonly UNIT_FP : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 'fp' AST#expression#Right ; AST#property_declaration#Right // 全屏宽度 AST#property_declaration#Left static readonly FULL_WIDTH : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '100%' AST#expression#Right ; AST#property_declaration#Right // 全屏高度 AST#property_declaration#Left static readonly FULL_HEIGHT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '100%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 7.2.
*/ AST#property_declaration#Left static readonly TITLE_BAR_HEIGHT_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '7.2%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 93.3.
*/ AST#property_declaration#Left static readonly BLOCK_WIDTH_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '93.3%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 0.5.
*/ AST#property_declaration#Left static readonly BLOCK_TOP_MARGIN_FIRST_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '0.5%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 1.5.
*/ AST#property_declaration#Left static readonly BLOCK_TOP_MARGIN_SECOND_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '1.5%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 23.8.
*/ AST#property_declaration#Left static readonly DIVIDER_END_MARGIN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '23.8%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 6.7.
*/ AST#property_declaration#Left static readonly HEAD_RIGHT_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '6.7%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 2.2.
*/ AST#property_declaration#Left static readonly HEAD_LEFT_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '2.2%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 64.4.
*/ AST#property_declaration#Left static readonly MAX_CHAT_WIDTH_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '64.4%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 3.1.
*/ AST#property_declaration#Left static readonly CHAT_TOP_MARGIN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '3.1%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 6.5.
*/ AST#property_declaration#Left static readonly SLIDER_LAYOUT_LEFT_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '6.5%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 3.2.
*/ AST#property_declaration#Left static readonly SLIDER_LAYOUT_TOP_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '3.2%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 8.9.
*/ AST#property_declaration#Left static readonly SET_CHAT_HEAD_SIZE_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '8.9%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 12.5.
*/ AST#property_declaration#Left static readonly A_WIDTH_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '12.5%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 75.
*/ AST#property_declaration#Left static readonly SLIDER_WIDTH_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '75%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 3.3.
*/ AST#property_declaration#Left static readonly SLIDER_HORIZONTAL_MARGIN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '3.3%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 1.
*/ AST#property_declaration#Left static readonly SLIDER_TOP_MARGIN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '1%' AST#expression#Right ; AST#property_declaration#Right /**
* The percentage of 6.2.
*/ AST#property_declaration#Left static readonly SLIDER_BOTTOM_MARGIN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '6.2%' AST#expression#Right ; AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export default class StyleConstants {
static readonly HEAD_ASPECT_RATIO: number = 1;
static readonly DOUBLE_ROW_MIN: number = 28;
static readonly UNIT_FP: string = 'fp';
static readonly FULL_WIDTH: string = '100%';
static readonly FULL_HEIGHT: string = '100%';
static readonly TITLE_BAR_HEIGHT_PERCENT: string = '7.2%';
static readonly BLOCK_WIDTH_PERCENT: string = '93.3%';
static readonly BLOCK_TOP_MARGIN_FIRST_PERCENT: string = '0.5%';
static readonly BLOCK_TOP_MARGIN_SECOND_PERCENT: string = '1.5%';
static readonly DIVIDER_END_MARGIN_PERCENT: string = '23.8%';
static readonly HEAD_RIGHT_PERCENT: string = '6.7%';
static readonly HEAD_LEFT_PERCENT: string = '2.2%';
static readonly MAX_CHAT_WIDTH_PERCENT: string = '64.4%';
static readonly CHAT_TOP_MARGIN_PERCENT: string = '3.1%';
static readonly SLIDER_LAYOUT_LEFT_PERCENT: string = '6.5%';
static readonly SLIDER_LAYOUT_TOP_PERCENT: string = '3.2%';
static readonly SET_CHAT_HEAD_SIZE_PERCENT: string = '8.9%';
static readonly A_WIDTH_PERCENT: string = '12.5%';
static readonly SLIDER_WIDTH_PERCENT: string = '75%';
static readonly SLIDER_HORIZONTAL_MARGIN_PERCENT: string = '3.3%';
static readonly SLIDER_TOP_MARGIN_PERCENT: string = '1%';
static readonly SLIDER_BOTTOM_MARGIN_PERCENT: string = '6.2%';
}
|
https://github.com/huazheleyoushang/harmony_template.git/blob/9606902a2926ca9c5e747eaa6f2a87d8d4d69eb8/entry/src/main/ets/common/constants/StyleConstants.ets#L4-L105
|
e31c7cf9063cea68cbccf7b1a46b501f7e959a93
|
github
|
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/videotrimmer/src/main/ets/uploadanddownload/RequestUpload.ets
|
arkts
|
getFilesAndData
|
获取上传文件数据
|
private async getFilesAndData(cacheDir: string, fileUris: Array<string>): Promise<Array<request.agent.FormItem>> {
logger.info(TAG, `getFilesAndData begin`);
let files: Array<request.agent.FormItem> = [];
for (let i = 0; i < fileUris.length; i++) {
logger.info(TAG, `getFilesAndData fileUri = ${fileUris[i]}`);
let photoPath = fileUris[i];
logger.info(TAG, `getFilesAndData photoPath = ${JSON.stringify(photoPath)}`);
let file: request.agent.FormItem = {
name: photoPath.split('cache/')[1],
value: {
path: './' + photoPath.split('cache/')[1]
}
}
files.push(file);
}
logger.info(TAG, `getFilesAndData finish ${JSON.stringify(files)}`);
return files;
}
|
AST#method_declaration#Left private async getFilesAndData AST#parameter_list#Left ( AST#parameter#Left cacheDir : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left fileUris : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left request . agent . FormItem AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left AST#template_literal#Left ` getFilesAndData begin ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left files : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left request . agent . FormItem AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left i = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left i AST#expression#Right < AST#expression#Left fileUris AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left i AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left AST#template_literal#Left ` getFilesAndData fileUri = AST#template_substitution#Left $ { AST#expression#Left AST#subscript_expression#Left AST#expression#Left fileUris AST#expression#Right [ AST#expression#Left i AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left photoPath = AST#expression#Left AST#subscript_expression#Left AST#expression#Left fileUris AST#expression#Right [ AST#expression#Left i AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left AST#template_literal#Left ` getFilesAndData photoPath = AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left photoPath AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left file : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left request . agent . FormItem AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left name AST#property_name#Right : AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left photoPath AST#expression#Right . split AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'cache/' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right [ AST#expression#Left 1 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left path AST#property_name#Right : AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left './' AST#expression#Right + AST#expression#Left photoPath AST#expression#Right AST#binary_expression#Right AST#expression#Right . split AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'cache/' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right [ AST#expression#Left 1 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#ERROR#Left files AST#ERROR#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left file AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left AST#template_literal#Left ` getFilesAndData finish AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left files AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left files AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private async getFilesAndData(cacheDir: string, fileUris: Array<string>): Promise<Array<request.agent.FormItem>> {
logger.info(TAG, `getFilesAndData begin`);
let files: Array<request.agent.FormItem> = [];
for (let i = 0; i < fileUris.length; i++) {
logger.info(TAG, `getFilesAndData fileUri = ${fileUris[i]}`);
let photoPath = fileUris[i];
logger.info(TAG, `getFilesAndData photoPath = ${JSON.stringify(photoPath)}`);
let file: request.agent.FormItem = {
name: photoPath.split('cache/')[1],
value: {
path: './' + photoPath.split('cache/')[1]
}
}
files.push(file);
}
logger.info(TAG, `getFilesAndData finish ${JSON.stringify(files)}`);
return files;
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/videotrimmer/src/main/ets/uploadanddownload/RequestUpload.ets#L129-L146
|
8a437ce6b105856a0176ab449d099cdb0fcb25f3
|
gitee
|
ThePivotPoint/ArkTS-LSP-Server-Plugin.git
|
6231773905435f000d00d94b26504433082ba40b
|
packages/declarations/ets/api/@ohos.file.PhotoPickerComponent.d.ets
|
arkts
|
PhotoPickerComponent
|
Declare struct PhotoPickerComponent
@syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
@atomicservice
@since 12
|
@Component
export declare struct PhotoPickerComponent {
/**
* PickerOptions
*
* @type { ?PickerOptions }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
pickerOptions?: PickerOptions;
/**
* Callback when select photos or videos
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onSelect?: (uri: string) => void;
/**
* Callback when Deselect photos or videos
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onDeselect?: (uri: string) => void;
/**
* Callback when click item. include click camera item and thumbnail item, will return itemInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onItemClicked?: (itemInfo: ItemInfo, clickType: ClickType) => boolean;
/**
* Callback when enter photo browser, will return photoBrowserInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onEnterPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean;
/**
* Callback when exit photo browser, will return photoBrowserInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onExitPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean;
/**
* Callback when pickerController is ready.
* Set data to picker component by pickerController is supported after pickerController is ready
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onPickerControllerReady?: () => void;
/**
* Callback when photo browser change, will return browserItemInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
onPhotoBrowserChanged?: (browserItemInfo: BaseItemInfo) => boolean;
/**
* Callback when selected items are deleted
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/
onSelectedItemsDeleted?: ItemsDeletedCallback;
/**
* Callback when exceed max selected
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/
onExceedMaxSelected?: ExceedMaxSelectedCallback;
/**
* Callback when the current album is deleted
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/
onCurrentAlbumDeleted?: CurrentAlbumDeletedCallback;
/**
* PickerController
*
* @type { ?PickerController }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
@ObjectLink
pickerController: PickerController;
/**
* Build function of PhotoPickerComponent
*
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/
build(): void;
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Component AST#decorator#Right export AST#ERROR#Left declare AST#ERROR#Right struct PhotoPickerComponent AST#component_body#Left { /**
* PickerOptions
*
* @type { ?PickerOptions }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left pickerOptions ? : AST#type_annotation#Left AST#primary_type#Left PickerOptions AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when select photos or videos
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onSelect ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left uri : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when Deselect photos or videos
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onDeselect ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left uri : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when click item. include click camera item and thumbnail item, will return itemInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onItemClicked ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left itemInfo : AST#type_annotation#Left AST#primary_type#Left ItemInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left clickType : AST#type_annotation#Left AST#primary_type#Left ClickType AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when enter photo browser, will return photoBrowserInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onEnterPhotoBrowser ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left photoBrowserInfo : AST#type_annotation#Left AST#primary_type#Left PhotoBrowserInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when exit photo browser, will return photoBrowserInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onExitPhotoBrowser ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left photoBrowserInfo : AST#type_annotation#Left AST#primary_type#Left PhotoBrowserInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when pickerController is ready.
* Set data to picker component by pickerController is supported after pickerController is ready
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onPickerControllerReady ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when photo browser change, will return browserItemInfo
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left onPhotoBrowserChanged ? : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left browserItemInfo : AST#type_annotation#Left AST#primary_type#Left BaseItemInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when selected items are deleted
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/ AST#property_declaration#Left onSelectedItemsDeleted ? : AST#type_annotation#Left AST#primary_type#Left ItemsDeletedCallback AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when exceed max selected
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/ AST#property_declaration#Left onExceedMaxSelected ? : AST#type_annotation#Left AST#primary_type#Left ExceedMaxSelectedCallback AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Callback when the current album is deleted
*
* @type { ?function }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 13
*/ AST#property_declaration#Left onCurrentAlbumDeleted ? : AST#type_annotation#Left AST#primary_type#Left CurrentAlbumDeletedCallback AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* PickerController
*
* @type { ?PickerController }
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#property_declaration#Left AST#decorator#Left @ ObjectLink AST#decorator#Right pickerController : AST#type_annotation#Left AST#primary_type#Left PickerController AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right /**
* Build function of PhotoPickerComponent
*
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @atomicservice
* @since 12
*/ AST#ERROR#Left build ( ) : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right ; AST#ERROR#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@Component
export declare struct PhotoPickerComponent {
pickerOptions?: PickerOptions;
onSelect?: (uri: string) => void;
onDeselect?: (uri: string) => void;
onItemClicked?: (itemInfo: ItemInfo, clickType: ClickType) => boolean;
onEnterPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean;
onExitPhotoBrowser?: (photoBrowserInfo: PhotoBrowserInfo) => boolean;
onPickerControllerReady?: () => void;
onPhotoBrowserChanged?: (browserItemInfo: BaseItemInfo) => boolean;
onSelectedItemsDeleted?: ItemsDeletedCallback;
onExceedMaxSelected?: ExceedMaxSelectedCallback;
onCurrentAlbumDeleted?: CurrentAlbumDeletedCallback;
@ObjectLink
pickerController: PickerController;
build(): void;
}
|
https://github.com/ThePivotPoint/ArkTS-LSP-Server-Plugin.git/blob/6231773905435f000d00d94b26504433082ba40b/packages/declarations/ets/api/@ohos.file.PhotoPickerComponent.d.ets#L27-L147
|
ce4cafd999bb5187d9d4a9c10fca9105a32e878f
|
github
|
harmonyos_samples/BestPracticeSnippets
|
490ea539a6d4427dd395f3dac3cf4887719f37af
|
BptaUseResources/entry/src/main/ets/pages/music/Recording.ets
|
arkts
|
onForeground
|
...
|
onForeground(): void {
//Apply for the resources required by the system, or reapply for the resources released in onBackground ()
audio.createAudioCapturer(audioCapturerOptions, (err, data) => {
if (err) {
console.error(`InvokecreateAudioCapturerfailed,codeis${err.code},messageis${err.message}`);
} else {
console.info('InvokecreateAudioCapturersucceeded.');
}
});
}
|
AST#method_declaration#Left onForeground AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { //Apply for the resources required by the system, or reapply for the resources released in onBackground () AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left audio AST#expression#Right . createAudioCapturer AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left audioCapturerOptions AST#expression#Right , AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left err AST#parameter#Right , AST#parameter#Left data AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left err AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` InvokecreateAudioCapturerfailed,codeis AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . code AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right ,messageis AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . message AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'InvokecreateAudioCapturersucceeded.' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
onForeground(): void {
audio.createAudioCapturer(audioCapturerOptions, (err, data) => {
if (err) {
console.error(`InvokecreateAudioCapturerfailed,codeis${err.code},messageis${err.message}`);
} else {
console.info('InvokecreateAudioCapturersucceeded.');
}
});
}
|
https://github.com/harmonyos_samples/BestPracticeSnippets/blob/490ea539a6d4427dd395f3dac3cf4887719f37af/BptaUseResources/entry/src/main/ets/pages/music/Recording.ets#L41-L50
|
73493c8321064721c6fc38bcaeda3b1fc14ad558
|
gitee
|
IceYuanyyy/OxHornCampus.git
|
bb5686f77fa36db89687502e35898cda218d601f
|
entry/src/main/ets/controller/MapController.ets
|
arkts
|
calLandmarksPosition
|
Calculating Landmark Locations.
|
calLandmarksPosition(data: AddressItem): void {
data.locations = data.locations.map((item: Location) => {
item.positionX = item.oriPositionX * this.mapMultiples() -
Const.MAP_LANDMARKS_SIZE * Const.MAP_ZOOM_RATIO / Const.DOUBLE_OR_HALF;
item.positionY = item.oriPositionY * this.mapMultiples() -
Const.MAP_LANDMARKS_SIZE * Const.MAP_ZOOM_RATIO;
return item;
})
}
|
AST#method_declaration#Left calLandmarksPosition AST#parameter_list#Left ( AST#parameter#Left data : AST#type_annotation#Left AST#primary_type#Left AddressItem AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left data AST#expression#Right . locations AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left data AST#expression#Right . locations AST#member_expression#Right AST#expression#Right . map AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left item : AST#type_annotation#Left AST#primary_type#Left Location AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . positionX AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . oriPositionX AST#member_expression#Right AST#expression#Right * AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . mapMultiples AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right - AST#expression#Left Const AST#expression#Right AST#binary_expression#Right AST#expression#Right . MAP_LANDMARKS_SIZE AST#member_expression#Right AST#expression#Right * AST#expression#Left Const AST#expression#Right AST#binary_expression#Right AST#expression#Right . MAP_ZOOM_RATIO AST#member_expression#Right AST#expression#Right / AST#expression#Left Const AST#expression#Right AST#binary_expression#Right AST#expression#Right . DOUBLE_OR_HALF AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . positionY AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . oriPositionY AST#member_expression#Right AST#expression#Right * AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . mapMultiples AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right - AST#expression#Left Const AST#expression#Right AST#binary_expression#Right AST#expression#Right . MAP_LANDMARKS_SIZE AST#member_expression#Right AST#expression#Right * AST#expression#Left Const AST#expression#Right AST#binary_expression#Right AST#expression#Right . MAP_ZOOM_RATIO AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left item AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
calLandmarksPosition(data: AddressItem): void {
data.locations = data.locations.map((item: Location) => {
item.positionX = item.oriPositionX * this.mapMultiples() -
Const.MAP_LANDMARKS_SIZE * Const.MAP_ZOOM_RATIO / Const.DOUBLE_OR_HALF;
item.positionY = item.oriPositionY * this.mapMultiples() -
Const.MAP_LANDMARKS_SIZE * Const.MAP_ZOOM_RATIO;
return item;
})
}
|
https://github.com/IceYuanyyy/OxHornCampus.git/blob/bb5686f77fa36db89687502e35898cda218d601f/entry/src/main/ets/controller/MapController.ets#L121-L129
|
6e8bb5fe142cb651205f1e02a82c2f312c549d01
|
github
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_web/src/main/ets/utils/DialogUtils.ets
|
arkts
|
TODO 弹窗工具类(AlertDialog)
author: 桃花镇童长老ᥫ᭡
since: 2024/05/01
|
export class DialogUtils {
public static readonly CACHE_LABEL = "CACHE_LABEL_DialogUtils";
private static defaultConfig: DialogConfig = new DialogConfig(); //默认样式
private static caches: Array<ActionCoreArg> = new Array<ActionCoreArg>();
/**
* 显示弹框(一个按钮的)
* @param options
*/
static showConfirmDialog(options: ConfirmDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initConfirmButton(options);
AlertDialog.show(options as AlertDialogParamWithConfirm);
}
/**
* 两个按钮的AlertDialog(AlertDialogParamWithButtons)
* @param options
*/
static showPrimaryDialog(options: PrimaryDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initPrimaryButton(options);
AlertDialog.show(options as AlertDialogParamWithButtons);
}
/**
* 多个按钮的AlertDialog(AlertDialogParamWithOptions)
* @param options
*/
static showDialog(options: OptionDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initDialogButton(options);
AlertDialog.show(options as AlertDialogParamWithOptions);
}
/**
* 显示单行文本输入弹框
* @param options
* @returns
*/
static showTextInputDialog(options: InputOptions): string {
try {
if (!options.dialogId) {
options.dialogId = Tools.generateDialogId();
}
DialogUtils.initDialogDefault(options);
DialogUtils.initDialogButton(options, true);
let dialogOptions = options as promptAction.BaseDialogOptions
dialogOptions.onDidDisappear = () => { //弹窗消失时的事件回调。
DialogUtils.removeArg(options.dialogId ?? ''); //弹窗关闭时,移除
};
let uiContext = options.uiContext ?? ArkWebHelper.getContext().windowStage.getMainWindowSync().getUIContext();
const componentContent = new ComponentContent(uiContext, wrapBuilder(TextInputDialogBuilder), options);
DialogUtils.addArg(options.dialogId ?? "", uiContext, componentContent); //显示弹框时,添加
const promptAction = uiContext.getPromptAction();
promptAction.openCustomDialog(componentContent, dialogOptions);
} catch (e) {
let err = e as BusinessError;
Tools.logError("showTextInputDialog-异常:" + err.message);
}
return options.dialogId ?? "";
}
/**
* 关闭已弹出的dialogContent对应的自定义弹窗
* @param dialogId
*/
static closeCustomDialog(dialogId: string) {
try {
const promptActionArg = DialogUtils.getArgById(dialogId);
if (promptActionArg && promptActionArg.uiContext) {
const promptAction = promptActionArg.uiContext.getPromptAction();
const componentContent = promptActionArg.componentContent;
if (componentContent) {
promptAction.closeCustomDialog(componentContent).then(() => {
componentContent.dispose(); //立即释放当前ComponentContent
});
}
}
} catch (e) {
const error = e as BusinessError;
Tools.logError(`closeCustomDialog-Error ~ code: ${error.code} -·- message: ${error.message}`);
}
}
/**
* 根据dialogId获取PromptActionArg
* @param dialogId
* @returns
*/
private static getArgById(dialogId: string): ActionCoreArg | undefined {
return DialogUtils.caches.find(item => dialogId == item.dialogId);
}
/**
* 添加
* @param dialogId
* @param componentContent
*/
private static addArg(dialogId: string, uiContext: UIContext, componentContent: ComponentContent<Object>) {
const arg: ActionCoreArg = { dialogId: dialogId, uiContext: uiContext, componentContent: componentContent }
DialogUtils.caches.unshift(arg);
}
/**
* 移除
* @param dialogId
*/
private static removeArg(dialogId: string) {
const args = DialogUtils.caches;
const index = args.findIndex((item) => item.dialogId == dialogId);
if (index >= 0) {
args.splice(index, 1);
}
}
/**
* 获取showTextInputDialog的输入框内容
* @param dialogId
* @returns
*/
static getTextInput(dialogId: string): string {
let content = GlobalContext.getContext().get<string>(`${DialogUtils.CACHE_LABEL}${dialogId}`);
return content;
}
/**
* 初始化DialogOptions参数
* @param options
*/
private static initDialogDefault(options: DialogOptions) {
options.title = options.title ?? DialogUtils.defaultConfig.title;
options.subtitle = options.subtitle ?? DialogUtils.defaultConfig.subtitle;
options.alignment = options.alignment ?? DialogUtils.defaultConfig.alignment;
options.offset = options.offset ?? DialogUtils.defaultConfig.offset;
options.gridCount = options.gridCount ?? DialogUtils.defaultConfig.gridCount;
options.maskRect = options.maskRect ?? DialogUtils.defaultConfig.maskRect;
options.showInSubWindow = options.showInSubWindow ?? DialogUtils.defaultConfig.showInSubWindow;
options.isModal = options.isModal ?? DialogUtils.defaultConfig.isModal;
options.backgroundColor = options.backgroundColor ?? DialogUtils.defaultConfig.backgroundColor;
options.backgroundBlurStyle = options.backgroundBlurStyle ?? DialogUtils.defaultConfig.backgroundBlurStyle;
options.cornerRadius = options.cornerRadius ?? DialogUtils.defaultConfig.cornerRadius;
options.borderWidth = options.borderWidth ?? DialogUtils.defaultConfig.borderWidth;
options.borderColor = options.borderColor ?? DialogUtils.defaultConfig.borderColor;
options.borderStyle = options.borderStyle ?? DialogUtils.defaultConfig.borderStyle;
options.shadow = options.shadow ?? DialogUtils.defaultConfig.shadow;
options.textStyle = options.textStyle ?? DialogUtils.defaultConfig.textStyle;
options.transition = options.transition ?? DialogUtils.defaultConfig.transition;
options.width = options.width ?? DialogUtils.defaultConfig.width;
options.height = options.height ?? DialogUtils.defaultConfig.height;
options.autoCancel = options.autoCancel ?? DialogUtils.defaultConfig.autoCancel; //点击遮障层时,是否关闭弹窗。
options.backCancel = options.backCancel ?? DialogUtils.defaultConfig.backCancel; //点击返回键或手势返回时,是否关闭弹窗;实现onWillDismiss函数时,该参数不起作用。
options.enableHoverMode = options.enableHoverMode ?? DialogUtils.defaultConfig.enableHoverMode;
options.hoverModeArea = options.hoverModeArea ?? DialogUtils.defaultConfig.hoverModeArea;
options.levelMode = options.levelMode ?? DialogUtils.defaultConfig.levelMode;
options.immersiveMode = options.immersiveMode ?? DialogUtils.defaultConfig.immersiveMode;
const cancelFun = options.cancel;
options.cancel = () => {
if (cancelFun) {
cancelFun()
}
};
const onWillDismissFun = options.onWillDismiss;
options.onWillDismiss = (action: DismissDialogAction) => {
if (onWillDismissFun) {
onWillDismissFun(action);
} else {
if (action.reason == DismissReason.PRESS_BACK && options.backCancel) {
action.dismiss()
} else if (action.reason == DismissReason.TOUCH_OUTSIDE && options.autoCancel) {
action.dismiss()
}
}
};
}
/**
* 一个按钮,初始化参数
* @param options
*/
private static initConfirmButton(options: ConfirmDialogOptions) {
options.confirm = options.confirm ?? DialogUtils.defaultConfig.secondaryButton;
if (Tools.isResourceStr(options.confirm)) {
options.confirm = {
value: options.confirm as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
}
}
} else {
let confirmButton = options.confirm as ButtonOptions;
let confirmAction = confirmButton.action;
confirmButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
if (confirmAction) {
confirmAction();
}
}
}
}
/**
* 两个按钮,初始化参数
* @param options
*/
private static initPrimaryButton(options: PrimaryDialogOptions) {
//当PrimaryButton和SecondaryButton同时为空时,使用默认按钮
if (!options.primaryButton && !options.secondaryButton) {
options.primaryButton = DialogUtils.defaultConfig.primaryButton
options.secondaryButton = DialogUtils.defaultConfig.secondaryButton
}
if (options.primaryButton) {
let primaryValue = options.primaryButton;
if (Tools.isResourceStr(primaryValue)) {
options.primaryButton = {
value: primaryValue as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
}
}
} else {
let primaryButton = options.primaryButton as ButtonOptions;
let primaryAction = primaryButton.action;
primaryButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
if (primaryAction) {
primaryAction();
}
}
}
}
if (options.secondaryButton) {
let secondaryValue = options.secondaryButton;
if (Tools.isResourceStr(secondaryValue)) {
options.secondaryButton = {
value: secondaryValue as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.TWO);
}
}
}
} else {
let secondaryButton = options.secondaryButton as ButtonOptions;
let secondaryAction = secondaryButton.action;
secondaryButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.TWO);
}
if (secondaryAction) {
secondaryAction();
}
}
}
}
}
/**
* 多个按钮,初始化参数
* @param options
*/
private static initDialogButton(options: OptionDialogOptions, input: boolean = false) {
if (!options.buttons) {
options.buttons = [DialogUtils.defaultConfig.primaryButton, DialogUtils.defaultConfig.secondaryButton]
}
if (options.buttons && options.buttons.length > 0) {
let buttons = new Array<ButtonOptions>();
for (let index = 0; index < options.buttons.length; index++) {
if (Tools.isResourceStr(options.buttons[index])) {
let button: ButtonOptions = {
value: options.buttons[index] as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogUtils.getDialogAction(index));
}
}
}
buttons.push(button);
} else {
let btn = options.buttons[index] as ButtonOptions;
let btnAction = btn.action;
btn.action = () => {
if (options.onAction) {
options.onAction(DialogUtils.getDialogAction(index));
}
if (btnAction) {
btnAction();
}
DialogUtils.closeCustomDialog(options.dialogId ?? "");
}
buttons.push(btn);
}
}
options.buttons = buttons;
}
}
/**
* 获取DialogAction
*/
private static getDialogAction(action: number) {
if (action == 0) {
return DialogAction.ONE;
} else if (action == 1) {
return DialogAction.TWO;
} else if (action == 2) {
return DialogAction.THREE;
} else if (action == 3) {
return DialogAction.FOUR;
} else if (action == 4) {
return DialogAction.FIVE;
} else {
return DialogAction.SIX;
}
}
}
|
AST#export_declaration#Left export AST#class_declaration#Left class DialogUtils AST#class_body#Left { AST#property_declaration#Left public static readonly CACHE_LABEL = AST#expression#Left "CACHE_LABEL_DialogUtils" AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left private static defaultConfig : AST#type_annotation#Left AST#primary_type#Left DialogConfig AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left DialogConfig AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#property_declaration#Right //默认样式 AST#property_declaration#Left private static caches : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left ActionCoreArg AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left ActionCoreArg AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#property_declaration#Right /**
* 显示弹框(一个按钮的)
* @param options
*/ AST#method_declaration#Left static showConfirmDialog AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left ConfirmDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogDefault AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initConfirmButton AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AlertDialog AST#expression#Right . show AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left options AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AlertDialogParamWithConfirm AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 两个按钮的AlertDialog(AlertDialogParamWithButtons)
* @param options
*/ AST#method_declaration#Left static showPrimaryDialog AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left PrimaryDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogDefault AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initPrimaryButton AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AlertDialog AST#expression#Right . show AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left options AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AlertDialogParamWithButtons AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 多个按钮的AlertDialog(AlertDialogParamWithOptions)
* @param options
*/ AST#method_declaration#Left static showDialog AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left OptionDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogDefault AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogButton AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AlertDialog AST#expression#Right . show AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left options AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AlertDialogParamWithOptions AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 显示单行文本输入弹框
* @param options
* @returns
*/ AST#method_declaration#Left static showTextInputDialog AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left InputOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left options AST#expression#Right AST#unary_expression#Right AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . dialogId AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . generateDialogId AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogDefault AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . initDialogButton AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left options AST#expression#Right , AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left dialogOptions = AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#as_expression#Left AST#expression#Left options AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left promptAction . BaseDialogOptions AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#ERROR#Left dialogOptions AST#ERROR#Right . onDidDisappear AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { //弹窗消失时的事件回调。 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . removeArg AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right ?? AST#expression#Left '' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right //弹窗关闭时,移除 } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left uiContext = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . uiContext AST#member_expression#Right AST#expression#Right ?? AST#expression#Left ArkWebHelper AST#expression#Right AST#binary_expression#Right AST#expression#Right . getContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . windowStage AST#member_expression#Right AST#expression#Right . getMainWindowSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left componentContent = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left ComponentContent AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left uiContext AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left TextInputDialogBuilder AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left options AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . addArg AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right ?? AST#expression#Left "" AST#expression#Right AST#binary_expression#Right AST#expression#Right , AST#expression#Left uiContext AST#expression#Right , AST#expression#Left componentContent AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right //显示弹框时,添加 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left promptAction = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left uiContext AST#expression#Right . getPromptAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left promptAction AST#expression#Right . openCustomDialog AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left componentContent AST#expression#Right , AST#expression#Left dialogOptions AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( e ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left err = AST#expression#Left AST#as_expression#Left AST#expression#Left e AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left BusinessError AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . logError AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left "showTextInputDialog-异常:" AST#expression#Right + AST#expression#Left err AST#expression#Right AST#binary_expression#Right AST#expression#Right . message AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right ?? AST#expression#Left "" AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 关闭已弹出的dialogContent对应的自定义弹窗
* @param dialogId
*/ AST#method_declaration#Left static closeCustomDialog AST#parameter_list#Left ( AST#parameter#Left dialogId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left promptActionArg = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . getArgById AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left dialogId AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left promptActionArg AST#expression#Right && AST#expression#Left promptActionArg AST#expression#Right AST#binary_expression#Right AST#expression#Right . uiContext AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left promptAction = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left promptActionArg AST#expression#Right . uiContext AST#member_expression#Right AST#expression#Right . getPromptAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left componentContent = AST#expression#Left AST#member_expression#Left AST#expression#Left promptActionArg AST#expression#Right . componentContent AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left componentContent AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left promptAction AST#expression#Right . closeCustomDialog AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left componentContent AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . then AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left componentContent AST#expression#Right . dispose AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right //立即释放当前ComponentContent } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( e ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left error = AST#expression#Left AST#as_expression#Left AST#expression#Left e AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left BusinessError AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . logError AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` closeCustomDialog-Error ~ code: AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left error AST#expression#Right . code AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right -·- message: AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left error AST#expression#Right . message AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 根据dialogId获取PromptActionArg
* @param dialogId
* @returns
*/ AST#method_declaration#Left private static getArgById AST#parameter_list#Left ( AST#parameter#Left dialogId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left ActionCoreArg AST#primary_type#Right | AST#primary_type#Left undefined AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . caches AST#member_expression#Right AST#expression#Right . find AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left item => AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left dialogId AST#expression#Right == AST#expression#Left item AST#expression#Right AST#binary_expression#Right AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 添加
* @param dialogId
* @param componentContent
*/ AST#method_declaration#Left private static addArg AST#parameter_list#Left ( AST#parameter#Left dialogId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left uiContext : AST#type_annotation#Left AST#primary_type#Left UIContext AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left componentContent : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left ComponentContent AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left arg : AST#type_annotation#Left AST#primary_type#Left ActionCoreArg AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left dialogId AST#property_name#Right : AST#expression#Left dialogId AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left uiContext AST#property_name#Right : AST#expression#Left uiContext AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left componentContent AST#property_name#Right : AST#expression#Left componentContent AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#ERROR#Left DialogUtils AST#ERROR#Right . caches AST#member_expression#Right AST#expression#Right . unshift AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left arg AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 移除
* @param dialogId
*/ AST#method_declaration#Left private static removeArg AST#parameter_list#Left ( AST#parameter#Left dialogId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left args = AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . caches AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left index = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left args AST#expression#Right . findIndex AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left item AST#parameter#Right ) AST#parameter_list#Right => AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right == AST#expression#Left dialogId AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left index AST#expression#Right >= AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left args AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right , AST#expression#Left 1 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 获取showTextInputDialog的输入框内容
* @param dialogId
* @returns
*/ AST#method_declaration#Left static getTextInput AST#parameter_list#Left ( AST#parameter#Left dialogId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left content = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left GlobalContext AST#expression#Right . getContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . get AST#member_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . CACHE_LABEL AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right AST#template_substitution#Left $ { AST#expression#Left dialogId AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left content AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 初始化DialogOptions参数
* @param options
*/ AST#method_declaration#Left private static initDialogDefault AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left DialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . title AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . title AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . title AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . subtitle AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . subtitle AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . subtitle AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . alignment AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . alignment AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . alignment AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . offset AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . offset AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . offset AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . gridCount AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . gridCount AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . gridCount AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . maskRect AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . maskRect AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . maskRect AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . showInSubWindow AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . showInSubWindow AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . showInSubWindow AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . isModal AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . isModal AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . isModal AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backgroundColor AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backgroundColor AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . backgroundColor AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backgroundBlurStyle AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backgroundBlurStyle AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . backgroundBlurStyle AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . cornerRadius AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . cornerRadius AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . cornerRadius AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderWidth AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderWidth AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . borderWidth AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderColor AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderColor AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . borderColor AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderStyle AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . borderStyle AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . borderStyle AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . shadow AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . shadow AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . shadow AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . textStyle AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . textStyle AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . textStyle AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . transition AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . transition AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . transition AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . width AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . width AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . width AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . height AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . height AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . height AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . autoCancel AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . autoCancel AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . autoCancel AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right //点击遮障层时,是否关闭弹窗。 AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backCancel AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . backCancel AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . backCancel AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right //点击返回键或手势返回时,是否关闭弹窗;实现onWillDismiss函数时,该参数不起作用。 AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . enableHoverMode AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . enableHoverMode AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . enableHoverMode AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . hoverModeArea AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . hoverModeArea AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . hoverModeArea AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . levelMode AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . levelMode AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . levelMode AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . immersiveMode AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . immersiveMode AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . immersiveMode AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left const AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left cancelFun = AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . cancel AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . cancel AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left cancelFun AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left cancelFun AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left const AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left onWillDismissFun = AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onWillDismiss AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onWillDismiss AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left action : AST#type_annotation#Left AST#primary_type#Left DismissDialogAction AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left onWillDismissFun AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left onWillDismissFun AST#expression#Right AST#argument_list#Left ( AST#expression#Left action AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left action AST#expression#Right . reason AST#member_expression#Right AST#expression#Right == AST#expression#Left DismissReason AST#expression#Right AST#binary_expression#Right AST#expression#Right . PRESS_BACK AST#member_expression#Right AST#expression#Right && AST#expression#Left options AST#expression#Right AST#binary_expression#Right AST#expression#Right . backCancel AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left action AST#expression#Right . dismiss AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left action AST#expression#Right . reason AST#member_expression#Right AST#expression#Right == AST#expression#Left DismissReason AST#expression#Right AST#binary_expression#Right AST#expression#Right . TOUCH_OUTSIDE AST#member_expression#Right AST#expression#Right && AST#expression#Left options AST#expression#Right AST#binary_expression#Right AST#expression#Right . autoCancel AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left action AST#expression#Right . dismiss AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 一个按钮,初始化参数
* @param options
*/ AST#method_declaration#Left private static initConfirmButton AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left ConfirmDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right AST#expression#Right ?? AST#expression#Left DialogUtils AST#expression#Right AST#binary_expression#Right AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . isResourceStr AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left AST#as_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left action AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . ONE AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } else { AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left confirmButton = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . confirm AST#member_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left confirmAction = AST#expression#Left AST#member_expression#Left AST#expression#Left confirmButton AST#expression#Right . action AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left confirmButton AST#expression#Right . action AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . ONE AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left confirmAction AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left confirmAction AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 两个按钮,初始化参数
* @param options
*/ AST#method_declaration#Left private static initPrimaryButton AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left PrimaryDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { //当PrimaryButton和SecondaryButton同时为空时,使用默认按钮 AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left options AST#expression#Right AST#unary_expression#Right AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right && AST#expression#Left AST#unary_expression#Left ! AST#expression#Left options AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . primaryButton AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . secondaryButton AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left primaryValue = AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . isResourceStr AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left primaryValue AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . primaryButton AST#member_expression#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left AST#as_expression#Left AST#expression#Left primaryValue AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left action AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . ONE AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } else { AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left primaryButton = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left primaryAction = AST#expression#Left AST#member_expression#Left AST#expression#Left primaryButton AST#expression#Right . action AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left primaryButton AST#expression#Right . action AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . ONE AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left primaryAction AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left primaryAction AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left secondaryValue = AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . isResourceStr AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left secondaryValue AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . secondaryButton AST#member_expression#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left AST#as_expression#Left AST#expression#Left secondaryValue AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left action AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . TWO AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } else { AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left secondaryButton = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left secondaryAction = AST#expression#Left AST#member_expression#Left AST#expression#Left secondaryButton AST#expression#Right . action AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left secondaryButton AST#expression#Right . action AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . TWO AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left secondaryAction AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left secondaryAction AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#builder_function_body#Right AST#method_declaration#Right /**
* 多个按钮,初始化参数
* @param options
*/ AST#method_declaration#Left private static initDialogButton AST#parameter_list#Left ( AST#parameter#Left options : AST#type_annotation#Left AST#primary_type#Left OptionDialogOptions AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left input : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left options AST#expression#Right AST#unary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . primaryButton AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . defaultConfig AST#member_expression#Right AST#expression#Right . secondaryButton AST#member_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right && AST#expression#Left options AST#expression#Right AST#binary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left buttons = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left index = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left index AST#expression#Right < AST#expression#Left options AST#expression#Right AST#binary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Tools AST#expression#Right . isResourceStr AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left button : AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left action AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . getDialogAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#ERROR#Left buttons AST#ERROR#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left button AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left btn = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left ButtonOptions AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left btnAction = AST#expression#Left AST#member_expression#Left AST#expression#Left btn AST#expression#Right . action AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left btn AST#expression#Right . action AST#member_expression#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . onAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . getDialogAction AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left btnAction AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left btnAction AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DialogUtils AST#expression#Right . closeCustomDialog AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . dialogId AST#member_expression#Right AST#expression#Right ?? AST#expression#Left "" AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left buttons AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left btn AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left options AST#expression#Right . buttons AST#member_expression#Right = AST#expression#Left buttons AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 获取DialogAction
*/ AST#method_declaration#Left private static getDialogAction AST#parameter_list#Left ( AST#parameter#Left action : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left action AST#expression#Right == AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . ONE AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left action AST#expression#Right == AST#expression#Left 1 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . TWO AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left action AST#expression#Right == AST#expression#Left 2 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . THREE AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left action AST#expression#Right == AST#expression#Left 3 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . FOUR AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left action AST#expression#Right == AST#expression#Left 4 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . FIVE AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left DialogAction AST#expression#Right . SIX AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class DialogUtils {
public static readonly CACHE_LABEL = "CACHE_LABEL_DialogUtils";
private static defaultConfig: DialogConfig = new DialogConfig();
private static caches: Array<ActionCoreArg> = new Array<ActionCoreArg>();
static showConfirmDialog(options: ConfirmDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initConfirmButton(options);
AlertDialog.show(options as AlertDialogParamWithConfirm);
}
static showPrimaryDialog(options: PrimaryDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initPrimaryButton(options);
AlertDialog.show(options as AlertDialogParamWithButtons);
}
static showDialog(options: OptionDialogOptions) {
DialogUtils.initDialogDefault(options);
DialogUtils.initDialogButton(options);
AlertDialog.show(options as AlertDialogParamWithOptions);
}
static showTextInputDialog(options: InputOptions): string {
try {
if (!options.dialogId) {
options.dialogId = Tools.generateDialogId();
}
DialogUtils.initDialogDefault(options);
DialogUtils.initDialogButton(options, true);
let dialogOptions = options as promptAction.BaseDialogOptions
dialogOptions.onDidDisappear = () => {
DialogUtils.removeArg(options.dialogId ?? '');
};
let uiContext = options.uiContext ?? ArkWebHelper.getContext().windowStage.getMainWindowSync().getUIContext();
const componentContent = new ComponentContent(uiContext, wrapBuilder(TextInputDialogBuilder), options);
DialogUtils.addArg(options.dialogId ?? "", uiContext, componentContent);
const promptAction = uiContext.getPromptAction();
promptAction.openCustomDialog(componentContent, dialogOptions);
} catch (e) {
let err = e as BusinessError;
Tools.logError("showTextInputDialog-异常:" + err.message);
}
return options.dialogId ?? "";
}
static closeCustomDialog(dialogId: string) {
try {
const promptActionArg = DialogUtils.getArgById(dialogId);
if (promptActionArg && promptActionArg.uiContext) {
const promptAction = promptActionArg.uiContext.getPromptAction();
const componentContent = promptActionArg.componentContent;
if (componentContent) {
promptAction.closeCustomDialog(componentContent).then(() => {
componentContent.dispose();
});
}
}
} catch (e) {
const error = e as BusinessError;
Tools.logError(`closeCustomDialog-Error ~ code: ${error.code} -·- message: ${error.message}`);
}
}
private static getArgById(dialogId: string): ActionCoreArg | undefined {
return DialogUtils.caches.find(item => dialogId == item.dialogId);
}
private static addArg(dialogId: string, uiContext: UIContext, componentContent: ComponentContent<Object>) {
const arg: ActionCoreArg = { dialogId: dialogId, uiContext: uiContext, componentContent: componentContent }
DialogUtils.caches.unshift(arg);
}
private static removeArg(dialogId: string) {
const args = DialogUtils.caches;
const index = args.findIndex((item) => item.dialogId == dialogId);
if (index >= 0) {
args.splice(index, 1);
}
}
static getTextInput(dialogId: string): string {
let content = GlobalContext.getContext().get<string>(`${DialogUtils.CACHE_LABEL}${dialogId}`);
return content;
}
private static initDialogDefault(options: DialogOptions) {
options.title = options.title ?? DialogUtils.defaultConfig.title;
options.subtitle = options.subtitle ?? DialogUtils.defaultConfig.subtitle;
options.alignment = options.alignment ?? DialogUtils.defaultConfig.alignment;
options.offset = options.offset ?? DialogUtils.defaultConfig.offset;
options.gridCount = options.gridCount ?? DialogUtils.defaultConfig.gridCount;
options.maskRect = options.maskRect ?? DialogUtils.defaultConfig.maskRect;
options.showInSubWindow = options.showInSubWindow ?? DialogUtils.defaultConfig.showInSubWindow;
options.isModal = options.isModal ?? DialogUtils.defaultConfig.isModal;
options.backgroundColor = options.backgroundColor ?? DialogUtils.defaultConfig.backgroundColor;
options.backgroundBlurStyle = options.backgroundBlurStyle ?? DialogUtils.defaultConfig.backgroundBlurStyle;
options.cornerRadius = options.cornerRadius ?? DialogUtils.defaultConfig.cornerRadius;
options.borderWidth = options.borderWidth ?? DialogUtils.defaultConfig.borderWidth;
options.borderColor = options.borderColor ?? DialogUtils.defaultConfig.borderColor;
options.borderStyle = options.borderStyle ?? DialogUtils.defaultConfig.borderStyle;
options.shadow = options.shadow ?? DialogUtils.defaultConfig.shadow;
options.textStyle = options.textStyle ?? DialogUtils.defaultConfig.textStyle;
options.transition = options.transition ?? DialogUtils.defaultConfig.transition;
options.width = options.width ?? DialogUtils.defaultConfig.width;
options.height = options.height ?? DialogUtils.defaultConfig.height;
options.autoCancel = options.autoCancel ?? DialogUtils.defaultConfig.autoCancel;
options.backCancel = options.backCancel ?? DialogUtils.defaultConfig.backCancel;
options.enableHoverMode = options.enableHoverMode ?? DialogUtils.defaultConfig.enableHoverMode;
options.hoverModeArea = options.hoverModeArea ?? DialogUtils.defaultConfig.hoverModeArea;
options.levelMode = options.levelMode ?? DialogUtils.defaultConfig.levelMode;
options.immersiveMode = options.immersiveMode ?? DialogUtils.defaultConfig.immersiveMode;
const cancelFun = options.cancel;
options.cancel = () => {
if (cancelFun) {
cancelFun()
}
};
const onWillDismissFun = options.onWillDismiss;
options.onWillDismiss = (action: DismissDialogAction) => {
if (onWillDismissFun) {
onWillDismissFun(action);
} else {
if (action.reason == DismissReason.PRESS_BACK && options.backCancel) {
action.dismiss()
} else if (action.reason == DismissReason.TOUCH_OUTSIDE && options.autoCancel) {
action.dismiss()
}
}
};
}
private static initConfirmButton(options: ConfirmDialogOptions) {
options.confirm = options.confirm ?? DialogUtils.defaultConfig.secondaryButton;
if (Tools.isResourceStr(options.confirm)) {
options.confirm = {
value: options.confirm as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
}
}
} else {
let confirmButton = options.confirm as ButtonOptions;
let confirmAction = confirmButton.action;
confirmButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
if (confirmAction) {
confirmAction();
}
}
}
}
private static initPrimaryButton(options: PrimaryDialogOptions) {
if (!options.primaryButton && !options.secondaryButton) {
options.primaryButton = DialogUtils.defaultConfig.primaryButton
options.secondaryButton = DialogUtils.defaultConfig.secondaryButton
}
if (options.primaryButton) {
let primaryValue = options.primaryButton;
if (Tools.isResourceStr(primaryValue)) {
options.primaryButton = {
value: primaryValue as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
}
}
} else {
let primaryButton = options.primaryButton as ButtonOptions;
let primaryAction = primaryButton.action;
primaryButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.ONE);
}
if (primaryAction) {
primaryAction();
}
}
}
}
if (options.secondaryButton) {
let secondaryValue = options.secondaryButton;
if (Tools.isResourceStr(secondaryValue)) {
options.secondaryButton = {
value: secondaryValue as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogAction.TWO);
}
}
}
} else {
let secondaryButton = options.secondaryButton as ButtonOptions;
let secondaryAction = secondaryButton.action;
secondaryButton.action = () => {
if (options.onAction) {
options.onAction(DialogAction.TWO);
}
if (secondaryAction) {
secondaryAction();
}
}
}
}
}
private static initDialogButton(options: OptionDialogOptions, input: boolean = false) {
if (!options.buttons) {
options.buttons = [DialogUtils.defaultConfig.primaryButton, DialogUtils.defaultConfig.secondaryButton]
}
if (options.buttons && options.buttons.length > 0) {
let buttons = new Array<ButtonOptions>();
for (let index = 0; index < options.buttons.length; index++) {
if (Tools.isResourceStr(options.buttons[index])) {
let button: ButtonOptions = {
value: options.buttons[index] as ResourceStr,
action: () => {
if (options.onAction) {
options.onAction(DialogUtils.getDialogAction(index));
}
}
}
buttons.push(button);
} else {
let btn = options.buttons[index] as ButtonOptions;
let btnAction = btn.action;
btn.action = () => {
if (options.onAction) {
options.onAction(DialogUtils.getDialogAction(index));
}
if (btnAction) {
btnAction();
}
DialogUtils.closeCustomDialog(options.dialogId ?? "");
}
buttons.push(btn);
}
}
options.buttons = buttons;
}
}
private static getDialogAction(action: number) {
if (action == 0) {
return DialogAction.ONE;
} else if (action == 1) {
return DialogAction.TWO;
} else if (action == 2) {
return DialogAction.THREE;
} else if (action == 3) {
return DialogAction.FOUR;
} else if (action == 4) {
return DialogAction.FIVE;
} else {
return DialogAction.SIX;
}
}
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_web/src/main/ets/utils/DialogUtils.ets#L40-L380
|
7038cdcd9bd29ac31dbd36e93a9d748a9fc5d44f
|
gitee
|
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
harmonyos/src/main/ets/common/constants/AppConstants.ets
|
arkts
|
UI相关常量
|
export class UIConstants {
// 页面路由
static readonly HOME_PAGE = 'pages/main/HomePage';
static readonly CONTACTS_PAGE = 'pages/main/ContactsPage';
static readonly CALENDAR_PAGE = 'pages/main/CalendarPage';
static readonly GREETINGS_PAGE = 'pages/main/GreetingsPage';
static readonly SETTINGS_PAGE = 'pages/main/SettingsPage';
static readonly ADD_CONTACT_PAGE = 'pages/contact/AddContactPage';
static readonly EDIT_CONTACT_PAGE = 'pages/contact/EditContactPage';
static readonly CONTACT_DETAIL_PAGE = 'pages/contact/ContactDetailPage';
static readonly THEME_SETTINGS_PAGE = 'pages/settings/ThemeSettingsPage';
static readonly NOTIFICATION_SETTINGS_PAGE = 'pages/settings/NotificationSettingsPage';
static readonly AI_SETTINGS_PAGE = 'pages/settings/AISettingsPage';
static readonly DATA_MANAGEMENT_PAGE = 'pages/settings/DataManagementPage';
static readonly LANGUAGE_SETTINGS_PAGE = 'pages/settings/LanguageSettingsPage';
// 动画持续时间(毫秒)
static readonly ANIMATION_DURATION_FAST = 200;
static readonly ANIMATION_DURATION_NORMAL = 300;
static readonly ANIMATION_DURATION_SLOW = 500;
// 缓动曲线
static readonly EASE_OUT_CUBIC = Curve.Cubic;
static readonly EASE_IN_OUT_CUBIC = Curve.Cubic;
static readonly EASE_OUT_BACK = Curve.Spring;
// 触觉反馈
static readonly HAPTIC_LIGHT = 'light';
static readonly HAPTIC_MEDIUM = 'medium';
static readonly HAPTIC_HEAVY = 'heavy';
// 布局相关
static readonly DEFAULT_PADDING = 16;
static readonly SMALL_PADDING = 8;
static readonly LARGE_PADDING = 24;
static readonly BORDER_RADIUS = 8;
static readonly CARD_BORDER_RADIUS = 12;
static readonly BUTTON_HEIGHT = 44;
static readonly LIST_ITEM_HEIGHT = 64;
static readonly TAB_BAR_HEIGHT = 56;
// 字体大小
static readonly FONT_SIZE_CAPTION = 12;
static readonly FONT_SIZE_BODY = 14;
static readonly FONT_SIZE_SUBHEADING = 16;
static readonly FONT_SIZE_HEADING = 18;
static readonly FONT_SIZE_TITLE = 20;
static readonly FONT_SIZE_LARGE_TITLE = 24;
// 颜色透明度
static readonly ALPHA_DISABLED = 0.4;
static readonly ALPHA_PRESSED = 0.6;
static readonly ALPHA_HOVER = 0.8;
static readonly ALPHA_OVERLAY = 0.3;
}
|
AST#export_declaration#Left export AST#class_declaration#Left class UIConstants AST#class_body#Left { // 页面路由 AST#property_declaration#Left static readonly HOME_PAGE = AST#expression#Left 'pages/main/HomePage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly CONTACTS_PAGE = AST#expression#Left 'pages/main/ContactsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly CALENDAR_PAGE = AST#expression#Left 'pages/main/CalendarPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly GREETINGS_PAGE = AST#expression#Left 'pages/main/GreetingsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly SETTINGS_PAGE = AST#expression#Left 'pages/main/SettingsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ADD_CONTACT_PAGE = AST#expression#Left 'pages/contact/AddContactPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly EDIT_CONTACT_PAGE = AST#expression#Left 'pages/contact/EditContactPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly CONTACT_DETAIL_PAGE = AST#expression#Left 'pages/contact/ContactDetailPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly THEME_SETTINGS_PAGE = AST#expression#Left 'pages/settings/ThemeSettingsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly NOTIFICATION_SETTINGS_PAGE = AST#expression#Left 'pages/settings/NotificationSettingsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly AI_SETTINGS_PAGE = AST#expression#Left 'pages/settings/AISettingsPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly DATA_MANAGEMENT_PAGE = AST#expression#Left 'pages/settings/DataManagementPage' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly LANGUAGE_SETTINGS_PAGE = AST#expression#Left 'pages/settings/LanguageSettingsPage' AST#expression#Right ; AST#property_declaration#Right // 动画持续时间(毫秒) AST#property_declaration#Left static readonly ANIMATION_DURATION_FAST = AST#expression#Left 200 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ANIMATION_DURATION_NORMAL = AST#expression#Left 300 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ANIMATION_DURATION_SLOW = AST#expression#Left 500 AST#expression#Right ; AST#property_declaration#Right // 缓动曲线 AST#property_declaration#Left static readonly EASE_OUT_CUBIC = AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Cubic AST#member_expression#Right AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly EASE_IN_OUT_CUBIC = AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Cubic AST#member_expression#Right AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly EASE_OUT_BACK = AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Spring AST#member_expression#Right AST#expression#Right ; AST#property_declaration#Right // 触觉反馈 AST#property_declaration#Left static readonly HAPTIC_LIGHT = AST#expression#Left 'light' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly HAPTIC_MEDIUM = AST#expression#Left 'medium' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly HAPTIC_HEAVY = AST#expression#Left 'heavy' AST#expression#Right ; AST#property_declaration#Right // 布局相关 AST#property_declaration#Left static readonly DEFAULT_PADDING = AST#expression#Left 16 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly SMALL_PADDING = AST#expression#Left 8 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly LARGE_PADDING = AST#expression#Left 24 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly BORDER_RADIUS = AST#expression#Left 8 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly CARD_BORDER_RADIUS = AST#expression#Left 12 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly BUTTON_HEIGHT = AST#expression#Left 44 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly LIST_ITEM_HEIGHT = AST#expression#Left 64 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly TAB_BAR_HEIGHT = AST#expression#Left 56 AST#expression#Right ; AST#property_declaration#Right // 字体大小 AST#property_declaration#Left static readonly FONT_SIZE_CAPTION = AST#expression#Left 12 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_BODY = AST#expression#Left 14 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_SUBHEADING = AST#expression#Left 16 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_HEADING = AST#expression#Left 18 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_TITLE = AST#expression#Left 20 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly FONT_SIZE_LARGE_TITLE = AST#expression#Left 24 AST#expression#Right ; AST#property_declaration#Right // 颜色透明度 AST#property_declaration#Left static readonly ALPHA_DISABLED = AST#expression#Left 0.4 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ALPHA_PRESSED = AST#expression#Left 0.6 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ALPHA_HOVER = AST#expression#Left 0.8 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left static readonly ALPHA_OVERLAY = AST#expression#Left 0.3 AST#expression#Right ; AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class UIConstants {
static readonly HOME_PAGE = 'pages/main/HomePage';
static readonly CONTACTS_PAGE = 'pages/main/ContactsPage';
static readonly CALENDAR_PAGE = 'pages/main/CalendarPage';
static readonly GREETINGS_PAGE = 'pages/main/GreetingsPage';
static readonly SETTINGS_PAGE = 'pages/main/SettingsPage';
static readonly ADD_CONTACT_PAGE = 'pages/contact/AddContactPage';
static readonly EDIT_CONTACT_PAGE = 'pages/contact/EditContactPage';
static readonly CONTACT_DETAIL_PAGE = 'pages/contact/ContactDetailPage';
static readonly THEME_SETTINGS_PAGE = 'pages/settings/ThemeSettingsPage';
static readonly NOTIFICATION_SETTINGS_PAGE = 'pages/settings/NotificationSettingsPage';
static readonly AI_SETTINGS_PAGE = 'pages/settings/AISettingsPage';
static readonly DATA_MANAGEMENT_PAGE = 'pages/settings/DataManagementPage';
static readonly LANGUAGE_SETTINGS_PAGE = 'pages/settings/LanguageSettingsPage';
static readonly ANIMATION_DURATION_FAST = 200;
static readonly ANIMATION_DURATION_NORMAL = 300;
static readonly ANIMATION_DURATION_SLOW = 500;
static readonly EASE_OUT_CUBIC = Curve.Cubic;
static readonly EASE_IN_OUT_CUBIC = Curve.Cubic;
static readonly EASE_OUT_BACK = Curve.Spring;
static readonly HAPTIC_LIGHT = 'light';
static readonly HAPTIC_MEDIUM = 'medium';
static readonly HAPTIC_HEAVY = 'heavy';
static readonly DEFAULT_PADDING = 16;
static readonly SMALL_PADDING = 8;
static readonly LARGE_PADDING = 24;
static readonly BORDER_RADIUS = 8;
static readonly CARD_BORDER_RADIUS = 12;
static readonly BUTTON_HEIGHT = 44;
static readonly LIST_ITEM_HEIGHT = 64;
static readonly TAB_BAR_HEIGHT = 56;
static readonly FONT_SIZE_CAPTION = 12;
static readonly FONT_SIZE_BODY = 14;
static readonly FONT_SIZE_SUBHEADING = 16;
static readonly FONT_SIZE_HEADING = 18;
static readonly FONT_SIZE_TITLE = 20;
static readonly FONT_SIZE_LARGE_TITLE = 24;
static readonly ALPHA_DISABLED = 0.4;
static readonly ALPHA_PRESSED = 0.6;
static readonly ALPHA_HOVER = 0.8;
static readonly ALPHA_OVERLAY = 0.3;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/harmonyos/src/main/ets/common/constants/AppConstants.ets#L103-L157
|
7b690caffd4aef8a584c42981c3d97996d0ced5d
|
github
|
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
spinkit/src/main/ets/components/SpinJ.ets
|
arkts
|
SpinJ
|
TODO SpinKit动画组件
author: 桃花镇童长老
since: 2024/05/01
|
@ComponentV2
export struct SpinJ {
@Require @Param spinSize: number = 36;
@Require @Param spinColor: ResourceColor;
@Local scaleSize: number = this.spinSize * 0.75;
@Local tran1: number = 0;
private oldSize: number = this.spinSize;
aboutToAppear(): void {
this.oldSize = this.spinSize;
this.scaleSize = this.spinSize * 0.75;
}
build() {
Stack() {
Grid() {
GridItem() {
Canvas().chunkStyle()
}.translate({ x: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}
GridItem() {
Canvas().chunkStyle()
}.translate({ y: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: -this.tran1 })
}
.rowsTemplate('1fr 1fr 1fr')
.columnsTemplate('1fr 1fr 1fr')
.width(this.scaleSize)
.height(this.scaleSize)
}
.width(this.oldSize)
.height(this.oldSize)
.alignContent(Alignment.Center)
.onAppear(() => {
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: 0 }, [
{
duration: 500,
curve: Curve.EaseInOut,
event: () => {
this.tran1 = 0
this.scaleSize = this.oldSize * 1.1
}
},
{
duration: 190,
curve: Curve.Linear,
event: () => {
this.tran1 = this.oldSize / 3
}
},
{
duration: 0,
curve: Curve.Linear,
event: () => {
this.tran1 = 0
}
},
{
duration: 10,
curve: Curve.Linear,
event: () => {
}
},
{
duration: 500,
curve: Curve.EaseIn,
event: () => {
this.scaleSize = this.oldSize * 0.75
this.tran1 = 0
}
}
])
})
}
@Styles
chunkStyle(){
.width(this.oldSize * 0.25)
.height(this.oldSize * 0.25)
.backgroundColor(this.spinColor)
.shadow(ShadowStyle.OUTER_DEFAULT_XS)
}
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ ComponentV2 AST#decorator#Right export struct SpinJ AST#component_body#Left { AST#property_declaration#Left AST#decorator#Left @ Require AST#decorator#Right AST#decorator#Left @ Param AST#decorator#Right spinSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 36 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Require AST#decorator#Right AST#decorator#Left @ Param AST#decorator#Right spinColor : AST#type_annotation#Left AST#primary_type#Left ResourceColor AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scaleSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.75 AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right tran1 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left private oldSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right ; AST#property_declaration#Right AST#method_declaration#Left aboutToAppear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scaleSize AST#member_expression#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.75 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#build_method#Left build ( ) AST#build_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Stack ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Grid ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left - AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left - AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left - AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . chunkStyle ( ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . translate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left - AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . tran1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . rowsTemplate ( AST#expression#Left '1fr 1fr 1fr' AST#expression#Right ) AST#modifier_chain_expression#Left . columnsTemplate ( AST#expression#Left '1fr 1fr 1fr' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scaleSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scaleSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . alignContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left Alignment AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onAppear ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 500 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scaleSize AST#member_expression#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 1.1 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 190 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Linear AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right / AST#expression#Left 3 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Linear AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 10 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Linear AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 500 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseIn AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scaleSize AST#member_expression#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.75 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . tran1 AST#member_expression#Right = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#build_body#Right AST#build_method#Right AST#method_declaration#Left AST#decorator#Left @ Styles AST#decorator#Right chunkStyle AST#parameter_list#Left ( ) AST#parameter_list#Right AST#extend_function_body#Left { AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.25 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . oldSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.25 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinColor AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . shadow ( AST#expression#Left AST#member_expression#Left AST#expression#Left ShadowStyle AST#expression#Right . OUTER_DEFAULT_XS AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right } AST#extend_function_body#Right AST#method_declaration#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@ComponentV2
export struct SpinJ {
@Require @Param spinSize: number = 36;
@Require @Param spinColor: ResourceColor;
@Local scaleSize: number = this.spinSize * 0.75;
@Local tran1: number = 0;
private oldSize: number = this.spinSize;
aboutToAppear(): void {
this.oldSize = this.spinSize;
this.scaleSize = this.spinSize * 0.75;
}
build() {
Stack() {
Grid() {
GridItem() {
Canvas().chunkStyle()
}.translate({ x: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}
GridItem() {
Canvas().chunkStyle()
}.translate({ y: this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ y: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: -this.tran1 })
GridItem() {
Canvas().chunkStyle()
}.translate({ x: -this.tran1 })
}
.rowsTemplate('1fr 1fr 1fr')
.columnsTemplate('1fr 1fr 1fr')
.width(this.scaleSize)
.height(this.scaleSize)
}
.width(this.oldSize)
.height(this.oldSize)
.alignContent(Alignment.Center)
.onAppear(() => {
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: 0 }, [
{
duration: 500,
curve: Curve.EaseInOut,
event: () => {
this.tran1 = 0
this.scaleSize = this.oldSize * 1.1
}
},
{
duration: 190,
curve: Curve.Linear,
event: () => {
this.tran1 = this.oldSize / 3
}
},
{
duration: 0,
curve: Curve.Linear,
event: () => {
this.tran1 = 0
}
},
{
duration: 10,
curve: Curve.Linear,
event: () => {
}
},
{
duration: 500,
curve: Curve.EaseIn,
event: () => {
this.scaleSize = this.oldSize * 0.75
this.tran1 = 0
}
}
])
})
}
@Styles
chunkStyle(){
.width(this.oldSize * 0.25)
.height(this.oldSize * 0.25)
.backgroundColor(this.spinColor)
.shadow(ShadowStyle.OUTER_DEFAULT_XS)
}
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/spinkit/src/main/ets/components/SpinJ.ets#L21-L132
|
014655ec4de333d82fc39964ac0e7137db42303e
|
gitee
|
KoStudio/ArkTS-WordTree.git
|
78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324
|
entry/src/main/ets/common/components/Language/LanguageManager.ets
|
arkts
|
applySavedLanguage
|
在 App 启动时调用,应用用户保存的语言(若存在)
|
static async applySavedLanguage(): Promise<void> {
try {
const prefs = await preferences.getPreferences(getAppContext(), PREF_NAME);
const savedLang = (await prefs.get(KEY_LANG, "")) as string;
if (savedLang === "" ) {
// 未保存,使用默认(不强制设置,保持系统/资源默认)
return;
}
// savedLang 是形如 "zh-Hans" 或 "zh-Hant"
i18n.System.setAppPreferredLanguage(savedLang);
} catch (err) {
console.error("LanguageManager.applySavedLanguage failed: " + err.message);
}
}
|
AST#method_declaration#Left static async applySavedLanguage AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left prefs = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left preferences AST#expression#Right AST#await_expression#Right AST#expression#Right . getPreferences AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left getAppContext AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left PREF_NAME AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left savedLang = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left prefs AST#expression#Right AST#await_expression#Right AST#expression#Right . get AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left KEY_LANG AST#expression#Right , AST#expression#Left "" AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left savedLang AST#expression#Right === AST#expression#Left "" AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { // 未保存,使用默认(不强制设置,保持系统/资源默认) AST#statement#Left AST#return_statement#Left return ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right // savedLang 是形如 "zh-Hans" 或 "zh-Hant" AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left i18n AST#expression#Right . System AST#member_expression#Right AST#expression#Right . setAppPreferredLanguage AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left savedLang AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( err ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left "LanguageManager.applySavedLanguage failed: " AST#expression#Right + AST#expression#Left err AST#expression#Right AST#binary_expression#Right AST#expression#Right . message AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static async applySavedLanguage(): Promise<void> {
try {
const prefs = await preferences.getPreferences(getAppContext(), PREF_NAME);
const savedLang = (await prefs.get(KEY_LANG, "")) as string;
if (savedLang === "" ) {
return;
}
i18n.System.setAppPreferredLanguage(savedLang);
} catch (err) {
console.error("LanguageManager.applySavedLanguage failed: " + err.message);
}
}
|
https://github.com/KoStudio/ArkTS-WordTree.git/blob/78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324/entry/src/main/ets/common/components/Language/LanguageManager.ets#L66-L79
|
101f9015579b7f48c7aeee6aae0b4220f048b105
|
github
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/components/AxisBase.ets
|
arkts
|
setGranularity
|
Set a minimum interval for the axis when zooming in. The axis is not allowed to go below
that limit. This can be used to avoid label duplicating when zooming in.
@param granularity
|
public setGranularity(granularity: number): void {
this.mGranularity = granularity;
// set this to true if it was disabled, as it makes no sense to call this method with granularity disabled
this.mGranularityEnabled = true;
}
|
AST#method_declaration#Left public setGranularity AST#parameter_list#Left ( AST#parameter#Left granularity : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mGranularity AST#member_expression#Right = AST#expression#Left granularity AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right // set this to true if it was disabled, as it makes no sense to call this method with granularity disabled AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mGranularityEnabled AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public setGranularity(granularity: number): void {
this.mGranularity = granularity;
this.mGranularityEnabled = true;
}
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/components/AxisBase.ets#L426-L430
|
7e1df9a4cf306097eb0cdeb38a6d0e5fbf1a7ff9
|
gitee
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_utils/src/main/ets/utils/ResUtil.ets
|
arkts
|
getStringArrayValue
|
获取指定资源ID对应的字符串数组
@param resId 资源ID值/资源信息
|
static async getStringArrayValue(resId: number | Resource): Promise<Array<string>> {
if (typeof resId === 'number') {
return ResUtil.getResourceManager().getStringArrayValue(resId);
} else {
return ResUtil.getResourceManager().getStringArrayValue(resId);
}
}
|
AST#method_declaration#Left static async getStringArrayValue AST#parameter_list#Left ( AST#parameter#Left resId : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left number AST#primary_type#Right | AST#primary_type#Left Resource AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left typeof AST#expression#Left resId AST#expression#Right AST#unary_expression#Right AST#expression#Right === AST#expression#Left 'number' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ResUtil AST#expression#Right . getResourceManager AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . getStringArrayValue AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left resId AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ResUtil AST#expression#Right . getResourceManager AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . getStringArrayValue AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left resId AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static async getStringArrayValue(resId: number | Resource): Promise<Array<string>> {
if (typeof resId === 'number') {
return ResUtil.getResourceManager().getStringArrayValue(resId);
} else {
return ResUtil.getResourceManager().getStringArrayValue(resId);
}
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_utils/src/main/ets/utils/ResUtil.ets#L162-L168
|
bdd04b5821b17a9c39cf5d40e93fbdd9338a1d46
|
gitee
|
harmonyos_samples/BestPracticeSnippets
|
490ea539a6d4427dd395f3dac3cf4887719f37af
|
ImageEditTaskPool/entry/src/main/ets/view/AdjustContentView.ets
|
arkts
|
splitTask
|
[Start postProcess_start] [Start execImageProcessing]
Each task processes a portion of the pixel data and adds the task to the task group.
|
function splitTask(buffers: ArrayBuffer[], type: AdjustId, value: number): taskpool.TaskGroup {
// Creating a Task Group
let group: taskpool.TaskGroup = new taskpool.TaskGroup();
for (const buffer of buffers) {
try {
group.addTask(imageProcessing, {
// Add a task to a task group
value: value,
buffer: buffer,
type: type
});
} catch (err) {
hilog.error(0x0000, 'AdjustContentView', 'Failed to add the task: ', JSON.stringify(err) ?? '');
}
}
return group;
}
|
AST#function_declaration#Left function splitTask AST#parameter_list#Left ( AST#parameter#Left buffers : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left ArrayBuffer [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left type : AST#type_annotation#Left AST#primary_type#Left AdjustId AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left value : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left taskpool . TaskGroup AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { // Creating a Task Group AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left group : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left taskpool . TaskGroup AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left taskpool AST#expression#Right AST#new_expression#Right AST#expression#Right . TaskGroup AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( const buffer of AST#expression#Left buffers AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left group AST#expression#Right . addTask AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left imageProcessing AST#expression#Right , AST#expression#Left AST#object_literal#Left { // Add a task to a task group AST#property_assignment#Left AST#property_name#Left value AST#property_name#Right : AST#expression#Left value AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left buffer AST#property_name#Right : AST#expression#Left buffer AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left type AST#property_name#Right : AST#expression#Left type AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( err ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 0x0000 AST#expression#Right , AST#expression#Left 'AdjustContentView' AST#expression#Right , AST#expression#Left 'Failed to add the task: ' AST#expression#Right , AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left err AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ?? AST#expression#Left '' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left group AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right
|
function splitTask(buffers: ArrayBuffer[], type: AdjustId, value: number): taskpool.TaskGroup {
let group: taskpool.TaskGroup = new taskpool.TaskGroup();
for (const buffer of buffers) {
try {
group.addTask(imageProcessing, {
value: value,
buffer: buffer,
type: type
});
} catch (err) {
hilog.error(0x0000, 'AdjustContentView', 'Failed to add the task: ', JSON.stringify(err) ?? '');
}
}
return group;
}
|
https://github.com/harmonyos_samples/BestPracticeSnippets/blob/490ea539a6d4427dd395f3dac3cf4887719f37af/ImageEditTaskPool/entry/src/main/ets/view/AdjustContentView.ets#L335-L351
|
337e0f01082f340b457176047cc7f696d5455b4c
|
gitee
|
Joker-x-dev/CoolMallArkTS.git
|
9f3fabf89fb277692cb82daf734c220c7282919c
|
feature/main/src/main/ets/view/MePage.ets
|
arkts
|
getDisplayName
|
获取展示昵称
@returns {ResourceStr} 展示昵称
|
private getDisplayName(): ResourceStr {
const userInfo: User = this.getCurrentUser();
if (this.isLoggedIn() && userInfo.nickName) {
return userInfo.nickName;
}
return $r("app.string.not_logged_in");
}
|
AST#method_declaration#Left private getDisplayName AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left userInfo : AST#type_annotation#Left AST#primary_type#Left User AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getCurrentUser AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isLoggedIn AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right && AST#expression#Left userInfo AST#expression#Right AST#binary_expression#Right AST#expression#Right . nickName AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left userInfo AST#expression#Right . nickName AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left "app.string.not_logged_in" AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private getDisplayName(): ResourceStr {
const userInfo: User = this.getCurrentUser();
if (this.isLoggedIn() && userInfo.nickName) {
return userInfo.nickName;
}
return $r("app.string.not_logged_in");
}
|
https://github.com/Joker-x-dev/CoolMallArkTS.git/blob/9f3fabf89fb277692cb82daf734c220c7282919c/feature/main/src/main/ets/view/MePage.ets#L222-L228
|
6f169471029083a847259c4dd7e4bcd39c8bd700
|
github
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/listexchange/src/main/ets/model/ListExchangeCtrl.ets
|
arkts
|
changeItem
|
Item交换位置
@param index
@param newIndex
|
changeItem(index: number, newIndex: number): void {
const tmp: Array<T> = this.deductionData.splice(index, 1);
this.deductionData.splice(newIndex, 0, tmp[0]);
const tmp2: Array<ListItemModifier> = this.modifier.splice(index, 1);
this.modifier.splice(newIndex, 0, tmp2[0]);
}
|
AST#method_declaration#Left changeItem AST#parameter_list#Left ( AST#parameter#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left newIndex : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left tmp : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . deductionData AST#member_expression#Right AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right , AST#expression#Left 1 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . deductionData AST#member_expression#Right AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left newIndex AST#expression#Right , AST#expression#Left 0 AST#expression#Right , AST#expression#Left AST#subscript_expression#Left AST#expression#Left tmp AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left tmp2 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left ListItemModifier AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . modifier AST#member_expression#Right AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right , AST#expression#Left 1 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . modifier AST#member_expression#Right AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left newIndex AST#expression#Right , AST#expression#Left 0 AST#expression#Right , AST#expression#Left AST#subscript_expression#Left AST#expression#Left tmp2 AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
changeItem(index: number, newIndex: number): void {
const tmp: Array<T> = this.deductionData.splice(index, 1);
this.deductionData.splice(newIndex, 0, tmp[0]);
const tmp2: Array<ListItemModifier> = this.modifier.splice(index, 1);
this.modifier.splice(newIndex, 0, tmp2[0]);
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/listexchange/src/main/ets/model/ListExchangeCtrl.ets#L163-L168
|
0578fb1066f3779e82c84fc66fa0716d45f1d87f
|
gitee
|
openharmony/interface_sdk-js
|
c349adc73e2ec1f61f6fca489b5af059e3ed6999
|
arkts/@arkts.collections.d.ets
|
arkts
|
flipBitByIndex
|
Flips the bit value by index in a bit vector.(Flip 0 to 1, flip 1 to 0)
@param { number } index - The index in the bit vector.
@throws { BusinessError } 401 - Parameter error. Possible causes:
1.Mandatory parameters are left unspecified.
2.Incorrect parameter types.
@throws { BusinessError } 10200001 - The value of index is out of range.
@throws { BusinessError } 10200011 - The flipBitByIndex method cannot be bound.
@throws { BusinessError } 10200201 - Concurrent modification error.
@syscap SystemCapability.Utils.Lang
@atomicservice
@since 12
Flips the bit value by index in a bit vector.(Flip 0 to 1, flip 1 to 0)
@param { number } index - The index in the bit vector.
@throws { BusinessError } 401 - Parameter error. Possible causes:
1.Mandatory parameters are left unspecified.
2.Incorrect parameter types.
@throws { BusinessError } 10200001 - The value of index is out of range.
@throws { BusinessError } 10200011 - The flipBitByIndex method cannot be bound.
@throws { BusinessError } 10200201 - Concurrent modification error.
@syscap SystemCapability.Utils.Lang
@crossplatform
@atomicservice
@since 18
|
flipBitByIndex(index: number): void;
|
AST#method_declaration#Left flipBitByIndex AST#parameter_list#Left ( AST#parameter#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right ; AST#method_declaration#Right
|
flipBitByIndex(index: number): void;
|
https://github.com/openharmony/interface_sdk-js/blob/c349adc73e2ec1f61f6fca489b5af059e3ed6999/arkts/@arkts.collections.d.ets#L12462-L12462
|
daa8ba4ad44ae3a538eaefdce4796a8f633a3184
|
gitee
|
yunkss/ef-tool
|
75f6761a0f2805d97183504745bf23c975ae514d
|
ef_crypto/src/main/ets/crypto/encryption/RSA.ets
|
arkts
|
encodePKCS1
|
加密
@param encodeStr 待加密的字符串
@param pubKey RSA公钥
|
static async encodePKCS1(str: string, pubKey: string): Promise<string> {
return CryptoUtil.encodeAsym(str, pubKey, 'RSA1024', 'RSA1024|PKCS1', 1024);
}
|
AST#method_declaration#Left static async encodePKCS1 AST#parameter_list#Left ( AST#parameter#Left str : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left pubKey : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CryptoUtil AST#expression#Right . encodeAsym AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left str AST#expression#Right , AST#expression#Left pubKey AST#expression#Right , AST#expression#Left 'RSA1024' AST#expression#Right , AST#expression#Left 'RSA1024|PKCS1' AST#expression#Right , AST#expression#Left 1024 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static async encodePKCS1(str: string, pubKey: string): Promise<string> {
return CryptoUtil.encodeAsym(str, pubKey, 'RSA1024', 'RSA1024|PKCS1', 1024);
}
|
https://github.com/yunkss/ef-tool/blob/75f6761a0f2805d97183504745bf23c975ae514d/ef_crypto/src/main/ets/crypto/encryption/RSA.ets#L51-L53
|
68a337175e7a9a11193e9b6679aa325ddfacdad2
|
gitee
|
openharmony/applications_launcher
|
f75dfb6bf7276e942793b75e7a9081bbcd015843
|
feature/recents/src/main/ets/default/view/RecentMissionsDoubleLayout.ets
|
arkts
|
RecentMissionsDoubleLayout
|
Double-line display of recent task list (pad adaptation).
|
@Component
export struct RecentMissionsDoubleLayout {
@Link recentMissionsDoubleList: RecentMissionInfo[];
@Link isClickSubComponent: boolean;
private mRecentMissionsViewModel?: RecentMissionsViewModel;
aboutToAppear(): void {
Log.showInfo(TAG, 'aboutToAppear start');
this.mRecentMissionsViewModel = RecentMissionsViewModel.getInstance();
}
aboutToDisappear(): void {
Log.showInfo(TAG, 'aboutToDisappear start');
}
itemChance(item: RecentMissionInfo): RecentMissionInfo {
item.snapShotTime = '';
return item;
}
build() {
Column() {
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.Center }) {
Grid() {
ForEach(this.recentMissionsDoubleList, (item: RecentMissionInfo) => {
GridItem() {
RecentMissionCard({
missionId: item.missionId,
appIconId: item.appIconId,
appLabelId: item.appLabelId,
appName: item.appName,
bundleName: item.bundleName,
moduleName: item.moduleName,
abilityName: item.abilityName,
lockedState: item.lockedState,
isClickSubComponent: $isClickSubComponent,
snapShotTime: item.snapShotTime
})
}
.align(Alignment.Center)
},(item: RecentMissionInfo) => JSON.stringify(this.itemChance(item)))
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.rowsTemplate('1fr 1fr')
.direction(Direction.Rtl)
.columnsGap(RecentsStyleConstants.DOUBLE_LIST_LAYOUT_COLUMNSGAP)
.rowsGap(RecentsStyleConstants.DOUBLE_LIST_LAYOUT_ROWSGAP)
}
.margin({
top: RecentsStyleConstants.DOUBLE_LIST_TOP_MARGIN,
})
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.height(RecentsStyleConstants.DOUBLE_LIST_GRID_HEIGHT_PERCENTAGE)
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center }) {
Stack() {
Column() {
}
.width(RecentsStyleConstants.RECENT_DELETE_IMAGE_COLUMN_SIZE)
.height(RecentsStyleConstants.RECENT_DELETE_IMAGE_COLUMN_SIZE)
.opacity(RecentsStyleConstants.DEFAULT_DELETE_IMAGE_OPACITY)
.backgroundColor(RecentsStyleConstants.DEFAULT_FONT_COLOR)
.borderRadius(RecentsStyleConstants.RECENT_DELETE_IMAGE_RADIUS)
.padding(8)
Image(RecentsStyleConstants.DEFAULT_DELETE_IMAGE_FULL)
.width(RecentsStyleConstants.RECENT_DELETE_IMAGE_SIZE)
.height(RecentsStyleConstants.RECENT_DELETE_IMAGE_SIZE)
}
.onClick(() => {
this.isClickSubComponent = true;
Log.showDebug(TAG, 'onClick click delete button');
localEventManager.sendLocalEventSticky(EventConstants.EVENT_ANIMATION_CLOSE_APPLICATION, null);
this.mRecentMissionsViewModel?.deleteRecentMission(true, CommonConstants.INVALID_VALUE);
this.mRecentMissionsViewModel?.backView();
this.mRecentMissionsViewModel?.getRecentMissionsList();
})
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.height(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
}
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Component AST#decorator#Right export struct RecentMissionsDoubleLayout AST#component_body#Left { AST#property_declaration#Left AST#decorator#Left @ Link AST#decorator#Right recentMissionsDoubleList : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left RecentMissionInfo [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Link AST#decorator#Right isClickSubComponent : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left private mRecentMissionsViewModel ? : AST#type_annotation#Left AST#primary_type#Left RecentMissionsViewModel AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#method_declaration#Left aboutToAppear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Log AST#expression#Right . showInfo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left 'aboutToAppear start' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mRecentMissionsViewModel AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RecentMissionsViewModel AST#expression#Right . getInstance AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#method_declaration#Left aboutToDisappear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Log AST#expression#Right . showInfo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left 'aboutToDisappear start' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#method_declaration#Left itemChance AST#parameter_list#Left ( AST#parameter#Left item : AST#type_annotation#Left AST#primary_type#Left RecentMissionInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left RecentMissionInfo AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . snapShotTime AST#member_expression#Right = AST#expression#Left '' AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left item AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right AST#build_method#Left build ( ) AST#build_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Flex ( AST#component_parameters#Left { AST#component_parameter#Left direction : AST#expression#Left AST#member_expression#Left AST#expression#Left FlexDirection AST#expression#Right . Column AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left alignItems : AST#expression#Left AST#member_expression#Left AST#expression#Left ItemAlign AST#expression#Right . Start AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left justifyContent : AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Grid ( ) AST#container_content_body#Left { AST#ui_control_flow#Left AST#for_each_statement#Left ForEach ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . recentMissionsDoubleList AST#member_expression#Right AST#expression#Right , AST#ui_builder_arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left item : AST#type_annotation#Left AST#primary_type#Left RecentMissionInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#ui_arrow_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left GridItem ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left RecentMissionCard ( AST#component_parameters#Left { AST#component_parameter#Left missionId : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . missionId AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left appIconId : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . appIconId AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left appLabelId : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . appLabelId AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left appName : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . appName AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left bundleName : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . bundleName AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left moduleName : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . moduleName AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left abilityName : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . abilityName AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left lockedState : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . lockedState AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left isClickSubComponent : AST#expression#Left $isClickSubComponent AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left snapShotTime : AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . snapShotTime AST#member_expression#Right AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . align ( AST#expression#Left AST#member_expression#Left AST#expression#Left Alignment AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_arrow_function_body#Right AST#ui_builder_arrow_function#Right , AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left item : AST#type_annotation#Left AST#primary_type#Left RecentMissionInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left JSON AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . itemChance AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left item AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#for_each_statement#Right AST#ui_control_flow#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_LAYOUT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . rowsTemplate ( AST#expression#Left '1fr 1fr' AST#expression#Right ) AST#modifier_chain_expression#Left . direction ( AST#expression#Left AST#member_expression#Left AST#expression#Left Direction AST#expression#Right . Rtl AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . columnsGap ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DOUBLE_LIST_LAYOUT_COLUMNSGAP AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . rowsGap ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DOUBLE_LIST_LAYOUT_ROWSGAP AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . margin ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DOUBLE_LIST_TOP_MARGIN AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_LAYOUT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DOUBLE_LIST_GRID_HEIGHT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Flex ( AST#component_parameters#Left { AST#component_parameter#Left direction : AST#expression#Left AST#member_expression#Left AST#expression#Left FlexDirection AST#expression#Right . Column AST#member_expression#Right AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left alignItems : AST#expression#Left AST#member_expression#Left AST#expression#Left ItemAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Stack ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . RECENT_DELETE_IMAGE_COLUMN_SIZE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . RECENT_DELETE_IMAGE_COLUMN_SIZE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . opacity ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_DELETE_IMAGE_OPACITY AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_FONT_COLOR AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . RECENT_DELETE_IMAGE_RADIUS AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 8 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Image ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_DELETE_IMAGE_FULL AST#member_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . RECENT_DELETE_IMAGE_SIZE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . RECENT_DELETE_IMAGE_SIZE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . isClickSubComponent AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Log AST#expression#Right . showDebug AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left 'onClick click delete button' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localEventManager AST#expression#Right . sendLocalEventSticky AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left EventConstants AST#expression#Right . EVENT_ANIMATION_CLOSE_APPLICATION AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mRecentMissionsViewModel AST#member_expression#Right AST#expression#Right ?. deleteRecentMission AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left CommonConstants AST#expression#Right . INVALID_VALUE AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mRecentMissionsViewModel AST#member_expression#Right AST#expression#Right ?. backView AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mRecentMissionsViewModel AST#member_expression#Right AST#expression#Right ?. getRecentMissionsList AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_LAYOUT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_LAYOUT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left RecentsStyleConstants AST#expression#Right . DEFAULT_LAYOUT_PERCENTAGE AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#build_body#Right AST#build_method#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@Component
export struct RecentMissionsDoubleLayout {
@Link recentMissionsDoubleList: RecentMissionInfo[];
@Link isClickSubComponent: boolean;
private mRecentMissionsViewModel?: RecentMissionsViewModel;
aboutToAppear(): void {
Log.showInfo(TAG, 'aboutToAppear start');
this.mRecentMissionsViewModel = RecentMissionsViewModel.getInstance();
}
aboutToDisappear(): void {
Log.showInfo(TAG, 'aboutToDisappear start');
}
itemChance(item: RecentMissionInfo): RecentMissionInfo {
item.snapShotTime = '';
return item;
}
build() {
Column() {
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.Center }) {
Grid() {
ForEach(this.recentMissionsDoubleList, (item: RecentMissionInfo) => {
GridItem() {
RecentMissionCard({
missionId: item.missionId,
appIconId: item.appIconId,
appLabelId: item.appLabelId,
appName: item.appName,
bundleName: item.bundleName,
moduleName: item.moduleName,
abilityName: item.abilityName,
lockedState: item.lockedState,
isClickSubComponent: $isClickSubComponent,
snapShotTime: item.snapShotTime
})
}
.align(Alignment.Center)
},(item: RecentMissionInfo) => JSON.stringify(this.itemChance(item)))
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.rowsTemplate('1fr 1fr')
.direction(Direction.Rtl)
.columnsGap(RecentsStyleConstants.DOUBLE_LIST_LAYOUT_COLUMNSGAP)
.rowsGap(RecentsStyleConstants.DOUBLE_LIST_LAYOUT_ROWSGAP)
}
.margin({
top: RecentsStyleConstants.DOUBLE_LIST_TOP_MARGIN,
})
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.height(RecentsStyleConstants.DOUBLE_LIST_GRID_HEIGHT_PERCENTAGE)
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center }) {
Stack() {
Column() {
}
.width(RecentsStyleConstants.RECENT_DELETE_IMAGE_COLUMN_SIZE)
.height(RecentsStyleConstants.RECENT_DELETE_IMAGE_COLUMN_SIZE)
.opacity(RecentsStyleConstants.DEFAULT_DELETE_IMAGE_OPACITY)
.backgroundColor(RecentsStyleConstants.DEFAULT_FONT_COLOR)
.borderRadius(RecentsStyleConstants.RECENT_DELETE_IMAGE_RADIUS)
.padding(8)
Image(RecentsStyleConstants.DEFAULT_DELETE_IMAGE_FULL)
.width(RecentsStyleConstants.RECENT_DELETE_IMAGE_SIZE)
.height(RecentsStyleConstants.RECENT_DELETE_IMAGE_SIZE)
}
.onClick(() => {
this.isClickSubComponent = true;
Log.showDebug(TAG, 'onClick click delete button');
localEventManager.sendLocalEventSticky(EventConstants.EVENT_ANIMATION_CLOSE_APPLICATION, null);
this.mRecentMissionsViewModel?.deleteRecentMission(true, CommonConstants.INVALID_VALUE);
this.mRecentMissionsViewModel?.backView();
this.mRecentMissionsViewModel?.getRecentMissionsList();
})
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
}
.width(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
.height(RecentsStyleConstants.DEFAULT_LAYOUT_PERCENTAGE)
}
}
|
https://github.com/openharmony/applications_launcher/blob/f75dfb6bf7276e942793b75e7a9081bbcd015843/feature/recents/src/main/ets/default/view/RecentMissionsDoubleLayout.ets#L28-L111
|
84b03d69f0eeae9f7d04aec38654e96faa682114
|
gitee
|
openharmony/xts_acts
|
5eb33396ca0ffafd9e5d0ba4b5dedfde44aff686
|
arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api20/entry/src/main/ets/MainAbility/pages/Swiper/BasicDataSource.ets
|
arkts
|
addData
|
在index位置增加data
|
public addData(index: number, data: string): void {
this.dataArray.splice(index, 0, data);
this.notifyDataAdd(index);
}
|
AST#method_declaration#Left public addData AST#parameter_list#Left ( AST#parameter#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left data : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . dataArray AST#member_expression#Right AST#expression#Right . splice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right , AST#expression#Left 0 AST#expression#Right , AST#expression#Left data AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . notifyDataAdd AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public addData(index: number, data: string): void {
this.dataArray.splice(index, 0, data);
this.notifyDataAdd(index);
}
|
https://github.com/openharmony/xts_acts/blob/5eb33396ca0ffafd9e5d0ba4b5dedfde44aff686/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api20/entry/src/main/ets/MainAbility/pages/Swiper/BasicDataSource.ets#L85-L88
|
9430992d745c8ebe934399d51dc4df29bea65da0
|
gitee
|
harmonyos/samples
|
f5d967efaa7666550ee3252d118c3c73a77686f5
|
HarmonyOS_NEXT/Media/VideoShow/VideoComponent/index.ets
|
arkts
|
LivePage
|
Copyright (c) 2022 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
export { LivePage } from './src/main/ets/components/pages/LivePage'
|
AST#export_declaration#Left export { LivePage } from './src/main/ets/components/pages/LivePage' AST#export_declaration#Right
|
export { LivePage } from './src/main/ets/components/pages/LivePage'
|
https://github.com/harmonyos/samples/blob/f5d967efaa7666550ee3252d118c3c73a77686f5/HarmonyOS_NEXT/Media/VideoShow/VideoComponent/index.ets#L16-L16
|
4b9d2558e1cfd5d52cab5ec093f73a86eaf47675
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/pages/settings/LanguageSettingsPage.ets
|
arkts
|
detectLanguage
|
检测语言
|
private async detectLanguage(): Promise<void> {
try {
this.detectionResult = await this.languageDetector.detectBestLanguage();
this.detectedLanguages = [
this.detectionResult.detectedLanguage,
...this.detectionResult.alternatives
].filter(lang => lang !== this.currentLanguage);
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Language detection completed: ${this.detectionResult.detectedLanguage}`);
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_APP, `Language detection failed: ${error}`);
}
}
|
AST#method_declaration#Left private async detectLanguage AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . detectionResult AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . languageDetector AST#member_expression#Right AST#expression#Right . detectBestLanguage AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . detectedLanguages AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . detectionResult AST#member_expression#Right AST#expression#Right . detectedLanguage AST#member_expression#Right AST#expression#Right , ... AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . detectionResult AST#member_expression#Right AST#expression#Right . alternatives AST#member_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right . filter AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left lang => AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left lang AST#expression#Right !== AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . currentLanguage AST#member_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Language detection completed: AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . detectionResult AST#member_expression#Right AST#expression#Right . detectedLanguage AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( error ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Language detection failed: AST#template_substitution#Left $ { AST#expression#Left error AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private async detectLanguage(): Promise<void> {
try {
this.detectionResult = await this.languageDetector.detectBestLanguage();
this.detectedLanguages = [
this.detectionResult.detectedLanguage,
...this.detectionResult.alternatives
].filter(lang => lang !== this.currentLanguage);
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Language detection completed: ${this.detectionResult.detectedLanguage}`);
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_APP, `Language detection failed: ${error}`);
}
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/pages/settings/LanguageSettingsPage.ets#L560-L573
|
898e6e5a16da5a9f244a01b4e589f0c928642382
|
github
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/common/types/SyncTypes.ets
|
arkts
|
备份相关
|
export interface BackupInfo {
id: string;
name: string;
description?: string;
userId: string;
createdAt: string;
size: number; // 字节数
dataTypes: DataType[];
version: string;
checksum: string;
encrypted: boolean;
autoGenerated: boolean;
}
|
AST#export_declaration#Left export AST#interface_declaration#Left interface BackupInfo AST#object_type#Left { AST#type_member#Left id : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left name : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left description ? : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left userId : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left createdAt : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left size : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; // 字节数 AST#type_member#Left dataTypes : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left DataType [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left version : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left checksum : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left encrypted : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left autoGenerated : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; } AST#object_type#Right AST#interface_declaration#Right AST#export_declaration#Right
|
export interface BackupInfo {
id: string;
name: string;
description?: string;
userId: string;
createdAt: string;
size: number;
dataTypes: DataType[];
version: string;
checksum: string;
encrypted: boolean;
autoGenerated: boolean;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/common/types/SyncTypes.ets#L130-L142
|
65af0dae00cf5d32b49a74b44f421c2b891bbde3
|
github
|
|
Joker-x-dev/CoolMallArkTS.git
|
9f3fabf89fb277692cb82daf734c220c7282919c
|
core/util/src/main/ets/validation/ValidationUtil.ets
|
arkts
|
isValidImageCode
|
验证图形验证码是否有效(4位数字或字母)
@param {string} code - 验证码
@returns {boolean} 是否有效
|
static isValidImageCode(code: string): boolean {
if (code.length !== 4) {
return false;
}
for (let i = 0; i < code.length; i += 1) {
const current: string = code[i];
const isNumber: boolean = current >= "0" && current <= "9";
const isUpper: boolean = current >= "A" && current <= "Z";
const isLower: boolean = current >= "a" && current <= "z";
if (!isNumber && !isUpper && !isLower) {
return false;
}
}
return true;
}
|
AST#method_declaration#Left static isValidImageCode AST#parameter_list#Left ( AST#parameter#Left code : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left code AST#expression#Right . length AST#member_expression#Right AST#expression#Right !== AST#expression#Left 4 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left i = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left i AST#expression#Right < AST#expression#Left code AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#assignment_expression#Left i += AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left current : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#subscript_expression#Left AST#expression#Left code AST#expression#Right [ AST#expression#Left i AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left isNumber : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right >= AST#expression#Left "0" AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right <= AST#expression#Left "9" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left isUpper : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right >= AST#expression#Left "A" AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right <= AST#expression#Left "Z" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left isLower : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right >= AST#expression#Left "a" AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left current AST#expression#Right <= AST#expression#Left "z" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left isNumber AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left AST#unary_expression#Left ! AST#expression#Left isUpper AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#unary_expression#Left ! AST#expression#Left isLower AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static isValidImageCode(code: string): boolean {
if (code.length !== 4) {
return false;
}
for (let i = 0; i < code.length; i += 1) {
const current: string = code[i];
const isNumber: boolean = current >= "0" && current <= "9";
const isUpper: boolean = current >= "A" && current <= "Z";
const isLower: boolean = current >= "a" && current <= "z";
if (!isNumber && !isUpper && !isLower) {
return false;
}
}
return true;
}
|
https://github.com/Joker-x-dev/CoolMallArkTS.git/blob/9f3fabf89fb277692cb82daf734c220c7282919c/core/util/src/main/ets/validation/ValidationUtil.ets#L48-L62
|
d92703bc4a4454e3ddda65cd767a6e8f433eef33
|
github
|
openharmony-tpc/ImageKnife
|
bc55de9e2edd79ed4646ce37177ad94b432874f7
|
library/src/main/ets/utils/FileUtils.ets
|
arkts
|
writeDataSync
|
向path写入数据
@param path 文件绝对路径
@param content 文件内容
|
writeDataSync(path: string, content: ArrayBuffer | string): boolean {
try {
let fd = fs.openSync(path, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE | fs.OpenMode.TRUNC).fd
fs.writeSync(fd, content)
fs.closeSync(fd)
return true
}
catch (err) {
LogUtil.error('FileUtils writeDataSync failed: err msg=' + err.message + ' err code=' + err.code);
return false
}
}
|
AST#method_declaration#Left writeDataSync AST#parameter_list#Left ( AST#parameter#Left path : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left content : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left ArrayBuffer AST#primary_type#Right | AST#primary_type#Left string AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left fd = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left fs AST#expression#Right . openSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left path AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left fs AST#expression#Right . OpenMode AST#member_expression#Right AST#expression#Right . READ_WRITE AST#member_expression#Right AST#expression#Right | AST#expression#Left fs AST#expression#Right AST#binary_expression#Right AST#expression#Right . OpenMode AST#member_expression#Right AST#expression#Right . CREATE AST#member_expression#Right AST#expression#Right | AST#expression#Left fs AST#expression#Right AST#binary_expression#Right AST#expression#Right . OpenMode AST#member_expression#Right AST#expression#Right . TRUNC AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . fd AST#member_expression#Right AST#expression#Right AST#ERROR#Left fs AST#ERROR#Right . writeSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left fd AST#expression#Right , AST#expression#Left content AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left fs AST#ERROR#Right . closeSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left fd AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( err ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left LogUtil AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left 'FileUtils writeDataSync failed: err msg=' AST#expression#Right + AST#expression#Left err AST#expression#Right AST#binary_expression#Right AST#expression#Right . message AST#member_expression#Right AST#expression#Right + AST#expression#Left ' err code=' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left err AST#expression#Right AST#binary_expression#Right AST#expression#Right . code AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
writeDataSync(path: string, content: ArrayBuffer | string): boolean {
try {
let fd = fs.openSync(path, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE | fs.OpenMode.TRUNC).fd
fs.writeSync(fd, content)
fs.closeSync(fd)
return true
}
catch (err) {
LogUtil.error('FileUtils writeDataSync failed: err msg=' + err.message + ' err code=' + err.code);
return false
}
}
|
https://github.com/openharmony-tpc/ImageKnife/blob/bc55de9e2edd79ed4646ce37177ad94b432874f7/library/src/main/ets/utils/FileUtils.ets#L74-L85
|
f5c9afb0f77c8bcd5e1f8571ccce4384c505f36b
|
gitee
|
openharmony/interface_sdk-js
|
c349adc73e2ec1f61f6fca489b5af059e3ed6999
|
api/@ohos.atomicservice.AtomicServiceWeb.d.ets
|
arkts
|
getCustomUserAgent
|
Get custom user agent.
@returns { string } Get custom User agent information.
@throws { BusinessError } 17100001 - Init error. The AtomicServiceWebController must be associated with a
AtomicServiceWeb component.
@syscap SystemCapability.ArkUI.ArkUI.Full
@atomicservice
@since 12
|
getCustomUserAgent(): string;
|
AST#method_declaration#Left getCustomUserAgent AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right ; AST#method_declaration#Right
|
getCustomUserAgent(): string;
|
https://github.com/openharmony/interface_sdk-js/blob/c349adc73e2ec1f61f6fca489b5af059e3ed6999/api/@ohos.atomicservice.AtomicServiceWeb.d.ets#L367-L367
|
926b21be318a5fed20bd4b7adfcc1e3642cedd28
|
gitee
|
awa_Liny/LinysBrowser_NEXT
|
a5cd96a9aa8114cae4972937f94a8967e55d4a10
|
home/src/main/ets/utils/storage_tools.ets
|
arkts
|
Renames a file in a sync way.
@param file_name The old file name.
@param rename The new file name.
@returns True if success, false otherwise.
|
export function sandbox_rename_sync(file_name: string, rename: string, context_filesDir?: string) {
let filesDir: string = context_filesDir || meowContext().filesDir;
let full_old_directory = filesDir + '/' + file_name;
let full_new_directory = filesDir + '/' + rename;
try {
fs.renameSync(full_old_directory, full_new_directory);
console.info('[storage_tools][sandbox_rename_sync][' + file_name + '] => [' + rename + ']!');
} catch (e) {
console.error('[storage_tools][sandbox_rename_sync][' + file_name + '] => [' + rename + ']: ' + e);
return false;
}
return true;
}
|
AST#export_declaration#Left export AST#function_declaration#Left function sandbox_rename_sync AST#parameter_list#Left ( AST#parameter#Left file_name : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left rename : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left context_filesDir ? : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left filesDir : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left context_filesDir AST#expression#Right || AST#expression#Left meowContext AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . filesDir AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left full_old_directory = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left filesDir AST#expression#Right + AST#expression#Left '/' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left file_name AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left full_new_directory = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left filesDir AST#expression#Right + AST#expression#Left '/' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left rename AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left fs AST#expression#Right . renameSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left full_old_directory AST#expression#Right , AST#expression#Left full_new_directory AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left '[storage_tools][sandbox_rename_sync][' AST#expression#Right + AST#expression#Left file_name AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left '] => [' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left rename AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left ']!' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( e ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left '[storage_tools][sandbox_rename_sync][' AST#expression#Right + AST#expression#Left file_name AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left '] => [' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left rename AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left ']: ' AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left e AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right AST#export_declaration#Right
|
export function sandbox_rename_sync(file_name: string, rename: string, context_filesDir?: string) {
let filesDir: string = context_filesDir || meowContext().filesDir;
let full_old_directory = filesDir + '/' + file_name;
let full_new_directory = filesDir + '/' + rename;
try {
fs.renameSync(full_old_directory, full_new_directory);
console.info('[storage_tools][sandbox_rename_sync][' + file_name + '] => [' + rename + ']!');
} catch (e) {
console.error('[storage_tools][sandbox_rename_sync][' + file_name + '] => [' + rename + ']: ' + e);
return false;
}
return true;
}
|
https://github.com/awa_Liny/LinysBrowser_NEXT/blob/a5cd96a9aa8114cae4972937f94a8967e55d4a10/home/src/main/ets/utils/storage_tools.ets#L377-L389
|
67d2b4a0da4e04c513bbc4e38b3504e965642301
|
gitee
|
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/common/types/SettingsTypes.ets
|
arkts
|
设置导入导出接口
|
export interface SettingsBackup {
version: string;
exportedAt: string;
settings: AppSettings;
checksum: string;
}
|
AST#export_declaration#Left export AST#interface_declaration#Left interface SettingsBackup AST#object_type#Left { AST#type_member#Left version : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left exportedAt : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left settings : AST#type_annotation#Left AST#primary_type#Left AppSettings AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left checksum : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; } AST#object_type#Right AST#interface_declaration#Right AST#export_declaration#Right
|
export interface SettingsBackup {
version: string;
exportedAt: string;
settings: AppSettings;
checksum: string;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/common/types/SettingsTypes.ets#L481-L486
|
85cebd3eae153309081a35570155d6652f67d563
|
github
|
|
yunkss/ef-tool
|
75f6761a0f2805d97183504745bf23c975ae514d
|
eftool/src/main/ets/device/PrefUtil.ets
|
arkts
|
delValue
|
根据KEY删除
@param key
|
static delValue(key: string): void {
console.info('PrefUtil delValue {' + key + '} start')
const defStore = PrefUtil.getStore()
defStore?.deleteSync(key)
defStore?.flush()
}
|
AST#method_declaration#Left static delValue AST#parameter_list#Left ( AST#parameter#Left key : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left 'PrefUtil delValue {' AST#expression#Right + AST#expression#Left key AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left '} start' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left defStore = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left PrefUtil AST#expression#Right . getStore AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left defStore AST#ERROR#Right ?. deleteSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left key AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left defStore AST#ERROR#Right ?. flush AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static delValue(key: string): void {
console.info('PrefUtil delValue {' + key + '} start')
const defStore = PrefUtil.getStore()
defStore?.deleteSync(key)
defStore?.flush()
}
|
https://github.com/yunkss/ef-tool/blob/75f6761a0f2805d97183504745bf23c975ae514d/eftool/src/main/ets/device/PrefUtil.ets#L99-L104
|
6222a5f80ebf8a2b94875634401dc5a344f9630c
|
gitee
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/components/YAxis.ets
|
arkts
|
setPosition
|
sets the position of the y-labels
@param pos
|
public setPosition(pos: YAxisLabelPosition): void {
this.mPosition = pos;
}
|
AST#method_declaration#Left public setPosition AST#parameter_list#Left ( AST#parameter#Left pos : AST#type_annotation#Left AST#primary_type#Left YAxisLabelPosition AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mPosition AST#member_expression#Right = AST#expression#Left pos AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public setPosition(pos: YAxisLabelPosition): void {
this.mPosition = pos;
}
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/components/YAxis.ets#L236-L238
|
37c1dab1fbfa1c1c11f7be3be32f10b5d03db3fd
|
gitee
|
fengmingdev/protobuf-arkts-generator.git
|
75888d404fd6ce52a046cba2a94807ecf1350147
|
runtime/arkpb/MessageRegistry.ets
|
arkts
|
fromJson
|
从 JSON 创建消息
⚠️ 注意:需要预先调用 register() 注册类型
@param typeName 消息类型名称
@param json JSON 对象
@returns 创建的消息对象,如果类型未注册则返回 null
使用示例:
```typescript
MessageRegistry.register(Person)
const json = { name: 'Alice', age: 30 }
const person = MessageRegistry.fromJson('test.Person', json)
```
|
static fromJson(typeName: string, json: Record<string, Object>): Message | null {
const ctor = MessageRegistry.get(typeName)
if (ctor === undefined) {
console.warn(`Message type "${typeName}" not registered.`)
return null
}
return ctor.fromJson(json)
}
|
AST#method_declaration#Left static fromJson AST#parameter_list#Left ( AST#parameter#Left typeName : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left json : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Message AST#primary_type#Right | AST#primary_type#Left null AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left ctor = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left MessageRegistry AST#expression#Right . get AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left typeName AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left ctor AST#expression#Right === AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left console AST#expression#Right . warn AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` Message type " AST#template_substitution#Left $ { AST#expression#Left typeName AST#expression#Right } AST#template_substitution#Right " not registered. ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ctor AST#expression#Right . fromJson AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left json AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static fromJson(typeName: string, json: Record<string, Object>): Message | null {
const ctor = MessageRegistry.get(typeName)
if (ctor === undefined) {
console.warn(`Message type "${typeName}" not registered.`)
return null
}
return ctor.fromJson(json)
}
|
https://github.com/fengmingdev/protobuf-arkts-generator.git/blob/75888d404fd6ce52a046cba2a94807ecf1350147/runtime/arkpb/MessageRegistry.ets#L208-L215
|
32db9ac5374318f0989e4a6e00b00bef045ae826
|
github
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/hilogmonitormanagement/src/main/ets/model/HiLogMonitorManagement.ets
|
arkts
|
cancelCallback
|
TODO: 知识点: 关闭日志回调
|
cancelCallback() : void {
testNapi.cancelLogCallback();
}
|
AST#method_declaration#Left cancelCallback AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left testNapi AST#expression#Right . cancelLogCallback AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
cancelCallback() : void {
testNapi.cancelLogCallback();
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/hilogmonitormanagement/src/main/ets/model/HiLogMonitorManagement.ets#L31-L33
|
9348fa56395684058cc505c0483d32c2ed244f87
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/services/theme/ThemeManager.ets
|
arkts
|
getColorThemeByType
|
根据主题类型获取颜色主题
|
private getColorThemeByType(type: ThemeType): ColorTheme | null {
const typeMap = {
[ThemeType.DEFAULT]: 'default_light',
[ThemeType.SPRING]: 'spring_light',
[ThemeType.SUMMER]: 'summer_light',
[ThemeType.AUTUMN]: 'autumn_light',
[ThemeType.WINTER]: 'winter_light',
[ThemeType.BIRTHDAY]: 'birthday_light'
};
const themeId = typeMap[type];
return this.colorThemes.find(t => t.id === themeId) || null;
}
|
AST#method_declaration#Left private getColorThemeByType AST#parameter_list#Left ( AST#parameter#Left type : AST#type_annotation#Left AST#primary_type#Left ThemeType AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left ColorTheme AST#primary_type#Right | AST#primary_type#Left null AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left typeMap = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . DEFAULT AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'default_light' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . SPRING AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'spring_light' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . SUMMER AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'summer_light' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . AUTUMN AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'autumn_light' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . WINTER AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'winter_light' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left ThemeType AST#expression#Right . BIRTHDAY AST#member_expression#Right AST#expression#Right ] AST#property_name#Right : AST#expression#Left 'birthday_light' AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left themeId = AST#expression#Left AST#subscript_expression#Left AST#expression#Left typeMap AST#expression#Right [ AST#expression#Left type AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . colorThemes AST#member_expression#Right AST#expression#Right . find AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left t => AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left t AST#expression#Right . id AST#member_expression#Right AST#expression#Right === AST#expression#Left themeId AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right || AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private getColorThemeByType(type: ThemeType): ColorTheme | null {
const typeMap = {
[ThemeType.DEFAULT]: 'default_light',
[ThemeType.SPRING]: 'spring_light',
[ThemeType.SUMMER]: 'summer_light',
[ThemeType.AUTUMN]: 'autumn_light',
[ThemeType.WINTER]: 'winter_light',
[ThemeType.BIRTHDAY]: 'birthday_light'
};
const themeId = typeMap[type];
return this.colorThemes.find(t => t.id === themeId) || null;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/services/theme/ThemeManager.ets#L787-L799
|
34afcdecfad254ed778e622884ad88b4a184e688
|
github
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/groupavatar/src/main/ets/utils/ImageCombination.ets
|
arkts
|
divideImage2Group
|
将选择的头像列表组装为二位数组,用于填充九宫格组件
@param images
@returns
|
function divideImage2Group(personGroup: (ResourceStr | image.PixelMap)[]): GroupAvatarModel[][] {
let imageGroup: GroupAvatarModel[][] = [];
if (personGroup.length <= 4) {
// 人数少于等于4时,显示两行两列
imageGroup = divideGroupBySize(personGroup, 2);
} else if (personGroup.length <= 9) {
// 人数大于4时,显示三行三列
imageGroup = divideGroupBySize(personGroup, 3);
} else {
// 人数大于9时,仅显示前9个头像
imageGroup = divideGroupBySize(personGroup.slice(0, 9), 3);
}
return imageGroup;
}
|
AST#function_declaration#Left function divideImage2Group AST#parameter_list#Left ( AST#parameter#Left personGroup : AST#ERROR#Left AST#primary_type#Left AST#parenthesized_type#Left ( AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left ResourceStr AST#primary_type#Right | AST#primary_type#Left AST#qualified_type#Left image . PixelMap AST#qualified_type#Right AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right ) AST#parenthesized_type#Right AST#primary_type#Right AST#ERROR#Right AST#type_annotation#Left AST#primary_type#Left AST#tuple_type#Left [ ] AST#tuple_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left GroupAvatarModel [ ] [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left imageGroup : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left GroupAvatarModel [ ] [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left personGroup AST#expression#Right . length AST#member_expression#Right AST#expression#Right <= AST#expression#Left 4 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { // 人数少于等于4时,显示两行两列 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left imageGroup = AST#expression#Left AST#call_expression#Left AST#expression#Left divideGroupBySize AST#expression#Right AST#argument_list#Left ( AST#expression#Left personGroup AST#expression#Right , AST#expression#Left 2 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left personGroup AST#expression#Right . length AST#member_expression#Right AST#expression#Right <= AST#expression#Left 9 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { // 人数大于4时,显示三行三列 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left imageGroup = AST#expression#Left AST#call_expression#Left AST#expression#Left divideGroupBySize AST#expression#Right AST#argument_list#Left ( AST#expression#Left personGroup AST#expression#Right , AST#expression#Left 3 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { // 人数大于9时,仅显示前9个头像 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left imageGroup = AST#expression#Left AST#call_expression#Left AST#expression#Left divideGroupBySize AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left personGroup AST#expression#Right . slice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 0 AST#expression#Right , AST#expression#Left 9 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left 3 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left imageGroup AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right
|
function divideImage2Group(personGroup: (ResourceStr | image.PixelMap)[]): GroupAvatarModel[][] {
let imageGroup: GroupAvatarModel[][] = [];
if (personGroup.length <= 4) {
imageGroup = divideGroupBySize(personGroup, 2);
} else if (personGroup.length <= 9) {
imageGroup = divideGroupBySize(personGroup, 3);
} else {
imageGroup = divideGroupBySize(personGroup.slice(0, 9), 3);
}
return imageGroup;
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/groupavatar/src/main/ets/utils/ImageCombination.ets#L85-L98
|
e25a91c2ebf2ef5601072d4ac2deb41a0d4d26a4
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
harmonyos/src/main/ets/pages/Index.ets
|
arkts
|
构建页面UI
|
build() {
Column() {
// 主内容区域
this.buildMainContent()
// 底部导航栏
this.buildBottomNavigation()
}
.width('100%')
.height('100%')
.backgroundColor(this.themeSettings?.mode === 'dark' ? '#1a1a1a' : '#f5f5f5')
}
|
AST#build_method#Left build ( ) AST#build_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { // 主内容区域 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildMainContent AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right // 底部导航栏 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildBottomNavigation AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . themeSettings AST#member_expression#Right AST#expression#Right ?. mode AST#member_expression#Right AST#expression#Right === AST#expression#Left 'dark' AST#expression#Right AST#binary_expression#Right AST#expression#Right ? AST#expression#Left '#1a1a1a' AST#expression#Right : AST#expression#Left '#f5f5f5' AST#expression#Right AST#conditional_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#build_body#Right AST#build_method#Right
|
build() {
Column() {
this.buildMainContent()
this.buildBottomNavigation()
}
.width('100%')
.height('100%')
.backgroundColor(this.themeSettings?.mode === 'dark' ? '#1a1a1a' : '#f5f5f5')
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/harmonyos/src/main/ets/pages/Index.ets#L94-L105
|
61db99e18d202e1e2fa79f8ca608a7c558cd4332
|
github
|
|
iichen-bycode/ArkTsWanandroid.git
|
ad128756a6c703d9a72cf7f6da128c27fc63bd00
|
entry/src/main/ets/http/api.ets
|
arkts
|
问答数据
@param date
@returns
|
export function getWendaData(page:number) {
return axiosClient.get<HomeArticleModel>({
url: `wenda/list/${page}/json`,
})
}
|
AST#export_declaration#Left export AST#function_declaration#Left function getWendaData AST#parameter_list#Left ( AST#parameter#Left page : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left axiosClient AST#expression#Right . get AST#member_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left HomeArticleModel AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left url AST#property_name#Right : AST#expression#Left AST#template_literal#Left ` wenda/list/ AST#template_substitution#Left $ { AST#expression#Left page AST#expression#Right } AST#template_substitution#Right /json ` AST#template_literal#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right AST#export_declaration#Right
|
export function getWendaData(page:number) {
return axiosClient.get<HomeArticleModel>({
url: `wenda/list/${page}/json`,
})
}
|
https://github.com/iichen-bycode/ArkTsWanandroid.git/blob/ad128756a6c703d9a72cf7f6da128c27fc63bd00/entry/src/main/ets/http/api.ets#L229-L233
|
aa322ee5cc45403a538ab9b414d18012149c3466
|
github
|
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_utils/src/main/ets/utils/TypeUtil.ets
|
arkts
|
isBoolean
|
判断是否是Boolean类型
|
static isBoolean(value: Object): boolean {
return typeof value === 'boolean';
}
|
AST#method_declaration#Left static isBoolean AST#parameter_list#Left ( AST#parameter#Left value : AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left typeof AST#expression#Left value AST#expression#Right AST#unary_expression#Right AST#expression#Right === AST#expression#Left 'boolean' AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static isBoolean(value: Object): boolean {
return typeof value === 'boolean';
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_utils/src/main/ets/utils/TypeUtil.ets#L33-L35
|
ab1838eb10e4ea96e840ecde47c5fcfb424150d3
|
gitee
|
zhuanyongtester/Cpay_arkts.git
|
4402a8a06963d0757952513d3cbf7d5919ceb74f
|
entry/src/main/ets/pages/SettingPage.ets
|
arkts
|
signItem
|
个性签名组件。
@param text 个性签名
@param prompt 点击后的提示语
|
@Builder signItem(text: ResourceStr, prompt: ResourceStr) {
Text(text)
.width("100%")
.fontSize($r("sys.float.ohos_id_text_size_body2"))
.fontColor(Color.Grey)
.margin($r("app.integer.listitem_overflow_default_margin"))
.width('100%')
.clickEffect({ level: ClickEffectLevel.HEAVY })
.onClick(() => {
promptAction.showToast({ message: prompt });
})
}
|
AST#method_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right signItem AST#parameter_list#Left ( AST#parameter#Left text : AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left prompt : AST#type_annotation#Left AST#primary_type#Left ResourceStr AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left text AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left "100%" AST#expression#Right ) AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left "sys.float.ohos_id_text_size_body2" AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Grey AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . margin ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left "app.integer.listitem_overflow_default_margin" AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . clickEffect ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left level AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left ClickEffectLevel AST#expression#Right . HEAVY AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left promptAction AST#expression#Right . showToast AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left message AST#property_name#Right : AST#expression#Left prompt AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
@Builder signItem(text: ResourceStr, prompt: ResourceStr) {
Text(text)
.width("100%")
.fontSize($r("sys.float.ohos_id_text_size_body2"))
.fontColor(Color.Grey)
.margin($r("app.integer.listitem_overflow_default_margin"))
.width('100%')
.clickEffect({ level: ClickEffectLevel.HEAVY })
.onClick(() => {
promptAction.showToast({ message: prompt });
})
}
|
https://github.com/zhuanyongtester/Cpay_arkts.git/blob/4402a8a06963d0757952513d3cbf7d5919ceb74f/entry/src/main/ets/pages/SettingPage.ets#L188-L200
|
657622e4fc6fb9f0f6d3152306c2776d7f7ff189
|
github
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_utils/src/main/ets/utils/LogUtil.ets
|
arkts
|
levelLog
|
日志打印
|
private static levelLog(msg: string, level: hilog.LogLevel) {
if (LogUtil.isHilog) { //hilog打印日志
switch (level) {
case hilog.LogLevel.DEBUG:
hilog.debug(LogUtil.domain, LogUtil.tag, msg);
break
case hilog.LogLevel.INFO:
hilog.info(LogUtil.domain, LogUtil.tag, msg);
|
AST#method_declaration#Left private static levelLog AST#parameter_list#Left ( AST#parameter#Left msg : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left level : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left hilog . LogLevel AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#ERROR#Left { if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left LogUtil AST#expression#Right . isHilog AST#member_expression#Right AST#expression#Right AST#ERROR#Left ) { //hilog打印日志 AST#property_assignment#Left switch AST#property_assignment#Right AST#ERROR#Left ( AST#expression#Left level AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left case AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . LogLevel AST#member_expression#Right AST#expression#Right . DEBUG AST#member_expression#Right AST#expression#Right AST#expression_statement#Right : AST#ERROR#Left AST#qualified_type#Left hilog . debug AST#qualified_type#Right AST#ERROR#Right ( AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left LogUtil . domain AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#ERROR#Right , AST#property_name#Left LogUtil AST#property_name#Right AST#ERROR#Right . tag AST#member_expression#Right AST#expression#Right AST#ERROR#Left , msg ) AST#ERROR#Left ; AST#ERROR#Right break case hilog AST#ERROR#Right . LogLevel AST#member_expression#Right AST#expression#Right . INFO AST#member_expression#Right AST#expression#Right AST#ERROR#Right : AST#ERROR#Left AST#qualified_type#Left hilog . info AST#qualified_type#Right AST#ERROR#Right AST#type_annotation#Left AST#primary_type#Left AST#parenthesized_type#Left ( AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left LogUtil . domain AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#ERROR#Left , LogUtil . tag , msg AST#ERROR#Right ) AST#parenthesized_type#Right AST#primary_type#Right AST#type_annotation#Right ; AST#method_declaration#Right
|
private static levelLog(msg: string, level: hilog.LogLevel) {
if (LogUtil.isHilog) {
switch (level) {
case hilog.LogLevel.DEBUG:
hilog.debug(LogUtil.domain, LogUtil.tag, msg);
break
case hilog.LogLevel.INFO:
hilog.info(LogUtil.domain, LogUtil.tag, msg);
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_utils/src/main/ets/utils/LogUtil.ets#L191-L198
|
ff5a56a09947ca7117b15216ac7c6b4956a8640e
|
gitee
|
KoStudio/ArkTS-WordTree.git
|
78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324
|
entry/src/main/ets/app/constants/ResPath.ets
|
arkts
|
get
|
洪恩
获取所有封面图片资源
|
static get allImages(): ResPath[] {
return [
]
}
|
AST#method_declaration#Left static get AST#ERROR#Left all Image s AST#ERROR#Right AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left ResPath [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static get allImages(): ResPath[] {
return [
]
}
|
https://github.com/KoStudio/ArkTS-WordTree.git/blob/78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324/entry/src/main/ets/app/constants/ResPath.ets#L90-L94
|
6bc3d9dd3e0286478906259eba11b7d3e5142b6e
|
github
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
spinkit/src/main/ets/components/SpinT.ets
|
arkts
|
SpinT
|
TODO SpinKit动画组件
author: 桃花镇童长老
since: 2024/05/01
|
@ComponentV2
export struct SpinT {
@Require @Param spinSize: number = 36;
@Require @Param spinColor: ResourceColor;
@Local round1: number = this.spinSize * 0.2
@Local rotate7: number = 0;
@Local scale1: number = 1;
@Local scale2: number = 1;
@Local scale3: number = 1;
@Local scale4: number = 1;
@Local scale5: number = 1;
@Local scale6: number = 1;
@Local rotate1: number = 0;
@Local rotate2: number = 0;
@Local rotate3: number = 0;
@Local rotate4: number = 0;
@Local rotate5: number = 0;
@Local rotate6: number = 0;
aboutToAppear(): void {
this.round1 = this.spinSize * 0.2
}
build() {
Stack() {
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale1, y: this.scale1 })
}
.frameStyle()
.rotate({ angle: this.rotate1 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale2, y: this.scale2 })
}
.frameStyle()
.rotate({ angle: this.rotate2 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale3, y: this.scale3 })
}
.frameStyle()
.rotate({ angle: this.rotate3 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale4, y: this.scale4 })
}
.frameStyle()
.rotate({ angle: this.rotate4 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale5, y: this.scale5 })
}
.frameStyle()
.rotate({ angle: this.rotate5 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale6, y: this.scale6 })
}
.frameStyle()
.rotate({ angle: this.rotate6 })
}
.renderFit(RenderFit.CENTER)
.width(this.spinSize)
.height(this.spinSize)
.rotate({ angle: this.rotate7 })
.onAppear(() => {
let keyframes0: Array<KeyframeState> = [
{
duration: 3000,
curve: Curve.Linear,
event: () => {
this.rotate7 = 360
}
}];
let keyframes1: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale1 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale1 = 1
}
}];
let keyframes2: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale2 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale2 = 1
}
}];
let keyframes3: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale3 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale3 = 1
}
}];
let keyframes4: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale4 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale4 = 1
}
}];
let keyframes5: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale5 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale5 = 1
}
}];
let keyframes6: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale6 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale6 = 1
}
}];
let keyframes7: Array<KeyframeState> = [
{
duration: 1550,
curve: Curve.EaseInOut,
event: () => {
this.rotate1 = 360
}
},
{
duration: 50,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes8: Array<KeyframeState> = [
{
duration: 1500,
curve: Curve.EaseInOut,
event: () => {
this.rotate2 = 360
}
},
{
duration: 100,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes9: Array<KeyframeState> = [
{
duration: 1450,
curve: Curve.EaseInOut,
event: () => {
this.rotate3 = 360
}
},
{
duration: 150,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes10: Array<KeyframeState> = [
{
duration: 1400,
curve: Curve.EaseInOut,
event: () => {
this.rotate4 = 360
}
},
{
duration: 200,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes11: Array<KeyframeState> = [
{
duration: 1350,
curve: Curve.EaseInOut,
event: () => {
this.rotate5 = 360
}
},
{
duration: 250,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes12: Array<KeyframeState> = [
{
duration: 1300,
curve: Curve.EaseInOut,
event: () => {
this.rotate6 = 360
}
},
{
duration: 300,
curve: Curve.EaseInOut,
event: () => {
}
}
];
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: 0 }, keyframes0);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1100 }, keyframes1);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1000 }, keyframes2);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -900 }, keyframes3);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -800 }, keyframes4);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -700 }, keyframes5);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -600 }, keyframes6);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1100 }, keyframes7);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1000 }, keyframes8);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -900 }, keyframes9);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -800 }, keyframes10);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -700 }, keyframes11);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -600 }, keyframes12);
})
}
@Styles
roundStyle(){
.width(this.round1)
.height(this.round1)
.borderRadius(this.round1)
.backgroundColor(this.spinColor)
.shadow(ShadowStyle.OUTER_DEFAULT_XS)
}
@Styles
frameStyle(){
.height('100%')
.width(this.round1)
}
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ ComponentV2 AST#decorator#Right export struct SpinT AST#component_body#Left { AST#property_declaration#Left AST#decorator#Left @ Require AST#decorator#Right AST#decorator#Left @ Param AST#decorator#Right spinSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 36 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Require AST#decorator#Right AST#decorator#Left @ Param AST#decorator#Right spinColor : AST#type_annotation#Left AST#primary_type#Left ResourceColor AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right round1 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.2 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate7 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale1 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale2 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale3 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale4 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale5 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right scale6 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 1 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate1 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate2 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate3 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate4 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate5 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ Local AST#decorator#Right rotate6 : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right ; AST#property_declaration#Right AST#method_declaration#Left aboutToAppear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . round1 AST#member_expression#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right * AST#expression#Left 0.2 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#build_method#Left build ( ) AST#build_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Stack ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate1 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale2 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale2 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate2 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale3 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale3 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate3 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale4 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale4 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate4 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale5 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale5 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate5 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Canvas ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . roundStyle ( ) AST#modifier_chain_expression#Left . scale ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left x AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale6 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left y AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale6 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . frameStyle ( ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate6 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . renderFit ( AST#expression#Left AST#member_expression#Left AST#expression#Left RenderFit AST#expression#Right . CENTER AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinSize AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . rotate ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left angle AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate7 AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onAppear ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes0 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 3000 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . Linear AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate7 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes1 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale1 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale1 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes2 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale2 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale2 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes3 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale3 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale3 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes4 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale4 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale4 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes5 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale5 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale5 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes6 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale6 AST#member_expression#Right = AST#expression#Left 0.4 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 800 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . scale6 AST#member_expression#Right = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes7 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1550 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate1 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 50 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes8 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1500 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate2 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 100 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes9 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1450 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate3 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 150 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes10 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1400 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate4 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 200 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes11 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1350 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate5 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 250 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left keyframes12 : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left KeyframeState AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 1300 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . rotate6 AST#member_expression#Right = AST#expression#Left 360 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 300 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left curve AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left Curve AST#expression#Right . EaseInOut AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left event AST#property_name#Right : AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes0 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1100 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes1 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1000 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes2 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 900 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes3 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 800 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes4 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 700 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes5 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 600 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes6 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1100 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes7 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1000 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes8 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 900 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes9 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 800 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes10 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 700 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes11 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getUIContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . keyframeAnimateTo AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left iterations AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 1 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left delay AST#property_name#Right : AST#expression#Left AST#unary_expression#Left - AST#expression#Left 600 AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right , AST#expression#Left keyframes12 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#build_body#Right AST#build_method#Right AST#method_declaration#Left AST#decorator#Left @ Styles AST#decorator#Right roundStyle AST#parameter_list#Left ( ) AST#parameter_list#Right AST#extend_function_body#Left { AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . round1 AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . round1 AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . round1 AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . spinColor AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . shadow ( AST#expression#Left AST#member_expression#Left AST#expression#Left ShadowStyle AST#expression#Right . OUTER_DEFAULT_XS AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right } AST#extend_function_body#Right AST#method_declaration#Right AST#method_declaration#Left AST#decorator#Left @ Styles AST#decorator#Right frameStyle AST#parameter_list#Left ( ) AST#parameter_list#Right AST#extend_function_body#Left { AST#modifier_chain_expression#Left . height ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . round1 AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right } AST#extend_function_body#Right AST#method_declaration#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@ComponentV2
export struct SpinT {
@Require @Param spinSize: number = 36;
@Require @Param spinColor: ResourceColor;
@Local round1: number = this.spinSize * 0.2
@Local rotate7: number = 0;
@Local scale1: number = 1;
@Local scale2: number = 1;
@Local scale3: number = 1;
@Local scale4: number = 1;
@Local scale5: number = 1;
@Local scale6: number = 1;
@Local rotate1: number = 0;
@Local rotate2: number = 0;
@Local rotate3: number = 0;
@Local rotate4: number = 0;
@Local rotate5: number = 0;
@Local rotate6: number = 0;
aboutToAppear(): void {
this.round1 = this.spinSize * 0.2
}
build() {
Stack() {
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale1, y: this.scale1 })
}
.frameStyle()
.rotate({ angle: this.rotate1 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale2, y: this.scale2 })
}
.frameStyle()
.rotate({ angle: this.rotate2 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale3, y: this.scale3 })
}
.frameStyle()
.rotate({ angle: this.rotate3 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale4, y: this.scale4 })
}
.frameStyle()
.rotate({ angle: this.rotate4 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale5, y: this.scale5 })
}
.frameStyle()
.rotate({ angle: this.rotate5 })
Column() {
Canvas()
.roundStyle()
.scale({ x: this.scale6, y: this.scale6 })
}
.frameStyle()
.rotate({ angle: this.rotate6 })
}
.renderFit(RenderFit.CENTER)
.width(this.spinSize)
.height(this.spinSize)
.rotate({ angle: this.rotate7 })
.onAppear(() => {
let keyframes0: Array<KeyframeState> = [
{
duration: 3000,
curve: Curve.Linear,
event: () => {
this.rotate7 = 360
}
}];
let keyframes1: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale1 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale1 = 1
}
}];
let keyframes2: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale2 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale2 = 1
}
}];
let keyframes3: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale3 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale3 = 1
}
}];
let keyframes4: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale4 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale4 = 1
}
}];
let keyframes5: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale5 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale5 = 1
}
}];
let keyframes6: Array<KeyframeState> = [
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale6 = 0.4
}
},
{
duration: 800,
curve: Curve.EaseInOut,
event: () => {
this.scale6 = 1
}
}];
let keyframes7: Array<KeyframeState> = [
{
duration: 1550,
curve: Curve.EaseInOut,
event: () => {
this.rotate1 = 360
}
},
{
duration: 50,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes8: Array<KeyframeState> = [
{
duration: 1500,
curve: Curve.EaseInOut,
event: () => {
this.rotate2 = 360
}
},
{
duration: 100,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes9: Array<KeyframeState> = [
{
duration: 1450,
curve: Curve.EaseInOut,
event: () => {
this.rotate3 = 360
}
},
{
duration: 150,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes10: Array<KeyframeState> = [
{
duration: 1400,
curve: Curve.EaseInOut,
event: () => {
this.rotate4 = 360
}
},
{
duration: 200,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes11: Array<KeyframeState> = [
{
duration: 1350,
curve: Curve.EaseInOut,
event: () => {
this.rotate5 = 360
}
},
{
duration: 250,
curve: Curve.EaseInOut,
event: () => {
}
}
];
let keyframes12: Array<KeyframeState> = [
{
duration: 1300,
curve: Curve.EaseInOut,
event: () => {
this.rotate6 = 360
}
},
{
duration: 300,
curve: Curve.EaseInOut,
event: () => {
}
}
];
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: 0 }, keyframes0);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1100 }, keyframes1);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1000 }, keyframes2);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -900 }, keyframes3);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -800 }, keyframes4);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -700 }, keyframes5);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -600 }, keyframes6);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1100 }, keyframes7);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -1000 }, keyframes8);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -900 }, keyframes9);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -800 }, keyframes10);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -700 }, keyframes11);
this.getUIContext().keyframeAnimateTo({ iterations: -1, delay: -600 }, keyframes12);
})
}
@Styles
roundStyle(){
.width(this.round1)
.height(this.round1)
.borderRadius(this.round1)
.backgroundColor(this.spinColor)
.shadow(ShadowStyle.OUTER_DEFAULT_XS)
}
@Styles
frameStyle(){
.height('100%')
.width(this.round1)
}
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/spinkit/src/main/ets/components/SpinT.ets#L22-L319
|
389af9f541e83cbd2d0949169df8cd0e1545815f
|
gitee
|
openharmony/xts_acts
|
5eb33396ca0ffafd9e5d0ba4b5dedfde44aff686
|
arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_brightness/entry/src/main/ets/MainAbility/view/position/WaterFlowView.ets
|
arkts
|
WaterFlowView
|
Copyright (c) 2024 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
@Component
export struct WaterFlowView {
@Link _position: Position;
private componentKey: string;
@State minSize: number = 50
@State maxSize: number = 100
@State fontSize: number = 24
@State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
scroller: Scroller = new Scroller()
private itemWidthArray: number[] = []
private itemHeightArray: number[] = []
getSize() {
let ret = Math.floor(Math.random() * this.maxSize)
return (ret > this.minSize ? ret : this.minSize)
}
getItemSizeArray() {
for (let i = 0; i < 100; i++) {
this.itemWidthArray.push(this.getSize())
this.itemHeightArray.push(this.getSize())
}
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Component AST#decorator#Right export struct WaterFlowView AST#component_body#Left { AST#property_declaration#Left AST#decorator#Left @ Link AST#decorator#Right _position : AST#type_annotation#Left AST#primary_type#Left Position AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left private componentKey : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right ; AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ State AST#decorator#Right minSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 50 AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ State AST#decorator#Right maxSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 100 AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ State AST#decorator#Right fontSize : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 24 AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left AST#decorator#Left @ State AST#decorator#Right colors AST#ERROR#Left : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left number [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left 0xFFC0CB AST#expression#Right , AST#expression#Left 0xDA70D6 AST#expression#Right , AST#expression#Left 0x6B8E23 AST#expression#Right , AST#expression#Left 0x6A5ACD AST#expression#Right , AST#expression#Left 0x00FFFF AST#expression#Right , AST#expression#Left 0x00FF7F AST#expression#Right ] AST#array_literal#Right AST#expression#Right scroller AST#ERROR#Right : AST#type_annotation#Left AST#primary_type#Left Scroller AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Scroller AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left private itemWidthArray : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left number [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#property_declaration#Right AST#ERROR#Left private itemHeightArray : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left number [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#ERROR#Left = AST#ERROR#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#ERROR#Left getSize AST#ERROR#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Right { AST#property_name#Left let AST#property_name#Right ret AST#ERROR#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . random AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right * AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . maxSize AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left return AST#ERROR#Right ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left ret AST#expression#Right > AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . minSize AST#member_expression#Right AST#expression#Right ? AST#ERROR#Left ret : AST#ERROR#Left AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left this . minSize AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right ) } getItemSizeArray AST#parameter_list#Left ( ) AST#parameter_list#Right { for AST#ERROR#Right AST#parameter_list#Left ( AST#parameter#Left let AST#ERROR#Left i AST#ERROR#Right = AST#expression#Left AST#update_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left 0 AST#expression#Right AST#ERROR#Left ; i AST#ERROR#Right < AST#expression#Left 100 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#ERROR#Left ; i AST#ERROR#Right ++ AST#update_expression#Right AST#expression#Right AST#parameter#Right ) AST#parameter_list#Right AST#ERROR#Right AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left this AST#property_assignment#Right AST#object_literal#Right AST#expression#Right . itemWidthArray AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getSize AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left this AST#ERROR#Right . itemHeightArray AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getSize AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#ERROR#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@Component
export struct WaterFlowView {
@Link _position: Position;
private componentKey: string;
@State minSize: number = 50
@State maxSize: number = 100
@State fontSize: number = 24
@State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
scroller: Scroller = new Scroller()
private itemWidthArray: number[] = []
private itemHeightArray: number[] = []
getSize() {
let ret = Math.floor(Math.random() * this.maxSize)
return (ret > this.minSize ? ret : this.minSize)
}
getItemSizeArray() {
for (let i = 0; i < 100; i++) {
this.itemWidthArray.push(this.getSize())
this.itemHeightArray.push(this.getSize())
}
}
|
https://github.com/openharmony/xts_acts/blob/5eb33396ca0ffafd9e5d0ba4b5dedfde44aff686/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_brightness/entry/src/main/ets/MainAbility/view/position/WaterFlowView.ets#L16-L38
|
2eca8d279fd9f99cbd1e3034126ca71a8a8fab26
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/services/ar/ARCardService.ets
|
arkts
|
playAnimation
|
播放AR动画
|
async playAnimation(animationName: string, modelId?: string): Promise<void> {
try {
if (modelId) {
await this.playModelAnimation(modelId, animationName);
} else {
await this.playSceneAnimation(animationName);
}
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Animation played: ${animationName}`);
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Failed to play animation: ${error}`);
}
}
|
AST#method_declaration#Left async playAnimation AST#parameter_list#Left ( AST#parameter#Left animationName : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left modelId ? : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left modelId AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . playModelAnimation AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left modelId AST#expression#Right , AST#expression#Left animationName AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . playSceneAnimation AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left animationName AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Animation played: AST#template_substitution#Left $ { AST#expression#Left animationName AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( error ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Failed to play animation: AST#template_substitution#Left $ { AST#expression#Left error AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
async playAnimation(animationName: string, modelId?: string): Promise<void> {
try {
if (modelId) {
await this.playModelAnimation(modelId, animationName);
} else {
await this.playSceneAnimation(animationName);
}
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Animation played: ${animationName}`);
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_APP,
`Failed to play animation: ${error}`);
}
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/services/ar/ARCardService.ets#L477-L491
|
9a322610dcd42fa759c7e6ef6f98eae56b98ff96
|
github
|
Joker-x-dev/CoolMallArkTS.git
|
9f3fabf89fb277692cb82daf734c220c7282919c
|
core/network/src/main/ets/datasource/coupon/CouponNetworkDataSourceImpl.ets
|
arkts
|
getUserCouponList
|
获取用户优惠券列表
@param {Record<string, Unknown>} params - 查询参数
@returns {Promise<NetworkResponse<Coupon[]>>} 优惠券列表
|
async getUserCouponList(params: Record<string, Unknown>): Promise<NetworkResponse<Coupon[]>> {
const resp: AxiosResponse<NetworkResponse<Coupon[]>> =
await NetworkClient.http.post("market/coupon/user/list", params);
return resp.data;
}
|
AST#method_declaration#Left async getUserCouponList AST#parameter_list#Left ( AST#parameter#Left params : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Record AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left Unknown AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left NetworkResponse AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left Coupon [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left resp : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left AxiosResponse AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left NetworkResponse AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left Coupon [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left NetworkClient AST#expression#Right AST#await_expression#Right AST#expression#Right . http AST#member_expression#Right AST#expression#Right . post AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left "market/coupon/user/list" AST#expression#Right , AST#expression#Left params AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left resp AST#expression#Right . data AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
async getUserCouponList(params: Record<string, Unknown>): Promise<NetworkResponse<Coupon[]>> {
const resp: AxiosResponse<NetworkResponse<Coupon[]>> =
await NetworkClient.http.post("market/coupon/user/list", params);
return resp.data;
}
|
https://github.com/Joker-x-dev/CoolMallArkTS.git/blob/9f3fabf89fb277692cb82daf734c220c7282919c/core/network/src/main/ets/datasource/coupon/CouponNetworkDataSourceImpl.ets#L38-L42
|
8f1fa1ff2deacd72cfe3231d60e0b4475981c8fe
|
github
|
openharmony/arkui_ace_engine
|
30c7d1ee12fbedf0fabece54291d75897e2ad44f
|
examples/Overlay/entry/src/main/ets/pages/components/menu/bindContextMenuHoverScale.ets
|
arkts
|
BindContextMenuHoverScaleBuilder
|
Copyright (c) 2025 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
@Builder
export function BindContextMenuHoverScaleBuilder(name: string, param: Object) {
BindContextMenuHoverScaleExample()
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right export function BindContextMenuHoverScaleBuilder AST#parameter_list#Left ( AST#parameter#Left name : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left param : AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left BindContextMenuHoverScaleExample ( ) AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#decorated_export_declaration#Right
|
@Builder
export function BindContextMenuHoverScaleBuilder(name: string, param: Object) {
BindContextMenuHoverScaleExample()
}
|
https://github.com/openharmony/arkui_ace_engine/blob/30c7d1ee12fbedf0fabece54291d75897e2ad44f/examples/Overlay/entry/src/main/ets/pages/components/menu/bindContextMenuHoverScale.ets#L16-L19
|
31ae8626b4b94fa3ccdab3323a1d499e51bd34dd
|
gitee
|
harmonyos_samples/BestPracticeSnippets
|
490ea539a6d4427dd395f3dac3cf4887719f37af
|
HDRVivid/AVRecorder/entry/src/main/ets/common/CommonConstants.ets
|
arkts
|
Copyright (c) 2024 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
export class CommonConstants {
/**
* ShowToast duration.
*/
static readonly SHOW_TOAST_DURATION: number = 4000;
/**
* ShowToast bottom.
*/
static readonly SHOW_TOAST_BOTTOM: number = 108;
/**
* Image size.
*/
static readonly IMAGE_SIZE: number = 200;
/**
* The full percentage of component.
*/
static readonly FULL_PERCENT: string = '100%';
/**
* The ninety percent of the components.
*/
static readonly NINETY_PERCENT: string = '90%';
/**
* The seventy percent of the components.
*/
static readonly SEVENTY_PERCENT: string = '70%';
/**
* The fifteen percent of the bottom of the margin.
*/
static readonly FIFTEEN_PERCENT: string = '15%';
}
|
AST#export_declaration#Left export AST#class_declaration#Left class CommonConstants AST#class_body#Left { /**
* ShowToast duration.
*/ AST#property_declaration#Left static readonly SHOW_TOAST_DURATION : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 4000 AST#expression#Right ; AST#property_declaration#Right /**
* ShowToast bottom.
*/ AST#property_declaration#Left static readonly SHOW_TOAST_BOTTOM : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 108 AST#expression#Right ; AST#property_declaration#Right /**
* Image size.
*/ AST#property_declaration#Left static readonly IMAGE_SIZE : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 200 AST#expression#Right ; AST#property_declaration#Right /**
* The full percentage of component.
*/ AST#property_declaration#Left static readonly FULL_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '100%' AST#expression#Right ; AST#property_declaration#Right /**
* The ninety percent of the components.
*/ AST#property_declaration#Left static readonly NINETY_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '90%' AST#expression#Right ; AST#property_declaration#Right /**
* The seventy percent of the components.
*/ AST#property_declaration#Left static readonly SEVENTY_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '70%' AST#expression#Right ; AST#property_declaration#Right /**
* The fifteen percent of the bottom of the margin.
*/ AST#property_declaration#Left static readonly FIFTEEN_PERCENT : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '15%' AST#expression#Right ; AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class CommonConstants {
static readonly SHOW_TOAST_DURATION: number = 4000;
static readonly SHOW_TOAST_BOTTOM: number = 108;
static readonly IMAGE_SIZE: number = 200;
static readonly FULL_PERCENT: string = '100%';
static readonly NINETY_PERCENT: string = '90%';
static readonly SEVENTY_PERCENT: string = '70%';
static readonly FIFTEEN_PERCENT: string = '15%';
}
|
https://github.com/harmonyos_samples/BestPracticeSnippets/blob/490ea539a6d4427dd395f3dac3cf4887719f37af/HDRVivid/AVRecorder/entry/src/main/ets/common/CommonConstants.ets#L16-L51
|
de42c52a57b5cda571b1dbd7300efc72330e97f2
|
gitee
|
|
xinkai-hu/MyDay.git
|
dcbc82036cf47b8561b0f2a7783ff0078a7fe61d
|
entry/src/main/ets/pages/EditSchedule.ets
|
arkts
|
getFolders
|
当 allFolders 改变时触发。
获取当前用户拥有的所有文件夹。
|
public getFolders(): void {
this.folders = ArrayUtil.subArray(this.allFolders,
(value: Folder): boolean => value.owner === this.folder.owner && value.folderType === FolderType.NORMAL);
}
|
AST#method_declaration#Left public getFolders AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . folders AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ArrayUtil AST#expression#Right . subArray AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . allFolders AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left value : AST#type_annotation#Left AST#primary_type#Left Folder AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right => AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left value AST#expression#Right . owner AST#member_expression#Right AST#expression#Right === AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . folder AST#member_expression#Right AST#expression#Right . owner AST#member_expression#Right AST#expression#Right && AST#expression#Left value AST#expression#Right AST#binary_expression#Right AST#expression#Right . folderType AST#member_expression#Right AST#expression#Right === AST#expression#Left FolderType AST#expression#Right AST#binary_expression#Right AST#expression#Right . NORMAL AST#member_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public getFolders(): void {
this.folders = ArrayUtil.subArray(this.allFolders,
(value: Folder): boolean => value.owner === this.folder.owner && value.folderType === FolderType.NORMAL);
}
|
https://github.com/xinkai-hu/MyDay.git/blob/dcbc82036cf47b8561b0f2a7783ff0078a7fe61d/entry/src/main/ets/pages/EditSchedule.ets#L179-L182
|
916132c628ce6bd7fc861054c4b4e1a4ba029d0e
|
github
|
openharmony/arkui_ace_engine
|
30c7d1ee12fbedf0fabece54291d75897e2ad44f
|
advanced_ui_component/dialogv2/source/dialogv2.ets
|
arkts
|
getContentPadding
|
get dialog content padding
@returns content padding
|
private getContentPadding(): Padding | LocalizedPadding {
if (this.contentAreaPadding) {
return this.contentAreaPadding;
}
if ((this.primaryTitle || this.secondaryTitle) && this.buttons && this.buttons.length > 0) {
return {
top: 0,
right: $r('sys.float.alert_content_default_padding'),
bottom: 0,
left: $r('sys.float.alert_content_default_padding'),
};
} else if (this.primaryTitle || this.secondaryTitle) {
return {
top: 0,
right: $r('sys.float.alert_content_default_padding'),
bottom: $r('sys.float.alert_content_default_padding'),
left: $r('sys.float.alert_content_default_padding'),
};
} else if (this.buttons && this.buttons.length > 0) {
return {
top: $r('sys.float.alert_content_default_padding'),
right: $r('sys.float.alert_content_default_padding'),
bottom: 0,
left: $r('sys.float.alert_content_default_padding'),
};
} else {
return {
top: $r('sys.float.alert_content_default_padding'),
right: $r('sys.float.alert_content_default_padding'),
bottom: $r('sys.float.alert_content_default_padding'),
left: $r('sys.float.alert_content_default_padding'),
};
}
}
|
AST#method_declaration#Left private getContentPadding AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Padding AST#primary_type#Right | AST#primary_type#Left LocalizedPadding AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . contentAreaPadding AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . contentAreaPadding AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . primaryTitle AST#member_expression#Right AST#expression#Right || AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . secondaryTitle AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right && AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right && AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bottom AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . primaryTitle AST#member_expression#Right AST#expression#Right || AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . secondaryTitle AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bottom AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right && AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . buttons AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bottom AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bottom AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'sys.float.alert_content_default_padding' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#property_assignment#Right , } AST#object_literal#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private getContentPadding(): Padding | LocalizedPadding {
if (this.contentAreaPadding) {
return this.contentAreaPadding;
}
if ((this.primaryTitle || this.secondaryTitle) && this.buttons && this.buttons.length > 0) {
return {
top: 0,
right: $r('sys.float.alert_content_default_padding'),
bottom: 0,
left: $r('sys.float.alert_content_default_padding'),
};
} else if (this.primaryTitle || this.secondaryTitle) {
return {
top: 0,
right: $r('sys.float.alert_content_default_padding'),
bottom: $r('sys.float.alert_content_default_padding'),
left: $r('sys.float.alert_content_default_padding'),
};
} else if (this.buttons && this.buttons.length > 0) {
return {
top: $r('sys.float.alert_content_default_padding'),
right: $r('sys.float.alert_content_default_padding'),
bottom: 0,
left: $r('sys.float.alert_content_default_padding'),
};
} else {
return {
top: $r('sys.float.alert_content_default_padding'),
right: $r('sys.float.alert_content_default_padding'),
bottom: $r('sys.float.alert_content_default_padding'),
left: $r('sys.float.alert_content_default_padding'),
};
}
}
|
https://github.com/openharmony/arkui_ace_engine/blob/30c7d1ee12fbedf0fabece54291d75897e2ad44f/advanced_ui_component/dialogv2/source/dialogv2.ets#L1221-L1254
|
cd6b1a6f376a2b93471bf7c788565dd4bda90500
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
LunarCalendar_Fixed.ets
|
arkts
|
getDayOffset
|
计算某日与1900年1月1日的天数差
|
private static getDayOffset(year: number, month: number, day: number): number {
let offset = 0;
// 计算年份差
for (let y = 1900; y < year; y++) {
offset += LunarCalendarFixed.isLeapYear(y) ? 366 : 365;
}
// 计算月份差
for (let m = 1; m < month; m++) {
offset += LunarCalendarFixed.getSolarMonthDays(year, m);
}
// 计算日期差
offset += day - 1;
return offset;
}
|
AST#method_declaration#Left private static getDayOffset AST#parameter_list#Left ( AST#parameter#Left year : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left month : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left day : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left offset = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 计算年份差 AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left y = AST#expression#Left 1900 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#binary_expression#Left AST#expression#Left y AST#expression#Right < AST#expression#Left year AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left y AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left offset += AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left LunarCalendarFixed AST#expression#Right . isLeapYear AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left y AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ? AST#expression#Left 366 AST#expression#Right : AST#expression#Left 365 AST#expression#Right AST#conditional_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right // 计算月份差 AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left m = AST#expression#Left 1 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#binary_expression#Left AST#expression#Left m AST#expression#Right < AST#expression#Left month AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left m AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left offset += AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left LunarCalendarFixed AST#expression#Right . getSolarMonthDays AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left year AST#expression#Right , AST#expression#Left m AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right // 计算日期差 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left offset += AST#expression#Left AST#binary_expression#Left AST#expression#Left day AST#expression#Right - AST#expression#Left 1 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left offset AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private static getDayOffset(year: number, month: number, day: number): number {
let offset = 0;
for (let y = 1900; y < year; y++) {
offset += LunarCalendarFixed.isLeapYear(y) ? 366 : 365;
}
for (let m = 1; m < month; m++) {
offset += LunarCalendarFixed.getSolarMonthDays(year, m);
}
offset += day - 1;
return offset;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/LunarCalendar_Fixed.ets#L465-L482
|
e8b9866e812580079f67645fd1687582bb673a2d
|
github
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/SystemFeature/DeviceManagement/DeviceManagementCollection/feature/capabilities/src/main/ets/model/BatteryStatsDataSource.ets
|
arkts
|
Provides data sources required by the LazyForEach interface.
|
export class BatteryStatsDataSource implements IDataSource {
private listItems: Array<BatteryStatsModel> = [];
private listener: DataChangeListener | null = null;
constructor(list: Array<BatteryStatsModel>) {
this.listItems = list;
}
totalCount(): number {
return this.listItems.length;
}
onDataReloaded() {
this.listener?.onDataReloaded();
}
pushData(data: BatteryStatsModel): void {
this.listItems.push(data);
}
getData(index: number): BatteryStatsModel {
return this.listItems[index];
}
getList(): Array<BatteryStatsModel> {
return this.listItems;
}
registerDataChangeListener(listener: DataChangeListener): void {
this.listener = listener;
}
unregisterDataChangeListener() {
}
}
|
AST#export_declaration#Left export AST#class_declaration#Left class BatteryStatsDataSource AST#implements_clause#Left implements IDataSource AST#implements_clause#Right AST#class_body#Left { AST#property_declaration#Left private listItems : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left BatteryStatsModel AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left private listener : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left DataChangeListener AST#primary_type#Right | AST#primary_type#Left null AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right = AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right ; AST#property_declaration#Right AST#constructor_declaration#Left constructor AST#parameter_list#Left ( AST#parameter#Left list : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left BatteryStatsModel AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listItems AST#member_expression#Right = AST#expression#Left list AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#constructor_declaration#Right AST#method_declaration#Left totalCount AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listItems AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right AST#method_declaration#Left onDataReloaded AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listener AST#member_expression#Right AST#expression#Right ?. onDataReloaded AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#method_declaration#Left pushData AST#parameter_list#Left ( AST#parameter#Left data : AST#type_annotation#Left AST#primary_type#Left BatteryStatsModel AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listItems AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left data AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#method_declaration#Left getData AST#parameter_list#Left ( AST#parameter#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left BatteryStatsModel AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listItems AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right AST#method_declaration#Left getList AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left BatteryStatsModel AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listItems AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right AST#method_declaration#Left registerDataChangeListener AST#parameter_list#Left ( AST#parameter#Left listener : AST#type_annotation#Left AST#primary_type#Left DataChangeListener AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listener AST#member_expression#Right = AST#expression#Left listener AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right AST#method_declaration#Left unregisterDataChangeListener AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { } AST#builder_function_body#Right AST#method_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class BatteryStatsDataSource implements IDataSource {
private listItems: Array<BatteryStatsModel> = [];
private listener: DataChangeListener | null = null;
constructor(list: Array<BatteryStatsModel>) {
this.listItems = list;
}
totalCount(): number {
return this.listItems.length;
}
onDataReloaded() {
this.listener?.onDataReloaded();
}
pushData(data: BatteryStatsModel): void {
this.listItems.push(data);
}
getData(index: number): BatteryStatsModel {
return this.listItems[index];
}
getList(): Array<BatteryStatsModel> {
return this.listItems;
}
registerDataChangeListener(listener: DataChangeListener): void {
this.listener = listener;
}
unregisterDataChangeListener() {
}
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/SystemFeature/DeviceManagement/DeviceManagementCollection/feature/capabilities/src/main/ets/model/BatteryStatsDataSource.ets#L21-L55
|
bc2d81b92410c66243914e661dad8968775661b4
|
gitee
|
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/common/types/ContactTypes.ets
|
arkts
|
快速操作配置接口
|
export interface QuickActionConfig {
id: string;
name: string;
icon: string;
color: string;
action: (contact: Contact) => void;
visible: (contact: Contact) => boolean;
}
|
AST#export_declaration#Left export AST#interface_declaration#Left interface QuickActionConfig AST#object_type#Left { AST#type_member#Left id : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left name : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left icon : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left color : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left action : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left contact : AST#type_annotation#Left AST#primary_type#Left Contact AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right AST#type_member#Right ; AST#type_member#Left visible : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left contact : AST#type_annotation#Left AST#primary_type#Left Contact AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right AST#type_member#Right ; } AST#object_type#Right AST#interface_declaration#Right AST#export_declaration#Right
|
export interface QuickActionConfig {
id: string;
name: string;
icon: string;
color: string;
action: (contact: Contact) => void;
visible: (contact: Contact) => boolean;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/common/types/ContactTypes.ets#L342-L349
|
6a24adaf09f88377ea80a8c8273f1cb6e99e1f76
|
github
|
|
2763981847/Clock-Alarm.git
|
8949bedddb7d011021848196735f30ffe2bd1daf
|
entry/src/main/ets/viewmodel/WorldClockViewModel.ets
|
arkts
|
queryCitiesTasker
|
刷新城市任务。
@param callback (cities: Array<CityItem>) => void
|
public queryCitiesTasker(callback: (cities: Array<CityItem>) => void) {
let that = this;
that.queryDatabaseCities(callback);
let preference = GlobalContext.getContext().getObject('preference') as PreferencesHandler;
preference.addPreferencesListener({
onDataChanged() {
that.queryDatabaseCities(callback);
}
} as PreferencesListener)
}
|
AST#method_declaration#Left public queryCitiesTasker AST#parameter_list#Left ( AST#parameter#Left callback : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( AST#parameter#Left cities : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left CityItem AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left that = AST#expression#Left this AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left that AST#expression#Right . queryDatabaseCities AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left callback AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left preference = AST#expression#Left AST#as_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left GlobalContext AST#expression#Right . getContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . getObject AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'preference' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left PreferencesHandler AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left preference AST#expression#Right . addPreferencesListener AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#as_expression#Left AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left onDataChanged AST#property_name#Right AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left that AST#expression#Right . queryDatabaseCities AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left callback AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right as AST#type_annotation#Left AST#primary_type#Left PreferencesListener AST#primary_type#Right AST#type_annotation#Right AST#as_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
public queryCitiesTasker(callback: (cities: Array<CityItem>) => void) {
let that = this;
that.queryDatabaseCities(callback);
let preference = GlobalContext.getContext().getObject('preference') as PreferencesHandler;
preference.addPreferencesListener({
onDataChanged() {
that.queryDatabaseCities(callback);
}
} as PreferencesListener)
}
|
https://github.com/2763981847/Clock-Alarm.git/blob/8949bedddb7d011021848196735f30ffe2bd1daf/entry/src/main/ets/viewmodel/WorldClockViewModel.ets#L101-L110
|
41c4d57f26b0aa93727a3b6aeabb3eb4d8d200f2
|
github
|
dcm23333/FishManager.git
|
952dde4475268ac16f3480f3d55f82033aa6b467
|
FishManager/entry/src/main/ets/common/contants/commonContants.ets
|
arkts
|
‘50%’
|
export const THOUSANDTH_560: string = '56%';
|
AST#export_declaration#Left export AST#variable_declaration#Left const AST#variable_declarator#Left THOUSANDTH_560 : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '56%' AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#export_declaration#Right
|
export const THOUSANDTH_560: string = '56%';
|
https://github.com/dcm23333/FishManager.git/blob/952dde4475268ac16f3480f3d55f82033aa6b467/FishManager/entry/src/main/ets/common/contants/commonContants.ets#L57-L57
|
fdaa39ebead11dfe96fe59989f0990a856049f03
|
github
|
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/eraser/Index.ets
|
arkts
|
EraserMainPage
|
Copyright (c) 2024 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
export { EraserMainPage } from './src/main/ets/pages/EraserMainPage';
|
AST#export_declaration#Left export { EraserMainPage } from './src/main/ets/pages/EraserMainPage' ; AST#export_declaration#Right
|
export { EraserMainPage } from './src/main/ets/pages/EraserMainPage';
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/eraser/Index.ets#L15-L15
|
3b233537428cb6e566d4f724d95f19fd516e8c2c
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/services/notification/ReminderScheduler.ets
|
arkts
|
createWeeklySummaryReminder
|
创建周总结提醒
|
async createWeeklySummaryReminder(): Promise<string> {
try {
const settings = await this.settingsService.getSettings();
const reminderId = this.generateReminderId(ReminderType.WEEKLY_SUMMARY, 'weekly');
// 每周日晚上8点提醒
const reminderRequest: reminderAgentManager.ReminderRequestAlarm = {
reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM,
hour: 20,
minute: 0,
daysOfWeek: [0], // 周日
title: '📊 本周生日总结',
content: '查看本周的生日提醒和统计信息',
expiredContent: '周总结提醒已过期',
notificationId: parseInt(reminderId.replace(/\D/g, ''), 10),
slotType: reminderAgentManager.SlotType.SERVICE_INFORMATION
};
const publishedId = await reminderAgentManager.publishReminder(reminderRequest);
const config: ReminderConfig = {
id: reminderId,
type: ReminderType.WEEKLY_SUMMARY,
title: reminderRequest.title,
content: reminderRequest.content,
triggerTime: new Date(), // 这里只是占位,实际由系统按周重复
enabled: settings.data.enableWeeklySummary || false
};
this.activeReminders.set(reminderId, config);
await this.saveReminderConfig(config);
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION,
`Weekly summary reminder created, published ID: ${publishedId}`);
return reminderId;
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION,
`Failed to create weekly summary reminder: ${error}`);
throw error;
}
}
|
AST#method_declaration#Left async createWeeklySummaryReminder AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left settings = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . settingsService AST#member_expression#Right AST#expression#Right . getSettings AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left reminderId = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . generateReminderId AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left ReminderType AST#expression#Right . WEEKLY_SUMMARY AST#member_expression#Right AST#expression#Right , AST#expression#Left 'weekly' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 每周日晚上8点提醒 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left reminderRequest : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left reminderAgentManager . ReminderRequestAlarm AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left reminderType AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left reminderAgentManager AST#expression#Right . ReminderType AST#member_expression#Right AST#expression#Right . REMINDER_TYPE_ALARM AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left hour AST#property_name#Right : AST#expression#Left 20 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left minute AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left daysOfWeek AST#property_name#Right : AST#expression#Left AST#array_literal#Left [ AST#expression#Left 0 AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#property_assignment#Right , // 周日 AST#property_assignment#Left AST#property_name#Left title AST#property_name#Right : AST#expression#Left '📊 本周生日总结' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left content AST#property_name#Right : AST#expression#Left '查看本周的生日提醒和统计信息' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left expiredContent AST#property_name#Right : AST#expression#Left '周总结提醒已过期' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left notificationId AST#property_name#Right : AST#expression#Left AST#call_expression#Left AST#expression#Left parseInt AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left reminderId AST#expression#Right . replace AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left / \D AST#ERROR#Right / AST#expression#Left g AST#expression#Right AST#binary_expression#Right AST#expression#Right , AST#expression#Left '' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#property_assignment#Right AST#ERROR#Left , AST#property_name#Left 10 AST#property_name#Right ) AST#ERROR#Right , AST#property_assignment#Left AST#property_name#Left slotType AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left reminderAgentManager AST#expression#Right . SlotType AST#member_expression#Right AST#expression#Right . SERVICE_INFORMATION AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left publishedId = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left reminderAgentManager AST#expression#Right AST#await_expression#Right AST#expression#Right . publishReminder AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left reminderRequest AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left config : AST#type_annotation#Left AST#primary_type#Left ReminderConfig AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left id AST#property_name#Right : AST#expression#Left reminderId AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left type AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left ReminderType AST#expression#Right . WEEKLY_SUMMARY AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left title AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left reminderRequest AST#expression#Right . title AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left content AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left reminderRequest AST#expression#Right . content AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left triggerTime AST#property_name#Right : AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Date AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#property_assignment#Right , // 这里只是占位,实际由系统按周重复 AST#property_assignment#Left AST#property_name#Left enabled AST#property_name#Right : AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left settings AST#expression#Right . data AST#member_expression#Right AST#expression#Right . enableWeeklySummary AST#member_expression#Right AST#expression#Right || AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . activeReminders AST#member_expression#Right AST#expression#Right . set AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left reminderId AST#expression#Right , AST#expression#Left config AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left this AST#expression#Right AST#await_expression#Right AST#expression#Right . saveReminderConfig AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left config AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_NOTIFICATION AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Weekly summary reminder created, published ID: AST#template_substitution#Left $ { AST#expression#Left publishedId AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left reminderId AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( error ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_NOTIFICATION AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Failed to create weekly summary reminder: AST#template_substitution#Left $ { AST#expression#Left error AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#throw_statement#Left throw AST#expression#Left error AST#expression#Right ; AST#throw_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
async createWeeklySummaryReminder(): Promise<string> {
try {
const settings = await this.settingsService.getSettings();
const reminderId = this.generateReminderId(ReminderType.WEEKLY_SUMMARY, 'weekly');
const reminderRequest: reminderAgentManager.ReminderRequestAlarm = {
reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM,
hour: 20,
minute: 0,
daysOfWeek: [0],
title: '📊 本周生日总结',
content: '查看本周的生日提醒和统计信息',
expiredContent: '周总结提醒已过期',
notificationId: parseInt(reminderId.replace(/\D/g, ''), 10),
slotType: reminderAgentManager.SlotType.SERVICE_INFORMATION
};
const publishedId = await reminderAgentManager.publishReminder(reminderRequest);
const config: ReminderConfig = {
id: reminderId,
type: ReminderType.WEEKLY_SUMMARY,
title: reminderRequest.title,
content: reminderRequest.content,
triggerTime: new Date(),
enabled: settings.data.enableWeeklySummary || false
};
this.activeReminders.set(reminderId, config);
await this.saveReminderConfig(config);
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION,
`Weekly summary reminder created, published ID: ${publishedId}`);
return reminderId;
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION,
`Failed to create weekly summary reminder: ${error}`);
throw error;
}
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/services/notification/ReminderScheduler.ets#L272-L313
|
1a9eec66937bc554d04e22be7b19e2f0c5e3174a
|
github
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/pages/SimpleBirthdayApp.ets
|
arkts
|
buildMainContent
|
构建主内容区域
|
@Builder
buildMainContent() {
Column({ space: 16 }) {
// 内容显示
if (this.currentTabIndex === 0) {
// 首页 - 欢迎横幅
Column({ space: 8 }) {
Row() {
Column({ space: 8 }) {
Text('生日提醒')
.fontSize(24)
.fontWeight(FontWeight.Bold)
.fontColor('#333333')
Text(`今天是 ${this.getCurrentDateString()} 星期${this.getCurrentWeekday()}`)
.fontSize(14)
.fontColor('#666666')
}
.alignItems(HorizontalAlign.Start)
.layoutWeight(1)
Text('🎂')
.fontSize(32)
}
.width('100%')
.alignItems(VerticalAlign.Center)
// 今日生日提示
if (this.birthdayStats.today > 0) {
Text(`🎉 今天有 ${this.birthdayStats.today} 位朋友生日,别忘了送上祝福!`)
.fontSize(14)
.fontColor('#ff6b6b')
.width('100%')
.padding({ top: 8 })
}
}
.width('100%')
.padding(20)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
// 数据概览
Column({ space: 16 }) {
Text('数据概览')
.fontSize(18)
.fontWeight(FontWeight.Medium)
.fontColor('#333333')
.alignSelf(ItemAlign.Start)
// 统计卡片网格
Column({ space: 12 }) {
// 第一行
Row({ space: 12 }) {
// 总联系人
this.buildStatCard('🎂', this.birthdayStats.total.toString(), '总联系人', '#ff6b6b')
// 今日生日
this.buildStatCard('🎉', this.birthdayStats.today.toString(), '今日生日', '#4ECDC4')
}
.width('100%')
.justifyContent(FlexAlign.SpaceBetween)
// 第二行
Row({ space: 12 }) {
// 7天内
this.buildStatCard('📅', this.birthdayStats.thisWeek.toString(), '7天内', '#95E1A3')
// 本月生日
this.buildStatCard('📅', this.birthdayStats.thisMonth.toString(), '本月生日', '#FFD93D')
}
.width('100%')
.justifyContent(FlexAlign.SpaceBetween)
}
}
.width('100%')
.padding(16)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
// 快捷操作
Column({ space: 16 }) {
Text('快捷操作')
.fontSize(18)
.fontWeight(FontWeight.Medium)
.fontColor('#333333')
.alignSelf(ItemAlign.Start)
// 操作按钮行
Row({ space: 12 }) {
Button('添加联系人')
.type(ButtonType.Capsule)
.fontSize(14)
.backgroundColor('#007AFF')
.fontColor('#FFFFFF')
.flexGrow(1)
.height(40)
.onClick(() => {
promptAction.showToast({
message: '打开添加联系人页面',
duration: 2000
});
})
// 生产版本:移除测试按钮
}
.width('100%')
}
.width('100%')
.padding(16)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
} else if (this.currentTabIndex === 1) {
// 联系人
Text('👥 联系人页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 2) {
// 日历
Text('📅 日历页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 3) {
// 祝福语
Text('💝 祝福语页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 4) {
// 设置
Text('⚙️ 设置页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
}
}
.layoutWeight(1)
.padding(16)
.width('100%')
}
|
AST#method_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right buildMainContent AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 16 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { // 内容显示 AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTabIndex AST#member_expression#Right AST#expression#Right === AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { // 首页 - 欢迎横幅 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 8 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 8 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '生日提醒' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 24 AST#expression#Right ) AST#modifier_chain_expression#Left . fontWeight ( AST#expression#Left AST#member_expression#Left AST#expression#Left FontWeight AST#expression#Right . Bold AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#template_literal#Left ` 今天是 AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getCurrentDateString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right 星期 AST#template_substitution#Left $ { AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getCurrentWeekday AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 14 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#666666' AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . alignItems ( AST#expression#Left AST#member_expression#Left AST#expression#Left HorizontalAlign AST#expression#Right . Start AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '🎂' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 32 AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . alignItems ( AST#expression#Left AST#member_expression#Left AST#expression#Left VerticalAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 今日生日提示 AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . today AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#template_literal#Left ` 🎉 今天有 AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . today AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right 位朋友生日,别忘了送上祝福! ` AST#template_literal#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 14 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#ff6b6b' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left top AST#property_name#Right : AST#expression#Left 8 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 20 AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Left . shadow ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left radius AST#property_name#Right : AST#expression#Left 8 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left color AST#property_name#Right : AST#expression#Left 'rgba(0,0,0,0.1)' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetX AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetY AST#property_name#Right : AST#expression#Left 2 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 数据概览 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 16 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '数据概览' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontWeight ( AST#expression#Left AST#member_expression#Left AST#expression#Left FontWeight AST#expression#Right . Medium AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . alignSelf ( AST#expression#Left AST#member_expression#Left AST#expression#Left ItemAlign AST#expression#Right . Start AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 统计卡片网格 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 12 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { // 第一行 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 12 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { // 总联系人 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildStatCard AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left '🎂' AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . total AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left '总联系人' AST#expression#Right , AST#expression#Left '#ff6b6b' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right // 今日生日 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildStatCard AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left '🎉' AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . today AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left '今日生日' AST#expression#Right , AST#expression#Left '#4ECDC4' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . justifyContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . SpaceBetween AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 第二行 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 12 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { // 7天内 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildStatCard AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left '📅' AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . thisWeek AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left '7天内' AST#expression#Right , AST#expression#Left '#95E1A3' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right // 本月生日 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . buildStatCard AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left '📅' AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . birthdayStats AST#member_expression#Right AST#expression#Right . thisMonth AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left '本月生日' AST#expression#Right , AST#expression#Left '#FFD93D' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . justifyContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . SpaceBetween AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Left . shadow ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left radius AST#property_name#Right : AST#expression#Left 8 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left color AST#property_name#Right : AST#expression#Left 'rgba(0,0,0,0.1)' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetX AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetY AST#property_name#Right : AST#expression#Left 2 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 快捷操作 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 16 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '快捷操作' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontWeight ( AST#expression#Left AST#member_expression#Left AST#expression#Left FontWeight AST#expression#Right . Medium AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . alignSelf ( AST#expression#Left AST#member_expression#Left AST#expression#Left ItemAlign AST#expression#Right . Start AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 操作按钮行 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 12 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Button ( AST#expression#Left '添加联系人' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . type ( AST#expression#Left AST#member_expression#Left AST#expression#Left ButtonType AST#expression#Right . Capsule AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 14 AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#007AFF' AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#FFFFFF' AST#expression#Right ) AST#modifier_chain_expression#Left . flexGrow ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left 40 AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left promptAction AST#expression#Right . showToast AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left message AST#property_name#Right : AST#expression#Left '打开添加联系人页面' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left duration AST#property_name#Right : AST#expression#Left 2000 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right // 生产版本:移除测试按钮 } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Left . shadow ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left radius AST#property_name#Right : AST#expression#Left 8 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left color AST#property_name#Right : AST#expression#Left 'rgba(0,0,0,0.1)' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetX AST#property_name#Right : AST#expression#Left 0 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left offsetY AST#property_name#Right : AST#expression#Left 2 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTabIndex AST#member_expression#Right AST#expression#Right === AST#expression#Left 1 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { // 联系人 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '👥 联系人页面' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . textAlign ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTabIndex AST#member_expression#Right AST#expression#Right === AST#expression#Left 2 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { // 日历 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '📅 日历页面' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . textAlign ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTabIndex AST#member_expression#Right AST#expression#Right === AST#expression#Left 3 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { // 祝福语 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '💝 祝福语页面' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . textAlign ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTabIndex AST#member_expression#Right AST#expression#Right === AST#expression#Left 4 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { // 设置 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left '⚙️ 设置页面' AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 18 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left '#333333' AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left '#ffffff' AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . textAlign ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_if_statement#Right AST#ui_if_statement#Right AST#ui_if_statement#Right AST#ui_if_statement#Right AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
@Builder
buildMainContent() {
Column({ space: 16 }) {
if (this.currentTabIndex === 0) {
Column({ space: 8 }) {
Row() {
Column({ space: 8 }) {
Text('生日提醒')
.fontSize(24)
.fontWeight(FontWeight.Bold)
.fontColor('#333333')
Text(`今天是 ${this.getCurrentDateString()} 星期${this.getCurrentWeekday()}`)
.fontSize(14)
.fontColor('#666666')
}
.alignItems(HorizontalAlign.Start)
.layoutWeight(1)
Text('🎂')
.fontSize(32)
}
.width('100%')
.alignItems(VerticalAlign.Center)
if (this.birthdayStats.today > 0) {
Text(`🎉 今天有 ${this.birthdayStats.today} 位朋友生日,别忘了送上祝福!`)
.fontSize(14)
.fontColor('#ff6b6b')
.width('100%')
.padding({ top: 8 })
}
}
.width('100%')
.padding(20)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
Column({ space: 16 }) {
Text('数据概览')
.fontSize(18)
.fontWeight(FontWeight.Medium)
.fontColor('#333333')
.alignSelf(ItemAlign.Start)
Column({ space: 12 }) {
Row({ space: 12 }) {
this.buildStatCard('🎂', this.birthdayStats.total.toString(), '总联系人', '#ff6b6b')
this.buildStatCard('🎉', this.birthdayStats.today.toString(), '今日生日', '#4ECDC4')
}
.width('100%')
.justifyContent(FlexAlign.SpaceBetween)
Row({ space: 12 }) {
this.buildStatCard('📅', this.birthdayStats.thisWeek.toString(), '7天内', '#95E1A3')
this.buildStatCard('📅', this.birthdayStats.thisMonth.toString(), '本月生日', '#FFD93D')
}
.width('100%')
.justifyContent(FlexAlign.SpaceBetween)
}
}
.width('100%')
.padding(16)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
Column({ space: 16 }) {
Text('快捷操作')
.fontSize(18)
.fontWeight(FontWeight.Medium)
.fontColor('#333333')
.alignSelf(ItemAlign.Start)
Row({ space: 12 }) {
Button('添加联系人')
.type(ButtonType.Capsule)
.fontSize(14)
.backgroundColor('#007AFF')
.fontColor('#FFFFFF')
.flexGrow(1)
.height(40)
.onClick(() => {
promptAction.showToast({
message: '打开添加联系人页面',
duration: 2000
});
})
}
.width('100%')
}
.width('100%')
.padding(16)
.backgroundColor('#ffffff')
.borderRadius(12)
.shadow({
radius: 8,
color: 'rgba(0,0,0,0.1)',
offsetX: 0,
offsetY: 2
})
} else if (this.currentTabIndex === 1) {
Text('👥 联系人页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 2) {
Text('📅 日历页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 3) {
Text('💝 祝福语页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
} else if (this.currentTabIndex === 4) {
Text('⚙️ 设置页面')
.fontSize(18)
.fontColor('#333333')
.backgroundColor('#ffffff')
.padding(16)
.width('100%')
.textAlign(TextAlign.Center)
.borderRadius(12)
}
}
.layoutWeight(1)
.padding(16)
.width('100%')
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/pages/SimpleBirthdayApp.ets#L206-L382
|
b80bf4b63aff664ffee1926491198a683ae5a3d7
|
github
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/BasicFeature/Media/Audio/entry/src/main/ets/pages/Karaoke.ets
|
arkts
|
initLoopback
|
Initialize the audio loopback
|
async initLoopback() {
let isSupported = audio.getAudioManager().getStreamManager().isAudioLoopbackSupported(this.mode);
if (isSupported) {
audio.createAudioLoopback(this.mode).then((loopback) => {
Logger.info('Invoke createAudioLoopback succeeded.');
this.audioLoopback = loopback;
this.statusText = $r('app.string.KARAOKE_INITIALIZED');
this.showStatusText();
}).catch((err: BusinessError) => {
Logger.error(`Invoke createAudioLoopback failed, code is ${err.code}, message is ${err.message}.`);
this.statusText = $r('app.string.KARAOKE_INITIALIZATION_FAILED');
this.showStatusText();
});
} else {
this.statusText = $r('app.string.KARAOKE_UNSUPPORTED_HARDWARE');
this.showStatusText();
Logger.error('Audio loopback is unsupported.');
}
}
|
AST#method_declaration#Left async initLoopback AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left isSupported = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left audio AST#expression#Right . getAudioManager AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . getStreamManager AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . isAudioLoopbackSupported AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mode AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left isSupported AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left audio AST#expression#Right . createAudioLoopback AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mode AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . then AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left loopback AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'Invoke createAudioLoopback succeeded.' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . audioLoopback AST#member_expression#Right = AST#expression#Left loopback AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . statusText AST#member_expression#Right = AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.string.KARAOKE_INITIALIZED' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . showStatusText AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . catch AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left err : AST#type_annotation#Left AST#primary_type#Left BusinessError AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Logger AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` Invoke createAudioLoopback failed, code is AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . code AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right , message is AST#template_substitution#Left $ { AST#expression#Left AST#member_expression#Left AST#expression#Left err AST#expression#Right . message AST#member_expression#Right AST#expression#Right } AST#template_substitution#Right . ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . statusText AST#member_expression#Right = AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.string.KARAOKE_INITIALIZATION_FAILED' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . showStatusText AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . statusText AST#member_expression#Right = AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.string.KARAOKE_UNSUPPORTED_HARDWARE' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . showStatusText AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Logger AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'Audio loopback is unsupported.' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
async initLoopback() {
let isSupported = audio.getAudioManager().getStreamManager().isAudioLoopbackSupported(this.mode);
if (isSupported) {
audio.createAudioLoopback(this.mode).then((loopback) => {
Logger.info('Invoke createAudioLoopback succeeded.');
this.audioLoopback = loopback;
this.statusText = $r('app.string.KARAOKE_INITIALIZED');
this.showStatusText();
}).catch((err: BusinessError) => {
Logger.error(`Invoke createAudioLoopback failed, code is ${err.code}, message is ${err.message}.`);
this.statusText = $r('app.string.KARAOKE_INITIALIZATION_FAILED');
this.showStatusText();
});
} else {
this.statusText = $r('app.string.KARAOKE_UNSUPPORTED_HARDWARE');
this.showStatusText();
Logger.error('Audio loopback is unsupported.');
}
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/BasicFeature/Media/Audio/entry/src/main/ets/pages/Karaoke.ets#L60-L78
|
cc97c9eedd91e75e945d63b0ee320369d334c6bb
|
gitee
|
Application-Security-Automation/Arktan.git
|
3ad9cb05235e38b00cd5828476aa59a345afa1c0
|
dataset/completeness/datatype/primitives/primitives_number_001_T.ets
|
arkts
|
Introduction 基础数据类型-number
|
export function primitives_number_001_T(taint_src : number) : void {
taint.Sink(taint_src);
}
|
AST#export_declaration#Left export AST#function_declaration#Left function primitives_number_001_T AST#parameter_list#Left ( AST#parameter#Left taint_src : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left taint AST#expression#Right . Sink AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left taint_src AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right AST#export_declaration#Right
|
export function primitives_number_001_T(taint_src : number) : void {
taint.Sink(taint_src);
}
|
https://github.com/Application-Security-Automation/Arktan.git/blob/3ad9cb05235e38b00cd5828476aa59a345afa1c0/dataset/completeness/datatype/primitives/primitives_number_001_T.ets#L7-L9
|
6fba1f8535e8259f86df7b9f19331afa97c014a3
|
github
|
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/common/utils/src/main/ets/utils/NWebUtils.ets
|
arkts
|
创建web实例,如果已经存在web实例,复用
@param url
@param uiContext
|
export function createNWeb(url: string, uiContext: UIContext): void {
if (currentNode.webController && currentNode.nWebController && currentNode.url !== url ||
!currentNode.lastNetAvailable) {
loadUrl(url);
currentNode.lastNetAvailable = connection.hasDefaultNetSync();
return;
}
clearHelperWeb();
let baseNode = new NWebNodeController();
let controller = new webview.WebviewController();
// 初始化自定义web组件
baseNode.initWeb(url, uiContext, controller);
currentNode.url = url;
currentNode.webController = controller;
currentNode.nWebController = baseNode;
currentNode.lastNetAvailable = connection.hasDefaultNetSync();
}
|
AST#export_declaration#Left export AST#function_declaration#Left function createNWeb AST#parameter_list#Left ( AST#parameter#Left url : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left uiContext : AST#type_annotation#Left AST#primary_type#Left UIContext AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . webController AST#member_expression#Right AST#expression#Right && AST#expression#Left currentNode AST#expression#Right AST#binary_expression#Right AST#expression#Right . nWebController AST#member_expression#Right AST#expression#Right && AST#expression#Left currentNode AST#expression#Right AST#binary_expression#Right AST#expression#Right . url AST#member_expression#Right AST#expression#Right !== AST#expression#Left url AST#expression#Right AST#binary_expression#Right AST#expression#Right || AST#expression#Left AST#unary_expression#Left ! AST#expression#Left currentNode AST#expression#Right AST#unary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right . lastNetAvailable AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left loadUrl AST#expression#Right AST#argument_list#Left ( AST#expression#Left url AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . lastNetAvailable AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left connection AST#expression#Right . hasDefaultNetSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left clearHelperWeb AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left baseNode = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left NWebNodeController AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left controller = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left webview AST#expression#Right AST#new_expression#Right AST#expression#Right . WebviewController AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 初始化自定义web组件 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left baseNode AST#expression#Right . initWeb AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left url AST#expression#Right , AST#expression#Left uiContext AST#expression#Right , AST#expression#Left controller AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . url AST#member_expression#Right = AST#expression#Left url AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . webController AST#member_expression#Right = AST#expression#Left controller AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . nWebController AST#member_expression#Right = AST#expression#Left baseNode AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left currentNode AST#expression#Right . lastNetAvailable AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left connection AST#expression#Right . hasDefaultNetSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right AST#export_declaration#Right
|
export function createNWeb(url: string, uiContext: UIContext): void {
if (currentNode.webController && currentNode.nWebController && currentNode.url !== url ||
!currentNode.lastNetAvailable) {
loadUrl(url);
currentNode.lastNetAvailable = connection.hasDefaultNetSync();
return;
}
clearHelperWeb();
let baseNode = new NWebNodeController();
let controller = new webview.WebviewController();
baseNode.initWeb(url, uiContext, controller);
currentNode.url = url;
currentNode.webController = controller;
currentNode.nWebController = baseNode;
currentNode.lastNetAvailable = connection.hasDefaultNetSync();
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/common/utils/src/main/ets/utils/NWebUtils.ets#L125-L141
|
59a205ecaf40011349e9f2ca5be2e20070392f4e
|
gitee
|
|
charon2pluto/MoodDiary-HarmonyOS.git
|
0ec7ee6861e150bc9b4571062dbf302d1b106b8c
|
entry/src/main/ets/pages/Index.ets
|
arkts
|
generateDailyQuote
|
★★★ 修改点1:逻辑改为“每次都刷新” ★★★
|
generateDailyQuote() {
// 之前我们判断了日期,现在直接移除判断,每次进来都随机
const index = Math.floor(Math.random() * this.quotes.length);
const newQuote = this.quotes[index];
// 更新显示
this.todayQuote = newQuote;
// 顺便更新一下本地存储(虽然现在不依赖它来“锁住”语录了,但保持数据最新也不错)
this.appQuoteContent = newQuote;
this.appQuoteDate = new Date().toDateString();
}
|
AST#method_declaration#Left generateDailyQuote AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { // 之前我们判断了日期,现在直接移除判断,每次进来都随机 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left index = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . random AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right * AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . quotes AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left newQuote = AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . quotes AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 更新显示 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . todayQuote AST#member_expression#Right = AST#expression#Left newQuote AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right // 顺便更新一下本地存储(虽然现在不依赖它来“锁住”语录了,但保持数据最新也不错) AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . appQuoteContent AST#member_expression#Right = AST#expression#Left newQuote AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . appQuoteDate AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Date AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . toDateString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
generateDailyQuote() {
const index = Math.floor(Math.random() * this.quotes.length);
const newQuote = this.quotes[index];
this.todayQuote = newQuote;
this.appQuoteContent = newQuote;
this.appQuoteDate = new Date().toDateString();
}
|
https://github.com/charon2pluto/MoodDiary-HarmonyOS.git/blob/0ec7ee6861e150bc9b4571062dbf302d1b106b8c/entry/src/main/ets/pages/Index.ets#L80-L91
|
1199a438b4453f5e3b4a9d6dee246c1c06676e62
|
github
|
huangwei021230/HarmonyFlow.git
|
427f918873b0c9efdc975ff4889726b1bfccc546
|
entry/src/main/ets/ime/popup/PopupSet.ets
|
arkts
|
initPopupList
|
Initializes the list of popup keys based on the specified key hint configuration.
@param keyHintConfiguration The key hint configuration to use.
@returns The initialized popup keys.
|
private initPopupList(keyHintConfiguration: KeyHintConfiguration): PopupKeys<T> {
// Retrieve local copies of relevant properties
const localMain = this.main;
const localRelevant = this.relevant;
const localSymbolHint = this.symbolHint;
const localNumberHint = this.numberHint;
// Check if symbol hint is enabled and available
if (localSymbolHint !== null && keyHintConfiguration.symbolHintMode !== KeyHintMode.DISABLED) {
// Check if number hint is enabled and available
if (localNumberHint !== null && keyHintConfiguration.numberHintMode !== KeyHintMode.DISABLED) {
// Determine whether to merge hint popups
const hintPopups = keyHintConfiguration.mergeHintPopups ? [...this.symbolPopups, ...this.numberPopups] : [];
// Choose popup keys based on symbol hint mode
switch (keyHintConfiguration.symbolHintMode) {
case KeyHintMode.ACCENT_PRIORITY:
switch (keyHintConfiguration.numberHintMode) {
// when both hints are present in accent priority, always have a non-hint key first if possible
case KeyHintMode.ACCENT_PRIORITY:
if (localMain !== null) {
return new PopupKeys<T>(localSymbolHint, [localMain, localSymbolHint, localNumberHint], localRelevant.concat(hintPopups));
} else if (localRelevant.length > 0) {
return new PopupKeys<T>(localSymbolHint, [localRelevant[0], localSymbolHint, localNumberHint], localRelevant.slice(1).concat(hintPopups));
} else {
return new PopupKeys<T>(localSymbolHint, [localSymbolHint, localNumberHint], hintPopups);
}
// hint priority of number hint wins and overrules accent priority of symbol hint
case KeyHintMode.HINT_PRIORITY:
return new PopupKeys<T>(localSymbolHint, [localNumberHint, localMain, localSymbolHint].filter(x => x !== null), localRelevant.concat(hintPopups));
// due to smart priority of number hint, main wins if it exists, otherwise number hint overrules accent priority of symbol hint
default:
return new PopupKeys<T>(localSymbolHint, [localMain, localNumberHint, localSymbolHint].filter(x => x !== null), localRelevant.concat(hintPopups));
}
|
AST#method_declaration#Left private initPopupList AST#parameter_list#Left ( AST#parameter#Left keyHintConfiguration : AST#type_annotation#Left AST#primary_type#Left KeyHintConfiguration AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#ERROR#Left : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left PopupKeys AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right { // Retrieve local copies of relevant properties AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left localMain = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . main AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left localRelevant = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . relevant AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left localSymbolHint = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . symbolHint AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left localNumberHint = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . numberHint AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // Check if symbol hint is enabled and available if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left localSymbolHint AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left keyHintConfiguration AST#expression#Right AST#binary_expression#Right AST#expression#Right . symbolHintMode AST#member_expression#Right AST#expression#Right !== AST#expression#Left KeyHintMode AST#expression#Right AST#binary_expression#Right AST#expression#Right . DISABLED AST#member_expression#Right AST#expression#Right ) { // Check if number hint is enabled and available if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left localNumberHint AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left keyHintConfiguration AST#expression#Right AST#binary_expression#Right AST#expression#Right . numberHintMode AST#member_expression#Right AST#expression#Right !== AST#expression#Left KeyHintMode AST#expression#Right AST#binary_expression#Right AST#expression#Right . DISABLED AST#member_expression#Right AST#expression#Right AST#ERROR#Left ) { // Determine whether to merge hint popups AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left hintPopups = AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left keyHintConfiguration AST#expression#Right . mergeHintPopups AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#array_literal#Left [ ... AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . symbolPopups AST#member_expression#Right AST#expression#Right , ... AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . numberPopups AST#member_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right : AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#conditional_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // Choose popup keys based on symbol hint mode AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left switch AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left keyHintConfiguration AST#expression#Right . symbolHintMode AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right { AST#property_name#Left case AST#property_name#Right KeyH AST#ERROR#Right in AST#expression#Left tMode AST#expression#Right AST#binary_expression#Right AST#expression#Right . ACCENT_PRIORITY AST#member_expression#Right AST#expression#Right AST#ERROR#Right : AST#ERROR#Left switch AST#ERROR#Right AST#type_annotation#Left AST#primary_type#Left AST#parenthesized_type#Left ( AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left keyHintConfiguration . numberHintMode AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right ) AST#parenthesized_type#Right AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { // when both hints are present in accent priority, always have a non-hint key first if possible AST#expression_statement#Left AST#expression#Left case AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#member_expression#Left AST#expression#Left KeyHintMode AST#expression#Right . ACCENT_PRIORITY AST#member_expression#Right AST#expression#Right AST#expression_statement#Right AST#ERROR#Left : AST#ERROR#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left localMain AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left return AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left PopupKeys AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left AST#array_literal#Left [ AST#expression#Left localMain AST#expression#Right , AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left localNumberHint AST#expression#Right ] AST#array_literal#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localRelevant AST#expression#Right . concat AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left hintPopups AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } else AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localRelevant AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left return AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left PopupKeys AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#subscript_expression#Left AST#expression#Left localRelevant AST#expression#Right [ AST#expression#Left 0 AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right , AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left localNumberHint AST#expression#Right ] AST#array_literal#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localRelevant AST#expression#Right . slice AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 1 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . concat AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left hintPopups AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } else { AST#expression_statement#Left AST#expression#Left return AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left PopupKeys AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left AST#array_literal#Left [ AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left localNumberHint AST#expression#Right ] AST#array_literal#Right AST#expression#Right , AST#expression#Left hintPopups AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_if_statement#Right AST#ui_control_flow#Right // hint priority of number hint wins and overrules accent priority of symbol hint AST#expression_statement#Left AST#expression#Left case AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#member_expression#Left AST#expression#Left KeyHintMode AST#expression#Right . HINT_PRIORITY AST#member_expression#Right AST#expression#Right AST#expression_statement#Right AST#ERROR#Left : return AST#ERROR#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left PopupKeys AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#array_literal#Left [ AST#expression#Left localNumberHint AST#expression#Right , AST#expression#Left localMain AST#expression#Right , AST#expression#Left localSymbolHint AST#expression#Right ] AST#array_literal#Right AST#expression#Right . filter AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left x => AST#expression#Left AST#binary_expression#Left AST#expression#Left x AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localRelevant AST#expression#Right . concat AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left hintPopups AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right // due to smart priority of number hint, main wins if it exists, otherwise number hint overrules accent priority of symbol hint AST#expression_statement#Left AST#expression#Left default AST#expression#Right AST#expression_statement#Right AST#ERROR#Left : return AST#ERROR#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left PopupKeys AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left T AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left localSymbolHint AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#array_literal#Left [ AST#expression#Left localMain AST#expression#Right , AST#expression#Left localNumberHint AST#expression#Right , AST#expression#Left localSymbolHint AST#expression#Right ] AST#array_literal#Right AST#expression#Right . filter AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left x => AST#expression#Left AST#binary_expression#Left AST#expression#Left x AST#expression#Right !== AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left localRelevant AST#expression#Right . concat AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left hintPopups AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
private initPopupList(keyHintConfiguration: KeyHintConfiguration): PopupKeys<T> {
const localMain = this.main;
const localRelevant = this.relevant;
const localSymbolHint = this.symbolHint;
const localNumberHint = this.numberHint;
if (localSymbolHint !== null && keyHintConfiguration.symbolHintMode !== KeyHintMode.DISABLED) {
if (localNumberHint !== null && keyHintConfiguration.numberHintMode !== KeyHintMode.DISABLED) {
const hintPopups = keyHintConfiguration.mergeHintPopups ? [...this.symbolPopups, ...this.numberPopups] : [];
switch (keyHintConfiguration.symbolHintMode) {
case KeyHintMode.ACCENT_PRIORITY:
switch (keyHintConfiguration.numberHintMode) {
case KeyHintMode.ACCENT_PRIORITY:
if (localMain !== null) {
return new PopupKeys<T>(localSymbolHint, [localMain, localSymbolHint, localNumberHint], localRelevant.concat(hintPopups));
} else if (localRelevant.length > 0) {
return new PopupKeys<T>(localSymbolHint, [localRelevant[0], localSymbolHint, localNumberHint], localRelevant.slice(1).concat(hintPopups));
} else {
return new PopupKeys<T>(localSymbolHint, [localSymbolHint, localNumberHint], hintPopups);
}
case KeyHintMode.HINT_PRIORITY:
return new PopupKeys<T>(localSymbolHint, [localNumberHint, localMain, localSymbolHint].filter(x => x !== null), localRelevant.concat(hintPopups));
default:
return new PopupKeys<T>(localSymbolHint, [localMain, localNumberHint, localSymbolHint].filter(x => x !== null), localRelevant.concat(hintPopups));
}
|
https://github.com/huangwei021230/HarmonyFlow.git/blob/427f918873b0c9efdc975ff4889726b1bfccc546/entry/src/main/ets/ime/popup/PopupSet.ets#L146-L178
|
49f14be4457f48d76bd86a3cf1b2470896d79899
|
github
|
yunkss/ef-tool
|
75f6761a0f2805d97183504745bf23c975ae514d
|
ef_crypto/src/main/ets/crypto/encryption/DES.ets
|
arkts
|
decodeCBC
|
解密-CBC模式
@param str 加密的字符串
@param aesKey 3DES密钥
@param iv iv偏移量字符串
@returns
|
static async decodeCBC(str: string, desKey: string, iv: string): Promise<string> {
return CryptoUtil.decodeCBC(str, desKey, iv, '3DES192', '3DES192|CBC|PKCS7', 192);
}
|
AST#method_declaration#Left static async decodeCBC AST#parameter_list#Left ( AST#parameter#Left str : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left desKey : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left iv : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CryptoUtil AST#expression#Right . decodeCBC AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left str AST#expression#Right , AST#expression#Left desKey AST#expression#Right , AST#expression#Left iv AST#expression#Right , AST#expression#Left '3DES192' AST#expression#Right , AST#expression#Left '3DES192|CBC|PKCS7' AST#expression#Right , AST#expression#Left 192 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static async decodeCBC(str: string, desKey: string, iv: string): Promise<string> {
return CryptoUtil.decodeCBC(str, desKey, iv, '3DES192', '3DES192|CBC|PKCS7', 192);
}
|
https://github.com/yunkss/ef-tool/blob/75f6761a0f2805d97183504745bf23c975ae514d/ef_crypto/src/main/ets/crypto/encryption/DES.ets#L74-L76
|
2be4a7226b7accb8e2ab8b0e946cfb94d34d93e3
|
gitee
|
Joker-x-dev/CoolMallArkTS.git
|
9f3fabf89fb277692cb82daf734c220c7282919c
|
feature/main/src/main/ets/navigation/MainGraph.ets
|
arkts
|
@file 主模块导航图
@author Joker.X
|
export class MainGraph implements RouteGraph {
/**
* 注册主模块导航路由
*/
register(): void {
RouteBuild.register(MainRoutes.Main, wrapBuilder(MainNav));
RouteBuild.register(MainRoutes.Home, wrapBuilder(HomeNav));
RouteBuild.register(MainRoutes.Category, wrapBuilder(CategoryNav));
RouteBuild.register(MainRoutes.Cart, wrapBuilder(CartNav));
RouteBuild.register(MainRoutes.Me, wrapBuilder(MeNav));
}
}
|
AST#export_declaration#Left export AST#class_declaration#Left class MainGraph AST#implements_clause#Left implements RouteGraph AST#implements_clause#Right AST#class_body#Left { /**
* 注册主模块导航路由
*/ AST#method_declaration#Left register AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouteBuild AST#expression#Right . register AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left MainRoutes AST#expression#Right . Main AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left MainNav AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouteBuild AST#expression#Right . register AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left MainRoutes AST#expression#Right . Home AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left HomeNav AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouteBuild AST#expression#Right . register AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left MainRoutes AST#expression#Right . Category AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left CategoryNav AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouteBuild AST#expression#Right . register AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left MainRoutes AST#expression#Right . Cart AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left CartNav AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouteBuild AST#expression#Right . register AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left MainRoutes AST#expression#Right . Me AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left wrapBuilder AST#expression#Right AST#argument_list#Left ( AST#expression#Left MeNav AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class MainGraph implements RouteGraph {
register(): void {
RouteBuild.register(MainRoutes.Main, wrapBuilder(MainNav));
RouteBuild.register(MainRoutes.Home, wrapBuilder(HomeNav));
RouteBuild.register(MainRoutes.Category, wrapBuilder(CategoryNav));
RouteBuild.register(MainRoutes.Cart, wrapBuilder(CartNav));
RouteBuild.register(MainRoutes.Me, wrapBuilder(MeNav));
}
}
|
https://github.com/Joker-x-dev/CoolMallArkTS.git/blob/9f3fabf89fb277692cb82daf734c220c7282919c/feature/main/src/main/ets/navigation/MainGraph.ets#L13-L24
|
8eb3d63788570e0729340e7865cd6043af60b5fc
|
github
|
|
Piagari/arkts_example.git
|
a63b868eaa2a50dc480d487b84c4650cc6a40fc8
|
hmos_app-main/hmos_app-main/MoneyTrack-master/commons/commonlib/src/main/ets/utils/router/Router.ets
|
arkts
|
clear
|
清除栈中的所有页面
|
public static clear(animated?: boolean) {
try {
RouterModule._stack.clear(animated);
} catch (err) {
Logger.error(
TAG,
'navigation stack clear failed::' + JSON.stringify(err),
);
}
}
|
AST#method_declaration#Left public static clear AST#parameter_list#Left ( AST#parameter#Left animated ? : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left RouterModule AST#expression#Right . _stack AST#member_expression#Right AST#expression#Right . clear AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left animated AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( err ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Logger AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left TAG AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left 'navigation stack clear failed::' AST#expression#Right + AST#expression#Left JSON AST#expression#Right AST#binary_expression#Right AST#expression#Right . stringify AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left err AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right , AST#expression#Left AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
public static clear(animated?: boolean) {
try {
RouterModule._stack.clear(animated);
} catch (err) {
Logger.error(
TAG,
'navigation stack clear failed::' + JSON.stringify(err),
);
}
}
|
https://github.com/Piagari/arkts_example.git/blob/a63b868eaa2a50dc480d487b84c4650cc6a40fc8/hmos_app-main/hmos_app-main/MoneyTrack-master/commons/commonlib/src/main/ets/utils/router/Router.ets#L70-L79
|
c46f9ef1b1c2e80a921d7744811a8b431baa972e
|
github
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_dialog/src/main/ets/utils/CacheHelper.ets
|
arkts
|
put
|
添加缓存到lruCache中
|
public static put(key: string, value: Object) {
CacheHelper.lruCache.put(key, value);
}
|
AST#method_declaration#Left public static put AST#parameter_list#Left ( AST#parameter#Left key : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left value : AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CacheHelper AST#expression#Right . lruCache AST#member_expression#Right AST#expression#Right . put AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left key AST#expression#Right , AST#expression#Left value AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public static put(key: string, value: Object) {
CacheHelper.lruCache.put(key, value);
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_dialog/src/main/ets/utils/CacheHelper.ets#L39-L41
|
4eb338db594a057bc56de90e4855042371f70614
|
gitee
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/components/YAxis.ets
|
arkts
|
setInverted
|
If this is set to true, the y-axis is inverted which means that low values are on top of
the chart, high values
on bottom.
@param enabled
|
public setInverted(enabled: boolean): void {
this.mInverted = enabled;
}
|
AST#method_declaration#Left public setInverted AST#parameter_list#Left ( AST#parameter#Left enabled : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mInverted AST#member_expression#Right = AST#expression#Left enabled AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
public setInverted(enabled: boolean): void {
this.mInverted = enabled;
}
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/components/YAxis.ets#L303-L305
|
0c63f9315dde5e3d1556ce3ad53a79be8e87f67d
|
gitee
|
xixi-cquer/BiJiDaiBan.git
|
206dc33a837acbe6fc837feff848427e83946534
|
entry/src/main/ets/common/constants/Constants.ets
|
arkts
|
The RefreshConstant constants.
|
export const enum RefreshConstant {
DELAY_PULL_DOWN_REFRESH = 50,
CLOSE_PULL_DOWN_REFRESH_TIME = 150,
DELAY_SHRINK_ANIMATION_TIME = 500
}
|
AST#export_declaration#Left export AST#enum_declaration#Left const enum RefreshConstant AST#enum_body#Left { AST#enum_member#Left DELAY_PULL_DOWN_REFRESH = AST#expression#Left 50 AST#expression#Right AST#enum_member#Right , AST#enum_member#Left CLOSE_PULL_DOWN_REFRESH_TIME = AST#expression#Left 150 AST#expression#Right AST#enum_member#Right , AST#enum_member#Left DELAY_SHRINK_ANIMATION_TIME = AST#expression#Left 500 AST#expression#Right AST#enum_member#Right } AST#enum_body#Right AST#enum_declaration#Right AST#export_declaration#Right
|
export const enum RefreshConstant {
DELAY_PULL_DOWN_REFRESH = 50,
CLOSE_PULL_DOWN_REFRESH_TIME = 150,
DELAY_SHRINK_ANIMATION_TIME = 500
}
|
https://github.com/xixi-cquer/BiJiDaiBan.git/blob/206dc33a837acbe6fc837feff848427e83946534/entry/src/main/ets/common/constants/Constants.ets#L159-L163
|
1cc42ed037250b1b9f5acc626598c55de5f9d30e
|
github
|
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/calendarswitch/src/main/ets/customcalendar/utils/StyleUtils.ets
|
arkts
|
样式工具类
|
export class StyleUtils {
/**
* 获取公历日期字体颜色(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月份
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/
static getColor(day: Day, month: number, currentSelectDay: DayInfo, calendarViewType: CalendarViewType,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
const IS_CURRENT_MONTH: boolean = (month === day.dayInfo.month);
if (!IS_CURRENT_MONTH && (calendarViewType === CalendarViewType.MONTH)) {
return CalendarStyle.noMonthDayColor ? CalendarStyle.noMonthDayColor : Color.Gray;
} else if (IS_SELECT_DAY && IS_TODAY) {
return Color.White;
} else if (!IS_SELECT_DAY && IS_TODAY) {
return Color.Red;
} else {
return CalendarStyle.monthDayColor ? CalendarStyle.monthDayColor : Color.Black;
}
}
/**
* 获取日期农历字体颜色(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/
static getLunarDayColor(day: Day, month: number, currentSelectDay: DayInfo, calendarViewType: CalendarViewType,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
const IS_CURRENT_MONTH: boolean = (month === day.dayInfo.month);
if (!IS_CURRENT_MONTH && (calendarViewType === CalendarViewType.MONTH)) {
return Color.Gray;
} else if (IS_SELECT_DAY && IS_TODAY) {
return Color.White;
} else if (!IS_SELECT_DAY && IS_TODAY) {
return Color.Red;
} else {
return CalendarStyle.lunarColor ? CalendarStyle.lunarColor : Color.Gray;
}
}
/**
* 获取日期背景色(仅用于月视图和周视图)
* @param day 日期信息
* @param currentSelectDay 当前选择的日期
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/
static getBackgroundColor(day: Day, currentSelectDay: DayInfo,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
if (IS_TODAY && IS_SELECT_DAY) {
return CalendarStyle.backgroundColor ? CalendarStyle.backgroundColor : Color.Red;
} else {
return Color.Transparent;
}
}
/**
* 获取日期选中框宽度(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @returns 返回颜色
*/
static getBorderWidth(day: Day, month: number, currentSelectDay: DayInfo,
calendarViewType: CalendarViewType): number {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
// 判断是否为选定日期且非今天
const IS_SELECTED_AND_NOT_TODAY = !IS_TODAY && IS_SELECT_DAY;
switch (calendarViewType) {
case CalendarViewType.MONTH:
// 如果处于月视图,并且日期是选定且非今天,且月份匹配
if (IS_SELECTED_AND_NOT_TODAY && day.dayInfo.month === month) {
return Constants.SELECT_DATE_BORDER_WIDTH;
}
break;
case CalendarViewType.WEEK:
// 如果处于周视图,并且日期是选定且非今天
if (IS_SELECTED_AND_NOT_TODAY) {
return Constants.SELECT_DATE_BORDER_WIDTH;
}
|
AST#export_declaration#Left export AST#class_declaration#Left class StyleUtils AST#class_body#Left { /**
* 获取公历日期字体颜色(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月份
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/ AST#method_declaration#Left static getColor AST#parameter_list#Left ( AST#parameter#Left day : AST#type_annotation#Left AST#primary_type#Left Day AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left month : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left currentSelectDay : AST#type_annotation#Left AST#primary_type#Left DayInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left calendarViewType : AST#type_annotation#Left AST#primary_type#Left CalendarViewType AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left CalendarStyle : AST#type_annotation#Left AST#primary_type#Left CalendarStyle AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Color AST#primary_type#Right | AST#primary_type#Left number AST#primary_type#Right | AST#primary_type#Left string AST#primary_type#Right | AST#primary_type#Left Resource AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_SELECT_DAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left currentSelectDay AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_TODAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left day AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_YEAR AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_MONTH AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_CURRENT_MONTH : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left month AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left IS_CURRENT_MONTH AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left calendarViewType AST#expression#Right === AST#expression#Left CalendarViewType AST#expression#Right AST#binary_expression#Right AST#expression#Right . MONTH AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . noMonthDayColor AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . noMonthDayColor AST#member_expression#Right AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Gray AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left IS_SELECT_DAY AST#expression#Right && AST#expression#Left IS_TODAY AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left IS_SELECT_DAY AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left IS_TODAY AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Red AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . monthDayColor AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . monthDayColor AST#member_expression#Right AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Black AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 获取日期农历字体颜色(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/ AST#method_declaration#Left static getLunarDayColor AST#parameter_list#Left ( AST#parameter#Left day : AST#type_annotation#Left AST#primary_type#Left Day AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left month : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left currentSelectDay : AST#type_annotation#Left AST#primary_type#Left DayInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left calendarViewType : AST#type_annotation#Left AST#primary_type#Left CalendarViewType AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left CalendarStyle : AST#type_annotation#Left AST#primary_type#Left CalendarStyle AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Color AST#primary_type#Right | AST#primary_type#Left number AST#primary_type#Right | AST#primary_type#Left string AST#primary_type#Right | AST#primary_type#Left Resource AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_SELECT_DAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left currentSelectDay AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_TODAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left day AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_YEAR AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_MONTH AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_CURRENT_MONTH : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left month AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left IS_CURRENT_MONTH AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left calendarViewType AST#expression#Right === AST#expression#Left CalendarViewType AST#expression#Right AST#binary_expression#Right AST#expression#Right . MONTH AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Gray AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left IS_SELECT_DAY AST#expression#Right && AST#expression#Left IS_TODAY AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left IS_SELECT_DAY AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left IS_TODAY AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Red AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . lunarColor AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . lunarColor AST#member_expression#Right AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Gray AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 获取日期背景色(仅用于月视图和周视图)
* @param day 日期信息
* @param currentSelectDay 当前选择的日期
* @param CalendarStyle 自定义日历样式
* @returns 返回颜色
*/ AST#method_declaration#Left static getBackgroundColor AST#parameter_list#Left ( AST#parameter#Left day : AST#type_annotation#Left AST#primary_type#Left Day AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left currentSelectDay : AST#type_annotation#Left AST#primary_type#Left DayInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left CalendarStyle : AST#type_annotation#Left AST#primary_type#Left CalendarStyle AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Color AST#primary_type#Right | AST#primary_type#Left number AST#primary_type#Right | AST#primary_type#Left string AST#primary_type#Right | AST#primary_type#Left Resource AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_SELECT_DAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left currentSelectDay AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_TODAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left day AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_YEAR AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_MONTH AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left IS_TODAY AST#expression#Right && AST#expression#Left IS_SELECT_DAY AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . backgroundColor AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left CalendarStyle AST#expression#Right . backgroundColor AST#member_expression#Right AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Red AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Transparent AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right /**
* 获取日期选中框宽度(仅用于月视图和周视图)
* @param day 日期信息
* @param month 月
* @param currentSelectDay 当前选择的日期
* @param calendarViewType 日历视图类型
* @returns 返回颜色
*/ AST#method_declaration#Left static getBorderWidth AST#parameter_list#Left ( AST#parameter#Left day : AST#type_annotation#Left AST#primary_type#Left Day AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left month : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left currentSelectDay : AST#type_annotation#Left AST#primary_type#Left DayInfo AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left calendarViewType : AST#type_annotation#Left AST#primary_type#Left CalendarViewType AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#ERROR#Left AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_SELECT_DAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left currentSelectDay AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right && AST#expression#Left currentSelectDay AST#expression#Right AST#binary_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_TODAY : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left day AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . year AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_YEAR AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY_MONTH AST#member_expression#Right AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . date AST#member_expression#Right AST#expression#Right === AST#expression#Left Constants AST#expression#Right AST#binary_expression#Right AST#expression#Right . TODAY AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 判断是否为选定日期且非今天 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left IS_SELECTED_AND_NOT_TODAY = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left IS_TODAY AST#expression#Right AST#unary_expression#Right AST#expression#Right && AST#expression#Left IS_SELECT_DAY AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left switch AST#expression#Right AST#argument_list#Left ( AST#expression#Left calendarViewType AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right { AST#property_name#Left case AST#property_name#Right CalendarView Type AST#modifier_chain_expression#Left . MONTH AST#ERROR#Left : // 如果处于月视图,并且日期是选定且非今天,且月份匹配 if AST#ERROR#Right ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left IS_SELECTED_AND_NOT_TODAY AST#expression#Right && AST#expression#Left day AST#expression#Right AST#binary_expression#Right AST#expression#Right . dayInfo AST#member_expression#Right AST#expression#Right . month AST#member_expression#Right AST#expression#Right === AST#expression#Left month AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right { AST#ERROR#Right AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#member_expression#Left AST#expression#Left Constants AST#expression#Right . SELECT_DATE_BORDER_WIDTH AST#member_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right AST#property_declaration#Left break ; AST#property_declaration#Right AST#property_declaration#Left case AST#ERROR#Left CalendarView Type . WEEK AST#ERROR#Right : // 如果处于周视图,并且日期是选定且非今天 AST#ERROR#Left if AST#ERROR#Right AST#type_annotation#Left AST#primary_type#Left AST#parenthesized_type#Left ( AST#type_annotation#Left AST#primary_type#Left IS_SELECTED_AND_NOT_TODAY AST#primary_type#Right AST#type_annotation#Right ) AST#parenthesized_type#Right AST#primary_type#Right AST#type_annotation#Right AST#ERROR#Left { return Constants . SELECT_DATE_BORDER_WIDTH AST#ERROR#Right ; AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class StyleUtils {
static getColor(day: Day, month: number, currentSelectDay: DayInfo, calendarViewType: CalendarViewType,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
const IS_CURRENT_MONTH: boolean = (month === day.dayInfo.month);
if (!IS_CURRENT_MONTH && (calendarViewType === CalendarViewType.MONTH)) {
return CalendarStyle.noMonthDayColor ? CalendarStyle.noMonthDayColor : Color.Gray;
} else if (IS_SELECT_DAY && IS_TODAY) {
return Color.White;
} else if (!IS_SELECT_DAY && IS_TODAY) {
return Color.Red;
} else {
return CalendarStyle.monthDayColor ? CalendarStyle.monthDayColor : Color.Black;
}
}
static getLunarDayColor(day: Day, month: number, currentSelectDay: DayInfo, calendarViewType: CalendarViewType,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
const IS_CURRENT_MONTH: boolean = (month === day.dayInfo.month);
if (!IS_CURRENT_MONTH && (calendarViewType === CalendarViewType.MONTH)) {
return Color.Gray;
} else if (IS_SELECT_DAY && IS_TODAY) {
return Color.White;
} else if (!IS_SELECT_DAY && IS_TODAY) {
return Color.Red;
} else {
return CalendarStyle.lunarColor ? CalendarStyle.lunarColor : Color.Gray;
}
}
static getBackgroundColor(day: Day, currentSelectDay: DayInfo,
CalendarStyle: CalendarStyle): Color | number | string | Resource {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
if (IS_TODAY && IS_SELECT_DAY) {
return CalendarStyle.backgroundColor ? CalendarStyle.backgroundColor : Color.Red;
} else {
return Color.Transparent;
}
}
static getBorderWidth(day: Day, month: number, currentSelectDay: DayInfo,
calendarViewType: CalendarViewType): number {
const IS_SELECT_DAY: boolean =
currentSelectDay.year === day.dayInfo.year && currentSelectDay.month === day.dayInfo.month &&
currentSelectDay.date === day.dayInfo.date;
const IS_TODAY: boolean =
day.dayInfo.year === Constants.TODAY_YEAR && day.dayInfo.month === Constants.TODAY_MONTH &&
day.dayInfo.date === Constants.TODAY;
const IS_SELECTED_AND_NOT_TODAY = !IS_TODAY && IS_SELECT_DAY;
switch (calendarViewType) {
case CalendarViewType.MONTH:
if (IS_SELECTED_AND_NOT_TODAY && day.dayInfo.month === month) {
return Constants.SELECT_DATE_BORDER_WIDTH;
}
break;
case CalendarViewType.WEEK:
if (IS_SELECTED_AND_NOT_TODAY) {
return Constants.SELECT_DATE_BORDER_WIDTH;
}
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/calendarswitch/src/main/ets/customcalendar/utils/StyleUtils.ets#L23-L133
|
af894428e1bb7e76323378ddd2c485b1b014a421
|
gitee
|
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/BasicFeature/Security/KeyManager/entry/src/main/ets/server/LocalMockServer.ets
|
arkts
|
receiveMessageFromClient
|
获取客户端消息
|
async receiveMessageFromClient(message: string): Promise<void> {
sendProcessMessage("模拟服务端接收到数据,开始解密...", MessagePosition.Left);
// 解密
let decryptedMessage = await aesGcmDecrypt(message, this.aesKey);
sendProcessMessage(`模拟服务端解密成功,解密结果:${decryptedMessage}`, MessagePosition.Left);
// 存储
this.messageStorage.push(decryptedMessage);
}
|
AST#method_declaration#Left async receiveMessageFromClient AST#parameter_list#Left ( AST#parameter#Left message : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#ui_custom_component_statement#Left sendProcessMessage ( AST#expression#Left "模拟服务端接收到数据,开始解密..." AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left MessagePosition AST#expression#Right . Left AST#member_expression#Right AST#expression#Right ) ; AST#ui_custom_component_statement#Right // 解密 AST#expression_statement#Left AST#expression#Left let AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left decryptedMessage = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left aesGcmDecrypt AST#expression#Right AST#await_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left message AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . aesKey AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#ui_custom_component_statement#Left sendProcessMessage ( AST#expression#Left AST#template_literal#Left ` 模拟服务端解密成功,解密结果: AST#template_substitution#Left $ { AST#expression#Left decryptedMessage AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left MessagePosition AST#expression#Right . Left AST#member_expression#Right AST#expression#Right ) ; AST#ui_custom_component_statement#Right // 存储 AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . messageStorage AST#member_expression#Right AST#expression#Right . push AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left decryptedMessage AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
async receiveMessageFromClient(message: string): Promise<void> {
sendProcessMessage("模拟服务端接收到数据,开始解密...", MessagePosition.Left);
let decryptedMessage = await aesGcmDecrypt(message, this.aesKey);
sendProcessMessage(`模拟服务端解密成功,解密结果:${decryptedMessage}`, MessagePosition.Left);
this.messageStorage.push(decryptedMessage);
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/BasicFeature/Security/KeyManager/entry/src/main/ets/server/LocalMockServer.ets#L69-L76
|
a8013d6d8a72a2e3264ca067244b90db215f1527
|
gitee
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/customscan/Index.ets
|
arkts
|
CustomScanPage
|
Copyright (c) 2024 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
export { CustomScanPage } from './src/main/ets/pages/CustomScanPage';
|
AST#export_declaration#Left export { CustomScanPage } from './src/main/ets/pages/CustomScanPage' ; AST#export_declaration#Right
|
export { CustomScanPage } from './src/main/ets/pages/CustomScanPage';
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/customscan/Index.ets#L16-L16
|
4db895d39b8bb35500b8118047b4d0f24de4bc37
|
gitee
|
openharmony/arkui_ace_engine
|
30c7d1ee12fbedf0fabece54291d75897e2ad44f
|
examples/Select/entry/src/main/ets/pages/components/select/selectLevel7.ets
|
arkts
|
SelectLevel7Builder
|
Copyright (c) 2025 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
@Builder
export function SelectLevel7Builder(name: string, param: Object) {
SelectLevel7Example()
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right export function SelectLevel7Builder AST#parameter_list#Left ( AST#parameter#Left name : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left param : AST#type_annotation#Left AST#primary_type#Left Object AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left SelectLevel7Example ( ) AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#decorated_export_declaration#Right
|
@Builder
export function SelectLevel7Builder(name: string, param: Object) {
SelectLevel7Example()
}
|
https://github.com/openharmony/arkui_ace_engine/blob/30c7d1ee12fbedf0fabece54291d75897e2ad44f/examples/Select/entry/src/main/ets/pages/components/select/selectLevel7.ets#L16-L19
|
a63338bf6bf9bd55f0d07fd747318745bf380a52
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/services/database/DatabaseManager.ets
|
arkts
|
getInstance
|
获取DatabaseManager单例实例
|
static getInstance(): DatabaseManager {
if (!DatabaseManager.instance) {
DatabaseManager.instance = new DatabaseManager();
}
return DatabaseManager.instance;
}
|
AST#method_declaration#Left static getInstance AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left DatabaseManager AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left DatabaseManager AST#expression#Right AST#unary_expression#Right AST#expression#Right . instance AST#member_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left DatabaseManager AST#expression#Right . instance AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left DatabaseManager AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#expression_statement#Left AST#expression#Left return AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#member_expression#Left AST#expression#Left DatabaseManager AST#expression#Right . instance AST#member_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
static getInstance(): DatabaseManager {
if (!DatabaseManager.instance) {
DatabaseManager.instance = new DatabaseManager();
}
return DatabaseManager.instance;
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/services/database/DatabaseManager.ets#L34-L39
|
f2c1b64aa2e037bee6d67d1fd5915afdd970baa1
|
github
|
tongyuyan/harmony-utils
|
697472f011a43e783eeefaa28ef9d713c4171726
|
harmony_web/src/main/ets/arkweb/ArkWeb.ets
|
arkts
|
aboutToAppear
|
下载任务的状态会通过该类的回调接口通知给用户。
|
aboutToAppear(): void {
this.defaultMethodsNames = ObjectUtils.getMethodsNames(new ArkJsObject());
if (Array.isArray(this.arkJsObject)) {
if (this.arkJsObject.length > 0) {
this.arkJsObjects = this.arkJsObject;
}
} else {
this.arkJsObjects = [this.arkJsObject];
}
}
|
AST#method_declaration#Left aboutToAppear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . defaultMethodsNames AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ObjectUtils AST#expression#Right . getMethodsNames AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left ArkJsObject AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Array AST#expression#Right . isArray AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObject AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) { AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObject AST#member_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObjects AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObject AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } else { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObjects AST#member_expression#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . arkJsObject AST#member_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
aboutToAppear(): void {
this.defaultMethodsNames = ObjectUtils.getMethodsNames(new ArkJsObject());
if (Array.isArray(this.arkJsObject)) {
if (this.arkJsObject.length > 0) {
this.arkJsObjects = this.arkJsObject;
}
} else {
this.arkJsObjects = [this.arkJsObject];
}
}
|
https://github.com/tongyuyan/harmony-utils/blob/697472f011a43e783eeefaa28ef9d713c4171726/harmony_web/src/main/ets/arkweb/ArkWeb.ets#L28-L37
|
bd3050992dd9f8292aca394ba974d8347e69863a
|
gitee
|
openharmony/codelabs
|
d899f32a52b2ae0dfdbb86e34e8d94645b5d4090
|
ETSUI/List_HDC/entry/src/main/ets/common/constants/CommonConstant.ets
|
arkts
|
unit
|
export const PER_DAY: string = '/ 天';
|
AST#export_declaration#Left export AST#variable_declaration#Left const AST#variable_declarator#Left PER_DAY : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left '/ 天' AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#export_declaration#Right
|
export const PER_DAY: string = '/ 天';
|
https://github.com/openharmony/codelabs/blob/d899f32a52b2ae0dfdbb86e34e8d94645b5d4090/ETSUI/List_HDC/entry/src/main/ets/common/constants/CommonConstant.ets#L71-L71
|
e5f4ac03b70bd1738ad584fd3e110b2358f95f51
|
gitee
|
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/data/LineDataSet.ets
|
arkts
|
export type ColorStop = [Color | string | number,number];
|
export type ChartColorStop = [string, number];
|
AST#export_declaration#Left export AST#type_declaration#Left type ChartColorStop = AST#type_annotation#Left AST#primary_type#Left AST#tuple_type#Left [ AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right , AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right ] AST#tuple_type#Right AST#primary_type#Right AST#type_annotation#Right ; AST#type_declaration#Right AST#export_declaration#Right
|
export type ChartColorStop = [string, number];
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/data/LineDataSet.ets#L387-L387
|
6d1112c6616a51d6daa846352bec12502f717230
|
gitee
|
|
harmonyos_samples/BestPracticeSnippets
|
490ea539a6d4427dd395f3dac3cf4887719f37af
|
ClickResponseOptimization/entry/src/main/ets/common/constants/AppConstant.ets
|
arkts
|
最佳实践:点击响应优化
|
export class AppConstant {
static readonly CITYS: Array<string> = [
"阿城市", "阿尔山市", "阿克苏市", "阿勒泰市", "阿图什市", "安达市", "安国市", "安康市", "安陆市", "安宁市",
"安庆市", "安丘市", "安顺市", "安阳市", "鞍山市", "澳门",
'贵阳市', '清镇市', '开阳县', '修文县', '息烽县', '水城县', '盘 县', '遵义市', '赤水市',
'仁怀市', '遵义县', '绥阳县', '桐梓县', '习水县', '凤冈县', '正安县', '余庆县', '湄潭县',
'安顺市', '普定县', '德江县', '江口县', '思南县', '石阡县', '毕节市', '黔西县', '大方县',
'织金县', '金沙县', '赫章县', '纳雍县', '兴义市', '望谟县', '兴仁县', '普安县', '册亨县',
'晴隆县', '贞丰县', '安龙县', '凯里市', '施秉县', '从江县', '锦屏县', '镇远县', '麻江县',
'台江县', '天柱县', '黄平县', '榕江县', '剑河县', '三穗县', '雷山县', '黎平县', '岑巩县',
'丹寨县', '都匀市', '福泉市', '贵定县', '惠水县', '罗甸县', '瓮安县', '荔波县', '龙里县',
'成都市', '彭州市', '邛崃市', '崇州市', '金堂县', '郫 县', '新津县', '双流县', '蒲江县',
'大邑县', '自贡市', '荣县', '富顺县', '米易县', '盐边县', '泸州市', '泸 县', '合江县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', '叙永县', '古蔺县',
'德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', '叙永县', '古蔺县',
'德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县','叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县','叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
// '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
// '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
// '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
// '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
// '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
// '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县',
// '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
// '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县',
// '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
// '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
// '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
// '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
// '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
// '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
]
}
|
AST#export_declaration#Left export AST#class_declaration#Left class AppConstant AST#class_body#Left { AST#property_declaration#Left static readonly CITYS : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Array AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left "阿城市" AST#expression#Right , AST#expression#Left "阿尔山市" AST#expression#Right , AST#expression#Left "阿克苏市" AST#expression#Right , AST#expression#Left "阿勒泰市" AST#expression#Right , AST#expression#Left "阿图什市" AST#expression#Right , AST#expression#Left "安达市" AST#expression#Right , AST#expression#Left "安国市" AST#expression#Right , AST#expression#Left "安康市" AST#expression#Right , AST#expression#Left "安陆市" AST#expression#Right , AST#expression#Left "安宁市" AST#expression#Right , AST#expression#Left "安庆市" AST#expression#Right , AST#expression#Left "安丘市" AST#expression#Right , AST#expression#Left "安顺市" AST#expression#Right , AST#expression#Left "安阳市" AST#expression#Right , AST#expression#Left "鞍山市" AST#expression#Right , AST#expression#Left "澳门" AST#expression#Right , AST#expression#Left '贵阳市' AST#expression#Right , AST#expression#Left '清镇市' AST#expression#Right , AST#expression#Left '开阳县' AST#expression#Right , AST#expression#Left '修文县' AST#expression#Right , AST#expression#Left '息烽县' AST#expression#Right , AST#expression#Left '水城县' AST#expression#Right , AST#expression#Left '盘 县' AST#expression#Right , AST#expression#Left '遵义市' AST#expression#Right , AST#expression#Left '赤水市' AST#expression#Right , AST#expression#Left '仁怀市' AST#expression#Right , AST#expression#Left '遵义县' AST#expression#Right , AST#expression#Left '绥阳县' AST#expression#Right , AST#expression#Left '桐梓县' AST#expression#Right , AST#expression#Left '习水县' AST#expression#Right , AST#expression#Left '凤冈县' AST#expression#Right , AST#expression#Left '正安县' AST#expression#Right , AST#expression#Left '余庆县' AST#expression#Right , AST#expression#Left '湄潭县' AST#expression#Right , AST#expression#Left '安顺市' AST#expression#Right , AST#expression#Left '普定县' AST#expression#Right , AST#expression#Left '德江县' AST#expression#Right , AST#expression#Left '江口县' AST#expression#Right , AST#expression#Left '思南县' AST#expression#Right , AST#expression#Left '石阡县' AST#expression#Right , AST#expression#Left '毕节市' AST#expression#Right , AST#expression#Left '黔西县' AST#expression#Right , AST#expression#Left '大方县' AST#expression#Right , AST#expression#Left '织金县' AST#expression#Right , AST#expression#Left '金沙县' AST#expression#Right , AST#expression#Left '赫章县' AST#expression#Right , AST#expression#Left '纳雍县' AST#expression#Right , AST#expression#Left '兴义市' AST#expression#Right , AST#expression#Left '望谟县' AST#expression#Right , AST#expression#Left '兴仁县' AST#expression#Right , AST#expression#Left '普安县' AST#expression#Right , AST#expression#Left '册亨县' AST#expression#Right , AST#expression#Left '晴隆县' AST#expression#Right , AST#expression#Left '贞丰县' AST#expression#Right , AST#expression#Left '安龙县' AST#expression#Right , AST#expression#Left '凯里市' AST#expression#Right , AST#expression#Left '施秉县' AST#expression#Right , AST#expression#Left '从江县' AST#expression#Right , AST#expression#Left '锦屏县' AST#expression#Right , AST#expression#Left '镇远县' AST#expression#Right , AST#expression#Left '麻江县' AST#expression#Right , AST#expression#Left '台江县' AST#expression#Right , AST#expression#Left '天柱县' AST#expression#Right , AST#expression#Left '黄平县' AST#expression#Right , AST#expression#Left '榕江县' AST#expression#Right , AST#expression#Left '剑河县' AST#expression#Right , AST#expression#Left '三穗县' AST#expression#Right , AST#expression#Left '雷山县' AST#expression#Right , AST#expression#Left '黎平县' AST#expression#Right , AST#expression#Left '岑巩县' AST#expression#Right , AST#expression#Left '丹寨县' AST#expression#Right , AST#expression#Left '都匀市' AST#expression#Right , AST#expression#Left '福泉市' AST#expression#Right , AST#expression#Left '贵定县' AST#expression#Right , AST#expression#Left '惠水县' AST#expression#Right , AST#expression#Left '罗甸县' AST#expression#Right , AST#expression#Left '瓮安县' AST#expression#Right , AST#expression#Left '荔波县' AST#expression#Right , AST#expression#Left '龙里县' AST#expression#Right , AST#expression#Left '成都市' AST#expression#Right , AST#expression#Left '彭州市' AST#expression#Right , AST#expression#Left '邛崃市' AST#expression#Right , AST#expression#Left '崇州市' AST#expression#Right , AST#expression#Left '金堂县' AST#expression#Right , AST#expression#Left '郫 县' AST#expression#Right , AST#expression#Left '新津县' AST#expression#Right , AST#expression#Left '双流县' AST#expression#Right , AST#expression#Left '蒲江县' AST#expression#Right , AST#expression#Left '大邑县' AST#expression#Right , AST#expression#Left '自贡市' AST#expression#Right , AST#expression#Left '荣县' AST#expression#Right , AST#expression#Left '富顺县' AST#expression#Right , AST#expression#Left '米易县' AST#expression#Right , AST#expression#Left '盐边县' AST#expression#Right , AST#expression#Left '泸州市' AST#expression#Right , AST#expression#Left '泸 县' AST#expression#Right , AST#expression#Left '合江县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , AST#expression#Left '叙永县' AST#expression#Right , AST#expression#Left '古蔺县' AST#expression#Right , AST#expression#Left '德阳市' AST#expression#Right , AST#expression#Left '广汉市' AST#expression#Right , AST#expression#Left '什邡市' AST#expression#Right , AST#expression#Left '绵竹市' AST#expression#Right , AST#expression#Left '罗江县' AST#expression#Right , AST#expression#Left '中江县' AST#expression#Right , AST#expression#Left '绵阳市' AST#expression#Right , AST#expression#Left '江油市' AST#expression#Right , AST#expression#Left '盐亭县' AST#expression#Right , AST#expression#Left '三台县' AST#expression#Right , AST#expression#Left '平武县' AST#expression#Right , AST#expression#Left '安县' AST#expression#Right , AST#expression#Left '梓潼县' AST#expression#Right , AST#expression#Left '广元市' AST#expression#Right , AST#expression#Left '青川县' AST#expression#Right , AST#expression#Left '旺苍县' AST#expression#Right , AST#expression#Left '剑阁县' AST#expression#Right , AST#expression#Left '苍溪县' AST#expression#Right , AST#expression#Left '遂宁市' AST#expression#Right , AST#expression#Left '射洪县' AST#expression#Right , AST#expression#Left '蓬溪县' AST#expression#Right , AST#expression#Left '大英县' AST#expression#Right , AST#expression#Left '内江市' AST#expression#Right , AST#expression#Left '资中县' AST#expression#Right , AST#expression#Left '隆昌县' AST#expression#Right , AST#expression#Left '威远县' AST#expression#Right , AST#expression#Left '乐山市' AST#expression#Right , AST#expression#Left '夹江县' AST#expression#Right , AST#expression#Left '井研县' AST#expression#Right , AST#expression#Left '犍为县' AST#expression#Right , AST#expression#Left '沐川县' AST#expression#Right , AST#expression#Left '南充市' AST#expression#Right , AST#expression#Left '阆中市' AST#expression#Right , AST#expression#Left '营山县' AST#expression#Right , AST#expression#Left '蓬安县' AST#expression#Right , AST#expression#Left '仪陇县' AST#expression#Right , AST#expression#Left '南部县' AST#expression#Right , AST#expression#Left '西充县' AST#expression#Right , AST#expression#Left '眉山市' AST#expression#Right , AST#expression#Left '仁寿县' AST#expression#Right , AST#expression#Left '彭山县' AST#expression#Right , AST#expression#Left '洪雅县' AST#expression#Right , AST#expression#Left '丹棱县' AST#expression#Right , AST#expression#Left '青神县' AST#expression#Right , AST#expression#Left '宜宾市' AST#expression#Right , AST#expression#Left '宜宾县' AST#expression#Right , AST#expression#Left '兴文县' AST#expression#Right , AST#expression#Left '南溪县' AST#expression#Right , AST#expression#Left '珙 县' AST#expression#Right , AST#expression#Left '长宁县' AST#expression#Right , AST#expression#Left ' 高 县' AST#expression#Right , AST#expression#Left '江安县' AST#expression#Right , AST#expression#Left '筠连县' AST#expression#Right , AST#expression#Left '屏山县' AST#expression#Right , AST#expression#Left '广安市' AST#expression#Right , AST#expression#Left '华蓥市' AST#expression#Right , AST#expression#Left '岳池县' AST#expression#Right , AST#expression#Left '邻水县' AST#expression#Right , AST#expression#Left '武胜县' AST#expression#Right , AST#expression#Left '达州市' AST#expression#Right , AST#expression#Left '万源市' AST#expression#Right , AST#expression#Left '达县渠' AST#expression#Right , AST#expression#Left '汉县' AST#expression#Right , AST#expression#Left '江县' AST#expression#Right , AST#expression#Left '竹县' AST#expression#Right , AST#expression#Left '雅安市' AST#expression#Right , AST#expression#Left '芦山县' AST#expression#Right , AST#expression#Left '石棉县' AST#expression#Right , AST#expression#Left '名山县' AST#expression#Right , AST#expression#Left '天全县' AST#expression#Right , AST#expression#Left '荥经县' AST#expression#Right , AST#expression#Left '宝兴县' AST#expression#Right , AST#expression#Left '汉源县' AST#expression#Right , AST#expression#Left '巴中市' AST#expression#Right , AST#expression#Left '南江县' AST#expression#Right , AST#expression#Left '平昌县' AST#expression#Right , AST#expression#Left '通江县' AST#expression#Right , AST#expression#Left '资阳市' AST#expression#Right , AST#expression#Left '简阳市' AST#expression#Right , AST#expression#Left '安岳县' AST#expression#Right , AST#expression#Left '乐至县' AST#expression#Right , AST#expression#Left '红原县' AST#expression#Right , AST#expression#Left '汶川县' AST#expression#Right , AST#expression#Left '阿坝县' AST#expression#Right , AST#expression#Left '理 县' AST#expression#Right , AST#expression#Left '小金县' AST#expression#Right , AST#expression#Left '黑水县' AST#expression#Right , AST#expression#Left '金川县' AST#expression#Right , AST#expression#Left '松潘县' AST#expression#Right , AST#expression#Left '壤塘县' AST#expression#Right , AST#expression#Left '茂 县' AST#expression#Right , AST#expression#Left '康定县' AST#expression#Right , AST#expression#Left '丹巴县' AST#expression#Right , AST#expression#Left '炉霍县' AST#expression#Right , AST#expression#Left '九龙县' AST#expression#Right , AST#expression#Left '甘孜县' AST#expression#Right , AST#expression#Left '雅江县' AST#expression#Right , AST#expression#Left '新龙县' AST#expression#Right , AST#expression#Left '道孚县' AST#expression#Right , AST#expression#Left '白玉县' AST#expression#Right , AST#expression#Left '理塘县' AST#expression#Right , AST#expression#Left '德格县' AST#expression#Right , AST#expression#Left '乡城县' AST#expression#Right , AST#expression#Left '石渠县' AST#expression#Right , AST#expression#Left '稻城县' AST#expression#Right , AST#expression#Left '色达县' AST#expression#Right , AST#expression#Left '巴塘县' AST#expression#Right , AST#expression#Left '泸定县' AST#expression#Right , AST#expression#Left '得荣县' AST#expression#Right , AST#expression#Left '西昌市' AST#expression#Right , AST#expression#Left '美姑县' AST#expression#Right , AST#expression#Left '昭觉县' AST#expression#Right , AST#expression#Left '金阳县' AST#expression#Right , AST#expression#Left '甘洛县' AST#expression#Right , AST#expression#Left '布拖县' AST#expression#Right , AST#expression#Left '雷波县' AST#expression#Right , AST#expression#Left '普格县' AST#expression#Right , AST#expression#Left '宁南县' AST#expression#Right , AST#expression#Left '喜德县' AST#expression#Right , AST#expression#Left '会东县' AST#expression#Right , AST#expression#Left '越西县' AST#expression#Right , AST#expression#Left '会理县' AST#expression#Right , AST#expression#Left '盐源县' AST#expression#Right , // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县','叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县','叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', // '叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市', // '江油市','盐亭县','三台县','平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县', // '剑阁县','苍溪县','遂宁市','射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县', // '威远县','乐山市','夹江县','井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县', // '蓬安县','仪陇县','南部县','西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县', // '青神县','宜宾市','宜宾县','兴文县', '南溪县', '珙 县', '长宁县',' 高 县', '江安县', // '筠连县','屏山县','广安市','华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市', // '达县渠','汉县' ,'江县' ,'竹县' ,'雅安市' ,'芦山县' ,'石棉县' ,'名山县', // '天全县','荥经县','宝兴县','汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市', // '简阳市','安岳县','乐至县','红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县', // '金川县','松潘县','壤塘县','茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', // '雅江县','新龙县','道孚县','白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', // '色达县','巴塘县','泸定县','得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', // '布拖县','雷波县','普格县','宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', ] AST#array_literal#Right AST#expression#Right AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class AppConstant {
static readonly CITYS: Array<string> = [
"阿城市", "阿尔山市", "阿克苏市", "阿勒泰市", "阿图什市", "安达市", "安国市", "安康市", "安陆市", "安宁市",
"安庆市", "安丘市", "安顺市", "安阳市", "鞍山市", "澳门",
'贵阳市', '清镇市', '开阳县', '修文县', '息烽县', '水城县', '盘 县', '遵义市', '赤水市',
'仁怀市', '遵义县', '绥阳县', '桐梓县', '习水县', '凤冈县', '正安县', '余庆县', '湄潭县',
'安顺市', '普定县', '德江县', '江口县', '思南县', '石阡县', '毕节市', '黔西县', '大方县',
'织金县', '金沙县', '赫章县', '纳雍县', '兴义市', '望谟县', '兴仁县', '普安县', '册亨县',
'晴隆县', '贞丰县', '安龙县', '凯里市', '施秉县', '从江县', '锦屏县', '镇远县', '麻江县',
'台江县', '天柱县', '黄平县', '榕江县', '剑河县', '三穗县', '雷山县', '黎平县', '岑巩县',
'丹寨县', '都匀市', '福泉市', '贵定县', '惠水县', '罗甸县', '瓮安县', '荔波县', '龙里县',
'成都市', '彭州市', '邛崃市', '崇州市', '金堂县', '郫 县', '新津县', '双流县', '蒲江县',
'大邑县', '自贡市', '荣县', '富顺县', '米易县', '盐边县', '泸州市', '泸 县', '合江县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', '叙永县', '古蔺县',
'德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', '叙永县', '古蔺县',
'德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县', '古蔺县', '德阳市', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '广元市', '青川县', '旺苍县',
'剑阁县', '苍溪县', '遂宁市', '射洪县', '蓬溪县', '大英县', '内江市', '资中县', '隆昌县',
'威远县', '乐山市', '夹江县', '井研县', '犍为县', '沐川县', '南充市', '阆中市', '营山县',
'蓬安县', '仪陇县', '南部县', '西充县', '眉山市', '仁寿县', '彭山县', '洪雅县', '丹棱县',
'青神县', '宜宾市', '宜宾县', '兴文县', '南溪县', '珙 县', '长宁县', ' 高 县', '江安县',
'筠连县', '屏山县', '广安市', '华蓥市', '岳池县', '邻水县', '武胜县', '达州市', '万源市',
'达县渠', '汉县', '江县', '竹县', '雅安市', '芦山县', '石棉县', '名山县',
'天全县', '荥经县', '宝兴县', '汉源县', '巴中市', '南江县', '平昌县', '通江县', '资阳市',
'简阳市', '安岳县', '乐至县', '红原县', '汶川县', '阿坝县', '理 县', '小金县', '黑水县',
'金川县', '松潘县', '壤塘县', '茂 县', '康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县',
'雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县',
'色达县', '巴塘县', '泸定县', '得荣县', '西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县',
'布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县',
'叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
'叙永县','古蔺县','德阳市','广汉市', '什邡市', '绵竹市', '罗江县', '中江县', '绵阳市',
]
}
|
https://github.com/harmonyos_samples/BestPracticeSnippets/blob/490ea539a6d4427dd395f3dac3cf4887719f37af/ClickResponseOptimization/entry/src/main/ets/common/constants/AppConstant.ets#L19-L929
|
e995f4aebd6267a7f1335420f4fb00283dc3dfe3
|
gitee
|
|
changweizhang/ChatUI
|
36df7ce41aeb281d8472ca9182f449da6dc109f7
|
chatui/src/main/ets/components/ChatDataSource.ets
|
arkts
|
notifyDataChange
|
通知LazyForEach组件在index对应索引处数据有变化,需要重建该子组件
|
notifyDataChange(index: number): void {
this.listeners.forEach(listener => {
listener.onDataChange(index);
})
}
|
AST#method_declaration#Left notifyDataChange AST#parameter_list#Left ( AST#parameter#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . listeners AST#member_expression#Right AST#expression#Right . forEach AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left listener => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left listener AST#expression#Right . onDataChange AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left index AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
notifyDataChange(index: number): void {
this.listeners.forEach(listener => {
listener.onDataChange(index);
})
}
|
https://github.com/changweizhang/ChatUI/blob/36df7ce41aeb281d8472ca9182f449da6dc109f7/chatui/src/main/ets/components/ChatDataSource.ets#L68-L72
|
1422ef619c845ae32f137aaee903ba11c879cb66
|
gitee
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/widgets/pages/WidgetCard2x4.ets
|
arkts
|
buildBirthdayItem
|
构建单个生日项
|
@Builder
buildBirthdayItem(item: any) {
Row() {
// 头像
if (item.avatar) {
Image(item.avatar)
.width('32vp')
.height('32vp')
.borderRadius(16)
} else {
Circle({ width: 32, height: 32 })
.fill(item.isToday ? '#FF5722' : (item.isTomorrow ? '#2196F3' : '#9E9E9E'))
.overlay(
Text(this.getInitials(item.name))
.fontSize(12)
.fontColor(Color.White)
.textAlign(TextAlign.Center)
)
}
// 信息
Column({ space: 2 }) {
Row() {
Text(item.name || '')
.fontSize(14)
.fontColor($r('app.color.text_primary'))
.fontWeight(FontWeight.Medium)
.maxLines(1)
.textOverflow({ overflow: TextOverflow.Ellipsis })
.layoutWeight(1)
Text(item.birthdayText || '')
.fontSize(12)
.fontColor(this.getBirthdayTextColor(item))
.fontWeight(item.isToday ? FontWeight.Bold : FontWeight.Normal)
}
.width('100%')
Row() {
if (item.relation) {
Text(item.relation)
.fontSize(10)
.fontColor($r('app.color.text_secondary'))
.layoutWeight(1)
} else {
Spacer().layoutWeight(1)
}
Text(item.dateText || '')
.fontSize(10)
.fontColor($r('app.color.text_secondary'))
}
.width('100%')
}
.layoutWeight(1)
.margin({ left: 8 })
.alignItems(HorizontalAlign.Start)
}
.width('100%')
.height('40vp')
.alignItems(VerticalAlign.Center)
.padding({ left: 4, right: 4 })
.backgroundColor(item.isToday ? '#FFF3E0' : (item.isTomorrow ? '#E3F2FD' : Color.Transparent))
.borderRadius(8)
.onClick(() => {
this.onBirthdayItemClick(item);
})
}
|
AST#method_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right buildBirthdayItem AST#parameter_list#Left ( AST#parameter#Left item : AST#type_annotation#Left AST#primary_type#Left any AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { // 头像 AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . avatar AST#member_expression#Right AST#expression#Right ) { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Image ( AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . avatar AST#member_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '32vp' AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '32vp' AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Circle ( AST#component_parameters#Left { AST#component_parameter#Left width : AST#expression#Left 32 AST#expression#Right AST#component_parameter#Right , AST#component_parameter#Left height : AST#expression#Left 32 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fill ( AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . isToday AST#member_expression#Right AST#expression#Right ? AST#expression#Left '#FF5722' AST#expression#Right : AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . isTomorrow AST#member_expression#Right AST#expression#Right ? AST#expression#Left '#2196F3' AST#expression#Right : AST#expression#Left '#9E9E9E' AST#expression#Right AST#conditional_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#conditional_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . overlay ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left Text AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getInitials AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . name AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . fontSize AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 12 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . fontColor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . textAlign AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right // 信息 AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( AST#component_parameters#Left { AST#component_parameter#Left space : AST#expression#Left 2 AST#expression#Right AST#component_parameter#Right } AST#component_parameters#Right ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . name AST#member_expression#Right AST#expression#Right || AST#expression#Left '' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 14 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.color.text_primary' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontWeight ( AST#expression#Left AST#member_expression#Left AST#expression#Left FontWeight AST#expression#Right . Medium AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . maxLines ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Left . textOverflow ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left overflow AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left TextOverflow AST#expression#Right . Ellipsis AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . birthdayText AST#member_expression#Right AST#expression#Right || AST#expression#Left '' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . getBirthdayTextColor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left item AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontWeight ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . isToday AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left FontWeight AST#expression#Right . Bold AST#member_expression#Right AST#expression#Right : AST#expression#Left FontWeight AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Normal AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . relation AST#member_expression#Right AST#expression#Right ) { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . relation AST#member_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 10 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.color.text_secondary' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } else { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Spacer ( ) AST#ui_component#Right AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . dateText AST#member_expression#Right AST#expression#Right || AST#expression#Left '' AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 10 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.color.text_secondary' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . layoutWeight ( AST#expression#Left 1 AST#expression#Right ) AST#modifier_chain_expression#Left . margin ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left 8 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . alignItems ( AST#expression#Left AST#member_expression#Left AST#expression#Left HorizontalAlign AST#expression#Right . Start AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '40vp' AST#expression#Right ) AST#modifier_chain_expression#Left . alignItems ( AST#expression#Left AST#member_expression#Left AST#expression#Left VerticalAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left 4 AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left 4 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . isToday AST#member_expression#Right AST#expression#Right ? AST#expression#Left '#FFF3E0' AST#expression#Right : AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left item AST#expression#Right . isTomorrow AST#member_expression#Right AST#expression#Right ? AST#expression#Left '#E3F2FD' AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Transparent AST#member_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#conditional_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . borderRadius ( AST#expression#Left 8 AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . onBirthdayItemClick AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left item AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
@Builder
buildBirthdayItem(item: any) {
Row() {
if (item.avatar) {
Image(item.avatar)
.width('32vp')
.height('32vp')
.borderRadius(16)
} else {
Circle({ width: 32, height: 32 })
.fill(item.isToday ? '#FF5722' : (item.isTomorrow ? '#2196F3' : '#9E9E9E'))
.overlay(
Text(this.getInitials(item.name))
.fontSize(12)
.fontColor(Color.White)
.textAlign(TextAlign.Center)
)
}
Column({ space: 2 }) {
Row() {
Text(item.name || '')
.fontSize(14)
.fontColor($r('app.color.text_primary'))
.fontWeight(FontWeight.Medium)
.maxLines(1)
.textOverflow({ overflow: TextOverflow.Ellipsis })
.layoutWeight(1)
Text(item.birthdayText || '')
.fontSize(12)
.fontColor(this.getBirthdayTextColor(item))
.fontWeight(item.isToday ? FontWeight.Bold : FontWeight.Normal)
}
.width('100%')
Row() {
if (item.relation) {
Text(item.relation)
.fontSize(10)
.fontColor($r('app.color.text_secondary'))
.layoutWeight(1)
} else {
Spacer().layoutWeight(1)
}
Text(item.dateText || '')
.fontSize(10)
.fontColor($r('app.color.text_secondary'))
}
.width('100%')
}
.layoutWeight(1)
.margin({ left: 8 })
.alignItems(HorizontalAlign.Start)
}
.width('100%')
.height('40vp')
.alignItems(VerticalAlign.Center)
.padding({ left: 4, right: 4 })
.backgroundColor(item.isToday ? '#FFF3E0' : (item.isTomorrow ? '#E3F2FD' : Color.Transparent))
.borderRadius(8)
.onClick(() => {
this.onBirthdayItemClick(item);
})
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/widgets/pages/WidgetCard2x4.ets#L99-L166
|
c60c724ec3308e68252125a6418d48c4db87aeaf
|
github
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/BasicFeature/International/International/entry/src/main/ets/component/OperationView.ets
|
arkts
|
OperationView
|
Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
@Component
export default struct OperationView {
private operationKey: string | Resource = '';
private showArrow: boolean = true;
private handleClick: () => void = ()=>{};
build() {
Row() {
Text(this.operationKey)
.fontSize(16)
.fontColor(Color.Black)
.height('100%')
.textAlign(TextAlign.Center)
Blank()
if (this.showArrow) {
Image($r('app.media.ic_public_small_right'))
.height(24)
.width(12)
}
}
.width('100%')
.height(56)
.padding(12)
.border({ radius: 16 })
.backgroundColor(Color.White)
.onClick(this.handleClick)
}
}
|
AST#decorated_export_declaration#Left AST#decorator#Left @ Component AST#decorator#Right export default struct OperationView AST#component_body#Left { AST#property_declaration#Left private operationKey : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left string AST#primary_type#Right | AST#primary_type#Left Resource AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right = AST#expression#Left '' AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left private showArrow : AST#type_annotation#Left AST#primary_type#Left boolean AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right ; AST#property_declaration#Right AST#property_declaration#Left private handleClick : AST#type_annotation#Left AST#function_type#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#function_type#Right AST#type_annotation#Right = AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#expression#Left AST#object_literal#Left { } AST#object_literal#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ; AST#property_declaration#Right AST#build_method#Left build ( ) AST#build_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . operationKey AST#member_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left 16 AST#expression#Right ) AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Black AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . textAlign ( AST#expression#Left AST#member_expression#Left AST#expression#Left TextAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Blank ( ) AST#ui_component#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . showArrow AST#member_expression#Right AST#expression#Right ) { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Image ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.ic_public_small_right' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . height ( AST#expression#Left 24 AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left 56 AST#expression#Right ) AST#modifier_chain_expression#Left . padding ( AST#expression#Left 12 AST#expression#Right ) AST#modifier_chain_expression#Left . border ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left radius AST#property_name#Right : AST#expression#Left 16 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . handleClick AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#build_body#Right AST#build_method#Right } AST#component_body#Right AST#decorated_export_declaration#Right
|
@Component
export default struct OperationView {
private operationKey: string | Resource = '';
private showArrow: boolean = true;
private handleClick: () => void = ()=>{};
build() {
Row() {
Text(this.operationKey)
.fontSize(16)
.fontColor(Color.Black)
.height('100%')
.textAlign(TextAlign.Center)
Blank()
if (this.showArrow) {
Image($r('app.media.ic_public_small_right'))
.height(24)
.width(12)
}
}
.width('100%')
.height(56)
.padding(12)
.border({ radius: 16 })
.backgroundColor(Color.White)
.onClick(this.handleClick)
}
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/BasicFeature/International/International/entry/src/main/ets/component/OperationView.ets#L16-L43
|
f71204dcc1580d169a3be9481682ae5c63f4a1c4
|
gitee
|
harmonyos-cases/cases
|
eccdb71f1cee10fa6ff955e16c454c1b59d3ae13
|
CommonAppDevelopment/feature/cuberotateanimation/src/main/ets/mock/MockData.ets
|
arkts
|
图片数据
|
export const IMAGES: Resource[] = [
$r('app.media.cube_animation_picture1'),
$r('app.media.cube_animation_picture2'),
$r('app.media.cube_animation_picture3'),
$r('app.media.cube_animation_picture4')
];
|
AST#export_declaration#Left export AST#variable_declaration#Left const AST#variable_declarator#Left IMAGES : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left Resource [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.cube_animation_picture1' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right , AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.cube_animation_picture2' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right , AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.cube_animation_picture3' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right , AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.cube_animation_picture4' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ] AST#array_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#export_declaration#Right
|
export const IMAGES: Resource[] = [
$r('app.media.cube_animation_picture1'),
$r('app.media.cube_animation_picture2'),
$r('app.media.cube_animation_picture3'),
$r('app.media.cube_animation_picture4')
];
|
https://github.com/harmonyos-cases/cases/blob/eccdb71f1cee10fa6ff955e16c454c1b59d3ae13/CommonAppDevelopment/feature/cuberotateanimation/src/main/ets/mock/MockData.ets#L60-L65
|
cc49a480708d061306ef2c3597371c4b8d18c0b1
|
gitee
|
|
KoStudio/ArkTS-WordTree.git
|
78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324
|
entry/src/main/ets/models/managers/detailitem/DetailItemManager.ets
|
arkts
|
============================================================ MARK: - DetailItemManager
|
export class DetailItemManager {
private static instance: DetailItemManager
private context : Context | null = null
private itemOrders: ItemOrder[] = []
// MARK: - 单例
static get shared(): DetailItemManager {
if (!this.instance) {
this.instance = new DetailItemManager()
this.instance.init()
}
return this.instance
}
// MARK: - 构造
private constructor() {
this.context = getAppContext()
}
// MARK: - 初始化
init(): void {
this.loadPreference()
}
// MARK: - 保存偏好(同步)
private savePreference(): void {
if (!this.context) return
try {
const pref = preferences.getPreferencesSync(
this.context,
{ name: DetailItemPref.Name }
)
this.itemOrders.forEach(itemOrder => {
pref.putSync(
itemOrder.item,
itemOrder.order.toString() + "_" + itemOrder.isVisible.toString()
) // {item : order_visiable} 如: {WordChange : 0_true}
})
pref.flushSync()
}
|
AST#export_declaration#Left export AST#class_declaration#Left class DetailItemManager AST#class_body#Left { AST#property_declaration#Left private static instance : AST#type_annotation#Left AST#primary_type#Left DetailItemManager AST#primary_type#Right AST#type_annotation#Right AST#property_declaration#Right AST#property_declaration#Left private context : AST#type_annotation#Left AST#union_type#Left AST#primary_type#Left Context AST#primary_type#Right | AST#primary_type#Left null AST#primary_type#Right AST#union_type#Right AST#type_annotation#Right = AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#property_declaration#Right AST#property_declaration#Left private itemOrders : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left ItemOrder [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right // MARK: - 单例 AST#property_declaration#Right AST#method_declaration#Left static get AST#ERROR#Left shared AST#ERROR#Right AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left DetailItemManager AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#ui_control_flow#Left AST#ui_if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . instance AST#member_expression#Right AST#expression#Right ) { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . instance AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left DetailItemManager AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . instance AST#member_expression#Right AST#expression#Right . init AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#ui_if_statement#Right AST#ui_control_flow#Right AST#expression_statement#Left AST#expression#Left return AST#expression#Right AST#expression_statement#Right AST#expression_statement#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . instance AST#member_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right // MARK: - 构造 AST#constructor_declaration#Left private constructor AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . context AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left getAppContext AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#constructor_declaration#Right // MARK: - 初始化 AST#method_declaration#Left init AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . loadPreference AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right // MARK: - 保存偏好(同步) AST#property_declaration#Left private savePreference AST#ERROR#Left AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right { if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#unary_expression#Left ! AST#expression#Left this AST#expression#Right AST#unary_expression#Right AST#expression#Right . context AST#member_expression#Right AST#expression#Right ) return AST#ERROR#Left try AST#ERROR#Right { AST#property_name#Left const AST#property_name#Right pref AST#ERROR#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left preferences AST#expression#Right . getPreferencesSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . context AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left name AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left DetailItemPref AST#expression#Right . Name AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left this AST#ERROR#Right . itemOrders AST#member_expression#Right AST#expression#Right . forEach AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left itemOrder => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left pref AST#expression#Right . putSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left itemOrder AST#expression#Right . item AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left itemOrder AST#expression#Right . order AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right + AST#expression#Left "_" AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left itemOrder AST#expression#Right AST#binary_expression#Right AST#expression#Right . isVisible AST#member_expression#Right AST#expression#Right . toString AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right // {item : order_visiable} 如: {WordChange : 0_true} } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left pref AST#ERROR#Right . flushSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#property_declaration#Right } AST#class_body#Right AST#class_declaration#Right AST#export_declaration#Right
|
export class DetailItemManager {
private static instance: DetailItemManager
private context : Context | null = null
private itemOrders: ItemOrder[] = []
static get shared(): DetailItemManager {
if (!this.instance) {
this.instance = new DetailItemManager()
this.instance.init()
}
return this.instance
}
private constructor() {
this.context = getAppContext()
}
init(): void {
this.loadPreference()
}
private savePreference(): void {
if (!this.context) return
try {
const pref = preferences.getPreferencesSync(
this.context,
{ name: DetailItemPref.Name }
)
this.itemOrders.forEach(itemOrder => {
pref.putSync(
itemOrder.item,
itemOrder.order.toString() + "_" + itemOrder.isVisible.toString()
)
})
pref.flushSync()
}
|
https://github.com/KoStudio/ArkTS-WordTree.git/blob/78c2a8f8ef6cf4c6be8bab2212f04bfcfa7e7324/entry/src/main/ets/models/managers/detailitem/DetailItemManager.ets#L62-L105
|
f8755b7ce30c2d33955e5c714ab481e734c74f22
|
github
|
|
Joker-x-dev/HarmonyKit.git
|
f97197ce157df7f303244fba42e34918306dfb08
|
core/util/src/main/ets/context/ContextUtil.ets
|
arkts
|
getAppCtx
|
获取应用级别的上下文的能力
@returns {common.ApplicationContext}
|
static getAppCtx(): common.ApplicationContext {
return ContextUtil.context.getApplicationContext();
}
|
AST#method_declaration#Left static getAppCtx AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#qualified_type#Left common . ApplicationContext AST#qualified_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left ContextUtil AST#expression#Right . context AST#member_expression#Right AST#expression#Right . getApplicationContext AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
static getAppCtx(): common.ApplicationContext {
return ContextUtil.context.getApplicationContext();
}
|
https://github.com/Joker-x-dev/HarmonyKit.git/blob/f97197ce157df7f303244fba42e34918306dfb08/core/util/src/main/ets/context/ContextUtil.ets#L59-L61
|
649e2154a83a4182eeff9c69f9ff6fbc1648a6e9
|
github
|
harmonyos_samples/BestPracticeSnippets
|
490ea539a6d4427dd395f3dac3cf4887719f37af
|
ScreenFlickerSolution/entry/src/main/ets/pages/PullToRefreshError.ets
|
arkts
|
aboutToDisappear
|
[End get_list_view_error]
|
aboutToDisappear(): void {
this.newsData = [];
}
|
AST#method_declaration#Left aboutToDisappear AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . newsData AST#member_expression#Right = AST#expression#Left AST#array_literal#Left [ ] AST#array_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
aboutToDisappear(): void {
this.newsData = [];
}
|
https://github.com/harmonyos_samples/BestPracticeSnippets/blob/490ea539a6d4427dd395f3dac3cf4887719f37af/ScreenFlickerSolution/entry/src/main/ets/pages/PullToRefreshError.ets#L247-L249
|
5fd046dffec5fbcc261bbf1d309e5c6937327157
|
gitee
|
zl3624/harmonyos_network_samples
|
b8664f8bf6ef5c5a60830fe616c6807e83c21f96
|
code/rcp/RCPDownloadFileDemo/entry/src/main/ets/pages/Index.ets
|
arkts
|
showFileContent
|
显示指定文件的内容
|
showFileContent(filePath: string) {
let content = fs.readTextSync(filePath)
this.msgHistory += "下载文件内容:" + content + "\r\n"
}
|
AST#method_declaration#Left showFileContent AST#parameter_list#Left ( AST#parameter#Left filePath : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left content = AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left fs AST#expression#Right . readTextSync AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left filePath AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#ERROR#Left this AST#ERROR#Right . msgHistory AST#member_expression#Right += AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left "下载文件内容:" AST#expression#Right + AST#expression#Left content AST#expression#Right AST#binary_expression#Right AST#expression#Right + AST#expression#Left "\r\n" AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
showFileContent(filePath: string) {
let content = fs.readTextSync(filePath)
this.msgHistory += "下载文件内容:" + content + "\r\n"
}
|
https://github.com/zl3624/harmonyos_network_samples/blob/b8664f8bf6ef5c5a60830fe616c6807e83c21f96/code/rcp/RCPDownloadFileDemo/entry/src/main/ets/pages/Index.ets#L127-L130
|
d2b08380b4530314fee204e459f8b0249714d15b
|
gitee
|
openharmony-tpc/ohos_mpchart
|
4fb43a7137320ef2fee2634598f53d93975dfb4a
|
library/src/main/ets/components/renderer/AxisRenderer.ets
|
arkts
|
computeAxisValues
|
Sets up the axis values. Computes the desired number of labels between the two given extremes.
@return
|
protected computeAxisValues(min: number, max: number, customYAxisLabels?: number[]) {
let yMin = min;
let yMax = max;
if (this.mAxis) {
let labelCount = this.mAxis.getLabelCount();
let range = Math.abs(yMax - yMin);
if (labelCount == 0 || range <= 0 || range == Number.POSITIVE_INFINITY) {
this.mAxis.mEntries = new Array<number>();
this.mAxis.mCenteredEntries = new Array<number>();
this.mAxis.mEntryCount = 0;
return;
}
// Find out how much spacing (in y value space) between axis values
let rawInterval: number = range / labelCount;
let interval: number = Utils.roundToNextSignificant(rawInterval);
// If granularity is enabled, then do not allow the interval to go below specified granularity.
// This is used to avoid repeated values when rounding values for display.
if (this.mAxis.isGranularityEnabled())
interval = interval < this.mAxis.getGranularity() ? this.mAxis.getGranularity() : interval;
// Normalize interval
let intervalMagnitude = Utils.roundToNextSignificant(Math.pow(10, Math.floor(Math.log10(interval))));
let intervalSigDigit = Math.floor((interval / intervalMagnitude));
if (intervalSigDigit > 5) {
// Use one order of magnitude higher, to avoid intervals like 0.9 or 90
// if it's 0.0 after floor(), we use the old value
interval = Math.floor(10.0 * intervalMagnitude) == 0.0
? interval
: Math.floor(10.0 * intervalMagnitude);
}
let n = this.mAxis.isCenterAxisLabelsEnabled() ? 1 : 0;
// force label count
if (this.mAxis.isForceLabelsEnabled()) {
interval = range / (labelCount - 1);
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntryCount = labelCount + customYAxisLabels.length;
} else {
this.mAxis.mEntryCount = labelCount;
}
// Ensure stops contains at least numStops elements.
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntries = new Array<number>(labelCount + customYAxisLabels.length );
} else {
this.mAxis.mEntries = new Array<number>(labelCount);
}
let v = min;
if (customYAxisLabels != null && customYAxisLabels != undefined&& customYAxisLabels.length > 0) {
let index: number = 0
let customYAxisIndex: number = 0;
for (let i = 0; i < labelCount; i++) {
for (customYAxisIndex; customYAxisIndex < customYAxisLabels.length; customYAxisIndex++) {
if ((v - interval) < customYAxisLabels[customYAxisIndex] && customYAxisLabels[customYAxisIndex] <= v) {
if (this.mAxis.mEntries.indexOf(customYAxisLabels[customYAxisIndex]) < 0) {
this.mAxis.mEntries[index] = customYAxisLabels[customYAxisIndex]
index++;
}
} else {
break;
}
}
if (this.mAxis.mEntries.indexOf(Math.round(v)) < 0) {
this.mAxis.mEntries[index] = v;
index++;
}
v += interval;
}
//Data below the maximum value is not within the range, but should be displayed
if (customYAxisIndex < customYAxisLabels.length) {
for (let y = customYAxisIndex; y < customYAxisLabels.length; y++) {
this.mAxis.mEntries[index] = customYAxisLabels[y];
index ++;
}
}
} else {
for (let i = 0; i < labelCount; i++) {
this.mAxis.mEntries[i] = v;
v += interval;
}
}
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0) {
n = labelCount + customYAxisLabels.length;
} else {
n = labelCount;
}
// no forced count
} else {
let first = interval == 0.0 ? 0.0 : Math.ceil(yMin / interval) * interval;
if (this.mAxis.isCenterAxisLabelsEnabled()) {
first -= interval;
}
let last = interval == 0.0 ? 0.0 : Utils.nextUp(Math.floor(yMax / interval) * interval);
let f: number = 0;
let i: number = 0;
if (interval != 0.0 && last != first) {
for (f = first; f <= last; f += interval) {
++n;
}
} else if (last == first && n == 0) {
n = 1;
}
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntryCount = n + customYAxisLabels.length;
} else {
this.mAxis.mEntryCount = n;
}
if (customYAxisLabels) {
this.mAxis.mEntries = new Array<number>(n + customYAxisLabels.length);
} else {
this.mAxis.mEntries = new Array<number>(n);
}
if (customYAxisLabels) {
let customYAxisIndex : number = 0;
let index : number = 0
for (f = first, i = 0; i < n; f += interval, ++i) {
if (f == 0.0) // Fix for negative zero case (Where value == -0.0, and 0.0 == -0.0)
f = 0.0;
for (customYAxisIndex; customYAxisIndex < customYAxisLabels.length ; customYAxisIndex ++ ) {
if ((f - interval) < customYAxisLabels[customYAxisIndex] && customYAxisLabels[customYAxisIndex] <= f) {
if (this.mAxis.mEntries.indexOf(customYAxisLabels[customYAxisIndex]) < 0) {
this.mAxis.mEntries[index] = customYAxisLabels[customYAxisIndex]
index ++;
}
} else {
break;
}
}
if (this.mAxis.mEntries.indexOf(f) < 0) {
this.mAxis.mEntries[index] = f;
index ++;
}
}
//Data below the maximum value is not within the range, but should be displayed
if (customYAxisIndex < customYAxisLabels.length) {
for (let y = customYAxisIndex; y < customYAxisLabels.length; y++) {
this.mAxis.mEntries[index] = customYAxisLabels[y];
index ++;
}
}
} else {
for (f = first, i = 0;
|
AST#method_declaration#Left protected computeAxisValues AST#parameter_list#Left ( AST#parameter#Left min : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left max : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right , AST#parameter#Left customYAxisLabels ? : AST#type_annotation#Left AST#primary_type#Left AST#array_type#Left number [ ] AST#array_type#Right AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right AST#ERROR#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left yMin = AST#expression#Left min AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left yMax = AST#expression#Left max AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right if ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right ) { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left labelCount = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . getLabelCount AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left range = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . abs AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left yMax AST#expression#Right - AST#expression#Left yMin AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left labelCount AST#expression#Right == AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right || AST#expression#Left AST#binary_expression#Left AST#expression#Left range AST#expression#Right <= AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right || AST#expression#Left AST#binary_expression#Left AST#expression#Left range AST#expression#Right == AST#expression#Left Number AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right . POSITIVE_INFINITY AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mCenteredEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntryCount AST#member_expression#Right = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#return_statement#Left return ; AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right // Find out how much spacing (in y value space) between axis values AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left rawInterval : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#binary_expression#Left AST#expression#Left range AST#expression#Right / AST#expression#Left labelCount AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left interval : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Utils AST#expression#Right . roundToNextSignificant AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left rawInterval AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // If granularity is enabled, then do not allow the interval to go below specified granularity. // This is used to avoid repeated values when rounding values for display. AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . isGranularityEnabled AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left interval = AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right < AST#expression#Left this AST#expression#Right AST#binary_expression#Right AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . getGranularity AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ? AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . getGranularity AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right : AST#expression#Left interval AST#expression#Right AST#conditional_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#if_statement#Right AST#statement#Right // Normalize interval AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left intervalMagnitude = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Utils AST#expression#Right . roundToNextSignificant AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . pow AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 10 AST#expression#Right , AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . log10 AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left interval AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left intervalSigDigit = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right / AST#expression#Left intervalMagnitude AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left intervalSigDigit AST#expression#Right > AST#expression#Left 5 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { // Use one order of magnitude higher, to avoid intervals like 0.9 or 90 // if it's 0.0 after floor(), we use the old value AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left interval = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left 10.0 AST#expression#Right * AST#expression#Left intervalMagnitude AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right == AST#expression#Left 0.0 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#ERROR#Left ? AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right AST#ERROR#Left : AST#qualified_type#Left Math . floor AST#qualified_type#Right ( 10.0 AST#ERROR#Right * AST#expression#Left intervalMagnitude AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#ERROR#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left n = AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . isCenterAxisLabelsEnabled AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ? AST#expression#Left 1 AST#expression#Right : AST#expression#Left 0 AST#expression#Right AST#conditional_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // force label count AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . isForceLabelsEnabled AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left interval = AST#expression#Left AST#binary_expression#Left AST#expression#Left range AST#expression#Right / AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left labelCount AST#expression#Right - AST#expression#Left 1 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntryCount AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left labelCount AST#expression#Right + AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntryCount AST#member_expression#Right = AST#expression#Left labelCount AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right // Ensure stops contains at least numStops elements. AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left labelCount AST#expression#Right + AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left labelCount AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left v = AST#expression#Left min AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left customYAxisIndex : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left i = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#binary_expression#Left AST#expression#Left i AST#expression#Right < AST#expression#Left labelCount AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left i AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#for_statement#Left for ( AST#expression#Left customYAxisIndex AST#expression#Right ; AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left v AST#expression#Right - AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right < AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right <= AST#expression#Left v AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right . indexOf AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right < AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = customYAxisLabels AST#ERROR#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#break_statement#Left break ; AST#break_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right . indexOf AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . round AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left v AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right < AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = v AST#ERROR#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left v += AST#expression#Left interval AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right //Data below the maximum value is not within the range, but should be displayed AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left y = AST#expression#Left customYAxisIndex AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left y AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left y AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = customYAxisLabels AST#ERROR#Right [ AST#expression#Left y AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left i = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#binary_expression#Left AST#expression#Left i AST#expression#Right < AST#expression#Left labelCount AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left i AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left i AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = v AST#ERROR#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left v += AST#expression#Left interval AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left n = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left labelCount AST#expression#Right + AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left n = AST#expression#Left labelCount AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right // no forced count } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left first = AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right == AST#expression#Left 0.0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ? AST#expression#Left 0.0 AST#expression#Right : AST#expression#Left Math AST#expression#Right AST#conditional_expression#Right AST#expression#Right . ceil AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left yMin AST#expression#Right / AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right * AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . isCenterAxisLabelsEnabled AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left first -= AST#expression#Left interval AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left last = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right == AST#expression#Left 0.0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ? AST#expression#Left 0.0 AST#expression#Right : AST#expression#Left Utils AST#expression#Right AST#conditional_expression#Right AST#expression#Right . nextUp AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Math AST#expression#Right . floor AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left yMax AST#expression#Right / AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right * AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left f : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left i : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left interval AST#expression#Right != AST#expression#Left 0.0 AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left last AST#expression#Right != AST#expression#Left first AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#for_statement#Left for ( AST#expression#Left AST#assignment_expression#Left f = AST#expression#Left first AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression#Left AST#binary_expression#Left AST#expression#Left f AST#expression#Right <= AST#expression#Left last AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression#Left AST#assignment_expression#Left f += AST#expression#Left interval AST#expression#Right AST#assignment_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left ++ AST#expression#Left n AST#expression#Right AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right } AST#block_statement#Right else AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left last AST#expression#Right == AST#expression#Left first AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left n AST#expression#Right == AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left n = AST#expression#Left 1 AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left AST#null_literal#Left null AST#null_literal#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right != AST#expression#Left undefined AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right > AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntryCount AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left n AST#expression#Right + AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntryCount AST#member_expression#Right = AST#expression#Left n AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left customYAxisLabels AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left n AST#expression#Right + AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#argument_list#Left ( AST#expression#Left n AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left customYAxisLabels AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left customYAxisIndex : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left 0 AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left let AST#variable_declarator#Left index : AST#type_annotation#Left AST#primary_type#Left number AST#primary_type#Right AST#type_annotation#Right = AST#expression#Left AST#call_expression#Left AST#expression#Left 0 AST#expression#Right AST#ERROR#Left for AST#ERROR#Right AST#argument_list#Left ( AST#expression#Left AST#assignment_expression#Left f = AST#expression#Left first AST#expression#Right AST#assignment_expression#Right AST#expression#Right , AST#expression#Left AST#assignment_expression#Left i = AST#expression#Left 0 AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left i AST#expression#Right < AST#expression#Left n AST#expression#Right AST#binary_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left f += AST#expression#Left AST#update_expression#Left AST#expression#Left interval AST#expression#Right AST#ERROR#Left , AST#ERROR#Right ++ AST#update_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left i AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#ERROR#Left ) { AST#property_name#Left if AST#property_name#Right AST#parameter_list#Left ( AST#parameter#Left f AST#parameter#Right AST#ERROR#Left == 0.0 AST#ERROR#Right ) AST#parameter_list#Right // Fix for negative zero case (Where value == -0.0, and 0.0 == -0.0) f = 0.0 ; AST#ERROR#Right AST#statement#Left AST#for_statement#Left for ( AST#expression#Left customYAxisIndex AST#expression#Right ; AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#parenthesized_expression#Left ( AST#expression#Left AST#binary_expression#Left AST#expression#Left f AST#expression#Right - AST#expression#Left interval AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#parenthesized_expression#Right AST#expression#Right < AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right && AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right <= AST#expression#Left f AST#expression#Right AST#binary_expression#Right AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right . indexOf AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#subscript_expression#Left AST#expression#Left customYAxisLabels AST#expression#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right < AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = customYAxisLabels AST#ERROR#Right [ AST#expression#Left customYAxisIndex AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right else AST#block_statement#Left { AST#statement#Left AST#break_statement#Left break ; AST#break_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#binary_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right . indexOf AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left f AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right < AST#expression#Left 0 AST#expression#Right AST#binary_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = f AST#ERROR#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right //Data below the maximum value is not within the range, but should be displayed AST#statement#Left AST#if_statement#Left if ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left customYAxisIndex AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#for_statement#Left for ( AST#variable_declaration#Left let AST#variable_declarator#Left y = AST#expression#Left customYAxisIndex AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#expression#Left AST#member_expression#Left AST#expression#Left AST#binary_expression#Left AST#expression#Left y AST#expression#Right < AST#expression#Left customYAxisLabels AST#expression#Right AST#binary_expression#Right AST#expression#Right . length AST#member_expression#Right AST#expression#Right ; AST#expression#Left AST#update_expression#Left AST#expression#Left y AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#subscript_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . mAxis AST#member_expression#Right AST#expression#Right . mEntries AST#member_expression#Right AST#expression#Right [ AST#expression#Left index AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right AST#ERROR#Left = customYAxisLabels AST#ERROR#Right [ AST#expression#Left y AST#expression#Right ] AST#subscript_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#update_expression#Left AST#expression#Left index AST#expression#Right ++ AST#update_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#for_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right } AST#block_statement#Right AST#if_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left else AST#expression#Right AST#expression_statement#Right AST#statement#Right { AST#property_name#Left for AST#property_name#Right ( AST#parameter#Left f = AST#expression#Left first AST#expression#Right AST#parameter#Right , AST#parameter#Left i = AST#expression#Left 0 AST#expression#Right AST#parameter#Right AST#ERROR#Right ; AST#method_declaration#Right
|
protected computeAxisValues(min: number, max: number, customYAxisLabels?: number[]) {
let yMin = min;
let yMax = max;
if (this.mAxis) {
let labelCount = this.mAxis.getLabelCount();
let range = Math.abs(yMax - yMin);
if (labelCount == 0 || range <= 0 || range == Number.POSITIVE_INFINITY) {
this.mAxis.mEntries = new Array<number>();
this.mAxis.mCenteredEntries = new Array<number>();
this.mAxis.mEntryCount = 0;
return;
}
let rawInterval: number = range / labelCount;
let interval: number = Utils.roundToNextSignificant(rawInterval);
if (this.mAxis.isGranularityEnabled())
interval = interval < this.mAxis.getGranularity() ? this.mAxis.getGranularity() : interval;
let intervalMagnitude = Utils.roundToNextSignificant(Math.pow(10, Math.floor(Math.log10(interval))));
let intervalSigDigit = Math.floor((interval / intervalMagnitude));
if (intervalSigDigit > 5) {
interval = Math.floor(10.0 * intervalMagnitude) == 0.0
? interval
: Math.floor(10.0 * intervalMagnitude);
}
let n = this.mAxis.isCenterAxisLabelsEnabled() ? 1 : 0;
if (this.mAxis.isForceLabelsEnabled()) {
interval = range / (labelCount - 1);
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntryCount = labelCount + customYAxisLabels.length;
} else {
this.mAxis.mEntryCount = labelCount;
}
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntries = new Array<number>(labelCount + customYAxisLabels.length );
} else {
this.mAxis.mEntries = new Array<number>(labelCount);
}
let v = min;
if (customYAxisLabels != null && customYAxisLabels != undefined&& customYAxisLabels.length > 0) {
let index: number = 0
let customYAxisIndex: number = 0;
for (let i = 0; i < labelCount; i++) {
for (customYAxisIndex; customYAxisIndex < customYAxisLabels.length; customYAxisIndex++) {
if ((v - interval) < customYAxisLabels[customYAxisIndex] && customYAxisLabels[customYAxisIndex] <= v) {
if (this.mAxis.mEntries.indexOf(customYAxisLabels[customYAxisIndex]) < 0) {
this.mAxis.mEntries[index] = customYAxisLabels[customYAxisIndex]
index++;
}
} else {
break;
}
}
if (this.mAxis.mEntries.indexOf(Math.round(v)) < 0) {
this.mAxis.mEntries[index] = v;
index++;
}
v += interval;
}
if (customYAxisIndex < customYAxisLabels.length) {
for (let y = customYAxisIndex; y < customYAxisLabels.length; y++) {
this.mAxis.mEntries[index] = customYAxisLabels[y];
index ++;
}
}
} else {
for (let i = 0; i < labelCount; i++) {
this.mAxis.mEntries[i] = v;
v += interval;
}
}
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0) {
n = labelCount + customYAxisLabels.length;
} else {
n = labelCount;
}
} else {
let first = interval == 0.0 ? 0.0 : Math.ceil(yMin / interval) * interval;
if (this.mAxis.isCenterAxisLabelsEnabled()) {
first -= interval;
}
let last = interval == 0.0 ? 0.0 : Utils.nextUp(Math.floor(yMax / interval) * interval);
let f: number = 0;
let i: number = 0;
if (interval != 0.0 && last != first) {
for (f = first; f <= last; f += interval) {
++n;
}
} else if (last == first && n == 0) {
n = 1;
}
if (customYAxisLabels != null && customYAxisLabels != undefined && customYAxisLabels.length > 0){
this.mAxis.mEntryCount = n + customYAxisLabels.length;
} else {
this.mAxis.mEntryCount = n;
}
if (customYAxisLabels) {
this.mAxis.mEntries = new Array<number>(n + customYAxisLabels.length);
} else {
this.mAxis.mEntries = new Array<number>(n);
}
if (customYAxisLabels) {
let customYAxisIndex : number = 0;
let index : number = 0
for (f = first, i = 0; i < n; f += interval, ++i) {
if (f == 0.0)
f = 0.0;
for (customYAxisIndex; customYAxisIndex < customYAxisLabels.length ; customYAxisIndex ++ ) {
if ((f - interval) < customYAxisLabels[customYAxisIndex] && customYAxisLabels[customYAxisIndex] <= f) {
if (this.mAxis.mEntries.indexOf(customYAxisLabels[customYAxisIndex]) < 0) {
this.mAxis.mEntries[index] = customYAxisLabels[customYAxisIndex]
index ++;
}
} else {
break;
}
}
if (this.mAxis.mEntries.indexOf(f) < 0) {
this.mAxis.mEntries[index] = f;
index ++;
}
}
if (customYAxisIndex < customYAxisLabels.length) {
for (let y = customYAxisIndex; y < customYAxisLabels.length; y++) {
this.mAxis.mEntries[index] = customYAxisLabels[y];
index ++;
}
}
} else {
for (f = first, i = 0;
|
https://github.com/openharmony-tpc/ohos_mpchart/blob/4fb43a7137320ef2fee2634598f53d93975dfb4a/library/src/main/ets/components/renderer/AxisRenderer.ets#L161-L312
|
fe372f808fd6d8905474aa168036954c78bc9cd5
|
gitee
|
OHPG/FinVideo.git
|
2b288396af5b2a20a24575faa317b46214965391
|
entry/src/main/ets/data/Repository.ets
|
arkts
|
onPlaybackStart
|
播放开始
@param id
@returns
|
public onPlaybackStart(id: string): Promise<void> {
return this.requireApi().onPlaybackStart(id)
}
|
AST#method_declaration#Left public onPlaybackStart AST#parameter_list#Left ( AST#parameter#Left id : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#return_statement#Left return AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . requireApi AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . onPlaybackStart AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left id AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#return_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
public onPlaybackStart(id: string): Promise<void> {
return this.requireApi().onPlaybackStart(id)
}
|
https://github.com/OHPG/FinVideo.git/blob/2b288396af5b2a20a24575faa317b46214965391/entry/src/main/ets/data/Repository.ets#L170-L172
|
45303b4d30805266b24da18a91400edabfd2b5c0
|
github
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/BasicFeature/Media/Image/photomodify/src/main/ets/components/pages/PictureOptions.ets
|
arkts
|
getFirstLvMenu
|
底部一级菜单
|
@Builder
getFirstLvMenu() {
Row() {
Column() {
Image($r('app.media.ic_adjust'))
.width($r('app.float.size_30'))
.height($r('app.float.size_30'))
Text($r('app.string.edit_picture_js'))
.fontColor(Color.White)
.fontSize($r('app.float.size_16'))
}
.id('external')
.justifyContent(FlexAlign.Center)
.justifyContent(FlexAlign.Center)
.height('100%')
.width('40%')
.margin({ left: '10%' })
.backgroundColor(this.adjustMarkJudg ? Color.Black : $r('app.color.edit_image_adjust_selected'))
.onClick(async () => {
this.adjustMarkJudg = false;
this.currentTask = Tasks.ADJUST;
})
Column() {
Image($r('app.media.ic_mark'))
.width($r('app.float.size_30'))
.height($r('app.float.size_30'))
Text($r('app.string.edit_picture_native'))
.fontColor(Color.White)
.fontSize($r('app.float.size_16'))
}
.id('inner')
.justifyContent(FlexAlign.Center)
.onClick(() => {
this.adjustMarkJudg = true;
this.currentTask = Tasks.MARK;
})
.backgroundColor(this.adjustMarkJudg ? $r('app.color.edit_image_adjust_selected') : Color.Black)
.height('100%')
.width('40%')
.margin({ right: '10%' })
}
.height('9%')
.width('100%')
}
|
AST#method_declaration#Left AST#decorator#Left @ Builder AST#decorator#Right getFirstLvMenu AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Row ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Image ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.ic_adjust' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_30' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_30' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.string.edit_picture_js' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_16' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . id ( AST#expression#Left 'external' AST#expression#Right ) AST#modifier_chain_expression#Left . justifyContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . justifyContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '40%' AST#expression#Right ) AST#modifier_chain_expression#Left . margin ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left left AST#property_name#Right : AST#expression#Left '10%' AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . adjustMarkJudg AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . Black AST#member_expression#Right AST#expression#Right : AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.color.edit_image_adjust_selected' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right AST#conditional_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . adjustMarkJudg AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTask AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left Tasks AST#expression#Right . ADJUST AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Column ( ) AST#container_content_body#Left { AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Image ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.media.ic_mark' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . width ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_30' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_30' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right AST#arkts_ui_element#Left AST#ui_element_with_modifiers#Left AST#ui_component#Left Text ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.string.edit_picture_native' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#ui_component#Right AST#modifier_chain_expression#Left . fontColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left Color AST#expression#Right . White AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . fontSize ( AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.float.size_16' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . id ( AST#expression#Left 'inner' AST#expression#Right ) AST#modifier_chain_expression#Left . justifyContent ( AST#expression#Left AST#member_expression#Left AST#expression#Left FlexAlign AST#expression#Right . Center AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . onClick ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . adjustMarkJudg AST#member_expression#Right = AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#assignment_expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . currentTask AST#member_expression#Right = AST#expression#Left AST#member_expression#Left AST#expression#Left Tasks AST#expression#Right . MARK AST#member_expression#Right AST#expression#Right AST#assignment_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#modifier_chain_expression#Left . backgroundColor ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#conditional_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . adjustMarkJudg AST#member_expression#Right AST#expression#Right ? AST#expression#Left AST#resource_expression#Left $r ( AST#expression#Left 'app.color.edit_image_adjust_selected' AST#expression#Right ) AST#resource_expression#Right AST#expression#Right : AST#expression#Left Color AST#expression#Right AST#conditional_expression#Right AST#expression#Right . Black AST#member_expression#Right AST#expression#Right ) AST#modifier_chain_expression#Left . height ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '40%' AST#expression#Right ) AST#modifier_chain_expression#Left . margin ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left right AST#property_name#Right : AST#expression#Left '10%' AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#container_content_body#Right AST#ui_component#Right AST#modifier_chain_expression#Left . height ( AST#expression#Left '9%' AST#expression#Right ) AST#modifier_chain_expression#Left . width ( AST#expression#Left '100%' AST#expression#Right ) AST#modifier_chain_expression#Right AST#modifier_chain_expression#Right AST#ui_element_with_modifiers#Right AST#arkts_ui_element#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
@Builder
getFirstLvMenu() {
Row() {
Column() {
Image($r('app.media.ic_adjust'))
.width($r('app.float.size_30'))
.height($r('app.float.size_30'))
Text($r('app.string.edit_picture_js'))
.fontColor(Color.White)
.fontSize($r('app.float.size_16'))
}
.id('external')
.justifyContent(FlexAlign.Center)
.justifyContent(FlexAlign.Center)
.height('100%')
.width('40%')
.margin({ left: '10%' })
.backgroundColor(this.adjustMarkJudg ? Color.Black : $r('app.color.edit_image_adjust_selected'))
.onClick(async () => {
this.adjustMarkJudg = false;
this.currentTask = Tasks.ADJUST;
})
Column() {
Image($r('app.media.ic_mark'))
.width($r('app.float.size_30'))
.height($r('app.float.size_30'))
Text($r('app.string.edit_picture_native'))
.fontColor(Color.White)
.fontSize($r('app.float.size_16'))
}
.id('inner')
.justifyContent(FlexAlign.Center)
.onClick(() => {
this.adjustMarkJudg = true;
this.currentTask = Tasks.MARK;
})
.backgroundColor(this.adjustMarkJudg ? $r('app.color.edit_image_adjust_selected') : Color.Black)
.height('100%')
.width('40%')
.margin({ right: '10%' })
}
.height('9%')
.width('100%')
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/BasicFeature/Media/Image/photomodify/src/main/ets/components/pages/PictureOptions.ets#L225-L269
|
2862ecfe3c6d182462851efc367c9f38f692c023
|
gitee
|
zqf-dev/WAndroidHOS.git
|
e2e560a7c96110c43d13eb232826707601172b6d
|
entry/src/main/ets/pages/Index.ets
|
arkts
|
onIndexChange
|
切换改变的监听
|
onIndexChange() {
this.controller.changeIndex(this.bottomTabIndex);
}
|
AST#method_declaration#Left onIndexChange AST#parameter_list#Left ( ) AST#parameter_list#Right AST#builder_function_body#Left { AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . controller AST#member_expression#Right AST#expression#Right . changeIndex AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . bottomTabIndex AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right } AST#builder_function_body#Right AST#method_declaration#Right
|
onIndexChange() {
this.controller.changeIndex(this.bottomTabIndex);
}
|
https://github.com/zqf-dev/WAndroidHOS.git/blob/e2e560a7c96110c43d13eb232826707601172b6d/entry/src/main/ets/pages/Index.ets#L34-L36
|
e72333926e7179ccdb712321d0a19064f0c5ed81
|
github
|
openharmony/applications_app_samples
|
a826ab0e75fe51d028c1c5af58188e908736b53b
|
code/DocsSample/CoreFile/FileSample/entry/src/main/ets/fileFs/FileFs.ets
|
arkts
|
[End streams_file] 使用文件哈希流
|
export function hashFileWithStream() {
const filePath = `${filesDir}/test.txt`;
// 创建文件可读流
const rs = fs.createReadStream(filePath);
// 创建哈希流
const hs = hash.createHash('sha256');
rs.on('data', (emitData) => {
const data = emitData?.data;
// 0 表示获取字符串中第一个字符的 字符编码 (即 Unicode 编码点)的值
hs.update(new Uint8Array(data?.split('').map((x: string) => x.charCodeAt(0))).buffer);
});
rs.on('close', async () => {
const hashResult = hs.digest();
const fileHash = await hash.hash(filePath, 'sha256');
Logger.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
});
}
|
AST#export_declaration#Left export AST#function_declaration#Left function hashFileWithStream AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left filePath = AST#expression#Left AST#template_literal#Left ` AST#template_substitution#Left $ { AST#expression#Left filesDir AST#expression#Right } AST#template_substitution#Right /test.txt ` AST#template_literal#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 创建文件可读流 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left rs = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left fs AST#expression#Right . createReadStream AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left filePath AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 创建哈希流 AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left hs = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hash AST#expression#Right . createHash AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'sha256' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left rs AST#expression#Right . on AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'data' AST#expression#Right , AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left emitData AST#parameter#Right ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left data = AST#expression#Left AST#member_expression#Left AST#expression#Left emitData AST#expression#Right ?. data AST#member_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right // 0 表示获取字符串中第一个字符的 字符编码 (即 Unicode 编码点)的值 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hs AST#expression#Right . update AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#new_expression#Left new AST#expression#Left Uint8Array AST#expression#Right AST#new_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left data AST#expression#Right ?. split AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left '' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . map AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#arrow_function#Left AST#parameter_list#Left ( AST#parameter#Left x : AST#type_annotation#Left AST#primary_type#Left string AST#primary_type#Right AST#type_annotation#Right AST#parameter#Right ) AST#parameter_list#Right => AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left x AST#expression#Right . charCodeAt AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 0 AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right . buffer AST#member_expression#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left rs AST#expression#Right . on AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left 'close' AST#expression#Right , AST#expression#Left AST#arrow_function#Left async AST#parameter_list#Left ( ) AST#parameter_list#Right => AST#block_statement#Left { AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left hashResult = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hs AST#expression#Right . digest AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#variable_declaration#Left const AST#variable_declarator#Left fileHash = AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left hash AST#expression#Right AST#await_expression#Right AST#expression#Right . hash AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left filePath AST#expression#Right , AST#expression#Left 'sha256' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right AST#variable_declarator#Right ; AST#variable_declaration#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left Logger AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#template_literal#Left ` hashResult: AST#template_substitution#Left $ { AST#expression#Left hashResult AST#expression#Right } AST#template_substitution#Right , fileHash: AST#template_substitution#Left $ { AST#expression#Left fileHash AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#arrow_function#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#function_declaration#Right AST#export_declaration#Right
|
export function hashFileWithStream() {
const filePath = `${filesDir}/test.txt`;
const rs = fs.createReadStream(filePath);
const hs = hash.createHash('sha256');
rs.on('data', (emitData) => {
const data = emitData?.data;
hs.update(new Uint8Array(data?.split('').map((x: string) => x.charCodeAt(0))).buffer);
});
rs.on('close', async () => {
const hashResult = hs.digest();
const fileHash = await hash.hash(filePath, 'sha256');
Logger.info(`hashResult: ${hashResult}, fileHash: ${fileHash}`);
});
}
|
https://github.com/openharmony/applications_app_samples/blob/a826ab0e75fe51d028c1c5af58188e908736b53b/code/DocsSample/CoreFile/FileSample/entry/src/main/ets/fileFs/FileFs.ets#L178-L194
|
5793b9ed2dd47b8d124b441f04be7c593200663a
|
gitee
|
|
bigbear20240612/birthday_reminder.git
|
647c411a6619affd42eb5d163ff18db4b34b27ff
|
entry/src/main/ets/services/notification/NotificationManager.ets
|
arkts
|
createNotificationChannels
|
创建通知渠道
|
private async createNotificationChannels(): Promise<void> {
try {
// 生日提醒渠道
await notificationManager.addSlot({
type: notificationManager.SlotType.CONTENT_INFORMATION,
slotId: NotificationConstants.BIRTHDAY_CHANNEL_ID,
name: NotificationConstants.BIRTHDAY_CHANNEL_NAME,
description: '生日提醒通知',
level: notificationManager.SlotLevel.LEVEL_HIGH,
badgeFlag: true,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.PUBLIC,
vibrationEnabled: true,
sound: 'file://system/etc/notification_sound.ogg',
lightEnabled: true,
lightColor: 0xFF0000
});
// 纪念日提醒渠道
await notificationManager.addSlot({
type: notificationManager.SlotType.CONTENT_INFORMATION,
slotId: NotificationConstants.ANNIVERSARY_CHANNEL_ID,
name: NotificationConstants.ANNIVERSARY_CHANNEL_NAME,
description: '纪念日提醒通知',
level: notificationManager.SlotLevel.LEVEL_HIGH,
badgeFlag: true,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.PUBLIC,
vibrationEnabled: true,
sound: 'file://system/etc/notification_sound.ogg'
});
// 系统通知渠道
await notificationManager.addSlot({
type: notificationManager.SlotType.SERVICE_INFORMATION,
slotId: NotificationConstants.SYSTEM_CHANNEL_ID,
name: NotificationConstants.SYSTEM_CHANNEL_NAME,
description: '系统通知',
level: notificationManager.SlotLevel.LEVEL_DEFAULT,
badgeFlag: false,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.SECRET
});
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION, 'Notification channels created');
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION, `Failed to create notification channels: ${error}`);
}
}
|
AST#method_declaration#Left private async createNotificationChannels AST#parameter_list#Left ( ) AST#parameter_list#Right : AST#type_annotation#Left AST#primary_type#Left AST#generic_type#Left Promise AST#type_arguments#Left < AST#type_annotation#Left AST#primary_type#Left void AST#primary_type#Right AST#type_annotation#Right > AST#type_arguments#Right AST#generic_type#Right AST#primary_type#Right AST#type_annotation#Right AST#block_statement#Left { AST#statement#Left AST#try_statement#Left try AST#block_statement#Left { // 生日提醒渠道 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left notificationManager AST#expression#Right AST#await_expression#Right AST#expression#Right . addSlot AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left type AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotType AST#member_expression#Right AST#expression#Right . CONTENT_INFORMATION AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left slotId AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . BIRTHDAY_CHANNEL_ID AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left name AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . BIRTHDAY_CHANNEL_NAME AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left description AST#property_name#Right : AST#expression#Left '生日提醒通知' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left level AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotLevel AST#member_expression#Right AST#expression#Right . LEVEL_HIGH AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left badgeFlag AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bypassDnd AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left lockscreenVisibility AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . LockScreenVisibility AST#member_expression#Right AST#expression#Right . PUBLIC AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left vibrationEnabled AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left sound AST#property_name#Right : AST#expression#Left 'file://system/etc/notification_sound.ogg' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left lightEnabled AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left lightColor AST#property_name#Right : AST#expression#Left 0xFF0000 AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right // 纪念日提醒渠道 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left notificationManager AST#expression#Right AST#await_expression#Right AST#expression#Right . addSlot AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left type AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotType AST#member_expression#Right AST#expression#Right . CONTENT_INFORMATION AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left slotId AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . ANNIVERSARY_CHANNEL_ID AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left name AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . ANNIVERSARY_CHANNEL_NAME AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left description AST#property_name#Right : AST#expression#Left '纪念日提醒通知' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left level AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotLevel AST#member_expression#Right AST#expression#Right . LEVEL_HIGH AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left badgeFlag AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bypassDnd AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left lockscreenVisibility AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . LockScreenVisibility AST#member_expression#Right AST#expression#Right . PUBLIC AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left vibrationEnabled AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left true AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left sound AST#property_name#Right : AST#expression#Left 'file://system/etc/notification_sound.ogg' AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right // 系统通知渠道 AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left AST#await_expression#Left await AST#expression#Left notificationManager AST#expression#Right AST#await_expression#Right AST#expression#Right . addSlot AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#object_literal#Left { AST#property_assignment#Left AST#property_name#Left type AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotType AST#member_expression#Right AST#expression#Right . SERVICE_INFORMATION AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left slotId AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . SYSTEM_CHANNEL_ID AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left name AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left NotificationConstants AST#expression#Right . SYSTEM_CHANNEL_NAME AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left description AST#property_name#Right : AST#expression#Left '系统通知' AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left level AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . SlotLevel AST#member_expression#Right AST#expression#Right . LEVEL_DEFAULT AST#member_expression#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left badgeFlag AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left bypassDnd AST#property_name#Right : AST#expression#Left AST#boolean_literal#Left false AST#boolean_literal#Right AST#expression#Right AST#property_assignment#Right , AST#property_assignment#Left AST#property_name#Left lockscreenVisibility AST#property_name#Right : AST#expression#Left AST#member_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left notificationManager AST#expression#Right . LockScreenVisibility AST#member_expression#Right AST#expression#Right . SECRET AST#member_expression#Right AST#expression#Right AST#property_assignment#Right } AST#object_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . info AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_NOTIFICATION AST#member_expression#Right AST#expression#Right , AST#expression#Left 'Notification channels created' AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Left catch ( error ) AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left hilog AST#expression#Right . error AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . DOMAIN_APP AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#member_expression#Left AST#expression#Left LogConstants AST#expression#Right . TAG_NOTIFICATION AST#member_expression#Right AST#expression#Right , AST#expression#Left AST#template_literal#Left ` Failed to create notification channels: AST#template_substitution#Left $ { AST#expression#Left error AST#expression#Right } AST#template_substitution#Right ` AST#template_literal#Right AST#expression#Right ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#catch_clause#Right AST#try_statement#Right AST#statement#Right } AST#block_statement#Right AST#method_declaration#Right
|
private async createNotificationChannels(): Promise<void> {
try {
await notificationManager.addSlot({
type: notificationManager.SlotType.CONTENT_INFORMATION,
slotId: NotificationConstants.BIRTHDAY_CHANNEL_ID,
name: NotificationConstants.BIRTHDAY_CHANNEL_NAME,
description: '生日提醒通知',
level: notificationManager.SlotLevel.LEVEL_HIGH,
badgeFlag: true,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.PUBLIC,
vibrationEnabled: true,
sound: 'file://system/etc/notification_sound.ogg',
lightEnabled: true,
lightColor: 0xFF0000
});
await notificationManager.addSlot({
type: notificationManager.SlotType.CONTENT_INFORMATION,
slotId: NotificationConstants.ANNIVERSARY_CHANNEL_ID,
name: NotificationConstants.ANNIVERSARY_CHANNEL_NAME,
description: '纪念日提醒通知',
level: notificationManager.SlotLevel.LEVEL_HIGH,
badgeFlag: true,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.PUBLIC,
vibrationEnabled: true,
sound: 'file://system/etc/notification_sound.ogg'
});
await notificationManager.addSlot({
type: notificationManager.SlotType.SERVICE_INFORMATION,
slotId: NotificationConstants.SYSTEM_CHANNEL_ID,
name: NotificationConstants.SYSTEM_CHANNEL_NAME,
description: '系统通知',
level: notificationManager.SlotLevel.LEVEL_DEFAULT,
badgeFlag: false,
bypassDnd: false,
lockscreenVisibility: notificationManager.LockScreenVisibility.SECRET
});
hilog.info(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION, 'Notification channels created');
} catch (error) {
hilog.error(LogConstants.DOMAIN_APP, LogConstants.TAG_NOTIFICATION, `Failed to create notification channels: ${error}`);
}
}
|
https://github.com/bigbear20240612/birthday_reminder.git/blob/647c411a6619affd42eb5d163ff18db4b34b27ff/entry/src/main/ets/services/notification/NotificationManager.ets#L99-L147
|
81dd8e711ebf67b67f424e620a3e980505192365
|
github
|
Joker-x-dev/CoolMallArkTS.git
|
9f3fabf89fb277692cb82daf734c220c7282919c
|
core/database/src/main/ets/datasource/searchhistory/SearchHistoryLocalDataSourceImpl.ets
|
arkts
|
构造函数,初始化 ORM 并确保搜索历史表已迁移
@returns {SearchHistoryLocalDataSourceImpl} 实例
|
constructor() {
this.ensureMigrated();
}
|
AST#constructor_declaration#Left constructor AST#parameter_list#Left ( ) AST#parameter_list#Right AST#block_statement#Left { AST#statement#Left AST#expression_statement#Left AST#expression#Left AST#call_expression#Left AST#expression#Left AST#member_expression#Left AST#expression#Left this AST#expression#Right . ensureMigrated AST#member_expression#Right AST#expression#Right AST#argument_list#Left ( ) AST#argument_list#Right AST#call_expression#Right AST#expression#Right ; AST#expression_statement#Right AST#statement#Right } AST#block_statement#Right AST#constructor_declaration#Right
|
constructor() {
this.ensureMigrated();
}
|
https://github.com/Joker-x-dev/CoolMallArkTS.git/blob/9f3fabf89fb277692cb82daf734c220c7282919c/core/database/src/main/ets/datasource/searchhistory/SearchHistoryLocalDataSourceImpl.ets#L24-L26
|
a64f7a831f106d1c0aab7038ef461621e306ffcb
|
github
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.