app-preview-video组件 HTML <div> <video class="preview-element" [poster]="item.cover" controls [style]="item.style" [src]="item.src"></video> </div> CSS
action === ActionTypes.VIEW_PIC" (click)="PreviewService.emit(item.event)" /> </div> }) CSS 无。
(click)="PreviewService.emit(item.event)" // innerHTML为插入html片段的指令 [innerHTML]="item.text" ></p> </div> }) CSS
item.content.divImage.src" alt="" /> <div (click)="events(item.content.divButton)" class="button">{{ item.content.divButton.textValue }}</div> </div> CSS
"events(item.content.divButton)" *ngIf="item.content.buttomType === 0" class="button"> {{ item.content.divButton.textValue }} </div> </div> CSS
item1 of item.swiper.swiperArr"> <img [style]="{ width: item.style.width }" [src]="item1.src" alt="" /> </ swiperSlide > </ swiper> </div> CSS
innerHTML]="item.divTextButton.button1.textValue" ></div> </div> </div> </div> </div> </div> CSS
app-preview-button组件 HTML <div> <p [style]="item.style" (click)="PreviewService.emit(item.event)" class="preview-element" > {{ item.text }} </p> </div> CSS
对于各类型子组件,子组件代码示例提供了相应的HTML、CSS、JavaScript代码段供参考,部分组件无需编写CSS样式和JavaScript逻辑,请您以实际使用框架和组件库为准。
登录云服务器 什么是ECS 创建容器应用基本流程 初始化数据盘 什么是ECS 创建容器应用基本流程 05 实践 弹性云服务器(Elastic Cloud Server)是一种可随时自动获取、计算能力可弹性伸缩的云服务器。
textDown.textValue"></div> </div> </div> <div class="ticketImage_tip" [innerHTML]="item.content.divTip.text.textValue"></div> </div> CSS
(click)="handlerAction(i)"> <div *ngFor="let item1 of list.buts" class="Sideslip-but"> {{ item1.text }} </div> </div> </div> </div> </div> CSS
编写子组件的HTML、CSS、JavaScirpt。 子组件代码示例提供了各类型子组件的HTML、CSS和JavaScript代码段供参考,开发时请以实际使用框架和组件库为准。 判断各子组件类型是否显示。
<app-preview-card-vouchers *ngIf="item.type === 'card-vouchers'" [item]="item"></app-preview-card-vouchers> </div> </div> CSS
textValue }} </div> <div class="divButton_right" *ngIf="item.content.divButton[1]"> {{ item.content.divButton[1].textValue }} </div> </div> </div> CSS
third_service_name 否 String 第三方服务名,长度范围为1-50个字符。 说明: action_type=OPEN_QUICK或OPEN_APP必填,其他不填。
1:普通 3:前缀号段 5:后缀号段 最小值:1 最大值:5 sign_search 否 String 单个通道号签名。 说明: 不支持多个签名查询,支持模糊搜索。长度要求0-18。
third_service_name 否 String 第三方服务名,长度范围为1-50个字符。 说明: action_type=OPEN_QUICK或OPEN_APP必填,其他不填。
third_service_name String 第三方服务名,长度范围为1-50个字符。 说明: action_type=OPEN_QUICK或OPEN_APP必填,其他不填。
409 Conflict 413 Request Entity Too Large 415 Unsupported Media Type 429 Too Many Requests 500 Internal Server Error 501 Not Implemented 503 Service
您即将访问非华为云网站,请注意账号财产安全