- 博客(24)
- 问答 (2)
- 收藏
- 关注
原创 electron-vite程序 window.exe
采用 electron-vite(electron-builder),vue3,pinia,做的。用的elplusui 的一些组件 采用拟态风格 全局配置样式。具体关键代码 build是相关打包代码。别的分支也有框架模版。
2024-06-27 00:43:19 148
原创 Vue3 UniApp app读取文件列表
只适用android app系统文件很多 所有只获取一层 想要获取多层需要递归效果图${${getName${
2024-05-04 21:50:02 511 6
原创 nodeExpress_nodeWebScoket_alova_vite_vue3_pinia_router_echart_openlayer_高德地图
nodeExpress_nodeWebScoket_alova_vite_vue3_pinia_router_echart_openlayer_高德地图gitee算是一个较完整的数据文件 echarts china.json文件提取码 g4w5file - { web, server }Node.js v18.16.1npmwebnpm create vue@latestcd webnpm install alovanpm install ant-design-vue
2024-04-08 21:11:30 938
原创 Vue-动态component组件 is
网上有一些因为webpack版本问题需要用require的我没有遇到所以我看路由渲染试探性写的。component组件使用动态展示模板小问题。
2022-07-30 23:31:04 180
转载 Angualr12-module
//模块化import { NgModule } from '@angular/core'//适配游览器版本import { BrowserModule } from '@angular/platform-browser'//http服务import { HttpClientModule,HttpClient }from'@angular/common/http'//表单 使用ngModel时import { FormsModule } from '@angular/forms'//语言i
2022-01-13 22:57:10 95
原创 Angular8-nz-rozzo nz-modal
item<p (click)="createModalMet()">item</p>item tsimport { Component, OnInit } from '@angular/core';import { ModalDragService } from './dragableModal.service'import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';import { SonCo.
2021-12-29 22:12:51 1327
原创 Angular7-nz-rozzo nz-form
home.component.html<form nz-form [formGroup]="fg"> <nz-form-item> <nz-form-label nzRequired nzFor="name">名称</nz-form-label> <nz-form-control nzHasFeedback> <input nz-input formControlName="name" [(ngModel)]="query.
2021-12-18 19:51:01 665
原创 Angular8-HostListener HostBinding
confirm.directive.tsimport { Directive,OnInit,HostListener,HostBinding,ElementReff} from '@angular/core'@Directive({selector:'[confirms]'})export class ConfirmsDirective implements OnInit{ public ele:any; public val:any; construtor(private el:Element
2021-12-18 19:31:57 280
原创 Angular6-http请求
https://api-hmugo-web.itheima.net/api/public/v1/categoriesangularservice服务import { Injectable } from '@angular/core';import { HttpClient } from '@angular/common/http';@Injectable({ providedIn: 'root',})export class ItemService { constructor(
2021-12-13 19:58:22 1113
原创 Angular6-路由守卫
import { Injectable } from '@angular/core';import { CanActivate, CanDeactivate, CanLoad, CanActivateChild, ActivatedRouteSnapshot, RouterStateSnapshot, Router, Route, UrlSegment, UrlTree,} from '@angular/router';import { Observable }
2021-12-06 11:48:09 1291
原创 Angular_Vue-router路由跳转接收参数
angularrouter-module.tsimport { NgModule } from '@angular/core';import { RouterModule, Routes } from '@angular/router';import { ItemComponent } from './item/item.component';import { HomeComponent} from './home/home.component';const routes: Routes = [
2021-12-06 10:30:30 1357
原创 Angular12-NgxCharts-散点图
散点图<!-- 散点图 --><div echarts [options]="echartsNgxScatter" style="width: 600px;height: 400px;"></div>import * as echarts from 'echarts'; // 散点图 echartsNgxScatter: any; echartsNgxScatterData: any = [ { id: '01',
2021-12-02 16:28:16 346
原创 Angular12-eCharts-NgxCharts
安装npm install echarts -Snpm install ngx-echarts -Sapp.moduleimport { NgxEchartsModule } from 'ngx-echarts';@NgModule({ imports: [ NgxEchartsModule.forRoot({echarts: () => import('echarts') }), ],})组件内<div id="echartsY" style="wid
2021-11-29 10:09:11 510
原创 javascript 点击加一个小心心
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Do
2021-11-24 14:46:11 216
原创 javascript 方法
export function toFixeds(value: number, digst: number) { let value1: any = value + ""; if (!digst) digst = 0; if (value1.indexOf(".") == -1) value1 += "."; value1 += new Array(digst + 1).join("0"); if (new RegExp("^(-|\\+)?(\\d+(\\.\\d{0," + (dig
2021-11-22 16:43:06 368
原创 Angular12-px转rem webpack配置
1npm i -D @angular-builders/custom-webpacknpm install postcss-pxtorem --save-devnpm i -S amfe-flexible234
2021-10-31 15:08:19 276
TA创建的收藏夹 TA关注的收藏夹
TA关注的人