├── 毕业设计(微信小程序)
├── app.wxss
├── vant-ui
│ ├── common
│ │ ├── style
│ │ │ ├── theme.wxss
│ │ │ ├── var.wxss
│ │ │ ├── mixins
│ │ │ │ ├── clearfix.wxss
│ │ │ │ ├── ellipsis.wxss
│ │ │ │ └── hairline.wxss
│ │ │ ├── clearfix.wxss
│ │ │ ├── ellipsis.wxss
│ │ │ └── hairline.wxss
│ │ ├── color.js
│ │ ├── component.d.ts
│ │ ├── color.d.ts
│ │ ├── utils.d.ts
│ │ ├── utils.js
│ │ └── index.wxss
│ ├── definitions
│ │ ├── index.js
│ │ ├── weapp.js
│ │ └── index.d.ts
│ ├── area
│ │ ├── index.d.ts
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.wxml
│ ├── button
│ │ ├── index.d.ts
│ │ └── index.json
│ ├── card
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.js
│ │ └── index.wxss
│ ├── cell
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.js
│ ├── circle
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── col
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── dialog
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxss
│ ├── divider
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ ├── field
│ │ ├── index.d.ts
│ │ └── index.json
│ ├── grid
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── icon
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── image
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── info
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── loading
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── nav-bar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ ├── notify
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── notify.d.ts
│ │ ├── index.wxss
│ │ └── notify.js
│ ├── overlay
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── panel
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ ├── picker
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── shared.js
│ │ ├── shared.d.ts
│ │ └── index.wxss
│ ├── popup
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── radio
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── rate
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── row
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── search
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxss
│ ├── sidebar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── slider
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── stepper
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── steps
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.js
│ ├── sticky
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── switch
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── tab
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── tabbar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── tabs
│ │ ├── index.d.ts
│ │ └── index.json
│ ├── tag
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── toast
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxml
│ │ └── toast.d.ts
│ ├── action-sheet
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxss
│ ├── cell-group
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── checkbox-group
│ │ ├── index.wxml
│ │ ├── index.d.ts
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.js
│ ├── checkbox
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── collapse
│ │ ├── index.d.ts
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.wxml
│ ├── count-down
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── utils.d.ts
│ ├── goods-action
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ ├── grid-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── notice-bar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── progress
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── radio-group
│ │ ├── index.d.ts
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.js
│ ├── sidebar-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ ├── submit-bar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── swipe-cell
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── tabbar-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── transition
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── tree-select
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxss
│ ├── collapse-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ └── index.wxml
│ ├── datetime-picker
│ │ ├── index.d.ts
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.wxml
│ ├── dropdown-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── dropdown-menu
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── goods-action-icon
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ ├── picker-column
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── goods-action-button
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── mixins
│ │ ├── basic.d.ts
│ │ ├── link.d.ts
│ │ ├── touch.d.ts
│ │ ├── button.d.ts
│ │ ├── open-type.d.ts
│ │ ├── observer
│ │ │ ├── behavior.d.ts
│ │ │ ├── index.d.ts
│ │ │ ├── behavior.js
│ │ │ └── index.js
│ │ ├── transition.d.ts
│ │ ├── link.js
│ │ ├── button.js
│ │ ├── basic.js
│ │ ├── open-type.js
│ │ └── touch.js
│ └── wxs
│ │ ├── array.wxs
│ │ ├── utils.wxs
│ │ ├── object.wxs
│ │ ├── bem.wxs
│ │ └── memoize.wxs
├── pages
│ ├── skin
│ │ ├── skin.json
│ │ ├── skin.wxml
│ │ ├── skin.js
│ │ └── skin.wxss
│ ├── top
│ │ ├── top.json
│ │ └── top.wxml
│ ├── Comment
│ │ ├── Comment.json
│ │ ├── Comment.wxss
│ │ ├── Comment.wxml
│ │ └── Comment.js
│ ├── index
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── search
│ │ ├── search.json
│ │ ├── search.js
│ │ └── search.wxml
│ ├── shake
│ │ ├── shake.json
│ │ └── shake.wxml
│ ├── coming
│ │ ├── coming.json
│ │ ├── coming.wxml
│ │ ├── coming.js
│ │ └── coming.wxss
│ ├── setting
│ │ ├── setting.wxss
│ │ ├── setting.json
│ │ └── setting.wxml
│ ├── history
│ │ └── history.json
│ ├── about
│ │ ├── about.json
│ │ ├── about.js
│ │ ├── about.wxss
│ │ └── about.wxml
│ ├── gallery
│ │ ├── gallery.json
│ │ ├── gallery.wxml
│ │ └── gallery.wxss
│ ├── personInfo
│ │ ├── personInfo.json
│ │ ├── personInfo.wxml
│ │ └── personInfo.wxss
│ ├── information
│ │ ├── information.json
│ │ └── information.js
│ ├── editPersonInfo
│ │ └── editPersonInfo.json
│ └── popular
│ │ ├── popular.json
│ │ ├── popular.wxss
│ │ ├── popular.js
│ │ └── popular.wxml
├── images
│ ├── 1.jpg
│ ├── 2.jpg
│ ├── 3.jpg
│ ├── binxue.jpg
│ ├── movie.jpg
│ ├── icon
│ │ ├── xx.png
│ │ ├── chat.png
│ │ ├── chat1.png
│ │ ├── search.png
│ │ ├── share.png
│ │ ├── star.png
│ │ ├── view.png
│ │ ├── fivestar.png
│ │ ├── arrow-right.png
│ │ ├── collection.png
│ │ ├── none-star.png
│ │ ├── share-anti.png
│ │ └── collection-anti.png
│ ├── shouyir.jpg
│ ├── yisheng.jpg
│ ├── 20191023144043_WrCUT.jpeg
│ └── 20191023160052_t2Hek.jpeg
├── comonents
│ ├── movie-item
│ │ ├── movie-item.json
│ │ ├── movie-item.wxml
│ │ ├── movie-item.js
│ │ └── movie-item.wxss
│ ├── message
│ │ ├── message.wxml
│ │ └── message.js
│ ├── nullTip
│ │ └── nullTip.wxml
│ └── list
│ │ └── list.wxml
├── dist
│ └── images
│ │ ├── loading.gif
│ │ ├── top_icon.png
│ │ ├── coming_icon.png
│ │ ├── search_icon.png
│ │ ├── popular_icon.png
│ │ ├── top_active_icon.png
│ │ ├── weui-info-icon.png
│ │ ├── coming_active_icon.png
│ │ ├── search_active_icon.png
│ │ ├── weui-success-icon.png
│ │ ├── weui-warning-icon.png
│ │ └── popular_active_icon.png
├── jsconfig.json
├── .vscode
│ └── settings.json
├── sitemap.json
├── utils
│ ├── filter.wxs
│ └── util.js
├── comm
│ └── style
│ │ └── tab.wxss
├── models
│ ├── DetailModel.js
│ └── HTTP.js
└── app.js
├── my-app01
├── src
│ ├── assets
│ │ └── .gitkeep
│ ├── app
│ │ ├── app.component.less
│ │ ├── foo
│ │ │ ├── foo.component.less
│ │ │ ├── foo.component.ts
│ │ │ ├── foo.component.spec.ts
│ │ │ └── foo.component.html
│ │ ├── home
│ │ │ └── login
│ │ │ │ ├── login.component.less
│ │ │ │ ├── login.component.html
│ │ │ │ ├── login.component.ts
│ │ │ │ └── login.component.spec.ts
│ │ ├── app.component.html
│ │ ├── app.component.ts
│ │ ├── app-routing.module.ts
│ │ ├── app.module.ts
│ │ └── app.component.spec.ts
│ ├── favicon.ico
│ ├── environments
│ │ ├── environment.prod.ts
│ │ └── environment.ts
│ ├── styles.less
│ ├── index.html
│ ├── main.ts
│ └── test.ts
├── e2e
│ ├── tsconfig.json
│ ├── src
│ │ ├── app.po.ts
│ │ └── app.e2e-spec.ts
│ └── protractor.conf.js
├── .editorconfig
├── tsconfig.app.json
├── tsconfig.spec.json
├── browserslist
├── tsconfig.json
├── .gitignore
├── README.md
└── karma.conf.js
└── todomvc-angular
├── src
├── assets
│ └── .gitkeep
├── app
│ ├── app.component.less
│ ├── app-routing.module.ts
│ ├── app.module.ts
│ └── app.component.spec.ts
├── favicon.ico
├── environments
│ ├── environment.prod.ts
│ └── environment.ts
├── styles.less
├── styles.css
├── index.html
├── main.ts
└── test.ts
├── e2e
├── tsconfig.json
├── src
│ ├── app.po.ts
│ └── app.e2e-spec.ts
└── protractor.conf.js
├── .editorconfig
├── tsconfig.app.json
├── tsconfig.spec.json
├── browserslist
├── tsconfig.json
├── .gitignore
├── README.md
└── karma.conf.js
/毕业设计(微信小程序)/app.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/my-app01/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/my-app01/src/app/app.component.less:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/todomvc-angular/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/my-app01/src/app/foo/foo.component.less:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/todomvc-angular/src/app/app.component.less:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/theme.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/var.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/definitions/index.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/definitions/weapp.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/my-app01/src/app/home/login/login.component.less:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/area/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/button/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/card/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/circle/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/col/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/mixins/clearfix.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/mixins/ellipsis.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/mixins/hairline.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dialog/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/divider/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/field/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/icon/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/image/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/info/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/loading/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/nav-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/overlay/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/panel/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/popup/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/rate/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/row/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/search/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/slider/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/stepper/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/steps/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sticky/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/switch/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tab/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabs/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tag/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/toast/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/action-sheet/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/count-down/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notice-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/submit-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/swipe-cell/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/transition/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tree-select/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/my-app01/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/datetime-picker/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-menu/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-icon/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker-column/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/skin/skin.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/top/top.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/area/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-button/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tab/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tag/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/my-app01/src/app/home/login/login.component.html:
--------------------------------------------------------------------------------
1 |
login works!
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/Comment/Comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/Comment/Comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/Comment/Comment.wxss */
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/search/search.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/shake/shake.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/circle/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/col/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/loading/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/row/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/slider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/stepper/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sticky/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/transition/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/count-down/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/datetime-picker/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-menu/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/basic.d.ts:
--------------------------------------------------------------------------------
1 | export declare const basic: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/link.d.ts:
--------------------------------------------------------------------------------
1 | export declare const link: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/touch.d.ts:
--------------------------------------------------------------------------------
1 | export declare const touch: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker-column/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/swipe-cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/coming/coming.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 |
4 | }
5 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/setting/setting.wxss:
--------------------------------------------------------------------------------
1 | @import '../../comonents/list/list.wxss';
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/button.d.ts:
--------------------------------------------------------------------------------
1 | export declare const button: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/history/history.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "浏览历史"
3 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/open-type.d.ts:
--------------------------------------------------------------------------------
1 | export declare const openType: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/observer/behavior.d.ts:
--------------------------------------------------------------------------------
1 | export declare const behavior: string;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar{width:85px}
--------------------------------------------------------------------------------
/my-app01/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/my-app01/src/favicon.ico
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/1.jpg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/2.jpg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/3.jpg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/divider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sticky/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sticky{position:relative}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/clearfix.wxss:
--------------------------------------------------------------------------------
1 | .van-clearfix:after{display:table;clear:both;content:""}
--------------------------------------------------------------------------------
/my-app01/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/my-app01/src/styles.less:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/movie-item/movie-item.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/binxue.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/binxue.jpg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/movie.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/movie.jpg
--------------------------------------------------------------------------------
/todomvc-angular/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/todomvc-angular/src/favicon.ico
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/xx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/xx.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/shouyir.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/shouyir.jpg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/yisheng.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/yisheng.jpg
--------------------------------------------------------------------------------
/todomvc-angular/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/chat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/chat.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/chat1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/chat1.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/search.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/share.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/star.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/view.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/about/about.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "关于",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/transition.d.ts:
--------------------------------------------------------------------------------
1 | export declare const transition: (showDefaultValue: boolean) => any;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/row/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/loading.gif
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/top_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/top_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/fivestar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/fivestar.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es2015",
4 | "module": "commonjs"
5 | }
6 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/Comment/Comment.wxml:
--------------------------------------------------------------------------------
1 |
2 | pages/Comment/Comment.wxml
3 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/gallery/gallery.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "相册",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/setting/setting.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "设置",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/observer/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare function observe(vantOptions: any, options: any): void;
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/row/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/coming_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/coming_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/search_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/search_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/arrow-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/arrow-right.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/collection.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/collection.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/none-star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/none-star.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/share-anti.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/share-anti.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/personInfo/personInfo.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "个人资料",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/popular_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/popular_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/count-down/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-count-down{color:#333;font-size:14px;line-height:20px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/top_active_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/top_active_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/weui-info-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/weui-info-icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/20191023144043_WrCUT.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/20191023144043_WrCUT.jpeg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/20191023160052_t2Hek.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/20191023160052_t2Hek.jpeg
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/images/icon/collection-anti.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/images/icon/collection-anti.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/information/information.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "van-loading": "/vant-ui/loading/index"
4 | }
5 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/setting/setting.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar/index.wxml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/coming_active_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/coming_active_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/search_active_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/search_active_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/weui-success-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/weui-success-icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/weui-warning-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/weui-warning-icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/editPersonInfo/editPersonInfo.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "编辑个人资料",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/card/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-tag": "../tag/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/rate/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabs/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/dist/images/popular_active_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zoubaishuang/-/HEAD/毕业设计(微信小程序)/dist/images/popular_active_icon.png
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/about/about.js:
--------------------------------------------------------------------------------
1 | Page({
2 | data:{
3 |
4 | },
5 | onLoad:function(options){
6 | // 页面初始化 options为页面跳转所带来的参数
7 | }
8 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/area/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/nav-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notice-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/panel/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-field": "../field/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/steps/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/switch/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-loading": "../loading/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tree-select/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/datetime-picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/overlay/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.wxs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | text: function(pivotText, percentage) {
3 | return pivotText || percentage + '%';
4 | }
5 | };
6 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/wxs/array.wxs:
--------------------------------------------------------------------------------
1 | function isArray(array) {
2 | return array && array.constructor === 'Array';
3 | }
4 |
5 | module.exports.isArray = isArray;
6 |
--------------------------------------------------------------------------------
/todomvc-angular/src/styles.less:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 | @import url('../node_modules/todomvc-app-css/index.css');
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/count-down/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ formattedTime }}
4 |
5 |
--------------------------------------------------------------------------------
/todomvc-angular/src/styles.css:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 | @import url('../node_modules/todomvc-app-css/index.css');
3 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/field/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-cell-group__title{padding:15px 15px 5px;font-size:14px;line-height:16px;color:#999;color:var(--gray-dark,#999)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dialog/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "van-button": "../button/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/image/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/popup/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-overlay": "../overlay/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-info": "../info/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/submit-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-button": "../button/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "picker-column": "../picker-column/index",
5 | "loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "files.associations": {
3 | "*.cjson": "jsonc",
4 | "*.wxss": "css",
5 | "*.wxs": "javascript",
6 | "*.wxml": "html"
7 | }
8 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/sitemap.json:
--------------------------------------------------------------------------------
1 | {
2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
3 | "rules": [{
4 | "action": "allow",
5 | "page": "*"
6 | }]
7 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tab/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tab__pane{box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/wxs/utils.wxs:
--------------------------------------------------------------------------------
1 | var bem = require('./bem.wxs').bem;
2 | var memoize = require('./memoize.wxs').memoize;
3 |
4 | module.exports = {
5 | bem: memoize(bem),
6 | memoize: memoize
7 | };
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/personInfo/personInfo.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 编 辑
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "van-cell": "../cell/index",
6 | "van-icon": "../icon/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/info/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | dot: Boolean,
5 | info: null,
6 | customStyle: String
7 | }
8 | });
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/panel/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--white,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--red,#ee0a24)}.van-panel__footer{padding:10px 15px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/action-sheet/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-popup": "../popup/index",
6 | "van-loading": "../loading/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/overlay/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);background-color:var(--overlay-background-color,rgba(0,0,0,.7))}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sticky/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/popular/popular.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | "usingComponents": {
4 | "v-movie":"/comonents/movie-item/movie-item",
5 | "van-tab": "/vant-ui/tab/index",
6 | "van-tabs": "/vant-ui/tabs/index"
7 | }
8 |
9 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/col/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/overlay/index.wxml:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell-group/index.wxml:
--------------------------------------------------------------------------------
1 |
5 | {{ title }}
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell-group/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | title: String,
5 | border: {
6 | type: Boolean,
7 | value: true
8 | }
9 | }
10 | });
11 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/color.js:
--------------------------------------------------------------------------------
1 | export const RED = '#ee0a24';
2 | export const BLUE = '#1989fa';
3 | export const WHITE = '#fff';
4 | export const GREEN = '#07c160';
5 | export const ORANGE = '#ff976a';
6 | export const GRAY = '#323233';
7 | export const GRAY_DARK = '#969799';
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/info/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ dot ? '' : info }}
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/toast/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index",
6 | "van-overlay": "../overlay/index",
7 | "van-transition": "../transition/index"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/my-app01/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.less']
7 | })
8 | export class AppComponent {
9 | title = 'my-app01';
10 | }
11 |
--------------------------------------------------------------------------------
/my-app01/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es5",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/circle/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-circle{position:relative;display:inline-block;text-align:center}.van-circle__text{position:absolute;top:50%;left:0;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#333;color:var(--circle-text-color,#333)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;width:100%;height:50px;background-color:#fff;background-color:var(--white,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)}
--------------------------------------------------------------------------------
/todomvc-angular/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es5",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker-column/index.wxs:
--------------------------------------------------------------------------------
1 | function isObj(x) {
2 | var type = typeof x;
3 | return x !== null && (type === 'object' || type === 'function');
4 | }
5 |
6 | module.exports = function (option, valueKey) {
7 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option;
8 | }
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/panel/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | classes: ['header-class', 'footer-class'],
4 | props: {
5 | desc: String,
6 | title: String,
7 | status: String,
8 | useFooterSlot: Boolean
9 | }
10 | });
11 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/my-app01/.editorconfig:
--------------------------------------------------------------------------------
1 | # Editor configuration, see https://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | max_line_length = off
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/circle/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{ text }}
7 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/component.d.ts:
--------------------------------------------------------------------------------
1 | import { VantComponentOptions, CombinedComponentInstance } from '../definitions/index';
2 | declare function VantComponent(vantOptions?: VantComponentOptions>): void;
3 | export { VantComponent };
4 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;background-color:#fff;background-color:var(--white,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)}
--------------------------------------------------------------------------------
/my-app01/src/app/app-routing.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { Routes, RouterModule } from '@angular/router';
3 |
4 |
5 | const routes: Routes = [];
6 |
7 | @NgModule({
8 | imports: [RouterModule.forRoot(routes)],
9 | exports: [RouterModule]
10 | })
11 | export class AppRoutingModule { }
12 |
--------------------------------------------------------------------------------
/todomvc-angular/.editorconfig:
--------------------------------------------------------------------------------
1 | # Editor configuration, see https://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | max_line_length = off
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/color.d.ts:
--------------------------------------------------------------------------------
1 | export declare const RED = "#ee0a24";
2 | export declare const BLUE = "#1989fa";
3 | export declare const WHITE = "#fff";
4 | export declare const GREEN = "#07c160";
5 | export declare const ORANGE = "#ff976a";
6 | export declare const GRAY = "#323233";
7 | export declare const GRAY_DARK = "#969799";
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/ellipsis.wxss:
--------------------------------------------------------------------------------
1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}
--------------------------------------------------------------------------------
/my-app01/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo() {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText() {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/todomvc-angular/src/app/app-routing.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { Routes, RouterModule } from '@angular/router';
3 |
4 |
5 | const routes: Routes = [];
6 |
7 | @NgModule({
8 | imports: [RouterModule.forRoot(routes)],
9 | exports: [RouterModule]
10 | })
11 | export class AppRoutingModule { }
12 |
--------------------------------------------------------------------------------
/todomvc-angular/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo() {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText() {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/wxs/object.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var REGEXP = getRegExp('{|}|"', 'g');
3 |
4 | function keys(obj) {
5 | return JSON.stringify(obj)
6 | .replace(REGEXP, '')
7 | .split(',')
8 | .map(function(item) {
9 | return item.split(':')[0];
10 | });
11 | }
12 |
13 | module.exports.keys = keys;
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker-column/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;font-size:16px;text-align:center;color:#999;color:var(--gray-dark,#999)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;color:#333;color:var(--text-color,#333)}.van-picker-column__item--disabled{opacity:.3}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tree-select/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var array = require('../wxs/array.wxs');
3 |
4 | function isActive (activeList, itemId) {
5 | if (array.isArray(activeList)) {
6 | return activeList.indexOf(itemId) > -1;
7 | }
8 |
9 | return activeList === itemId;
10 | }
11 |
12 | module.exports.isActive = isActive;
13 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tab/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/transition/index.wxml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/my-app01/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | MyApp01
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/my-app01/src/app/home/login/login.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-login',
5 | templateUrl: './login.component.html',
6 | styleUrls: ['./login.component.less']
7 | })
8 | export class LoginComponent implements OnInit {
9 |
10 | constructor() { }
11 |
12 | ngOnInit() {
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/my-app01/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "./out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.ts"
13 | ],
14 | "exclude": [
15 | "src/test.ts",
16 | "src/**/*.spec.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/my-app01/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "./out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/movie-item/movie-item.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{data.title}}
4 |
5 |
{{data.genres[0]}}
6 |
{{data.genres[1]}}
7 |
8 | {{data.rating.average}}分
9 |
10 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/message/message.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{message.content}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/todomvc-angular/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | TodomvcAngular
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/todomvc-angular/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "./out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.ts"
13 | ],
14 | "exclude": [
15 | "src/test.ts",
16 | "src/**/*.spec.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/todomvc-angular/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "./out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/coming/coming.wxml:
--------------------------------------------------------------------------------
1 |
2 | 全城 >
3 |
4 | 影院:{{item.name}}
5 | {{item.address}}
6 | ¥{{item.price}}起
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/swipe-cell/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-swipe-cell{position:relative;overflow:hidden}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/divider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tag/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/rate/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-rate{display:-webkit-inline-flex;display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative;padding:0 2px;padding:0 var(--rate-horizontal-padding,2px)}.van-rate__icon{display:block;height:1em}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tag/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | size: String,
5 | mark: Boolean,
6 | color: String,
7 | plain: Boolean,
8 | round: Boolean,
9 | textColor: String,
10 | type: {
11 | type: String,
12 | value: 'default'
13 | }
14 | }
15 | });
16 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/popular/popular.wxss:
--------------------------------------------------------------------------------
1 | /* pages/popular/popular.wxss *//*
2 | .item{
3 | font-size: 36rpx;
4 | width: 350rpx;
5 | color:#615f5f;
6 | margin-top: 10rpx;
7 | background:#fff;
8 | position: relative;
9 | padding: 10rpx;
10 | } */
11 |
12 | swiper{
13 | width:100%;
14 | height: 440rpx;
15 | }
16 | .item{
17 | height: 300rpx;
18 | border-bottom: 1px solid #5d5d5d;
19 | }
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-dropdown-item{position:fixed;right:0;left:0;overflow:hidden}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active .van-dropdown-item__icon,.van-dropdown-item__option--active .van-dropdown-item__title{color:#1989fa}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/transition/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { transition } from '../mixins/transition';
3 | VantComponent({
4 | classes: [
5 | 'enter-class',
6 | 'enter-active-class',
7 | 'enter-to-class',
8 | 'leave-class',
9 | 'leave-active-class',
10 | 'leave-to-class'
11 | ],
12 | mixins: [transition(true)]
13 | });
14 |
--------------------------------------------------------------------------------
/my-app01/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-icon/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-goods-action-icon{width:50px!important;border:none!important}.van-goods-action-icon__content{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;height:100%;font-size:10px;line-height:1;color:#7d7e80;color:var(--gray-darker,#7d7e80)}.van-goods-action-icon__icon{margin-bottom:4px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/nullTip/nullTip.wxml:
--------------------------------------------------------------------------------
1 |
2 | {{nullTip.tipText}}
3 |
4 | {{nullTip.actionText}}
5 |
6 |
7 | {{nullTip.actionText}}
8 |
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/count-down/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare type TimeData = {
2 | days: number;
3 | hours: number;
4 | minutes: number;
5 | seconds: number;
6 | milliseconds: number;
7 | };
8 | export declare function parseTimeData(time: number): TimeData;
9 | export declare function parseFormat(format: string, timeData: TimeData): string;
10 | export declare function isSameSecond(time1: number, time2: number): boolean;
11 |
--------------------------------------------------------------------------------
/todomvc-angular/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/popular/popular.js:
--------------------------------------------------------------------------------
1 | const DetailModel =require("../../models/HTTP")
2 | Page({
3 | data:{
4 | movie:[],
5 | subjects:[]
6 | },
7 | onLoad:async function(options){
8 | var res=await DetailModel.DetailModel.getCat()
9 | var data=await DetailModel.DetailModel.getmodel()
10 | console.log(res);
11 | this.setData({
12 | movie:res.data.subjects,
13 | subjects:data.data.subjects
14 | })
15 | }
16 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/link.js:
--------------------------------------------------------------------------------
1 | export const link = Behavior({
2 | properties: {
3 | url: String,
4 | linkType: {
5 | type: String,
6 | value: 'navigateTo'
7 | }
8 | },
9 | methods: {
10 | jumpLink(urlKey = 'url') {
11 | const url = this.data[urlKey];
12 | if (url) {
13 | wx[this.data.linkType]({ url });
14 | }
15 | }
16 | }
17 | });
18 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/skin/skin.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{skinItem.title}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/movie-item/movie-item.js:
--------------------------------------------------------------------------------
1 |
2 | Component({
3 | /**
4 | * 组件的属性列表
5 | */
6 | properties: {
7 | data:{
8 | type:Object
9 | }
10 | },
11 |
12 | /**
13 | * 组件的初始数据
14 | */
15 | data: {
16 |
17 | },
18 | methods: {
19 | handleToggle(){
20 | var id = this.properties.data.id;
21 |
22 |
23 | wx.navigateTo({
24 | url: '/pages/information/information?id='+id
25 | });
26 | }
27 | }
28 | })
--------------------------------------------------------------------------------
/my-app01/browserslist:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/todomvc-angular/browserslist:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/movie-item/movie-item.wxss:
--------------------------------------------------------------------------------
1 |
2 | .bg{
3 | width:180rpx;
4 | height: 200rpx;
5 | margin-bottom: 20rpx;
6 | }
7 | .item{
8 | border-bottom: 1px solid #c0bfbf;
9 | display:flex;
10 | justify-content: space-around;
11 | align-items: center;
12 | margin-top: 20rpx;
13 | }
14 | .genres{
15 | width:100rpx;
16 | font-size: 36rpx;
17 | }
18 | .average{
19 | width:100rpx;
20 | color:#ff5f16;
21 | }
22 | .name{
23 | width:200rpx;
24 | }
25 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/personInfo/personInfo.wxss:
--------------------------------------------------------------------------------
1 | @import '../../comonents/list/list.wxss';
2 | page::after {
3 | content: '';
4 | display: block;
5 | width: 100%;
6 | height: 1px;
7 | }
8 |
9 | .edit-btn {
10 | width: 300rpx;
11 | height: 80rpx;
12 | margin: 0 auto;
13 | margin-bottom: 30rpx;
14 | font-size: 32rpx;
15 | text-align: center;
16 | line-height: 80rpx;
17 | background-color: #47a86c;
18 | border-radius: 80rpx;
19 | color: #fff;
20 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/observer/behavior.js:
--------------------------------------------------------------------------------
1 | export const behavior = Behavior({
2 | methods: {
3 | set(data, callback) {
4 | return new Promise(resolve => {
5 | this.setData(data, () => {
6 | if (callback && typeof callback === 'function') {
7 | callback.call(this);
8 | }
9 | resolve();
10 | });
11 | });
12 | }
13 | }
14 | });
15 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker/shared.js:
--------------------------------------------------------------------------------
1 | export const pickerProps = {
2 | title: String,
3 | loading: Boolean,
4 | showToolbar: Boolean,
5 | cancelButtonText: {
6 | type: String,
7 | value: '取消'
8 | },
9 | confirmButtonText: {
10 | type: String,
11 | value: '确认'
12 | },
13 | visibleItemCount: {
14 | type: Number,
15 | value: 5
16 | },
17 | itemHeight: {
18 | type: Number,
19 | value: 44
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/index.wxml:
--------------------------------------------------------------------------------
1 |
8 |
12 |
13 | {{ message }}
14 |
15 |
16 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/coming/coming.js:
--------------------------------------------------------------------------------
1 | const DetailModel =require("../../models/DetailModel")
2 | Page({
3 | data:{
4 | cinema:[]
5 | },
6 | async onLoad(){
7 | var res = await DetailModel.getDetailData()
8 |
9 | var cinema = res.data
10 | console.log(cinema)
11 | this.setData({
12 | cinema
13 |
14 | })
15 | },
16 | handleToggle(){
17 | console.log(1);
18 | wx.navigateTo({
19 | url: '/pages/Comment/Comment',
20 |
21 | })
22 | }
23 |
24 |
25 |
26 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/index/index.wxss:
--------------------------------------------------------------------------------
1 | /**index.wxss**/
2 | .userinfo {
3 | display: flex;
4 | flex-direction: column;
5 | align-items: center;
6 | }
7 |
8 | .userinfo-avatar {
9 | width: 128rpx;
10 | height: 128rpx;
11 | margin: 20rpx;
12 | border-radius: 50%;
13 | }
14 |
15 | .userinfo-nickname {
16 | color: #aaa;
17 | }
18 |
19 | .usermotto {
20 | margin-top: 100px;
21 | }
22 | .container{
23 | text-align: center;
24 | padding: 90px;
25 | height: 520px;
26 | background-color: aquamarine;
27 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/utils/filter.wxs:
--------------------------------------------------------------------------------
1 | function formatStar(value) {
2 | if (value) {
3 | var value = value.substring(0, 1);
4 |
5 | /* 3.5
6 | 3 [1,1,1,,0,0]
7 | */
8 | var arr = []
9 | for (var i = 1; i <= 5; i++) {
10 | if (i <= value) {
11 | arr.push(1)
12 | } else {
13 | arr.push(0)
14 | }
15 | }
16 | return arr;
17 | }
18 |
19 | }
20 |
21 | module.exports = {
22 | formatStar: formatStar
23 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/notify.d.ts:
--------------------------------------------------------------------------------
1 | interface NotifyOptions {
2 | type?: 'primary' | 'success' | 'danger' | 'warning';
3 | color?: string;
4 | zIndex?: number;
5 | message: string;
6 | context?: any;
7 | duration?: number;
8 | selector?: string;
9 | background?: string;
10 | safeAreaInsetTop?: boolean;
11 | onClick?: () => void;
12 | onOpened?: () => void;
13 | onClose?: () => void;
14 | }
15 | export default function Notify(options: NotifyOptions | string): void;
16 | export {};
17 |
--------------------------------------------------------------------------------
/my-app01/src/app/foo/foo.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-foo',
5 | templateUrl: './foo.component.html',
6 | styleUrls: ['./foo.component.less']
7 | })
8 | export class FooComponent implements OnInit {
9 | message="消息";
10 | name = "zhangsan"
11 | heroImageUrl="http://img3.imgtn.bdimg.com/it/u=1208538952,1443328523&fm=26&gp=0.jpg";
12 | isButtonDisabled="true"
13 |
14 | constructor() { }
15 |
16 | ngOnInit() {
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/button.js:
--------------------------------------------------------------------------------
1 | export const button = Behavior({
2 | externalClasses: ['hover-class'],
3 | properties: {
4 | id: String,
5 | lang: {
6 | type: String,
7 | value: 'en'
8 | },
9 | businessId: Number,
10 | sessionFrom: String,
11 | sendMessageTitle: String,
12 | sendMessagePath: String,
13 | sendMessageImg: String,
14 | showMessageCard: Boolean,
15 | appParameter: String,
16 | ariaLabel: String
17 | }
18 | });
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/utils.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare function isDef(value: any): boolean;
3 | export declare function isObj(x: any): boolean;
4 | export declare function isNumber(value: any): boolean;
5 | export declare function range(num: number, min: number, max: number): number;
6 | export declare function nextTick(fn: Function): void;
7 | export declare function getSystemInfoSync(): WechatMiniprogram.GetSystemInfoSuccessCallbackResult;
8 | export declare function addUnit(value?: string | number): string | undefined;
9 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/overlay/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | show: Boolean,
5 | customStyle: String,
6 | duration: {
7 | type: null,
8 | value: 300
9 | },
10 | zIndex: {
11 | type: Number,
12 | value: 1
13 | }
14 | },
15 | methods: {
16 | onClick() {
17 | this.$emit('click');
18 | },
19 | // for prevent touchmove
20 | noop() { }
21 | }
22 | });
23 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/switch/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-progress{position:relative;height:4px;border-radius:4px;background:#e5e5e5;background:var(--gray-light,#e5e5e5)}.van-progress__portion{position:absolute;left:0;height:100%;border-radius:inherit}.van-progress__pivot{position:absolute;top:50%;right:0;box-sizing:border-box;min-width:2em;padding:0 5px;font-size:10px;line-height:1.6;text-align:center;word-break:keep-all;border-radius:1em;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#e5e5e5;background-color:var(--gray-light,#e5e5e5)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/datetime-picker/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/index/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{userInfo.nickName}}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/image/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:50%}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#999;font-size:14px;background-color:#f8f8f8}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/area/index.wxml:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker/shared.d.ts:
--------------------------------------------------------------------------------
1 | export declare const pickerProps: {
2 | title: StringConstructor;
3 | loading: BooleanConstructor;
4 | showToolbar: BooleanConstructor;
5 | cancelButtonText: {
6 | type: StringConstructor;
7 | value: string;
8 | };
9 | confirmButtonText: {
10 | type: StringConstructor;
11 | value: string;
12 | };
13 | visibleItemCount: {
14 | type: NumberConstructor;
15 | value: number;
16 | };
17 | itemHeight: {
18 | type: NumberConstructor;
19 | value: number;
20 | };
21 | };
22 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/icon/index.wxml:
--------------------------------------------------------------------------------
1 |
6 |
12 |
18 |
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/panel/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/steps/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { GREEN } from '../common/color';
3 | VantComponent({
4 | props: {
5 | icon: String,
6 | steps: Array,
7 | active: Number,
8 | direction: {
9 | type: String,
10 | value: 'horizontal'
11 | },
12 | activeColor: {
13 | type: String,
14 | value: GREEN
15 | },
16 | activeIcon: {
17 | type: String,
18 | value: 'checked'
19 | },
20 | inactiveIcon: String
21 | }
22 | });
23 |
--------------------------------------------------------------------------------
/todomvc-angular/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppRoutingModule } from './app-routing.module';
5 | import { AppComponent } from './app.component';
6 |
7 | import { FormsModule } from '@angular/forms';
8 |
9 | @NgModule({
10 | declarations: [
11 | AppComponent
12 | ],
13 | imports: [
14 | BrowserModule,
15 | AppRoutingModule,
16 | //引入FormsModule,可以在表单中使用ngModel(双向数据绑定)
17 | FormsModule,
18 | ],
19 | providers: [],
20 | bootstrap: [AppComponent]
21 | })
22 | export class AppModule { }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | type: 'descendant',
5 | name: 'goods-action-button',
6 | linked(child) {
7 | this.children.push(child);
8 | },
9 | unlinked(child) {
10 | this.children = this.children.filter((item) => item !== child);
11 | }
12 | },
13 | beforeCreate() {
14 | this.children = [];
15 | },
16 | props: {
17 | safeAreaInsetBottom: {
18 | type: Boolean,
19 | value: true
20 | }
21 | }
22 | });
23 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/coming/coming.wxss:
--------------------------------------------------------------------------------
1 | .container
2 | {
3 | padding: 30rpx;
4 | font-size: 30rpx;
5 | }
6 | .item{
7 | height: 150rpx;
8 | position: relative;
9 | }
10 | p{
11 | display: block;
12 |
13 | }
14 | .address{
15 | color:#797d82;
16 | width: 540rpx;
17 | overflow: hidden;
18 | white-space: nowrap;
19 | text-overflow: ellipsis;
20 | }
21 | .price{
22 | position: absolute;
23 | top:30rpx;
24 | right: 20rpx;
25 | color:#ff5f16;
26 | font-size: 30rpx;
27 | }
28 | .top{
29 | font-size: 40rpx;
30 | padding-bottom: 30rpx;
31 | }.name{
32 | font-size: 32rpx;
33 | line-height: 40rpx;
34 | }
--------------------------------------------------------------------------------
/my-app01/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppRoutingModule } from './app-routing.module';
5 | import { AppComponent } from './app.component';
6 | import { FooComponent } from './foo/foo.component';
7 | import { LoginComponent } from './home/login/login.component';
8 |
9 | @NgModule({
10 | declarations: [
11 | AppComponent,
12 | FooComponent,
13 | LoginComponent
14 | ],
15 | imports: [
16 | BrowserModule,
17 | AppRoutingModule
18 | ],
19 | providers: [],
20 | bootstrap: [AppComponent]
21 | })
22 | export class AppModule { }
23 |
--------------------------------------------------------------------------------
/my-app01/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compileOnSave": false,
3 | "compilerOptions": {
4 | "baseUrl": "./",
5 | "outDir": "./dist/out-tsc",
6 | "sourceMap": true,
7 | "declaration": false,
8 | "downlevelIteration": true,
9 | "experimentalDecorators": true,
10 | "module": "esnext",
11 | "moduleResolution": "node",
12 | "importHelpers": true,
13 | "target": "es2015",
14 | "typeRoots": [
15 | "node_modules/@types"
16 | ],
17 | "lib": [
18 | "es2018",
19 | "dom"
20 | ]
21 | },
22 | "angularCompilerOptions": {
23 | "fullTemplateTypeCheck": true,
24 | "strictInjectionParameters": true
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/search/search.js:
--------------------------------------------------------------------------------
1 | var config = require('../../comm/script/config')
2 | Page({
3 | data:{
4 | searchType: 'keyword',
5 | hotKeyword: config.hotKeyword,
6 | hotTag: config.hotTag
7 | },
8 | changeSearchType: function() {
9 | var types = ['默认', '类型'];
10 | var searchType = ['keyword', 'tag']
11 | var that = this
12 | wx.showActionSheet({
13 | itemList: types,
14 | success: function(res) {
15 | console.log(res)
16 | if (!res.cancel) {
17 | that.setData({
18 | searchType: searchType[res.tapIndex]
19 | })
20 | }
21 | }
22 | })
23 | },
24 |
25 |
26 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/col/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | name: 'row',
5 | type: 'ancestor'
6 | },
7 | props: {
8 | span: Number,
9 | offset: Number
10 | },
11 | data: {
12 | style: ''
13 | },
14 | methods: {
15 | setGutter(gutter) {
16 | const padding = `${gutter / 2}px`;
17 | const style = gutter ? `padding-left: ${padding}; padding-right: ${padding};` : '';
18 | if (style !== this.data.style) {
19 | this.setData({ style });
20 | }
21 | }
22 | }
23 | });
24 |
--------------------------------------------------------------------------------
/todomvc-angular/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compileOnSave": false,
3 | "compilerOptions": {
4 | "baseUrl": "./",
5 | "outDir": "./dist/out-tsc",
6 | "sourceMap": true,
7 | "declaration": false,
8 | "downlevelIteration": true,
9 | "experimentalDecorators": true,
10 | "module": "esnext",
11 | "moduleResolution": "node",
12 | "importHelpers": true,
13 | "target": "es2015",
14 | "typeRoots": [
15 | "node_modules/@types"
16 | ],
17 | "lib": [
18 | "es2018",
19 | "dom"
20 | ]
21 | },
22 | "angularCompilerOptions": {
23 | "fullTemplateTypeCheck": true,
24 | "strictInjectionParameters": true
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/shake/shake.wxml:
--------------------------------------------------------------------------------
1 |
2 | 摇一摇调试数据
3 | x: {{x}}
4 | y: {{y}}
5 | z: {{z}}
6 | showFilm: {{showFilm}}
7 | loaded: {{loaded}}
8 | change test: {{test}}
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-icon/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { link } from '../mixins/link';
3 | import { button } from '../mixins/button';
4 | import { openType } from '../mixins/open-type';
5 | VantComponent({
6 | classes: ['icon-class', 'text-class'],
7 | mixins: [link, button, openType],
8 | props: {
9 | text: String,
10 | dot: Boolean,
11 | info: String,
12 | icon: String,
13 | disabled: Boolean,
14 | loading: Boolean
15 | },
16 | methods: {
17 | onClick(event) {
18 | this.$emit('click', event.detail);
19 | this.jumpLink();
20 | }
21 | }
22 | });
23 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/swipe-cell/index.wxml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/slider/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-slider{position:relative;border-radius:999px;background-color:#e5e5e5;background-color:var(--gray-light,#e5e5e5)}.van-slider:before{position:absolute;top:-8px;right:0;bottom:-8px;left:0;content:""}.van-slider__bar{position:relative;border-radius:inherit;transition:width .2s;background-color:#1989fa;background-color:var(--blue,#1989fa)}.van-slider__button{width:24px;height:24px;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.5);background-color:#fff;background-color:var(--white,#fff)}.van-slider__button-wrapper{position:absolute;top:50%;right:0;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.van-slider--disabled{opacity:.3}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/gallery/gallery.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | 上传
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/observer/index.js:
--------------------------------------------------------------------------------
1 | import { behavior } from './behavior';
2 | export function observe(vantOptions, options) {
3 | const { watch } = vantOptions;
4 | options.behaviors.push(behavior);
5 | if (watch) {
6 | const props = options.properties || {};
7 | Object.keys(watch).forEach(key => {
8 | if (key in props) {
9 | let prop = props[key];
10 | if (prop === null || !('type' in prop)) {
11 | prop = { type: prop };
12 | }
13 | prop.observer = watch[key];
14 | props[key] = prop;
15 | }
16 | });
17 | options.properties = props;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/list/list.wxml:
--------------------------------------------------------------------------------
1 |
2 | comonents/list/list.wxml
3 |
4 |
5 |
6 |
7 |
8 | {{cellItem.title}}
9 | {{cellItem.text}}
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
16 | {{ getters.text(pivotText, percentage) }}
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/my-app01/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/dist/zone-testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | declare const require: any;
11 |
12 | // First, initialize the Angular testing environment.
13 | getTestBed().initTestEnvironment(
14 | BrowserDynamicTestingModule,
15 | platformBrowserDynamicTesting()
16 | );
17 | // Then we find all the tests.
18 | const context = require.context('./', true, /\.spec\.ts$/);
19 | // And load the modules.
20 | context.keys().map(context);
21 |
--------------------------------------------------------------------------------
/todomvc-angular/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/dist/zone-testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | declare const require: any;
11 |
12 | // First, initialize the Angular testing environment.
13 | getTestBed().initTestEnvironment(
14 | BrowserDynamicTestingModule,
15 | platformBrowserDynamicTesting()
16 | );
17 | // Then we find all the tests.
18 | const context = require.context('./', true, /\.spec\.ts$/);
19 | // And load the modules.
20 | context.keys().map(context);
21 |
--------------------------------------------------------------------------------
/my-app01/src/app/foo/foo.component.spec.ts:
--------------------------------------------------------------------------------
1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 |
3 | import { FooComponent } from './foo.component';
4 |
5 | describe('FooComponent', () => {
6 | let component: FooComponent;
7 | let fixture: ComponentFixture;
8 |
9 | beforeEach(async(() => {
10 | TestBed.configureTestingModule({
11 | declarations: [ FooComponent ]
12 | })
13 | .compileComponents();
14 | }));
15 |
16 | beforeEach(() => {
17 | fixture = TestBed.createComponent(FooComponent);
18 | component = fixture.componentInstance;
19 | fixture.detectChanges();
20 | });
21 |
22 | it('should create', () => {
23 | expect(component).toBeTruthy();
24 | });
25 | });
26 |
--------------------------------------------------------------------------------
/my-app01/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | // This file can be replaced during build by using the `fileReplacements` array.
2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3 | // The list of file replacements can be found in `angular.json`.
4 |
5 | export const environment = {
6 | production: false
7 | };
8 |
9 | /*
10 | * For easier debugging in development mode, you can import the following file
11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12 | *
13 | * This import should be commented out in production mode because it will have a negative impact
14 | * on performance if an error is thrown.
15 | */
16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
17 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1}.van-tabbar-item{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;height:100%;font-size:12px;line-height:1;color:#7d7e80;color:var(--gray-darker,#7d7e80)}.van-tabbar-item__icon{position:relative;margin-bottom:5px;font-size:18px}.van-tabbar-item__icon--dot:after{position:absolute;top:0;right:-8px;width:8px;height:8px;border-radius:100%;content:" ";background-color:#ee0a24;background-color:var(--red,#ee0a24)}.van-tabbar-item__icon image{display:block;width:30px;height:18px}.van-tabbar-item--active{color:#1989fa;color:var(--blue,#1989fa)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/toast/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | show: Boolean,
5 | mask: Boolean,
6 | message: String,
7 | forbidClick: Boolean,
8 | zIndex: {
9 | type: Number,
10 | value: 1000
11 | },
12 | type: {
13 | type: String,
14 | value: 'text'
15 | },
16 | loadingType: {
17 | type: String,
18 | value: 'circular'
19 | },
20 | position: {
21 | type: String,
22 | value: 'middle'
23 | }
24 | },
25 | methods: {
26 | // for prevent touchmove
27 | noop() { }
28 | }
29 | });
30 |
--------------------------------------------------------------------------------
/my-app01/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('my-app01 app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/todomvc-angular/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | // This file can be replaced during build by using the `fileReplacements` array.
2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3 | // The list of file replacements can be found in `angular.json`.
4 |
5 | export const environment = {
6 | production: false
7 | };
8 |
9 | /*
10 | * For easier debugging in development mode, you can import the following file
11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12 | *
13 | * This import should be commented out in production mode because it will have a negative impact
14 | * on performance if an error is thrown.
15 | */
16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
17 |
--------------------------------------------------------------------------------
/my-app01/src/app/home/login/login.component.spec.ts:
--------------------------------------------------------------------------------
1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 |
3 | import { LoginComponent } from './login.component';
4 |
5 | describe('LoginComponent', () => {
6 | let component: LoginComponent;
7 | let fixture: ComponentFixture;
8 |
9 | beforeEach(async(() => {
10 | TestBed.configureTestingModule({
11 | declarations: [ LoginComponent ]
12 | })
13 | .compileComponents();
14 | }));
15 |
16 | beforeEach(() => {
17 | fixture = TestBed.createComponent(LoginComponent);
18 | component = fixture.componentInstance;
19 | fixture.detectChanges();
20 | });
21 |
22 | it('should create', () => {
23 | expect(component).toBeTruthy();
24 | });
25 | });
26 |
--------------------------------------------------------------------------------
/todomvc-angular/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('todomvc-angular app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comonents/message/message.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | show: function(cfg) {
3 | var that = this
4 | that.setData({
5 | message: {
6 | content: cfg.content,
7 | icon: cfg.icon,
8 | visiable: true
9 | }
10 | })
11 | if (typeof cfg.duration !== 'undefined') {
12 | setTimeout(function(){
13 | that.setData({
14 | message: {
15 | visiable: false
16 | }
17 | })
18 | }, cfg.duration)
19 | }
20 | },
21 | hide: function() {
22 | var that = this
23 | that.setData({
24 | message: {
25 | visiable: false
26 | }
27 | })
28 | }
29 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/loading/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
16 |
17 |
18 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/comm/style/tab.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background-color: #fcfcfc;
3 | }
4 |
5 | .tab-header {
6 | box-sizing: border-box;
7 | position: fixed;
8 | top: 0;
9 | left: 0;
10 | display: table;
11 | width: 750rpx;
12 | height: 80rpx;
13 | background-color: #fff;
14 | border-bottom: 1px solid #eee;
15 | }
16 |
17 | .tab-header-item {
18 | display: table-cell;
19 | height: 80rpx;
20 | line-height: 80rpx;
21 | text-align: center;
22 | }
23 |
24 | .tab-header-item:active {
25 | background-color: #f8f8f8;
26 | }
27 |
28 | .tab-header-active {
29 | border-bottom: 4rpx solid #47a86c;
30 | }
31 |
32 | .tab-content {
33 | margin-top: 80rpx;
34 | }
35 |
36 | .tab-content-item {
37 | box-sizing: border-box;
38 | padding: 30rpx;
39 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/basic.js:
--------------------------------------------------------------------------------
1 | export const basic = Behavior({
2 | methods: {
3 | $emit(...args) {
4 | this.triggerEvent(...args);
5 | },
6 | getRect(selector, all) {
7 | return new Promise(resolve => {
8 | wx.createSelectorQuery()
9 | .in(this)[all ? 'selectAll' : 'select'](selector)
10 | .boundingClientRect(rect => {
11 | if (all && Array.isArray(rect) && rect.length) {
12 | resolve(rect);
13 | }
14 | if (!all && rect) {
15 | resolve(rect);
16 | }
17 | })
18 | .exec();
19 | });
20 | }
21 | }
22 | });
23 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-button/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1}.van-goods-action-button{height:36px!important;font-weight:500!important;font-size:14px!important;line-height:34px!important;border:none!important}.van-goods-action-button--first{display:block!important;width:auto!important;margin-left:5px;border-top-left-radius:18px!important;border-bottom-left-radius:18px!important}.van-goods-action-button--last{display:block!important;width:auto!important;margin-right:5px;border-top-right-radius:18px!important;border-bottom-right-radius:18px!important}.van-goods-action-button--warning{background:linear-gradient(90deg,#ffd01e,#ff8917)}.van-goods-action-button--danger{background:linear-gradient(90deg,#ff6034,#ee0a24)}@media (max-width:321px){.van-goods-action-button{font-size:13px}}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/open-type.js:
--------------------------------------------------------------------------------
1 | export const openType = Behavior({
2 | properties: {
3 | openType: String
4 | },
5 | methods: {
6 | bindGetUserInfo(event) {
7 | this.$emit('getuserinfo', event.detail);
8 | },
9 | bindContact(event) {
10 | this.$emit('contact', event.detail);
11 | },
12 | bindGetPhoneNumber(event) {
13 | this.$emit('getphonenumber', event.detail);
14 | },
15 | bindError(event) {
16 | this.$emit('error', event.detail);
17 | },
18 | bindLaunchApp(event) {
19 | this.$emit('launchapp', event.detail);
20 | },
21 | bindOpenSetting(event) {
22 | this.$emit('opensetting', event.detail);
23 | },
24 | }
25 | });
26 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/models/DetailModel.js:
--------------------------------------------------------------------------------
1 | var baseUrl = "http://yapi.demo.qunar.com/";
2 | class http{
3 | static request({url}){
4 | return new Promise((resolve,reject)=>{
5 | wx.request({
6 | url: baseUrl+url,
7 | header: {
8 | 'Content-Type': 'application/text'
9 | },
10 | success: function(res) {
11 | resolve(res)
12 | },
13 | fail: function(err) {
14 | reject(err)
15 | }
16 | })
17 | })
18 | }
19 | }
20 | class DetailModel extends http{
21 | static getDetailData(url){
22 | return this.request({
23 | url:"mock/39606/movie"
24 | })
25 | }
26 | }
27 | module.exports = DetailModel
28 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/about/about.wxss:
--------------------------------------------------------------------------------
1 | page {
2 | width: 100%;
3 | height: 100%;
4 | }
5 |
6 | view {
7 | width: 100%;
8 | }
9 |
10 | .weapp-about {
11 | width: 100%;
12 | height: 100%;
13 | display: flex;
14 | flex-wrap: wrap;
15 | justify-content: center;
16 | align-content: space-around;
17 | align-items: center;
18 | }
19 |
20 | .weapp-name {
21 | font-size: 60rpx;
22 | text-align: center;
23 | color: #555;
24 | }
25 |
26 | .webapp-intro {
27 | box-sizing: border-box;
28 | padding: 60rpx;
29 | height: 900rpx;
30 | }
31 |
32 | .webapp-intro-item {
33 | margin-bottom: 40rpx;
34 | }
35 |
36 | .webapp-intro-title {
37 | margin-bottom: 10rpx;
38 | font-size: 32rpx;
39 | color: #666;
40 | }
41 |
42 | .webapp-intro-content {
43 | color: #ccc;
44 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-menu/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
24 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/information/information.js:
--------------------------------------------------------------------------------
1 | const DetailModel = require('../../models/HTTP');
2 | Page({
3 | data:{
4 | movie:[],
5 | x:true,
6 | isShow:true
7 | },
8 | onLoad:async function(options) {
9 | let id = options.id
10 | var isShow=!this.data.isShow
11 | console.log(id)
12 | var res = await DetailModel.DetailModel.getDetailData(id)
13 | this.setData({
14 | movie:res.data,
15 | isShow
16 | })
17 |
18 | },
19 | handleImage(e){
20 | var url =e.currentTarget.dataset.url;
21 | var casts = this.data.movie.casts;
22 | var urls = casts.map(item=>{
23 | return item.avatars.small;
24 | })
25 | wx.previewImage({
26 | current: url,
27 | urls
28 | });
29 | },
30 | handleToggle(){
31 | console.log(1);
32 | wx.navigateTo({
33 | url: '/pages/Comment/Comment',
34 |
35 | })
36 | }
37 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/divider/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-divider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin:16px 0;color:#999;font-size:14px;line-height:24px;border:0 solid #eee}.van-divider:after,.van-divider:before{display:block;-webkit-flex:1;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:1px 0 0}.van-divider:before{content:""}.van-divider--hairline:after,.van-divider--hairline:before{-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--center:before,.van-divider--left:before,.van-divider--right:before{margin-right:16px}.van-divider--center:after,.van-divider--left:after,.van-divider--right:after{margin-left:16px;content:""}.van-divider--left:before,.van-divider--right:after{max-width:10%}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/divider/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | props: {
4 | dashed: {
5 | type: Boolean,
6 | value: false
7 | },
8 | hairline: {
9 | type: Boolean,
10 | value: false
11 | },
12 | contentPosition: {
13 | type: String,
14 | value: ''
15 | },
16 | fontSize: {
17 | type: Number,
18 | value: ''
19 | },
20 | borderColor: {
21 | type: String,
22 | value: ''
23 | },
24 | textColor: {
25 | type: String,
26 | value: ''
27 | },
28 | customStyle: {
29 | type: String,
30 | value: ''
31 | }
32 | }
33 | });
34 |
--------------------------------------------------------------------------------
/my-app01/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # compiled output
4 | /dist
5 | /tmp
6 | /out-tsc
7 | # Only exists if Bazel was run
8 | /bazel-out
9 |
10 | # dependencies
11 | /node_modules
12 |
13 | # profiling files
14 | chrome-profiler-events*.json
15 | speed-measure-plugin*.json
16 |
17 | # IDEs and editors
18 | /.idea
19 | .project
20 | .classpath
21 | .c9/
22 | *.launch
23 | .settings/
24 | *.sublime-workspace
25 |
26 | # IDE - VSCode
27 | .vscode/*
28 | !.vscode/settings.json
29 | !.vscode/tasks.json
30 | !.vscode/launch.json
31 | !.vscode/extensions.json
32 | .history/*
33 |
34 | # misc
35 | /.sass-cache
36 | /connect.lock
37 | /coverage
38 | /libpeerconnection.log
39 | npm-debug.log
40 | yarn-error.log
41 | testem.log
42 | /typings
43 |
44 | # System Files
45 | .DS_Store
46 | Thumbs.db
47 |
--------------------------------------------------------------------------------
/todomvc-angular/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # compiled output
4 | /dist
5 | /tmp
6 | /out-tsc
7 | # Only exists if Bazel was run
8 | /bazel-out
9 |
10 | # dependencies
11 | /node_modules
12 |
13 | # profiling files
14 | chrome-profiler-events*.json
15 | speed-measure-plugin*.json
16 |
17 | # IDEs and editors
18 | /.idea
19 | .project
20 | .classpath
21 | .c9/
22 | *.launch
23 | .settings/
24 | *.sublime-workspace
25 |
26 | # IDE - VSCode
27 | .vscode/*
28 | !.vscode/settings.json
29 | !.vscode/tasks.json
30 | !.vscode/launch.json
31 | !.vscode/extensions.json
32 | .history/*
33 |
34 | # misc
35 | /.sass-cache
36 | /connect.lock
37 | /coverage
38 | /libpeerconnection.log
39 | npm-debug.log
40 | yarn-error.log
41 | testem.log
42 | /typings
43 |
44 | # System Files
45 | .DS_Store
46 | Thumbs.db
47 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {{ text }}
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/slider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
12 |
19 |
23 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notify{text-align:center;word-wrap:break-word;padding:6px 15px;padding:var(--notify-padding,6px 15px);font-size:14px;font-size:var(--notify-font-size,14px);line-height:20px;line-height:var(--notify-line-height,20px)}.van-notify__container{position:fixed;top:0;box-sizing:border-box;width:100%}.van-notify__safe-area{height:constant(safe-area-inset-top);height:env(safe-area-inset-top)}.van-notify--primary{background-color:#1989fa;background-color:var(--notify-primary-background-color,#1989fa)}.van-notify--success{background-color:#07c160;background-color:var(--notify-success-background-color,#07c160)}.van-notify--danger{background-color:#ee0a24;background-color:var(--notify-danger-background-color,#ee0a24)}.van-notify--warning{background-color:#ff976a;background-color:var(--notify-warning-background-color,#ff976a)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/search/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-search{-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:10px 16px}.van-search,.van-search__content{display:-webkit-flex;display:flex}.van-search__content{-webkit-flex:1;flex:1;padding-left:10px;border-radius:2px;background-color:#f7f8fa;background-color:var(--search-background-color,#f7f8fa)}.van-search__content--round{border-radius:17px}.van-search__label{padding:0 5px;font-size:14px;line-height:34px;color:#333;color:var(--text-color,#333)}.van-search__field{-webkit-flex:1;flex:1}.van-search__field__left-icon{color:#999;color:var(--gray-dark,#999)}.van-search--withaction{padding-right:0}.van-search__action{padding:0 10px;font-size:14px;line-height:34px;color:#333;color:var(--text-color,#333)}.van-search__action--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tabbar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
14 |
15 |
19 |
20 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notice-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notice-bar{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;height:40px;padding:0 15px;font-size:14px;line-height:24px}.van-notice-bar--withicon{position:relative;padding-right:40px}.van-notice-bar--wrapable{height:auto;padding:8px 15px}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal}.van-notice-bar__left-icon{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin-right:4px;vertical-align:middle}.van-notice-bar__right-icon{position:absolute;top:10px;right:15px;font-size:16px}.van-notice-bar__wrap{position:relative;-webkit-flex:1;flex:1;height:24px;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap}.van-notice-bar__content.van-ellipsis{max-width:100%}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar-item{display:block;box-sizing:border-box;padding:20px 12px 20px 9px;overflow:hidden;font-size:14px;line-height:1.4;word-wrap:break-word;border-left:3px solid transparent;-webkit-user-select:none;user-select:none;color:#7d7e80;color:var(--gray-darker,#7d7e80);background-color:#f8f8f8;background-color:var(--background-color,#f8f8f8)}.van-sidebar-item--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}.van-sidebar-item:after{border-bottom-width:1px}.van-sidebar-item--active{font-weight:700;color:#333;color:var(--text-color,#333);border-color:#ee0a24;border-color:var(--red,#ee0a24)}.van-sidebar-item--active:after{border-right-width:1px}.van-sidebar-item--active,.van-sidebar-item--active.van-sidebar-item--hover{background-color:#fff;background-color:var(--white,#fff)}.van-sidebar-item__text{position:relative}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/style/hairline.wxss:
--------------------------------------------------------------------------------
1 | .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #eee;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar-item/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | type: 'ancestor',
5 | name: 'sidebar',
6 | linked(target) {
7 | this.parent = target;
8 | }
9 | },
10 | props: {
11 | dot: Boolean,
12 | info: null,
13 | title: String
14 | },
15 | methods: {
16 | onClick() {
17 | const { parent } = this;
18 | if (!parent) {
19 | return;
20 | }
21 | const index = parent.items.indexOf(this);
22 | parent.setActive(index).then(() => {
23 | this.$emit('click', index);
24 | parent.$emit('change', index);
25 | });
26 | },
27 | setActive(active) {
28 | return this.setData({ active });
29 | }
30 | }
31 | });
32 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/popular/popular.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/nav-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-nav-bar{position:relative;text-align:center;-webkit-user-select:none;user-select:none;height:44px;height:var(--nav-bar-height,44px);line-height:44px;line-height:var(--nav-bar-height,44px);background-color:#fff;background-color:var(--white,#fff)}.van-nav-bar__text{display:inline-block;margin:0 -15px;padding:0 15px;vertical-align:middle;color:#1989fa;color:var(--blue,#1989fa)}.van-nav-bar__text--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}.van-nav-bar__arrow{vertical-align:middle;color:#1989fa;color:var(--blue,#1989fa)}.van-nav-bar__arrow+.van-nav-bar__text{margin-left:-20px;padding-left:25px}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar__title{max-width:60%;margin:0 auto;font-weight:500;font-size:16px}.van-nav-bar__left,.van-nav-bar__right{position:absolute;bottom:0;font-size:14px}.van-nav-bar__left{left:15px}.van-nav-bar__right{right:15px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/popup/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
25 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/Comment/Comment.js:
--------------------------------------------------------------------------------
1 | // pages/Comment/Comment.js
2 | Page({
3 |
4 | /**
5 | * 页面的初始数据
6 | */
7 | data: {
8 |
9 | },
10 |
11 | /**
12 | * 生命周期函数--监听页面加载
13 | */
14 | onLoad: function (options) {
15 |
16 | },
17 |
18 | /**
19 | * 生命周期函数--监听页面初次渲染完成
20 | */
21 | onReady: function () {
22 |
23 | },
24 |
25 | /**
26 | * 生命周期函数--监听页面显示
27 | */
28 | onShow: function () {
29 |
30 | },
31 |
32 | /**
33 | * 生命周期函数--监听页面隐藏
34 | */
35 | onHide: function () {
36 |
37 | },
38 |
39 | /**
40 | * 生命周期函数--监听页面卸载
41 | */
42 | onUnload: function () {
43 |
44 | },
45 |
46 | /**
47 | * 页面相关事件处理函数--监听用户下拉动作
48 | */
49 | onPullDownRefresh: function () {
50 |
51 | },
52 |
53 | /**
54 | * 页面上拉触底事件的处理函数
55 | */
56 | onReachBottom: function () {
57 |
58 | },
59 |
60 | /**
61 | * 用户点击右上角分享
62 | */
63 | onShareAppMessage: function () {
64 |
65 | }
66 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/utils.js:
--------------------------------------------------------------------------------
1 | export function isDef(value) {
2 | return value !== undefined && value !== null;
3 | }
4 | export function isObj(x) {
5 | const type = typeof x;
6 | return x !== null && (type === 'object' || type === 'function');
7 | }
8 | export function isNumber(value) {
9 | return /^\d+(\.\d+)?$/.test(value);
10 | }
11 | export function range(num, min, max) {
12 | return Math.min(Math.max(num, min), max);
13 | }
14 | export function nextTick(fn) {
15 | setTimeout(() => {
16 | fn();
17 | }, 1000 / 30);
18 | }
19 | let systemInfo = null;
20 | export function getSystemInfoSync() {
21 | if (systemInfo == null) {
22 | systemInfo = wx.getSystemInfoSync();
23 | }
24 | return systemInfo;
25 | }
26 | export function addUnit(value) {
27 | if (!isDef(value)) {
28 | return undefined;
29 | }
30 | value = String(value);
31 | return isNumber(value) ? `${value}px` : value;
32 | }
33 |
--------------------------------------------------------------------------------
/my-app01/e2e/protractor.conf.js:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | // Protractor configuration file, see link for more information
3 | // https://github.com/angular/protractor/blob/master/lib/config.ts
4 |
5 | const { SpecReporter } = require('jasmine-spec-reporter');
6 |
7 | /**
8 | * @type { import("protractor").Config }
9 | */
10 | exports.config = {
11 | allScriptsTimeout: 11000,
12 | specs: [
13 | './src/**/*.e2e-spec.ts'
14 | ],
15 | capabilities: {
16 | browserName: 'chrome'
17 | },
18 | directConnect: true,
19 | baseUrl: 'http://localhost:4200/',
20 | framework: 'jasmine',
21 | jasmineNodeOpts: {
22 | showColors: true,
23 | defaultTimeoutInterval: 30000,
24 | print: function() {}
25 | },
26 | onPrepare() {
27 | require('ts-node').register({
28 | project: require('path').join(__dirname, './tsconfig.json')
29 | });
30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31 | }
32 | };
--------------------------------------------------------------------------------
/todomvc-angular/e2e/protractor.conf.js:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | // Protractor configuration file, see link for more information
3 | // https://github.com/angular/protractor/blob/master/lib/config.ts
4 |
5 | const { SpecReporter } = require('jasmine-spec-reporter');
6 |
7 | /**
8 | * @type { import("protractor").Config }
9 | */
10 | exports.config = {
11 | allScriptsTimeout: 11000,
12 | specs: [
13 | './src/**/*.e2e-spec.ts'
14 | ],
15 | capabilities: {
16 | browserName: 'chrome'
17 | },
18 | directConnect: true,
19 | baseUrl: 'http://localhost:4200/',
20 | framework: 'jasmine',
21 | jasmineNodeOpts: {
22 | showColors: true,
23 | defaultTimeoutInterval: 30000,
24 | print: function() {}
25 | },
26 | onPrepare() {
27 | require('ts-node').register({
28 | project: require('path').join(__dirname, './tsconfig.json')
29 | });
30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31 | }
32 | };
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/skin/skin.js:
--------------------------------------------------------------------------------
1 | var config = require('../../comm/script/config')
2 | Page({
3 | data:{
4 | skinList: config.skinList,
5 | nowSkin: ''
6 | },
7 | onLoad:function(options){
8 | var that = this
9 | wx.getStorage({
10 | key: 'skin',
11 | success: function(res){
12 | if (res.data == "") {
13 | that.setData({
14 | nowSkin: config.skinList[0].imgUrl
15 | })
16 | } else {
17 | that.setData({
18 | nowSkin: res.data
19 | })
20 | }
21 | }
22 | })
23 | },
24 | chooseSkin: function(e) {
25 | var url = e.currentTarget.dataset.url
26 | wx.setStorage({
27 | key: 'skin',
28 | data: url,
29 | success: function(res){
30 | wx.navigateBack({
31 | delta: 1,
32 | success: function(res){
33 | console.log('success')
34 | }
35 | })
36 | }
37 | })
38 | }
39 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/wxs/bem.wxs:
--------------------------------------------------------------------------------
1 | var array = require('./array.wxs');
2 | var object = require('./object.wxs');
3 | var PREFIX = 'van-';
4 |
5 | function join(name, mods) {
6 | name = PREFIX + name;
7 | mods = mods.map(function(mod) {
8 | return name + '--' + mod;
9 | });
10 | mods.unshift(name);
11 | return mods.join(' ');
12 | }
13 |
14 | function traversing(mods, conf) {
15 | if (!conf) {
16 | return;
17 | }
18 |
19 | if (typeof conf === 'string' || typeof conf === 'number') {
20 | mods.push(conf);
21 | } else if (array.isArray(conf)) {
22 | conf.forEach(function(item) {
23 | traversing(mods, item);
24 | });
25 | } else if (typeof conf === 'object') {
26 | object.keys(conf).forEach(function(key) {
27 | conf[key] && mods.push(key);
28 | });
29 | }
30 | }
31 |
32 | function bem(name, conf) {
33 | var mods = [];
34 | traversing(mods, conf);
35 | return join(name, mods);
36 | }
37 |
38 | module.exports.bem = bem;
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/card/index.js:
--------------------------------------------------------------------------------
1 | import { link } from '../mixins/link';
2 | import { VantComponent } from '../common/component';
3 | VantComponent({
4 | classes: [
5 | 'num-class',
6 | 'desc-class',
7 | 'thumb-class',
8 | 'title-class',
9 | 'price-class',
10 | 'origin-price-class',
11 | ],
12 | mixins: [link],
13 | props: {
14 | tag: String,
15 | num: String,
16 | desc: String,
17 | thumb: String,
18 | title: String,
19 | price: String,
20 | centered: Boolean,
21 | lazyLoad: Boolean,
22 | thumbLink: String,
23 | originPrice: String,
24 | thumbMode: {
25 | type: String,
26 | value: 'aspectFit'
27 | },
28 | currency: {
29 | type: String,
30 | value: '¥'
31 | }
32 | },
33 | methods: {
34 | onClickThumb() {
35 | this.jumpLink('thumbLink');
36 | }
37 | }
38 | });
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/cell/index.js:
--------------------------------------------------------------------------------
1 | import { link } from '../mixins/link';
2 | import { VantComponent } from '../common/component';
3 | VantComponent({
4 | classes: [
5 | 'title-class',
6 | 'label-class',
7 | 'value-class',
8 | 'right-icon-class',
9 | 'hover-class'
10 | ],
11 | mixins: [link],
12 | props: {
13 | title: null,
14 | value: null,
15 | icon: String,
16 | size: String,
17 | label: String,
18 | center: Boolean,
19 | isLink: Boolean,
20 | required: Boolean,
21 | clickable: Boolean,
22 | titleWidth: String,
23 | customStyle: String,
24 | arrowDirection: String,
25 | useLabelSlot: Boolean,
26 | border: {
27 | type: Boolean,
28 | value: true
29 | }
30 | },
31 | methods: {
32 | onClick(event) {
33 | this.$emit('click', event.detail);
34 | this.jumpLink();
35 | }
36 | }
37 | });
38 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/mixins/touch.js:
--------------------------------------------------------------------------------
1 | export const touch = Behavior({
2 | methods: {
3 | touchStart(event) {
4 | const touch = event.touches[0];
5 | this.direction = '';
6 | this.deltaX = 0;
7 | this.deltaY = 0;
8 | this.offsetX = 0;
9 | this.offsetY = 0;
10 | this.startX = touch.clientX;
11 | this.startY = touch.clientY;
12 | },
13 | touchMove(event) {
14 | const touch = event.touches[0];
15 | this.deltaX = touch.clientX - this.startX;
16 | this.deltaY = touch.clientY - this.startY;
17 | this.offsetX = Math.abs(this.deltaX);
18 | this.offsetY = Math.abs(this.deltaY);
19 | this.direction =
20 | this.offsetX > this.offsetY
21 | ? 'horizontal'
22 | : this.offsetX < this.offsetY
23 | ? 'vertical'
24 | : '';
25 | }
26 | }
27 | });
28 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-button/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
28 | {{ text }}
29 |
30 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/nav-bar/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | classes: ['title-class'],
4 | props: {
5 | title: String,
6 | fixed: Boolean,
7 | leftText: String,
8 | rightText: String,
9 | leftArrow: Boolean,
10 | border: {
11 | type: Boolean,
12 | value: true
13 | },
14 | zIndex: {
15 | type: Number,
16 | value: 1
17 | },
18 | safeAreaInsetTop: {
19 | type: Boolean,
20 | value: true
21 | },
22 | },
23 | data: {
24 | statusBarHeight: 0
25 | },
26 | created() {
27 | const { statusBarHeight } = wx.getSystemInfoSync();
28 | this.setData({ statusBarHeight });
29 | },
30 | methods: {
31 | onClickLeft() {
32 | this.$emit('click-left');
33 | },
34 | onClickRight() {
35 | this.$emit('click-right');
36 | }
37 | }
38 | });
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker-column/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 | {{ getOptionText(option, valueKey) }}
21 |
22 |
23 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/progress/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { BLUE } from '../common/color';
3 | import { addUnit } from '../common/utils';
4 | VantComponent({
5 | props: {
6 | inactive: Boolean,
7 | percentage: Number,
8 | pivotText: String,
9 | pivotColor: String,
10 | trackColor: String,
11 | showPivot: {
12 | type: Boolean,
13 | value: true
14 | },
15 | color: {
16 | type: String,
17 | value: BLUE
18 | },
19 | textColor: {
20 | type: String,
21 | value: '#fff'
22 | },
23 | strokeWidth: {
24 | type: null,
25 | observer: 'setStrokeWidthUnit'
26 | }
27 | },
28 | data: {
29 | strokeWidthUnit: '4px'
30 | },
31 | methods: {
32 | setStrokeWidthUnit(val) {
33 | this.setData({
34 | strokeWidthUnit: addUnit(val)
35 | });
36 | }
37 | }
38 | });
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/icon/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { addUnit } from '../common/utils';
3 | VantComponent({
4 | props: {
5 | dot: Boolean,
6 | info: null,
7 | size: {
8 | type: null,
9 | observer: 'setSizeWithUnit'
10 | },
11 | color: String,
12 | customStyle: String,
13 | classPrefix: {
14 | type: String,
15 | value: 'van-icon'
16 | },
17 | name: {
18 | type: String,
19 | observer(val) {
20 | this.setData({
21 | isImageName: val.indexOf('/') !== -1
22 | });
23 | }
24 | }
25 | },
26 | data: {
27 | sizeWithUnit: null,
28 | },
29 | methods: {
30 | onClick() {
31 | this.$emit('click');
32 | },
33 | setSizeWithUnit(size) {
34 | this.setData({
35 | sizeWithUnit: addUnit(size)
36 | });
37 | }
38 | }
39 | });
40 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/gallery/gallery.wxss:
--------------------------------------------------------------------------------
1 | @import '../../comonents/nullTip/nullTip.wxss';
2 | .gallery {
3 | display: flex;
4 | flex-wrap: wrap;
5 | margin-bottom: 60rpx;
6 | position: relative;
7 | }
8 |
9 | .gallery::before, .gallery::after, .gallery-item::before, .gallery-item::after {
10 | content: '';
11 | display: block;
12 | position: absolute;
13 | background-color: #e5e5e5;
14 | }
15 |
16 | .gallery::before, .gallery::after {
17 | top: 0;
18 | left: 0;
19 | }
20 |
21 | .gallery-item::before, .gallery-item::after {
22 | bottom: 0;
23 | right: 0;
24 | }
25 |
26 | .gallery::before, .gallery-item::before {
27 | width: 100%;
28 | height: 1px;
29 | transform: scaleY(0.5);
30 | }
31 |
32 | .gallery::after, .gallery-item::after {
33 | width: 1px;
34 | height: 100%;
35 | transform: scaleX(0.5);
36 | }
37 |
38 | .gallery-item {
39 | width: 250rpx;
40 | height: 250rpx;
41 | overflow: hidden;
42 | position: relative;
43 | }
44 |
45 | .gallery-item-cover {
46 | width: 100%;
47 | height: 100%;
48 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/toast/index.wxml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
16 |
17 | {{ message }}
18 |
19 |
20 |
21 |
27 |
28 | {{ message }}
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/app.js:
--------------------------------------------------------------------------------
1 | //app.js
2 | App({
3 | onLaunch: function () {
4 | // 展示本地存储能力
5 | var logs = wx.getStorageSync('logs') || []
6 | logs.unshift(Date.now())
7 | wx.setStorageSync('logs', logs)
8 |
9 | // 登录
10 | wx.login({
11 | success: res => {
12 | // 发送 res.code 到后台换取 openId, sessionKey, unionId
13 | }
14 | })
15 | // 获取用户信息
16 | wx.getSetting({
17 | success: res => {
18 | if (res.authSetting['scope.userInfo']) {
19 | // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
20 | wx.getUserInfo({
21 | success: res => {
22 | // 可以将 res 发送给后台解码出 unionId
23 | this.globalData.userInfo = res.userInfo
24 |
25 | // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
26 | // 所以此处加入 callback 以防止这种情况
27 | if (this.userInfoReadyCallback) {
28 | this.userInfoReadyCallback(res)
29 | }
30 | }
31 | })
32 | }
33 | }
34 | })
35 | },
36 | globalData: {
37 | userInfo: null
38 | }
39 | })
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/models/HTTP.js:
--------------------------------------------------------------------------------
1 | var baseUrl = "https://douban-api.uieee.com/";
2 | class http{
3 | static request({url}){
4 | return new Promise((resolve,reject)=>{
5 | wx.request({
6 | url: baseUrl+url,
7 | header: {
8 | 'Content-Type': 'application/text'
9 | },
10 | success: function(res) {
11 | resolve(res)
12 | },
13 | fail: function(err) {
14 | reject(err)
15 | }
16 | })
17 | })
18 | }
19 | }
20 |
21 | class DetailModel extends http{
22 | static getDetailData(id){
23 | return this.request({
24 | url:`v2/movie/subject/${id}`,
25 | })
26 | }
27 | static getCat(){
28 | return this.request({
29 | url:"v2/movie/in_theaters"
30 | })
31 | }
32 | static getmodel(){
33 | return this.request({
34 | url:"v2/movie/coming_soon"
35 | })
36 | }
37 | }
38 | module.exports = {DetailModel}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/loading/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | import { addUnit } from '../common/utils';
3 | VantComponent({
4 | props: {
5 | size: {
6 | type: String,
7 | observer: 'setSizeWithUnit'
8 | },
9 | type: {
10 | type: String,
11 | value: 'circular'
12 | },
13 | color: {
14 | type: String,
15 | value: '#c9c9c9'
16 | },
17 | textSize: {
18 | type: String,
19 | observer: 'setTextSizeWithUnit'
20 | },
21 | vertical: Boolean
22 | },
23 | data: {
24 | sizeWithUnit: '30px',
25 | textSizeWithUnit: '14px'
26 | },
27 | methods: {
28 | setSizeWithUnit(size) {
29 | this.setData({
30 | sizeWithUnit: addUnit(size)
31 | });
32 | },
33 | setTextSizeWithUnit(size) {
34 | this.set({
35 | textSizeWithUnit: addUnit(size)
36 | });
37 | }
38 | }
39 | });
40 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-menu/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-dropdown-menu{display:-webkit-flex;display:flex;height:50px;background-color:#fff;-webkit-user-select:none;user-select:none}.van-dropdown-menu__item{display:-webkit-flex;display:flex;-webkit-flex:1;flex:1;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;min-width:0}.van-dropdown-menu__item:active{opacity:.7}.van-dropdown-menu__item--disabled:active{opacity:1}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:#999}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:0 8px;color:#333;font-size:15px;line-height:18px}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border-color:transparent transparent currentcolor currentcolor;border-style:solid;border-width:3px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:#1989fa}.van-dropdown-menu__title--down:after{margin-top:-1px;-webkit-transform:rotate(135deg);transform:rotate(135deg)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/row/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | name: 'col',
5 | type: 'descendant',
6 | linked(target) {
7 | if (this.data.gutter) {
8 | target.setGutter(this.data.gutter);
9 | }
10 | }
11 | },
12 | props: {
13 | gutter: Number
14 | },
15 | watch: {
16 | gutter: 'setGutter'
17 | },
18 | mounted() {
19 | if (this.data.gutter) {
20 | this.setGutter();
21 | }
22 | },
23 | methods: {
24 | setGutter() {
25 | const { gutter } = this.data;
26 | const margin = `-${Number(gutter) / 2}px`;
27 | const style = gutter
28 | ? `margin-right: ${margin}; margin-left: ${margin};`
29 | : '';
30 | this.setData({ style });
31 | this.getRelationNodes('../col/index').forEach(col => {
32 | col.setGutter(this.data.gutter);
33 | });
34 | }
35 | }
36 | });
37 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/definitions/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { Weapp } from './weapp';
3 | declare type RecordToAny = {
4 | [K in keyof T]: any;
5 | };
6 | export declare type CombinedComponentInstance = Methods & WechatMiniprogram.Component.TrivialInstance & Weapp.FormField & {
7 | data: Data & RecordToAny;
8 | };
9 | export interface VantComponentOptions {
10 | data?: Data;
11 | field?: boolean;
12 | classes?: string[];
13 | mixins?: string[];
14 | props?: Props & Weapp.PropertyOption;
15 | watch?: Weapp.WatchOption;
16 | relation?: Weapp.RelationOption & {
17 | name: string;
18 | };
19 | relations?: {
20 | [componentName: string]: Weapp.RelationOption;
21 | };
22 | methods?: Methods & Weapp.MethodOption;
23 | beforeCreate?: (this: Instance) => void;
24 | created?: (this: Instance) => void;
25 | mounted?: (this: Instance) => void;
26 | destroyed?: (this: Instance) => void;
27 | }
28 | export {};
29 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/grid-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-grid-item{position:relative;float:left;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__content{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;box-sizing:border-box;height:100%;padding:16px 8px;padding:var(--grid-item-content-padding,16px 8px);background-color:#fff;background-color:var(--grid-item-content-background-color,#fff)}.van-grid-item__content:after{z-index:1;border-width:0 1px 1px 0}.van-grid-item__content--surround:after{border-width:1px}.van-grid-item__content--center{-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--clickable:active{background-color:#f2f3f5;background-color:var(--grid-item-content-active-color,#f2f3f5)}.van-grid-item__icon{font-size:26px;font-size:var(--grid-item-icon-size,26px)}.van-grid-item__text{word-wrap:break-word;color:#7d7e80;color:var(--grid-item-text-color,#7d7e80);font-size:12px;font-size:var(--grid-item-text-font-size,12px)}
--------------------------------------------------------------------------------
/my-app01/src/app/foo/foo.component.html:
--------------------------------------------------------------------------------
1 | foo works!
2 | foo {{messsage}}
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | {{name.split('').reverse().join("-")}}
13 |
14 | Heroes:
15 |
16 | -
17 | {{i}}----> {{hero}}
18 |
19 |
20 |
21 | 没有很多英雄
22 | Show with class
23 | Hide with class
24 |
25 | show with class
26 | Hide with class
27 |
28 |
29 |
30 |
31 |
output
32 |
tornado
33 |
34 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notify/notify.js:
--------------------------------------------------------------------------------
1 | import { WHITE } from '../common/color';
2 | const defaultOptions = {
3 | selector: '#van-notify',
4 | type: 'danger',
5 | message: '',
6 | background: '',
7 | duration: 3000,
8 | zIndex: 110,
9 | color: WHITE,
10 | safeAreaInsetTop: false,
11 | onClick: () => { },
12 | onOpened: () => { },
13 | onClose: () => { }
14 | };
15 | function parseOptions(message) {
16 | return typeof message === 'string' ? { message } : message;
17 | }
18 | function getContext() {
19 | const pages = getCurrentPages();
20 | return pages[pages.length - 1];
21 | }
22 | export default function Notify(options) {
23 | options = Object.assign({}, defaultOptions, parseOptions(options));
24 | const context = options.context || getContext();
25 | const notify = context.selectComponent(options.selector);
26 | delete options.context;
27 | delete options.selector;
28 | if (notify) {
29 | notify.set(options);
30 | notify.show();
31 | }
32 | else {
33 | console.warn('未找到 van-notify 节点,请确认 selector 及 context 是否正确');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/rate/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
13 |
21 |
22 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/my-app01/README.md:
--------------------------------------------------------------------------------
1 | # MyApp01
2 |
3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.20.
4 |
5 | ## Development server
6 |
7 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8 |
9 | ## Code scaffolding
10 |
11 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12 |
13 | ## Build
14 |
15 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16 |
17 | ## Running unit tests
18 |
19 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20 |
21 | ## Running end-to-end tests
22 |
23 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24 |
25 | ## Further help
26 |
27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
28 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/top/top.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{userInfo.nickName}}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {{userInfo.province}},{{userInfo.city}}
15 |
16 |
17 |
18 |
19 |
20 | {{gridItem.zhName}}
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/image/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
18 |
19 |
23 |
27 |
32 |
33 |
37 |
41 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/todomvc-angular/README.md:
--------------------------------------------------------------------------------
1 | # TodomvcAngular
2 |
3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.20.
4 |
5 | ## Development server
6 |
7 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8 |
9 | ## Code scaffolding
10 |
11 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12 |
13 | ## Build
14 |
15 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16 |
17 | ## Running unit tests
18 |
19 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20 |
21 | ## Running end-to-end tests
22 |
23 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24 |
25 | ## Further help
26 |
27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
28 |
--------------------------------------------------------------------------------
/my-app01/karma.conf.js:
--------------------------------------------------------------------------------
1 | // Karma configuration file, see link for more information
2 | // https://karma-runner.github.io/1.0/config/configuration-file.html
3 |
4 | module.exports = function (config) {
5 | config.set({
6 | basePath: '',
7 | frameworks: ['jasmine', '@angular-devkit/build-angular'],
8 | plugins: [
9 | require('karma-jasmine'),
10 | require('karma-chrome-launcher'),
11 | require('karma-jasmine-html-reporter'),
12 | require('karma-coverage-istanbul-reporter'),
13 | require('@angular-devkit/build-angular/plugins/karma')
14 | ],
15 | client: {
16 | clearContext: false // leave Jasmine Spec Runner output visible in browser
17 | },
18 | coverageIstanbulReporter: {
19 | dir: require('path').join(__dirname, './coverage/my-app01'),
20 | reports: ['html', 'lcovonly', 'text-summary'],
21 | fixWebpackSourcePaths: true
22 | },
23 | reporters: ['progress', 'kjhtml'],
24 | port: 9876,
25 | colors: true,
26 | logLevel: config.LOG_INFO,
27 | autoWatch: true,
28 | browsers: ['Chrome'],
29 | singleRun: false,
30 | restartOnFileChange: true
31 | });
32 | };
33 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dialog/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-dialog{top:45%!important;width:320px;overflow:hidden;font-size:16px;border-radius:16px;background-color:#fff;background-color:var(--white,#fff)}@media (max-width:321px){.van-dialog{width:90%}}.van-dialog__header{padding-top:25px;font-weight:500;line-height:24px;text-align:center}.van-dialog__header--isolated{padding:25px 0}.van-dialog__message{max-height:60vh;padding:25px;overflow-y:auto;font-size:14px;line-height:20px;text-align:center;-webkit-overflow-scrolling:touch}.van-dialog__message-text{word-wrap:break-word}.van-dialog__message--has-title{padding-top:12px;color:#7d7e80;color:var(--gray-darker,#7d7e80)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:-webkit-flex;display:flex}.van-dialog__button{-webkit-flex:1;flex:1}.van-dialog__cancel,.van-dialog__confirm{border:0!important}.van-dialog-bounce-enter{-webkit-transform:translate3d(-50%,-50%,0) scale(.7);transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/info/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-info{position:absolute;right:0;box-sizing:border-box;white-space:nowrap;text-align:center;-webkit-transform:translateX(50%);transform:translateX(50%);-webkit-transform-origin:100%;transform-origin:100%;top:-8px;top:calc(var(--info-size, 16px)/-2);min-width:16px;min-width:var(--info-size,16px);padding:0 3px;padding:var(--info-padding,0 3px);color:#fff;color:var(--info-color,#fff);font-weight:500;font-weight:var(--info-font-weight,500);font-size:12px;font-size:var(--info-font-size,12px);font-family:PingFang SC,Helvetica Neue,Arial,sans-serif;font-family:var(--info-font-family,PingFang SC,Helvetica Neue,Arial,sans-serif);line-height:14px;line-height:calc(var(--info-size, 16px) - var(--info-border-width, 1px)*2);background-color:#ee0a24;background-color:var(--info-background-color,#ee0a24);border:1px solid #fff;border:var(--info-border-width,1px) solid var(--white,#fff);border-radius:16px;border-radius:var(--info-size,16px)}.van-info--dot{min-width:0;border-radius:100%;width:8px;width:var(--info-dot-size,8px);height:8px;height:var(--info-dot-size,8px);background-color:#ee0a24;background-color:var(--info-dot-color,#ee0a24)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/notice-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
15 |
16 |
17 |
18 |
19 | {{ text }}
20 |
21 |
22 |
23 |
29 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tab/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | name: 'tabs',
5 | type: 'ancestor'
6 | },
7 | props: {
8 | dot: Boolean,
9 | info: null,
10 | title: String,
11 | disabled: Boolean,
12 | titleStyle: String,
13 | name: {
14 | type: [Number, String],
15 | value: '',
16 | observer: 'setComputedName'
17 | }
18 | },
19 | data: {
20 | width: null,
21 | inited: false,
22 | active: false,
23 | animated: false
24 | },
25 | watch: {
26 | title: 'update',
27 | disabled: 'update',
28 | dot: 'update',
29 | info: 'update',
30 | titleStyle: 'update'
31 | },
32 | methods: {
33 | setComputedName() {
34 | this.computedName = this.data.name || this.index;
35 | },
36 | update() {
37 | const parent = this.getRelationNodes('../tabs/index')[0];
38 | if (parent) {
39 | parent.updateTabs();
40 | }
41 | }
42 | }
43 | });
44 |
--------------------------------------------------------------------------------
/todomvc-angular/karma.conf.js:
--------------------------------------------------------------------------------
1 | // Karma configuration file, see link for more information
2 | // https://karma-runner.github.io/1.0/config/configuration-file.html
3 |
4 | module.exports = function (config) {
5 | config.set({
6 | basePath: '',
7 | frameworks: ['jasmine', '@angular-devkit/build-angular'],
8 | plugins: [
9 | require('karma-jasmine'),
10 | require('karma-chrome-launcher'),
11 | require('karma-jasmine-html-reporter'),
12 | require('karma-coverage-istanbul-reporter'),
13 | require('@angular-devkit/build-angular/plugins/karma')
14 | ],
15 | client: {
16 | clearContext: false // leave Jasmine Spec Runner output visible in browser
17 | },
18 | coverageIstanbulReporter: {
19 | dir: require('path').join(__dirname, './coverage/todomvc-angular'),
20 | reports: ['html', 'lcovonly', 'text-summary'],
21 | fixWebpackSourcePaths: true
22 | },
23 | reporters: ['progress', 'kjhtml'],
24 | port: 9876,
25 | colors: true,
26 | logLevel: config.LOG_INFO,
27 | autoWatch: true,
28 | browsers: ['Chrome'],
29 | singleRun: false,
30 | restartOnFileChange: true
31 | });
32 | };
33 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/tree-select/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tree-select{position:relative;font-size:14px;-webkit-user-select:none;user-select:none}.van-tree-select__nav{position:absolute;top:0;bottom:0;left:0;width:35%;min-width:120px;background-color:#fafafa;background-color:var(--background-color-light,#fafafa)}.van-tree-select__nitem{position:relative;padding:0 9px 0 15px;line-height:44px}.van-tree-select__nitem--active:after{position:absolute;top:0;bottom:0;left:0;width:3.6px;content:"";background-color:#ee0a24;background-color:var(--red,#ee0a24)}.van-tree-select__nitem--active{font-weight:700;background-color:#fff;background-color:var(--white,#fff)}.van-tree-select__nitem--disabled{color:#999;color:var(--gray-dark,#999)}.van-tree-select__content{box-sizing:border-box;width:65%;margin-left:35%;padding-left:15px;background-color:#fff;background-color:var(--white,#fff)}.van-tree-select__item{position:relative;font-weight:700;line-height:44px}.van-tree-select__item--active{color:#ee0a24;color:var(--red,#ee0a24)}.van-tree-select__item--disabled{color:#999;color:var(--gray-dark,#999)}.van-tree-select__selected{position:absolute;top:0;right:15px;bottom:0;height:24px;margin:auto 0;line-height:24px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio-group/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | field: true,
4 | relation: {
5 | name: 'radio',
6 | type: 'descendant',
7 | linked(target) {
8 | this.children = this.children || [];
9 | this.children.push(target);
10 | this.updateChild(target);
11 | },
12 | unlinked(target) {
13 | this.children = this.children.filter((child) => child !== target);
14 | }
15 | },
16 | props: {
17 | value: {
18 | type: null,
19 | observer: 'updateChildren'
20 | },
21 | disabled: {
22 | type: Boolean,
23 | observer: 'updateChildren'
24 | }
25 | },
26 | methods: {
27 | updateChildren() {
28 | (this.children || []).forEach((child) => this.updateChild(child));
29 | },
30 | updateChild(child) {
31 | const { value, disabled } = this.data;
32 | child.setData({
33 | value,
34 | disabled: disabled || child.data.disabled
35 | });
36 | }
37 | }
38 | });
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/radio/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
12 |
13 |
21 |
22 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/about/about.wxml:
--------------------------------------------------------------------------------
1 |
2 | 电影推荐
3 |
4 |
5 | 后端支持
6 | 豆瓣API:https://developers.douban.com/
7 | 百度地图API:http://lbsyun.baidu.com/
8 |
9 |
10 | 作者
11 | sesine:https://github.com/yesifeng
12 |
13 |
14 | 此项目所使用到的API
15 |
16 | wx.request、wx.chooseImage、wx.previewImage、wx.playVoice、wx.saveFile、wx.setStorage、wx.getStorage、wx.clearStorage、wx.getStorageInfo、wx.getLocation、wx.getSystemInfo、wx.onAccelerometerChange、wx.showToast、wx.showModal、wx.showActionSheet、wx.setNavigationBarTitle、wx.navigateTo、wx.redirectTo、wx.login
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/utils/util.js:
--------------------------------------------------------------------------------
1 | function formatTime(time) {
2 | if (typeof time !== 'number' || time < 0) {
3 | return time
4 | }
5 |
6 | var hour = parseInt(time / 3600)
7 | time = time % 3600
8 | var minute = parseInt(time / 60)
9 | time = time % 60
10 | var second = time
11 |
12 | return ([hour, minute, second]).map(function (n) {
13 | n = n.toString()
14 | return n[1] ? n : '0' + n
15 | }).join(':')
16 | }
17 |
18 | function getDate() {
19 | var time = new Date()
20 | var year = time.getFullYear()
21 | var month = time.getMonth()
22 | month = month < 10 ? '0' + month : month
23 | var day = time.getDay()
24 | day = day < 10 ? '0' + day : day
25 | return [year, month, day].join('-')
26 | }
27 |
28 | function getTime() {
29 | var time = new Date()
30 | var hours = time.getHours()
31 | hours = hours < 10 ? '0' + hours : hours
32 | var minute = time.getMinutes()
33 | minute = minute < 10 ? '0' + minute : minute
34 | var second = time.getSeconds()
35 | second = second < 10 ? '0' + second : second
36 | return [hours, minute, second].join(':')
37 | }
38 |
39 | module.exports = {
40 | formatTime: formatTime,
41 | getDate: getDate,
42 | getTime: getTime
43 | }
44 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/search/search.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 | 热门搜索
13 | {{hotKeywordItem}}
14 | 热门标签
15 | {{hotTagItem}}
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/common/index.wxss:
--------------------------------------------------------------------------------
1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{display:table;clear:both;content:""}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #eee;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/picker/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-picker{position:relative;overflow:hidden;-webkit-text-size-adjust:100%;-webkit-user-select:none;user-select:none;background-color:#fff;background-color:var(--white,#fff)}.van-picker__toolbar{display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;height:44px;line-height:44px}.van-picker__cancel,.van-picker__confirm{padding:0 15px;font-size:14px;color:#1989fa;color:var(--blue,#1989fa)}.van-picker__cancel--hover,.van-picker__confirm--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}.van-picker__title{max-width:50%;font-weight:500;font-size:16px;text-align:center}.van-picker__columns{position:relative;display:-webkit-flex;display:flex}.van-picker__column{-webkit-flex:1 1;flex:1 1;width:0}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;background-color:hsla(0,0%,100%,.9)}.van-picker__frame,.van-picker__loading .van-loading{position:absolute;top:50%;left:0;z-index:1;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/wxs/memoize.wxs:
--------------------------------------------------------------------------------
1 | /**
2 | * Simple memoize
3 | * wxs doesn't support fn.apply, so this memoize only support up to 2 args
4 | */
5 |
6 | function isPrimitive(value) {
7 | var type = typeof value;
8 | return (
9 | type === 'boolean' ||
10 | type === 'number' ||
11 | type === 'string' ||
12 | type === 'undefined' ||
13 | value === null
14 | );
15 | }
16 |
17 | // mock simple fn.call in wxs
18 | function call(fn, args) {
19 | if (args.length === 2) {
20 | return fn(args[0], args[1]);
21 | }
22 |
23 | if (args.length === 1) {
24 | return fn(args[0]);
25 | }
26 |
27 | return fn();
28 | }
29 |
30 | function serializer(args) {
31 | if (args.length === 1 && isPrimitive(args[0])) {
32 | return args[0];
33 | }
34 | var obj = {};
35 | for (var i = 0; i < args.length; i++) {
36 | obj['key' + i] = args[i];
37 | }
38 | return JSON.stringify(obj);
39 | }
40 |
41 | function memoize(fn) {
42 | var cache = {};
43 |
44 | return function() {
45 | var key = serializer(arguments);
46 | if (cache[key] === undefined) {
47 | cache[key] = call(fn, arguments);
48 | }
49 |
50 | return cache[key];
51 | };
52 | }
53 |
54 | module.exports.memoize = memoize;
55 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/goods-action-icon/index.wxml:
--------------------------------------------------------------------------------
1 |
25 |
26 |
35 |
36 | {{ text }}
37 |
38 |
39 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/checkbox-group/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | field: true,
4 | relation: {
5 | name: 'checkbox',
6 | type: 'descendant',
7 | linked(target) {
8 | this.children = this.children || [];
9 | this.children.push(target);
10 | this.updateChild(target);
11 | },
12 | unlinked(target) {
13 | this.children = this.children.filter((child) => child !== target);
14 | }
15 | },
16 | props: {
17 | max: Number,
18 | value: {
19 | type: Array,
20 | observer: 'updateChildren'
21 | },
22 | disabled: {
23 | type: Boolean,
24 | observer: 'updateChildren'
25 | }
26 | },
27 | methods: {
28 | updateChildren() {
29 | (this.children || []).forEach((child) => this.updateChild(child));
30 | },
31 | updateChild(child) {
32 | const { value, disabled } = this.data;
33 | child.setData({
34 | value: value.indexOf(child.data.name) !== -1,
35 | disabled: disabled || child.data.disabled
36 | });
37 | }
38 | }
39 | });
40 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/stepper/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
26 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/my-app01/src/app/app.component.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed, async } from '@angular/core/testing';
2 | import { RouterTestingModule } from '@angular/router/testing';
3 | import { AppComponent } from './app.component';
4 |
5 | describe('AppComponent', () => {
6 | beforeEach(async(() => {
7 | TestBed.configureTestingModule({
8 | imports: [
9 | RouterTestingModule
10 | ],
11 | declarations: [
12 | AppComponent
13 | ],
14 | }).compileComponents();
15 | }));
16 |
17 | it('should create the app', () => {
18 | const fixture = TestBed.createComponent(AppComponent);
19 | const app = fixture.debugElement.componentInstance;
20 | expect(app).toBeTruthy();
21 | });
22 |
23 | it(`should have as title 'my-app01'`, () => {
24 | const fixture = TestBed.createComponent(AppComponent);
25 | const app = fixture.debugElement.componentInstance;
26 | expect(app.title).toEqual('my-app01');
27 | });
28 |
29 | it('should render title', () => {
30 | const fixture = TestBed.createComponent(AppComponent);
31 | fixture.detectChanges();
32 | const compiled = fixture.debugElement.nativeElement;
33 | expect(compiled.querySelector('.content span').textContent).toContain('my-app01 app is running!');
34 | });
35 | });
36 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/card/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-card{position:relative;box-sizing:border-box;padding:8px 16px;font-size:12px;color:#333;color:var(--card-text-color,#333);background-color:#fafafa;background-color:var(--card-background-color,#fafafa)}.van-card__header{display:-webkit-flex;display:flex}.van-card__header--center{-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}.van-card__thumb{position:relative;-webkit-flex:none;flex:none;width:90px;height:90px;margin-right:8px}.van-card__thumb:empty{display:none}.van-card__img{width:100%;height:100%}.van-card__content{position:relative;-webkit-flex:1;flex:1;min-width:0}.van-card__desc,.van-card__title{word-wrap:break-word}.van-card__title{font-weight:700;line-height:16px}.van-card__desc{color:#7d7e80;color:var(--card-desc-color,#7d7e80)}.van-card__bottom,.van-card__desc{line-height:20px}.van-card__price{display:inline-block;font-weight:700;color:#ee0a24;color:var(--card-price-color,#ee0a24)}.van-card__origin-price{display:inline-block;margin-left:5px;font-size:10px;text-decoration:line-through;color:#7d7e80;color:var(--card-origin-price-color,#7d7e80)}.van-card__num{float:right}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{-webkit-flex:none;flex:none;width:100%;text-align:right}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/collapse-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
19 |
23 |
27 |
28 |
32 |
33 |
38 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/todomvc-angular/src/app/app.component.spec.ts:
--------------------------------------------------------------------------------
1 | import { TestBed, async } from '@angular/core/testing';
2 | import { RouterTestingModule } from '@angular/router/testing';
3 | import { AppComponent } from './app.component';
4 |
5 | describe('AppComponent', () => {
6 | beforeEach(async(() => {
7 | TestBed.configureTestingModule({
8 | imports: [
9 | RouterTestingModule
10 | ],
11 | declarations: [
12 | AppComponent
13 | ],
14 | }).compileComponents();
15 | }));
16 |
17 | it('should create the app', () => {
18 | const fixture = TestBed.createComponent(AppComponent);
19 | const app = fixture.debugElement.componentInstance;
20 | expect(app).toBeTruthy();
21 | });
22 |
23 | it(`should have as title 'todomvc-angular'`, () => {
24 | const fixture = TestBed.createComponent(AppComponent);
25 | const app = fixture.debugElement.componentInstance;
26 | expect(app.title).toEqual('todomvc-angular');
27 | });
28 |
29 | it('should render title', () => {
30 | const fixture = TestBed.createComponent(AppComponent);
31 | fixture.detectChanges();
32 | const compiled = fixture.debugElement.nativeElement;
33 | expect(compiled.querySelector('.content span').textContent).toContain('todomvc-angular app is running!');
34 | });
35 | });
36 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/nav-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
15 | {{ leftText }}
21 |
22 |
23 |
24 |
25 | {{ title }}
26 |
27 |
28 |
29 | {{ rightText }}
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/pages/skin/skin.wxss:
--------------------------------------------------------------------------------
1 | .skin-list {
2 | overflow: hidden;
3 | }
4 | .skin-item, .skin-img {
5 | width: 710rpx;
6 | height: 360rpx;
7 | }
8 |
9 | .skin-item {
10 | box-sizing: border-box;
11 | position: relative;
12 | margin: 20rpx auto;
13 | border-radius: 20rpx;
14 | box-shadow: 0 20rpx 20rpx rgba(0, 0, 0, .2);
15 | overflow: hidden;
16 | }
17 |
18 | .skin-item-active {
19 | border: 6rpx solid #47a86c;
20 | }
21 |
22 | .skin-item-active::before {
23 | content: '';
24 | display: block;
25 | position: absolute;
26 | top: -80rpx;
27 | right: -80rpx;
28 | z-index: 4;
29 | width: 160rpx;
30 | height: 160rpx;
31 | transform: rotate(45deg);
32 | background-color: #47a86c;
33 | }
34 |
35 | .skin-item-active::after {
36 | content: '在用';
37 | display: block;
38 | position: absolute;
39 | top: 5px;
40 | right: 3px;
41 | z-index: 4;
42 | text-align: center;
43 | transform: rotate(45deg);
44 | color: #fff;
45 | }
46 |
47 | .skin-title {
48 | box-sizing: border-box;
49 | position: absolute;
50 | bottom: 0;
51 | left: 0;
52 | width: 100%;
53 | height: 80rpx;
54 | font-size: 32rpx;
55 | line-height: 80rpx;
56 | padding: 0 40rpx;
57 | background-color: rgba(0, 0, 0, .6);
58 | border-radius: 0 0 20rpx 20rpx;
59 | color: #fff;
60 | }
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/toast/toast.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare type ToastMessage = string | number;
3 | interface ToastOptions {
4 | show?: boolean;
5 | type?: string;
6 | mask?: boolean;
7 | zIndex?: number;
8 | context?: WechatMiniprogram.Component.TrivialInstance | WechatMiniprogram.Page.TrivialInstance;
9 | position?: string;
10 | duration?: number;
11 | selector?: string;
12 | forbidClick?: boolean;
13 | loadingType?: string;
14 | message?: ToastMessage;
15 | onClose?: () => void;
16 | }
17 | declare function Toast(toastOptions: ToastOptions | ToastMessage): WechatMiniprogram.Component.TrivialInstance;
18 | declare namespace Toast {
19 | var loading: (options: string | number | ToastOptions) => WechatMiniprogram.Component.Instance, Record, Record>;
20 | var success: (options: string | number | ToastOptions) => WechatMiniprogram.Component.Instance, Record, Record>;
21 | var fail: (options: string | number | ToastOptions) => WechatMiniprogram.Component.Instance, Record, Record>;
22 | var clear: () => void;
23 | var setDefaultOptions: (options: ToastOptions) => void;
24 | var resetDefaultOptions: () => void;
25 | }
26 | export default Toast;
27 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/action-sheet/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-action-sheet{max-height:90%!important;color:#333;color:var(--action-sheet-item-text-color,#333)}.van-action-sheet__cancel,.van-action-sheet__item{font-size:16px;line-height:50px;text-align:center;background-color:#fff;background-color:var(--action-sheet-item-background,#fff)}.van-action-sheet__cancel--hover,.van-action-sheet__item--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}.van-action-sheet__cancel{height:50px}.van-action-sheet__cancel:before{display:block;height:8px;content:" ";background-color:#f8f8f8;background-color:var(--action-sheet-cancel-padding-color,#f8f8f8)}.van-action-sheet__item--disabled{color:#c9c9c9;color:var(--action-sheet-item-disabled-text-color,#c9c9c9)}.van-action-sheet__item--disabled.van-action-sheet__item--hover{background-color:#fff;background-color:var(--action-sheet-item-background,#fff)}.van-action-sheet__subname{margin-left:4px;font-size:12px;color:#7d7e80;color:var(--action-sheet-subname-color,#7d7e80)}.van-action-sheet__header{font-weight:500;font-size:16px;line-height:44px;text-align:center}.van-action-sheet__description{padding:16px;color:#7d7e80;font-size:14px;line-height:20px;text-align:center}.van-action-sheet__close{position:absolute!important;top:0;right:0;padding:0 12px;font-size:18px!important;line-height:inherit!important;color:#999;color:var(--action-sheet-close-icon-color,#999)}
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/sidebar/index.js:
--------------------------------------------------------------------------------
1 | import { VantComponent } from '../common/component';
2 | VantComponent({
3 | relation: {
4 | name: 'sidebar-item',
5 | type: 'descendant',
6 | linked(target) {
7 | this.items.push(target);
8 | this.setActive(this.data.active);
9 | },
10 | unlinked(target) {
11 | this.items = this.items.filter(item => item !== target);
12 | this.setActive(this.data.active);
13 | }
14 | },
15 | props: {
16 | active: {
17 | type: Number,
18 | value: 0,
19 | observer: 'setActive'
20 | }
21 | },
22 | beforeCreate() {
23 | this.items = [];
24 | this.currentActive = -1;
25 | },
26 | methods: {
27 | setActive(active) {
28 | const { items, currentActive } = this;
29 | if (!items.length) {
30 | return Promise.resolve();
31 | }
32 | this.currentActive = active;
33 | const stack = [];
34 | if (currentActive !== active && items[currentActive]) {
35 | stack.push(items[currentActive].setActive(false));
36 | }
37 | if (items[active]) {
38 | stack.push(items[active].setActive(true));
39 | }
40 | return Promise.all(stack);
41 | }
42 | }
43 | });
44 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/submit-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
13 |
14 | {{ tip }}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {{ label || '合计:' }}
23 |
24 | {{ currency }}
25 | {{ priceStr }}
26 |
27 | {{ suffixLabel }}
28 |
29 |
39 | {{ loading ? '' : buttonText }}
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/毕业设计(微信小程序)/vant-ui/dropdown-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
18 |
27 |
32 | {{ item.text }}
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------