├── pages ├── index │ ├── index.wxss │ ├── index.json │ └── index.wxml ├── my │ ├── textConsult │ │ ├── waitComment │ │ │ ├── waitComment.wxss │ │ │ ├── waitComment.json │ │ │ └── waitComment.wxml │ │ ├── textConsult.wxss │ │ ├── finish │ │ │ ├── finish.wxss │ │ │ ├── finish.json │ │ │ ├── finish.wxml │ │ │ └── finish.js │ │ ├── textConsult.json │ │ ├── ing │ │ │ ├── ing.wxss │ │ │ └── ing.json │ │ └── textConsult.js │ ├── phoneConsult │ │ ├── ing │ │ │ ├── ing.wxss │ │ │ ├── ing.json │ │ │ ├── ing.wxml │ │ │ └── ing.js │ │ ├── finish │ │ │ ├── finish.wxss │ │ │ ├── finish.json │ │ │ ├── finish.wxml │ │ │ └── finish.js │ │ ├── phoneConsult.wxss │ │ ├── waitComment │ │ │ ├── waitComment.wxss │ │ │ ├── waitComment.json │ │ │ ├── waitComment.wxml │ │ │ └── waitComment.js │ │ ├── phoneConsult.json │ │ └── phoneConsult.js │ ├── healthFile │ │ ├── healthFile.wxss │ │ └── healthFile.json │ ├── my.json │ ├── my.wxss │ └── my.wxml ├── article │ ├── article.wxss │ ├── article.json │ ├── article.wxml │ └── article.js ├── doctorList │ ├── search │ │ ├── search.wxss │ │ ├── search.json │ │ ├── search.wxml │ │ └── search.js │ ├── doctorList.wxss │ ├── doctorList.json │ └── doctorList.wxml ├── phoneConsult │ ├── phoneConsult.wxss │ ├── phoneConsult.json │ └── phoneConsult.wxml ├── logs │ ├── logs.json │ ├── logs.wxss │ ├── logs.wxml │ └── logs.js ├── department │ ├── department.wxss │ ├── department.json │ └── department.wxml ├── textConsult │ ├── textConsult.wxss │ └── textConsult.json └── doctor │ ├── doctor.json │ └── doctor.wxss ├── miniprogram_npm ├── @vant │ └── weapp │ │ ├── common │ │ ├── style │ │ │ ├── theme.wxss │ │ │ ├── var.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ └── hairline.wxss │ │ ├── color.js │ │ ├── version.js │ │ └── index.wxss │ │ ├── radio-group │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── checkbox-group │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── area │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── col │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── collapse │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── row │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── tab │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── circle │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── canvas.js │ │ ├── grid │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── info │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── loading │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── progress │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── sidebar │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── slider │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── stepper │ │ └── index.json │ │ ├── sticky │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.wxs │ │ ├── tabbar │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── cell-group │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── count-down │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── datetime-picker │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── dropdown-menu │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxml │ │ ├── goods-action │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── index-anchor │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── index-bar │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── picker-column │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── share-sheet │ │ ├── options.json │ │ ├── index.json │ │ ├── index.wxs │ │ ├── options.wxs │ │ ├── options.wxml │ │ ├── index.wxss │ │ ├── options.wxss │ │ ├── options.js │ │ └── index.js │ │ ├── swipe-cell │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── transition │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── calendar │ │ ├── components │ │ │ ├── header │ │ │ │ ├── index.json │ │ │ │ ├── index.js │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── month │ │ │ │ └── index.json │ │ ├── index.json │ │ ├── utils.wxs │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── empty │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── divider │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── skeleton │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── definitions │ │ ├── index.js │ │ └── weapp.js │ │ ├── card │ │ ├── index.json │ │ └── index.js │ │ ├── cell │ │ ├── index.json │ │ └── index.js │ │ ├── icon │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── panel │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── radio │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── rate │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── steps │ │ ├── index.json │ │ └── index.js │ │ ├── tag │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── checkbox │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxml │ │ ├── grid-item │ │ ├── index.json │ │ └── index.wxml │ │ ├── nav-bar │ │ ├── index.json │ │ └── index.wxss │ │ ├── notice-bar │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── search │ │ ├── index.json │ │ └── index.wxss │ │ ├── collapse-item │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── sidebar-item │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── switch │ │ ├── index.json │ │ └── index.wxml │ │ ├── notify │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── overlay │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── goods-action-button │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── wxs │ │ ├── array.wxs │ │ ├── utils.wxs │ │ ├── add-unit.wxs │ │ ├── object.wxs │ │ ├── bem.wxs │ │ └── memoize.wxs │ │ ├── field │ │ ├── index.json │ │ └── index.wxs │ │ ├── tabs │ │ └── index.json │ │ ├── button │ │ └── index.json │ │ ├── image │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── popup │ │ ├── index.json │ │ └── index.wxml │ │ ├── submit-bar │ │ └── index.json │ │ ├── tabbar-item │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── uploader │ │ ├── index.json │ │ └── shared.js │ │ ├── goods-action-icon │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── picker │ │ ├── index.json │ │ ├── shared.js │ │ └── toolbar.wxml │ │ ├── dropdown-item │ │ ├── index.json │ │ └── index.wxss │ │ ├── action-sheet │ │ └── index.json │ │ ├── tree-select │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxss │ │ ├── toast │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── dialog │ │ └── index.json │ │ └── mixins │ │ ├── button.js │ │ ├── link.js │ │ ├── open-type.js │ │ ├── basic.js │ │ ├── touch.js │ │ └── page-scroll.js └── weui-miniprogram │ ├── badge │ ├── badge.wxss │ ├── badge.json │ └── badge.wxml │ ├── form-page │ ├── form-page.wxss │ ├── form-page.json │ └── form-page.wxml │ ├── slideview │ ├── slideview.wxss │ └── slideview.json │ ├── uploader │ ├── uploader.wxss │ └── uploader.json │ ├── checkbox-group │ ├── checkbox-group.wxss │ ├── checkbox-group.json │ └── checkbox-group.wxml │ ├── navigation-bar │ ├── navigation-bar.wxss │ └── navigation-bar.json │ ├── msg │ ├── msg.wxss │ ├── msg.json │ └── msg.wxml │ ├── cell │ ├── cell.wxss │ └── cell.json │ ├── form │ ├── form.wxml │ └── form.json │ ├── grids │ ├── grids.wxss │ ├── grids.json │ └── grids.wxml │ ├── icon │ ├── icon.json │ ├── icon.wxss │ └── icon.wxml │ ├── cells │ ├── cells.json │ ├── cells.wxss │ └── cells.wxml │ ├── dialog │ ├── dialog.json │ ├── dialog.wxss │ └── dialog.wxml │ ├── gallery │ ├── gallery.json │ ├── gallery.wxss │ └── gallery.wxml │ ├── loading │ ├── loading.json │ ├── loading.wxss │ └── loading.wxml │ ├── toptips │ ├── toptips.json │ ├── toptips.wxml │ └── toptips.wxss │ ├── actionsheet │ ├── actionsheet.json │ └── actionsheet.wxss │ ├── half-screen-dialog │ ├── half-screen-dialog.json │ └── half-screen-dialog.wxss │ ├── searchbar │ ├── searchbar.wxss │ ├── searchbar.json │ └── searchbar.wxml │ ├── tabbar │ ├── tabbar.json │ └── tabbar.wxml │ ├── static │ └── icon │ │ └── s-arrow-back.png │ ├── package.json │ └── checkbox │ ├── checkbox.json │ ├── checkbox.wxss │ └── checkbox.wxml ├── picture ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── my.jpg ├── doctor.jpg ├── index.jpg ├── reEdit.jpg ├── reply.jpg ├── orderList.jpg ├── richText.jpg ├── department.jpg ├── doctorList.jpg └── healthFile.jpg ├── icon ├── nologin.jpg ├── heart.svg └── teeth.svg ├── utils ├── delay.js ├── request.js └── util.js ├── sitemap.json ├── .gitignore ├── app.wxss ├── package.json ├── editor └── editor.wxss └── app.js /pages/index/index.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/theme.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/var.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/my/textConsult/waitComment/waitComment.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/slideview/slideview.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/uploader/uploader.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/article/article.wxss: -------------------------------------------------------------------------------- 1 | /* pages/article/article.wxss */ -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/navigation-bar/navigation-bar.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /pages/doctorList/search/search.wxss: -------------------------------------------------------------------------------- 1 | /* pages/doctorList/search/search.wxss */ -------------------------------------------------------------------------------- /pages/my/phoneConsult/ing/ing.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/phoneConsult/ing/ing.wxss */ -------------------------------------------------------------------------------- /pages/phoneConsult/phoneConsult.wxss: -------------------------------------------------------------------------------- 1 | /* pages/phoneConsult/phoneConsult.wxss */ -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /pages/my/textConsult/textConsult.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/textConsult/textConsult.wxss */ -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/finish/finish.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/phoneConsult/finish/finish.wxss */ -------------------------------------------------------------------------------- /pages/my/phoneConsult/phoneConsult.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/phoneConsult/phoneConsult.wxss */ -------------------------------------------------------------------------------- /pages/my/textConsult/finish/finish.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/textConsult/finish/finish.wxss */ -------------------------------------------------------------------------------- /picture/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/1.jpg -------------------------------------------------------------------------------- /picture/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/2.jpg -------------------------------------------------------------------------------- /picture/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/3.jpg -------------------------------------------------------------------------------- /picture/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/4.jpg -------------------------------------------------------------------------------- /picture/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/5.jpg -------------------------------------------------------------------------------- /picture/my.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/my.jpg -------------------------------------------------------------------------------- /icon/nologin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/icon/nologin.jpg -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.wxss: -------------------------------------------------------------------------------- 1 | .weui-msg__icon-img{width:190rpx;height:190rpx} -------------------------------------------------------------------------------- /pages/logs/logs.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "查看启动日志", 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /picture/doctor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/doctor.jpg -------------------------------------------------------------------------------- /picture/index.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/index.jpg -------------------------------------------------------------------------------- /picture/reEdit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/reEdit.jpg -------------------------------------------------------------------------------- /picture/reply.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/reply.jpg -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cell/cell.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_wxss.weui-cell_wxss:before{display:block} -------------------------------------------------------------------------------- /picture/orderList.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/orderList.jpg -------------------------------------------------------------------------------- /picture/richText.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/richText.jpg -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form/form.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.wxss: -------------------------------------------------------------------------------- 1 | .weui-grid .weui-grid__icon_img{width:100%;height:100%} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /pages/my/phoneConsult/waitComment/waitComment.wxss: -------------------------------------------------------------------------------- 1 | /* pages/my/phoneConsult/waitComment/waitComment.wxss */ -------------------------------------------------------------------------------- /picture/department.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/department.jpg -------------------------------------------------------------------------------- /picture/doctorList.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/doctorList.jpg -------------------------------------------------------------------------------- /picture/healthFile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/picture/healthFile.jpg -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form/form.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/slideview/slideview.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/actionsheet/actionsheet.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.wxss: -------------------------------------------------------------------------------- 1 | .weui-gallery{display:none}.weui-gallery_show.weui-gallery{display:flex} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/navigation-bar/navigation-bar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/definitions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/definitions/weapp.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:85px;width:var(--sidebar-width,85px)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/half-screen-dialog/half-screen-dialog.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.wxml: -------------------------------------------------------------------------------- 1 | {{content}} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/searchbar/searchbar.wxss: -------------------------------------------------------------------------------- 1 | .weui-search-bar__label text{display:inline-block;font-size:14px;vertical-align:middle} -------------------------------------------------------------------------------- /utils/delay.js: -------------------------------------------------------------------------------- 1 | export default function delay(milSec) { 2 | return new Promise(resolve => { 3 | setTimeout(resolve, milSec) 4 | }) 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pages/article/article.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "健康资讯", 3 | "usingComponents": { 4 | "van-icon": "@vant/weapp/icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /pages/department/department.wxss: -------------------------------------------------------------------------------- 1 | /* pages/department/department.wxss */ 2 | .my-grid-item { 3 | background-color: rgb(247, 247, 247) !important; 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pages/logs/logs.wxss: -------------------------------------------------------------------------------- 1 | .log-list { 2 | display: flex; 3 | flex-direction: column; 4 | padding: 40rpx; 5 | } 6 | .log-item { 7 | margin: 10rpx; 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{position:fixed;right:0;left:0} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cell/cell.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells" 5 | } 6 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/tabbar/tabbar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-badge": "../badge/badge" 5 | } 6 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /pages/my/healthFile/healthFile.wxss: -------------------------------------------------------------------------------- 1 | van-radio-group { 2 | display: flex; 3 | justify-content: space-around; 4 | } 5 | 6 | .firstRadio{ 7 | margin-right: 30px; 8 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | text: function(pivotText, percentage) { 3 | return pivotText || percentage + '%'; 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells" 5 | } 6 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/static/icon/s-arrow-back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zimomo333/Home-Doctor-Wx/HEAD/miniprogram_npm/weui-miniprogram/static/icon/s-arrow-back.png -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/uploader/uploader.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-gallery": "../gallery/gallery" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "options": "./options" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/actionsheet/actionsheet.wxss: -------------------------------------------------------------------------------- 1 | .weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .3s} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 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 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/searchbar/searchbar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells", 5 | "mp-cell": "../cell/cell" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/my/textConsult/finish/finish.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "已完成", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-rate": "@vant/weapp/rate/index" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/doctorList/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-search": "@vant/weapp/search/index", 4 | "van-card": "@vant/weapp/card/index", 5 | "van-icon": "@vant/weapp/icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/logs/logs.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{index + 1}}. {{log}} 5 | 6 | 7 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/finish/finish.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "已完成", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-rate": "@vant/weapp/rate/index" 6 | } 7 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows 2 | [Dd]esktop.ini 3 | Thumbs.db 4 | $RECYCLE.BIN/ 5 | 6 | # macOS 7 | .DS_Store 8 | .fseventsd 9 | .Spotlight-V100 10 | .TemporaryItems 11 | .Trashes 12 | 13 | # Node.js 14 | node_modules/ 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.wxss: -------------------------------------------------------------------------------- 1 | .weui-cells__group_wxss.weui-cells__group_wxss .weui-cells__title{margin-top:24px}.weui-cells__group_form .weui-cells__tips{margin-top:8px;padding:0 32px;color:var(--weui-FG-1)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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))} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "weui-miniprogram", 3 | "version": "1.0.4", 4 | "description": "小程序 WeUI 组件库", 5 | "author": "xushengni,tomylin,cunjinli,rockhou", 6 | "license": "MIT" 7 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cell": "../cell/cell", 5 | "mp-checkbox-group": "../checkbox-group/checkbox-group" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tree-select/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-sidebar": "../sidebar/index", 6 | "van-sidebar-item": "../sidebar-item/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.wxss: -------------------------------------------------------------------------------- 1 | .weui-icon{vertical-align:middle;display:inline-block;background:black;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;-moz-mask-repeat:no-repeat;mask-size:cover;-webkit-mask-size:cover;-moz-mask-size:cover} -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "家有医生", 3 | "usingComponents": { 4 | "van-tabbar": "@vant/weapp/tabbar/index", 5 | "van-tabbar-item": "@vant/weapp/tabbar-item/index", 6 | "van-card": "@vant/weapp/card/index" 7 | } 8 | } -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.wxss: -------------------------------------------------------------------------------- 1 | .wx_loading_view{display:flex;justify-content:center;align-items:center;overflow:hidden}.loading{color:rgba(255,255,255,0.9);font-size:17px;text-align:center}.loading_view_translation{transition:height .2s .3s ease} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{msg}} 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:#323233;color:var(--count-down-text-color,#323233);font-size:14px;font-size:var(--count-down-font-size,14px);line-height:20px;line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /pages/textConsult/textConsult.wxss: -------------------------------------------------------------------------------- 1 | @import "/editor/editor.wxss"; 2 | 3 | .container_2 { 4 | height: 100%; 5 | display: flex; 6 | flex-direction: column; 7 | align-items: center; 8 | justify-content: space-between; 9 | box-sizing: border-box; 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ title }} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /pages/textConsult/textConsult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "图文问诊", 3 | "usingComponents": { 4 | "mp-dialog": "/miniprogram_npm/weui-miniprogram/dialog/dialog", 5 | "van-button": "@vant/weapp/button/index", 6 | "van-toast": "@vant/weapp/toast/index" 7 | } 8 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /pages/my/my.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的信息", 3 | "usingComponents": { 4 | "van-tabbar": "@vant/weapp/tabbar/index", 5 | "van-tabbar-item": "@vant/weapp/tabbar-item/index", 6 | "van-grid": "@vant/weapp/grid/index", 7 | "van-grid-item": "@vant/weapp/grid-item/index" 8 | } 9 | } -------------------------------------------------------------------------------- /pages/my/phoneConsult/ing/ing.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "进行中", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-button": "@vant/weapp/button/index", 6 | "van-toast": "@vant/weapp/toast/index", 7 | "van-dialog": "@vant/weapp/dialog/index" 8 | } 9 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--panel-background-color,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:8px 16px;padding:var(--panel-footer-padding,8px 16px)} -------------------------------------------------------------------------------- /pages/doctorList/doctorList.wxss: -------------------------------------------------------------------------------- 1 | /* pages/doctorList/doctorList.wxss */ 2 | .introduction { 3 | margin: 3px 0px; 4 | overflow: hidden; /* 超出一行文字自动隐藏 */ 5 | text-overflow: ellipsis; /* 文字隐藏后添加省略号 */ 6 | display: -webkit-box; 7 | -webkit-line-clamp: 2; 8 | -webkit-box-orient: vertical; 9 | } -------------------------------------------------------------------------------- /pages/my/textConsult/textConsult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的图文问诊", 3 | "usingComponents": { 4 | "van-tab": "@vant/weapp/tab/index", 5 | "van-tabs": "@vant/weapp/tabs/index", 6 | "van-cell": "@vant/weapp/cell/index", 7 | "van-cell-group": "@vant/weapp/cell-group/index" 8 | } 9 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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:#323233;color:var(--circle-text-color,#323233)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane,:host{box-sizing:border-box}.van-tab__pane{overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /pages/my/phoneConsult/waitComment/waitComment.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "待评价", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-button": "@vant/weapp/button/index", 6 | "van-rate": "@vant/weapp/rate/index", 7 | "van-toast": "@vant/weapp/toast/index" 8 | } 9 | } -------------------------------------------------------------------------------- /pages/my/textConsult/waitComment/waitComment.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "待评价", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-button": "@vant/weapp/button/index", 6 | "van-rate": "@vant/weapp/rate/index", 7 | "van-toast": "@vant/weapp/toast/index" 8 | } 9 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-button": "../button/index", 6 | "van-goods-action": "../goods-action//index", 7 | "van-goods-action-button": "../goods-action-button/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | customStyle: String, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/utils.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var bem = require('./bem.wxs').bem; 3 | var memoize = require('./memoize.wxs').memoize; 4 | var addUnit = require('./add-unit.wxs').addUnit; 5 | 6 | module.exports = { 7 | bem: memoize(bem), 8 | memoize: memoize, 9 | addUnit: addUnit 10 | }; 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | @import '/miniprogram_npm/weui-miniprogram/weui-wxss/dist/style/weui.wxss'; 2 | 3 | /**app.wxss**/ 4 | .container { 5 | height: 100%; 6 | display: flex; 7 | flex-direction: column; 8 | align-items: center; 9 | justify-content: space-between; 10 | padding: 200rpx 0; 11 | box-sizing: border-box; 12 | } 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "header": "./components/header/index", 5 | "month": "./components/month/index", 6 | "van-button": "../button/index", 7 | "van-popup": "../popup/index", 8 | "van-toast": "../toast/index" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /pages/my/textConsult/ing/ing.wxss: -------------------------------------------------------------------------------- 1 | @import "/editor/editor.wxss"; 2 | 3 | .container_2 { 4 | height:350px; 5 | display: flex; 6 | flex-direction: column; 7 | align-items: center; 8 | justify-content: space-between; 9 | box-sizing: border-box; 10 | } 11 | 12 | van-goods-action-button { 13 | margin-bottom: 5px; 14 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function isMulti(options) { 3 | if (options == null || options[0] == null) { 4 | return false; 5 | } 6 | 7 | return "Array" === options.constructor && "Array" === options[0].constructor; 8 | } 9 | 10 | module.exports = { 11 | isMulti: isMulti 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/add-unit.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var REGEXP = getRegExp('^\d+(\.\d+)?$'); 3 | 4 | function addUnit(value) { 5 | if (value == null) { 6 | return undefined; 7 | } 8 | 9 | return REGEXP.test('' + value) ? value + 'px' : value; 10 | } 11 | 12 | module.exports = { 13 | addUnit: addUnit 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /pages/logs/logs.js: -------------------------------------------------------------------------------- 1 | //logs.js 2 | const util = require('../../utils/util.js') 3 | 4 | Page({ 5 | data: { 6 | logs: [] 7 | }, 8 | onLoad: function () { 9 | this.setData({ 10 | logs: (wx.getStorageSync('logs') || []).map(log => { 11 | return util.formatTime(new Date(log)) 12 | }) 13 | }) 14 | } 15 | }) 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | title: String, 7 | border: { 8 | type: Boolean, 9 | value: true, 10 | }, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/half-screen-dialog/half-screen-dialog.wxss: -------------------------------------------------------------------------------- 1 | .weui-mask,.weui-half-screen-dialog{transition:all .3s}.weui-hidden .weui-mask{visibility:hidden;opacity:0}.weui-hidden .weui-half-screen-dialog{transform:translateY(100%)}.weui-show .weui-mask{opacity:1;visibility:visible}.weui-show .weui-half-screen-dialog{transform:translateY(0%)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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(--goods-action-background-color,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group__title{padding:16px 16px 8px;padding:var(--cell-group-title-padding,16px 16px 8px);font-size:14px;font-size:var(--cell-group-title-font-size,14px);line-height:16px;line-height:var(--cell-group-title-line-height,16px);color:#969799;color:var(--cell-group-title-color,#969799)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.wxss: -------------------------------------------------------------------------------- 1 | .weui-toptips_show.weui-toptips{display:block}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_success{background-color:var(--weui-BRAND)}.weui-toptips_error{background-color:var(--weui-RED)}.weui-toptips_info{background-color:var(--weui-BLUE)} -------------------------------------------------------------------------------- /pages/my/phoneConsult/phoneConsult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的电话问诊", 3 | "usingComponents": { 4 | "van-tab": "@vant/weapp/tab/index", 5 | "van-tabs": "@vant/weapp/tabs/index", 6 | "van-cell": "@vant/weapp/cell/index", 7 | "van-cell-group": "@vant/weapp/cell-group/index", 8 | "van-toast": "@vant/weapp/toast/index" 9 | } 10 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;box-sizing:initial;width:100%;height:50px;height:var(--tabbar-height,50px);background-color:#fff;background-color:var(--tabbar-background-color,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "home-doctor", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "app.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@vant/weapp": "^1.5.0", 13 | "weui-miniprogram": "^1.0.5" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /pages/department/department.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "选择科室", 3 | "usingComponents": { 4 | "van-tabbar": "@vant/weapp/tabbar/index", 5 | "van-tabbar-item": "@vant/weapp/tabbar-item/index", 6 | "van-grid": "@vant/weapp/grid/index", 7 | "van-grid-item": "@vant/weapp/grid-item/index", 8 | "van-search": "@vant/weapp/search/index" 9 | } 10 | } -------------------------------------------------------------------------------- /pages/phoneConsult/phoneConsult.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "电话问诊", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-popup": "@vant/weapp/popup/index", 6 | "van-datetime-picker": "@vant/weapp/datetime-picker/index", 7 | "van-button": "@vant/weapp/button/index", 8 | "van-toast": "@vant/weapp/toast/index" 9 | } 10 | } -------------------------------------------------------------------------------- /pages/doctor/doctor.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "医生详情", 3 | "usingComponents": { 4 | "van-image": "@vant/weapp/image/index", 5 | "van-icon": "@vant/weapp/icon/index", 6 | "van-goods-action": "@vant/weapp/goods-action/index", 7 | "van-goods-action-button": "@vant/weapp/goods-action-button/index", 8 | "van-divider": "@vant/weapp/divider/index" 9 | } 10 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | classes: ['header-class', 'footer-class'], 6 | props: { 7 | desc: String, 8 | title: String, 9 | status: String, 10 | useFooterSlot: Boolean, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.wxss: -------------------------------------------------------------------------------- 1 | .weui-dialog.weui-dialog_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-dialog{opacity:1;-webkit-transform:scale3d(1, 1, 1) translateY(-50%);transform:scale3d(1, 1, 1) translateY(-50%);transition:all .2s ease-in}.weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .2s ease-in} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-icon-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /pages/my/textConsult/ing/ing.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "进行中", 3 | "usingComponents": { 4 | "mp-dialog": "/miniprogram_npm/weui-miniprogram/dialog/dialog", 5 | "van-goods-action": "@vant/weapp/goods-action/index", 6 | "van-goods-action-button": "@vant/weapp/goods-action-button/index", 7 | "van-toast": "@vant/weapp/toast/index", 8 | "van-dialog": "@vant/weapp/dialog/index" 9 | } 10 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /pages/doctorList/doctorList.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "选择医生", 3 | "usingComponents": { 4 | "van-search": "@vant/weapp/search/index", 5 | "van-dropdown-menu": "@vant/weapp/dropdown-menu/index", 6 | "van-dropdown-item": "@vant/weapp/dropdown-item/index", 7 | "van-area": "@vant/weapp/area/index", 8 | "van-card": "@vant/weapp/card/index", 9 | "van-icon": "@vant/weapp/icon/index" 10 | } 11 | } -------------------------------------------------------------------------------- /pages/my/my.wxss: -------------------------------------------------------------------------------- 1 | .userinfo-avatar { 2 | width: 70px; 3 | height: 70px; 4 | margin: 10px 0px; 5 | border-radius: 50%; 6 | } 7 | 8 | .userinfo-nickname { 9 | font-size: 25px; 10 | font-weight: bold; 11 | } 12 | 13 | .userinfo{ 14 | display: flex; 15 | justify-content: space-around; 16 | align-items: center; 17 | } 18 | 19 | .userinfo button{ 20 | margin: 0px; 21 | } 22 | 23 | .myGrid { 24 | height: 120px; 25 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayTitle(item) { 3 | if (item.title) { 4 | return item.title; 5 | } 6 | 7 | var match = item.options.filter(function(option) { 8 | return option.value === item.value; 9 | }); 10 | var displayTitle = match.length ? match[0].text : ''; 11 | return displayTitle; 12 | } 13 | 14 | module.exports = { 15 | displayTitle: displayTitle 16 | }; 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/color.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.GRAY_DARK = exports.GRAY = exports.ORANGE = exports.GREEN = exports.WHITE = exports.BLUE = exports.RED = void 0; 4 | exports.RED = '#ee0a24'; 5 | exports.BLUE = '#1989fa'; 6 | exports.WHITE = '#fff'; 7 | exports.GREEN = '#07c160'; 8 | exports.ORANGE = '#ff976a'; 9 | exports.GRAY = '#323233'; 10 | exports.GRAY_DARK = '#969799'; 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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;font-size:20px;font-size:var(--rate-icon-size,20px)}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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;color:var(--dropdown-menu-option-active-color,#1989fa)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{title}} 3 | 4 | 5 | 6 | {{footer}} 7 | 8 | -------------------------------------------------------------------------------- /pages/my/healthFile/healthFile.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "健康档案", 3 | "usingComponents": { 4 | "van-field": "@vant/weapp/field/index", 5 | "van-popup": "@vant/weapp/popup/index", 6 | "van-datetime-picker": "@vant/weapp/datetime-picker/index", 7 | "van-radio": "@vant/weapp/radio/index", 8 | "van-radio-group": "@vant/weapp/radio-group/index", 9 | "van-button": "@vant/weapp/button/index", 10 | "van-notify": "@vant/weapp/notify/index" 11 | } 12 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | color: String, 7 | vertical: Boolean, 8 | type: { 9 | type: String, 10 | value: 'circular', 11 | }, 12 | size: String, 13 | textSize: String, 14 | }, 15 | data: { 16 | array12: Array.from({ length: 12 }), 17 | }, 18 | }); 19 | -------------------------------------------------------------------------------- /pages/article/article.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 | 7 | 8 | {{time}} 浏览:{{watchs}} 点赞:{{likes}}  9 | 10 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/ing/ing.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 确认订单 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function barStyle(barHeight, activeColor) { 5 | var styles = [['height', utils.addUnit(barHeight)]]; 6 | 7 | if (activeColor) { 8 | styles.push(['background', activeColor]); 9 | } 10 | 11 | return styles 12 | .map(function (item) { 13 | return item.join(':'); 14 | }) 15 | .join(';'); 16 | } 17 | 18 | module.exports = { 19 | barStyle: barStyle, 20 | }; 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | var transition_1 = require('../mixins/transition'); 5 | component_1.VantComponent({ 6 | classes: [ 7 | 'enter-class', 8 | 'enter-active-class', 9 | 'enter-to-class', 10 | 'leave-class', 11 | 'leave-active-class', 12 | 'leave-to-class', 13 | ], 14 | mixins: [transition_1.transition(true)], 15 | }); 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;text-align:center;color:#000;color:var(--picker-option-text-color,#000);font-size:16px;font-size:var(--picker-option-font-size,16px)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;font-weight:var(--font-weight-bold,500);color:#323233;color:var(--picker-option-selected-text-color,#323233)}.van-picker-column__item--disabled{opacity:.3;opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../../../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | title: { 7 | type: String, 8 | value: '日期选择', 9 | }, 10 | subtitle: String, 11 | showTitle: Boolean, 12 | showSubtitle: Boolean, 13 | }, 14 | data: { 15 | weekdays: ['日', '一', '二', '三', '四', '五', '六'], 16 | }, 17 | methods: {}, 18 | }); 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/button.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.button = void 0; 4 | exports.button = Behavior({ 5 | externalClasses: ['hover-class'], 6 | properties: { 7 | id: String, 8 | lang: String, 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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action-icon{border:none!important;width:50px!important;width:var(--goods-action-icon-height,50px)!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%;line-height:1;font-size:10px;font-size:var(--goods-action-icon-font-size,10px);color:#646566;color:var(--goods-action-icon-text-color,#646566)}.van-goods-action-icon__icon{margin-bottom:4px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{tips}} 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/shared.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.pickerProps = void 0; 4 | exports.pickerProps = { 5 | title: String, 6 | loading: Boolean, 7 | showToolbar: Boolean, 8 | cancelButtonText: { 9 | type: String, 10 | value: '取消', 11 | }, 12 | confirmButtonText: { 13 | type: String, 14 | value: '确认', 15 | }, 16 | visibleItemCount: { 17 | type: Number, 18 | value: 6, 19 | }, 20 | itemHeight: { 21 | type: Number, 22 | value: 44, 23 | }, 24 | }; 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | size: String, 7 | mark: Boolean, 8 | color: String, 9 | plain: Boolean, 10 | round: Boolean, 11 | textColor: String, 12 | type: { 13 | type: String, 14 | value: 'default', 15 | }, 16 | closeable: Boolean, 17 | }, 18 | methods: { 19 | onClose: function () { 20 | this.$emit('close'); 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function inputStyle(autosize) { 5 | if (autosize && autosize.constructor === 'Object') { 6 | var style = ''; 7 | if (autosize.minHeight) { 8 | style += 'min-height:' + utils.addUnit(autosize.minHeight) + ';'; 9 | } 10 | if (autosize.maxHeight) { 11 | style += 'max-height:' + utils.addUnit(autosize.maxHeight) + ';'; 12 | } 13 | return style; 14 | } 15 | 16 | return ''; 17 | } 18 | 19 | module.exports = { 20 | inputStyle: inputStyle 21 | }; 22 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.wxml: -------------------------------------------------------------------------------- 1 | 2 | var double = function(a) { 3 | return 2*a 4 | }; 5 | var ifSpecialIcon = function(v) { 6 | return v === 'arrow' || v === 'back' 7 | } 8 | module.exports = { 9 | double: double, 10 | ifSpecialIcon: ifSpecialIcon 11 | } 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{position:fixed;top:50%;right:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-weight:500;padding:0 4px 0 16px;padding:0 var(--padding-base,4px) 0 var(--padding-md,16px);font-size:10px;font-size:var(--index-bar-index-font-size,10px);line-height:14px;line-height:var(--index-bar-index-line-height,14px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/link.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.link = void 0; 4 | exports.link = Behavior({ 5 | properties: { 6 | url: String, 7 | linkType: { 8 | type: String, 9 | value: 'navigateTo', 10 | }, 11 | }, 12 | methods: { 13 | jumpLink: function (urlKey) { 14 | if (urlKey === void 0) { 15 | urlKey = 'url'; 16 | } 17 | var url = this.data[urlKey]; 18 | if (url) { 19 | wx[this.data.linkType]({ url: url }); 20 | } 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/finish/finish.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.wxml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | show: Boolean, 7 | customStyle: String, 8 | duration: { 9 | type: null, 10 | value: 300, 11 | }, 12 | zIndex: { 13 | type: Number, 14 | value: 1, 15 | }, 16 | }, 17 | methods: { 18 | onClick: function () { 19 | this.$emit('click'); 20 | }, 21 | // for prevent touchmove 22 | noop: function () {}, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ title }} 5 | 6 | 7 | 8 | {{ subtitle }} 9 | 10 | 11 | 12 | 13 | {{ item }} 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) { 5 | var styles = [['font-size', utils.addUnit(iconSize)]]; 6 | if (checkedColor && value && !disabled && !parentDisabled) { 7 | styles.push(['border-color', checkedColor]); 8 | styles.push(['background-color', checkedColor]); 9 | } 10 | 11 | return styles 12 | .map(function(item) { 13 | return item.join(':'); 14 | }) 15 | .join(';'); 16 | } 17 | 18 | module.exports = { 19 | iconStyle: iconStyle 20 | }; 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 14 | 18 | {{ message }} 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 14 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | {{ description }} 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{padding:0 16px;padding:var(--index-anchor-padding,0 16px);color:#323233;color:var(--index-anchor-text-color,#323233);font-weight:500;font-weight:var(--index-anchor-font-weight,500);font-size:14px;font-size:var(--index-anchor-font-size,14px);line-height:32px;line-height:var(--index-anchor-line-height,32px);background-color:initial;background-color:var(--index-anchor-background-color,transparent)}.van-index-anchor--active{right:0;left:0;color:#07c160;color:var(--index-anchor-active-text-color,#07c160);background-color:#fff;background-color:var(--index-anchor-active-background-color,#fff)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 19 | {{ item }} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /utils/request.js: -------------------------------------------------------------------------------- 1 | export default function myRequest(url,data,method){ 2 | return new Promise((resolve,reject) =>{ 3 | wx.request({ 4 | url: 'http://www.zimomo333.com:8080'+url, 5 | data: data, 6 | method, 7 | header: { 8 | 'token': wx.getStorageSync("token"), 9 | 'content-type': 'application/x-www-form-urlencoded' // 必须设置编码类型 10 | }, 11 | success: function(res) { 12 | if(res.data.code==200){ 13 | resolve(res.data.data) 14 | } else { 15 | reject(res.data.attach) 16 | } 17 | }, 18 | fail: function(res) { 19 | reject('request fail') 20 | } 21 | }) 22 | }) 23 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 15 | {{ title }} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/utils.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function getMonthEndDay(year, month) { 3 | return 32 - getDate(year, month - 1, 32).getDate(); 4 | } 5 | 6 | function compareMonth(date1, date2) { 7 | date1 = getDate(date1); 8 | date2 = getDate(date2); 9 | 10 | var year1 = date1.getFullYear(); 11 | var year2 = date2.getFullYear(); 12 | var month1 = date1.getMonth(); 13 | var month2 = date2.getMonth(); 14 | 15 | if (year1 === year2) { 16 | return month1 === month2 ? 0 : month1 > month2 ? 1 : -1; 17 | } 18 | 19 | return year1 > year2 ? 1 : -1; 20 | } 21 | 22 | module.exports = { 23 | getMonthEndDay: getMonthEndDay, 24 | compareMonth: compareMonth 25 | }; 26 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-empty{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;box-sizing:border-box;padding:32px 0}.van-empty__image{width:160px;height:160px}.van-empty__image:empty{display:none}.van-empty__image__img{width:100%;height:100%}.van-empty__image:not(:empty)+.van-empty__image{display:none}.van-empty__description{margin-top:16px;padding:0 60px;color:#969799;font-size:14px;line-height:20px}.van-empty__description:empty,.van-empty__description:not(:empty)+.van-empty__description{display:none}.van-empty__bottom{margin-top:24px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | var PRESETS = ['error', 'search', 'default', 'network']; 5 | component_1.VantComponent({ 6 | props: { 7 | description: String, 8 | image: { 9 | type: String, 10 | value: 'default', 11 | }, 12 | }, 13 | created: function () { 14 | if (PRESETS.indexOf(this.data.image) !== -1) { 15 | this.setData({ 16 | imageUrl: 17 | 'https://img.yzcdn.cn/vant/empty-image-' + this.data.image + '.png', 18 | }); 19 | } else { 20 | this.setData({ imageUrl: this.data.image }); 21 | } 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/tabbar/tabbar.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{item.text}} 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | size: null, 9 | color: String, 10 | customStyle: String, 11 | classPrefix: { 12 | type: String, 13 | value: 'van-icon', 14 | }, 15 | name: { 16 | type: String, 17 | observer: function (val) { 18 | this.setData({ 19 | isImageName: val.indexOf('/') !== -1, 20 | }); 21 | }, 22 | }, 23 | }, 24 | methods: { 25 | onClick: function () { 26 | this.$emit('click'); 27 | }, 28 | }, 29 | }); 30 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | var color_1 = require('../common/color'); 5 | component_1.VantComponent({ 6 | props: { 7 | inactive: Boolean, 8 | percentage: Number, 9 | pivotText: String, 10 | pivotColor: String, 11 | trackColor: String, 12 | showPivot: { 13 | type: Boolean, 14 | value: true, 15 | }, 16 | color: { 17 | type: String, 18 | value: color_1.BLUE, 19 | }, 20 | textColor: { 21 | type: String, 22 | value: '#fff', 23 | }, 24 | strokeWidth: { 25 | type: null, 26 | value: 4, 27 | }, 28 | }, 29 | }); 30 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | {{ item.name }} 14 | 15 | {{ item.description }} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/toast/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | show: Boolean, 7 | mask: Boolean, 8 | message: String, 9 | forbidClick: Boolean, 10 | zIndex: { 11 | type: Number, 12 | value: 1000, 13 | }, 14 | type: { 15 | type: String, 16 | value: 'text', 17 | }, 18 | loadingType: { 19 | type: String, 20 | value: 'circular', 21 | }, 22 | position: { 23 | type: String, 24 | value: 'middle', 25 | }, 26 | }, 27 | methods: { 28 | // for prevent touchmove 29 | noop: function () {}, 30 | }, 31 | }); 32 | -------------------------------------------------------------------------------- /pages/department/department.wxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 17 | 18 | 19 | 20 | {{item.text}} 21 | 22 | 23 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/finish/finish.js: -------------------------------------------------------------------------------- 1 | import myRequest from '../../../../utils/request' 2 | Page({ 3 | data: { 4 | consult_id: '', 5 | doctor_name: '', 6 | date: '', 7 | phone: '', 8 | comment: '', 9 | rate: 0 10 | }, 11 | onLoad(options) { 12 | this.setData({ consult_id: options.id}) 13 | myRequest('/wx_user/show_porder',{id:options.id},'GET').then((data)=>{ 14 | this.setData({ 15 | doctor_name: data.realName, 16 | phone: data.userPhone, 17 | date: data.freedTime 18 | }) 19 | }); 20 | myRequest('/wx_user/getCommonts',{id:options.id},'GET').then((data)=>{ 21 | this.setData({ 22 | comment: data.content, 23 | rate: data.star 24 | }) 25 | }) 26 | } 27 | }) -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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:#969799;color:var(--image-placeholder-text-color,#969799);font-size:14px;font-size:var(--image-placeholder-font-size,14px);background-color:#f7f8fa;background-color:var(--image-placeholder-background-color,#f7f8fa)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.wxml: -------------------------------------------------------------------------------- 1 | 2 | {{current+1}}/{{currentImgs.length}} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 删除 12 | 13 | 14 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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--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)} -------------------------------------------------------------------------------- /pages/doctorList/search/search.wxml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | {{ item.message }} 14 | 15 | 16 | 评分: {{item.goodcommonts}} 17 |  总回答: {{item.services}} 18 | 19 | 20 | 图文:¥{{ item.morderPrice }}  电话:¥{{ item.porderPrice }} 21 | 22 | 23 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | relation: { 6 | name: 'row', 7 | type: 'ancestor', 8 | current: 'col', 9 | }, 10 | props: { 11 | span: Number, 12 | offset: Number, 13 | }, 14 | data: { 15 | viewStyle: '', 16 | }, 17 | methods: { 18 | setGutter: function (gutter) { 19 | var padding = gutter / 2 + 'px'; 20 | var viewStyle = gutter 21 | ? 'padding-left: ' + padding + '; padding-right: ' + padding + ';' 22 | : ''; 23 | if (viewStyle !== this.data.viewStyle) { 24 | this.setData({ viewStyle: viewStyle }); 25 | } 26 | }, 27 | }, 28 | }); 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | var link_1 = require('../mixins/link'); 5 | var button_1 = require('../mixins/button'); 6 | var open_type_1 = require('../mixins/open-type'); 7 | component_1.VantComponent({ 8 | classes: ['icon-class', 'text-class'], 9 | mixins: [link_1.link, button_1.button, open_type_1.openType], 10 | props: { 11 | text: String, 12 | dot: Boolean, 13 | info: String, 14 | icon: String, 15 | disabled: Boolean, 16 | loading: Boolean, 17 | }, 18 | methods: { 19 | onClick: function (event) { 20 | this.$emit('click', event.detail); 21 | this.jumpLink(); 22 | }, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | 17 | {{ getters.text(pivotText, percentage) }} 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | dashed: { 7 | type: Boolean, 8 | value: false, 9 | }, 10 | hairline: { 11 | type: Boolean, 12 | value: false, 13 | }, 14 | contentPosition: { 15 | type: String, 16 | value: '', 17 | }, 18 | fontSize: { 19 | type: Number, 20 | value: '', 21 | }, 22 | borderColor: { 23 | type: String, 24 | value: '', 25 | }, 26 | textColor: { 27 | type: String, 28 | value: '', 29 | }, 30 | customStyle: { 31 | type: String, 32 | value: '', 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_radio .weui-check+.weui-icon-checked{color:transparent}.weui-check[checked]+.weui-icon-checked{color:var(--weui-BRAND);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/uploader/shared.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.chooseVideoProps = exports.chooseImageProps = void 0; 4 | // props for choose image 5 | exports.chooseImageProps = { 6 | sizeType: { 7 | type: Array, 8 | value: ['original', 'compressed'], 9 | }, 10 | capture: { 11 | type: Array, 12 | value: ['album', 'camera'], 13 | }, 14 | }; 15 | // props for choose video 16 | exports.chooseVideoProps = { 17 | capture: { 18 | type: Array, 19 | value: ['album', 'camera'], 20 | }, 21 | compressed: { 22 | type: Boolean, 23 | value: true, 24 | }, 25 | maxDuration: { 26 | type: Number, 27 | value: 60, 28 | }, 29 | camera: { 30 | type: String, 31 | value: 'back', 32 | }, 33 | }; 34 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/waitComment/waitComment.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 15 | 16 | 17 | 18 | 19 | 20 | 提交评价 21 | 22 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/toolbar.wxml: -------------------------------------------------------------------------------- 1 | 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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%;color:#646566;color:var(--tabbar-item-text-color,#646566);font-size:12px;font-size:var(--tabbar-item-font-size,12px);line-height:1;line-height:var(--tabbar-item-line-height,1)}.van-tabbar-item__icon{position:relative;margin-bottom:5px;margin-bottom:var(--tabbar-item-margin-bottom,5px);font-size:18px;font-size:var(--tabbar-item-icon-size,18px)}.van-tabbar-item__icon__inner{display:block;min-width:1em}.van-tabbar-item--active{color:#1989fa;color:var(--tabbar-item-active-color,#1989fa)}.van-tabbar-item__info{margin-top:2px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function wrapStyle(data) { 3 | var style = ''; 4 | 5 | if (data.transform) { 6 | style += 'transform: translate3d(0, ' + data.transform + 'px, 0);'; 7 | } 8 | 9 | if (data.fixed) { 10 | style += 'top: ' + data.offsetTop + 'px;'; 11 | } 12 | 13 | if (data.zIndex) { 14 | style += 'z-index: ' + data.zIndex + ';'; 15 | } 16 | 17 | return style; 18 | } 19 | 20 | function containerStyle(data) { 21 | var style = ''; 22 | 23 | if (data.fixed) { 24 | style += 'height: ' + data.height + 'px;'; 25 | } 26 | 27 | if (data.zIndex) { 28 | style += 'z-index: ' + data.zIndex + ';'; 29 | } 30 | 31 | return style; 32 | } 33 | 34 | module.exports = { 35 | wrapStyle: wrapStyle, 36 | containerStyle: containerStyle 37 | }; 38 | -------------------------------------------------------------------------------- /pages/doctor/doctor.wxss: -------------------------------------------------------------------------------- 1 | /* pages/doctor/doctor.wxss */ 2 | .van-image { 3 | float: right; 4 | margin: 10px 15px 0px 0px; 5 | } 6 | 7 | .info { 8 | margin-left: 15px; 9 | } 10 | 11 | #name { 12 | display: block; 13 | font-size: 30px; 14 | font-weight: bold; 15 | margin-bottom: 5px; 16 | } 17 | 18 | #introduction { 19 | margin: 15px 15px 0px 0px; 20 | overflow: hidden; /* 超出一行文字自动隐藏 */ 21 | text-overflow: ellipsis; /* 文字隐藏后添加省略号 */ 22 | display: -webkit-box; 23 | -webkit-line-clamp: 2; 24 | -webkit-box-orient: vertical; 25 | } 26 | 27 | .count { 28 | margin: 15px; 29 | } 30 | 31 | .count text { 32 | color: orange; 33 | font-size: 20px; 34 | font-weight: bold; 35 | } 36 | 37 | .comments { 38 | margin: 0px 15px 50px 15px; 39 | } 40 | 41 | van-goods-action-button { 42 | margin-bottom: 5px; 43 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-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} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 16 | 17 | {{ computed.displayTitle(item) }} 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 14 | 15 | 19 | 20 | 21 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /pages/my/textConsult/finish/finish.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{doctor_name}}: 4 | {{ item.time }} 5 | 6 | 7 | {{item.time}} 8 | 我: 9 | 10 | 11 | 12 | 13 | 14 | 22 | 23 | 24 | 25 | 26 | 27 |   -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{label}} 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('./utils.wxs'); 3 | 4 | function getMonths(minDate, maxDate) { 5 | var months = []; 6 | var cursor = getDate(minDate); 7 | 8 | cursor.setDate(1); 9 | 10 | do { 11 | months.push(cursor.getTime()); 12 | cursor.setMonth(cursor.getMonth() + 1); 13 | } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1); 14 | 15 | return months; 16 | } 17 | 18 | function getButtonDisabled(type, currentDate) { 19 | if (currentDate == null) { 20 | return true; 21 | } 22 | 23 | if (type === 'range') { 24 | return !currentDate[0] || !currentDate[1]; 25 | } 26 | 27 | if (type === 'multiple') { 28 | return !currentDate.length; 29 | } 30 | 31 | return !currentDate; 32 | } 33 | 34 | module.exports = { 35 | getMonths: getMonths, 36 | getButtonDisabled: getButtonDisabled 37 | }; 38 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/open-type.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.openType = void 0; 4 | exports.openType = Behavior({ 5 | properties: { 6 | openType: String, 7 | }, 8 | methods: { 9 | bindGetUserInfo: function (event) { 10 | this.$emit('getuserinfo', event.detail); 11 | }, 12 | bindContact: function (event) { 13 | this.$emit('contact', event.detail); 14 | }, 15 | bindGetPhoneNumber: function (event) { 16 | this.$emit('getphonenumber', event.detail); 17 | }, 18 | bindError: function (event) { 19 | this.$emit('error', event.detail); 20 | }, 21 | bindLaunchApp: function (event) { 22 | this.$emit('launchapp', event.detail); 23 | }, 24 | bindOpenSetting: function (event) { 25 | this.$emit('opensetting', event.detail); 26 | }, 27 | }, 28 | }); 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{margin-top:8px;color:#323233;font-weight:400;font-size:14px;line-height:20px}.van-share-sheet__title:empty,.van-share-sheet__title:not(:empty)+.van-share-sheet__title{display:none}.van-share-sheet__description{display:block;margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-share-sheet__description:empty,.van-share-sheet__description:not(:empty)+.van-share-sheet__description{display:none}.van-share-sheet__cancel{display:block;box-sizing:initial;width:100%;height:auto;padding:0;font-size:16px;line-height:48px;text-align:center;background:#fff;border:none}.van-share-sheet__cancel:before{display:block;height:8px;background-color:#f7f8fa;content:" "}.van-share-sheet__cancel:after{display:none}.van-share-sheet__cancel:active{background-color:#f2f3f5} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 13 | 20 | 24 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-progress{position:relative;height:4px;height:var(--progress-height,4px);border-radius:4px;border-radius:var(--progress-height,4px);background:#ebedf0;background:var(--progress-background-color,#ebedf0)}.van-progress__portion{position:absolute;left:0;height:100%;border-radius:inherit;background:#1989fa;background:var(--progress-color,#1989fa)}.van-progress__pivot{position:absolute;top:50%;right:0;box-sizing:border-box;min-width:2em;text-align:center;word-break:keep-all;border-radius:1em;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#fff;color:var(--progress-pivot-text-color,#fff);padding:0 5px;padding:var(--progress-pivot-padding,0 5px);font-size:10px;font-size:var(--progress-pivot-font-size,10px);line-height:1.6;line-height:var(--progress-pivot-line-height,1.6);background-color:#1989fa;background-color:var(--progress-pivot-background-color,#1989fa)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-slider{position:relative;border-radius:999px;border-radius:var(--border-radius-max,999px);background-color:#ebedf0;background-color:var(--slider-inactive-background-color,#ebedf0)}.van-slider:before{position:absolute;right:0;left:0;content:"";top:-8px;top:-var(--padding-xs,8px);bottom:-8px;bottom:-var(--padding-xs,8px)}.van-slider__bar{position:relative;border-radius:inherit;transition:width .2s;transition:width var(--animation-duration-fast,.2s);background-color:#1989fa;background-color:var(--slider-active-background-color,#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(--slider-button-background-color,#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:.5} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | relation: { 6 | type: 'descendant', 7 | name: 'goods-action-button', 8 | current: 'goods-action', 9 | linked: function () { 10 | this.updateStyle(); 11 | }, 12 | unlinked: function () { 13 | this.updateStyle(); 14 | }, 15 | linkChanged: function () { 16 | this.updateStyle(); 17 | }, 18 | }, 19 | props: { 20 | safeAreaInsetBottom: { 21 | type: Boolean, 22 | value: true, 23 | }, 24 | }, 25 | methods: { 26 | updateStyle: function () { 27 | var _this = this; 28 | wx.nextTick(function () { 29 | _this.children.forEach(function (child) { 30 | child.updateStyle(); 31 | }); 32 | }); 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../../../common/index.wxss';.van-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 2px 10px rgba(125,126,128,.16);box-shadow:var(--calendar-header-box-shadow,0 2px 10px rgba(125,126,128,.16))}.van-calendar__header-subtitle,.van-calendar__header-title{text-align:center;height:44px;height:var(--calendar-header-title-height,44px);font-weight:500;font-weight:var(--font-weight-bold,500);line-height:44px;line-height:var(--calendar-header-title-height,44px)}.van-calendar__header-title+.van-calendar__header-title,.van-calendar__header-title:empty{display:none}.van-calendar__header-title:empty+.van-calendar__header-title{display:block!important}.van-calendar__weekdays{display:-webkit-flex;display:flex}.van-calendar__weekday{-webkit-flex:1;flex:1;text-align:center;font-size:12px;font-size:var(--calendar-weekdays-font-size,12px);line-height:30px;line-height:var(--calendar-weekdays-height,30px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-share-sheet__options{position:relative;display:-webkit-flex;display:flex;padding:16px 0 16px 8px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__icon{width:48px;height:48px;margin:0 16px}.van-share-sheet__name{margin-top:8px;padding:0 4px;color:#646566;font-size:12px}.van-share-sheet__option-description{padding:0 4px;color:#c8c9cc;font-size:12px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/steps/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | var color_1 = require('../common/color'); 5 | component_1.VantComponent({ 6 | classes: ['desc-class'], 7 | props: { 8 | icon: String, 9 | steps: Array, 10 | active: Number, 11 | direction: { 12 | type: String, 13 | value: 'horizontal', 14 | }, 15 | activeColor: { 16 | type: String, 17 | value: color_1.GREEN, 18 | }, 19 | inactiveColor: { 20 | type: String, 21 | value: color_1.GRAY_DARK, 22 | }, 23 | activeIcon: { 24 | type: String, 25 | value: 'checked', 26 | }, 27 | inactiveIcon: String, 28 | }, 29 | methods: { 30 | onClick: function (event) { 31 | var index = event.currentTarget.dataset.index; 32 | this.$emit('click-step', index); 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | relation: { 6 | name: 'index-bar', 7 | type: 'ancestor', 8 | current: 'index-anchor', 9 | }, 10 | props: { 11 | useSlot: Boolean, 12 | index: null, 13 | }, 14 | data: { 15 | active: false, 16 | wrapperStyle: '', 17 | anchorStyle: '', 18 | }, 19 | methods: { 20 | scrollIntoView: function (scrollTop) { 21 | var _this = this; 22 | this.getBoundingClientRect().then(function (rect) { 23 | wx.pageScrollTo({ 24 | duration: 0, 25 | scrollTop: scrollTop + rect.top - _this.parent.data.stickyOffsetTop, 26 | }); 27 | }); 28 | }, 29 | getBoundingClientRect: function () { 30 | return this.getRect('.van-index-anchor-wrapper'); 31 | }, 32 | }, 33 | }); 34 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{title}} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{item.text}} 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 17 | 18 | 24 | 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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 | -------------------------------------------------------------------------------- /editor/editor.wxss: -------------------------------------------------------------------------------- 1 | @import "./weui.wxss"; 2 | @import "./iconfont.wxss"; 3 | 4 | .container { 5 | position: absolute; 6 | top: 0; 7 | left: 0; 8 | width: 100%; 9 | } 10 | 11 | .ql-container { 12 | box-sizing: border-box; 13 | width: 100%; 14 | height: 100%; 15 | font-size: 16px; 16 | line-height: 1.5; 17 | overflow: auto; 18 | padding: 10px 10px 20px 10px; 19 | border: 1px solid #ECECEC; 20 | } 21 | 22 | .ql-active { 23 | color: #22C704; 24 | } 25 | 26 | .iconfont { 27 | display: inline-block; 28 | width: 30px; 29 | height: 30px; 30 | cursor: pointer; 31 | font-size: 20px; 32 | } 33 | 34 | .toolbar { 35 | box-sizing: border-box; 36 | padding: 0 10px; 37 | height: 50px; 38 | width: 100%; 39 | position: fixed; 40 | left: 0; 41 | right: 100%; 42 | bottom: 0; 43 | display: flex; 44 | align-items: center; 45 | justify-content: space-between; 46 | border: 1px solid #ECECEC; 47 | border-left: none; 48 | border-right: none; 49 | } 50 | 51 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 12 | 13 | 18 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{title}} 5 | {{subtitle}} 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 | 31 | 32 | -------------------------------------------------------------------------------- /pages/my/phoneConsult/phoneConsult.js: -------------------------------------------------------------------------------- 1 | import myRequest from '../../../utils/request' 2 | 3 | Page({ 4 | data: { 5 | active: 0, 6 | ingList: [], 7 | waitCommentList: [], 8 | finishList: [] 9 | }, 10 | onLoad(option){ 11 | if(option.active!==undefined){ 12 | this.setData({ 13 | active: Number(option.active) 14 | }) 15 | } 16 | myRequest('/wx_user/find_going_porder',null,'GET').then((data)=>{ 17 | this.setData({ 18 | ingList: data 19 | }) 20 | }) 21 | myRequest('/wx_user/find_evaluate_porder',null,'GET').then((data)=>{ 22 | this.setData({ 23 | waitCommentList: data 24 | }) 25 | }) 26 | myRequest('/wx_user/find_complete_porder',null,'GET').then((data)=>{ 27 | this.setData({ 28 | finishList: data 29 | }) 30 | }) 31 | }, 32 | onClickButton(){ 33 | console.log('i am button') 34 | }, 35 | onUnload(){ 36 | wx.switchTab({ 37 | url: '/pages/my/my' 38 | }) 39 | } 40 | }); -------------------------------------------------------------------------------- /pages/my/textConsult/textConsult.js: -------------------------------------------------------------------------------- 1 | import myRequest from '../../../utils/request' 2 | 3 | Page({ 4 | data: { 5 | active: 0, 6 | ingList: [], 7 | waitCommentList: [], 8 | finishList: [] 9 | }, 10 | onLoad(option){ 11 | if(option.active!==undefined){ 12 | this.setData({ 13 | active: Number(option.active) 14 | }) 15 | } 16 | myRequest('/wx_user/find_going_morder',null,'GET').then((data)=>{ 17 | this.setData({ 18 | ingList: data 19 | }) 20 | }) 21 | myRequest('/wx_user/find_evaluate_morder',null,'GET').then((data)=>{ 22 | this.setData({ 23 | waitCommentList: data 24 | }) 25 | }) 26 | myRequest('/wx_user/find_complete_morder',null,'GET').then((data)=>{ 27 | this.setData({ 28 | finishList: data 29 | }) 30 | }) 31 | }, 32 | onClickButton(){ 33 | console.log('i am button') 34 | }, 35 | onUnload(){ 36 | wx.switchTab({ 37 | url: '/pages/my/my' 38 | }) 39 | } 40 | }); -------------------------------------------------------------------------------- /pages/my/my.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{userInfo.nickName}} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{item.text}} 17 | 18 | -------------------------------------------------------------------------------- /pages/phoneConsult/phoneConsult.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 选日期 5 | 6 | 7 | 8 | 提交 9 | 10 | 11 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 18 | 19 | 23 | 24 | 25 | 26 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var __assign = 3 | (this && this.__assign) || 4 | function () { 5 | __assign = 6 | Object.assign || 7 | function (t) { 8 | for (var s, i = 1, n = arguments.length; i < n; i++) { 9 | s = arguments[i]; 10 | for (var p in s) 11 | if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; 12 | } 13 | return t; 14 | }; 15 | return __assign.apply(this, arguments); 16 | }; 17 | Object.defineProperty(exports, '__esModule', { value: true }); 18 | var component_1 = require('../common/component'); 19 | component_1.VantComponent({ 20 | props: { 21 | options: Array, 22 | showBorder: Boolean, 23 | }, 24 | methods: { 25 | onSelect: function (event) { 26 | var index = event.currentTarget.dataset.index; 27 | var option = this.data.options[index]; 28 | this.$emit('select', __assign(__assign({}, option), { index: index })); 29 | }, 30 | }, 31 | }); 32 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{title}} 8 | 9 | {{desc}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {{ text }} 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 20 | 21 | 22 | 23 | {{item.text}} 24 | 25 | 26 | -------------------------------------------------------------------------------- /icon/heart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var link_1 = require('../mixins/link'); 4 | var component_1 = require('../common/component'); 5 | component_1.VantComponent({ 6 | classes: [ 7 | 'title-class', 8 | 'label-class', 9 | 'value-class', 10 | 'right-icon-class', 11 | 'hover-class', 12 | ], 13 | mixins: [link_1.link], 14 | props: { 15 | title: null, 16 | value: null, 17 | icon: String, 18 | size: String, 19 | label: String, 20 | center: Boolean, 21 | isLink: Boolean, 22 | required: Boolean, 23 | clickable: Boolean, 24 | titleWidth: String, 25 | customStyle: String, 26 | arrowDirection: String, 27 | useLabelSlot: Boolean, 28 | border: { 29 | type: Boolean, 30 | value: true, 31 | }, 32 | titleStyle: String, 33 | }, 34 | methods: { 35 | onClick: function (event) { 36 | this.$emit('click', event.detail); 37 | this.jumpLink(); 38 | }, 39 | }, 40 | }); 41 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | classes: ['active-class', 'disabled-class'], 6 | relation: { 7 | type: 'ancestor', 8 | name: 'sidebar', 9 | current: 'sidebar-item', 10 | }, 11 | props: { 12 | dot: Boolean, 13 | badge: null, 14 | info: null, 15 | title: String, 16 | disabled: Boolean, 17 | }, 18 | methods: { 19 | onClick: function () { 20 | var _this = this; 21 | var parent = this.parent; 22 | if (!parent || this.data.disabled) { 23 | return; 24 | } 25 | var index = parent.children.indexOf(this); 26 | parent.setActive(index).then(function () { 27 | _this.$emit('click', index); 28 | parent.$emit('change', index); 29 | }); 30 | }, 31 | setActive: function (selected) { 32 | return this.setData({ selected: selected }); 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | {{ getOptionText(option, valueKey) }} 21 | 22 | 23 | -------------------------------------------------------------------------------- /pages/my/textConsult/finish/finish.js: -------------------------------------------------------------------------------- 1 | import myRequest from '../../../../utils/request' 2 | 3 | Page({ 4 | data: { 5 | consult_id: '', 6 | doctor_name: '', 7 | comment: '', 8 | rate: '', 9 | consults: [] 10 | }, 11 | onLoad(options) { 12 | this.setData({ consult_id: options.id}) 13 | myRequest('/wx_user/show_morder',{id:options.id},'GET').then((data)=>{ 14 | var first = { 15 | type: 1, 16 | time: data.beginTime, 17 | content: data.content 18 | }; 19 | this.setData({ 20 | consults: this.data.consults.concat(first), 21 | doctor_name: data.realName 22 | }) 23 | return myRequest('/wx_user/get_morder_message',{id:options.id},'GET') 24 | }).then((data)=>{ 25 | this.setData({ 26 | consults: this.data.consults.concat(data) 27 | }) 28 | }) 29 | myRequest('/wx_user/getCommonts',{id:options.id},'GET').then((data)=>{ 30 | this.setData({ 31 | comment: data.content, 32 | rate: data.star 33 | }) 34 | }) 35 | } 36 | }) 37 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-info{position:absolute;top:0;right:0;box-sizing:border-box;line-height:1.2;white-space:nowrap;text-align:center;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%;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:-apple-system-font,Helvetica Neue,Arial,sans-serif;font-family:var(--info-font-family,-apple-system-font,Helvetica Neue,Arial,sans-serif);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)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/toast/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 16 | 17 | {{ message }} 18 | 19 | 20 | 21 | 27 | 28 | {{ message }} 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-button/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 28 | {{ text }} 29 | 30 | 31 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tree-select/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tree-select{position:relative;display:-webkit-flex;display:flex;-webkit-user-select:none;user-select:none;font-size:14px;font-size:var(--tree-select-font-size,14px)}.van-tree-select__nav{-webkit-flex:1;flex:1;background-color:#f7f8fa;background-color:var(--tree-select-nav-background-color,#f7f8fa);--sidebar-padding:12px 8px 12px 12px}.van-tree-select__nav__inner{width:100%!important;height:100%}.van-tree-select__content{-webkit-flex:2;flex:2;background-color:#fff;background-color:var(--tree-select-content-background-color,#fff)}.van-tree-select__item{position:relative;font-weight:700;padding:0 32px 0 16px;padding:0 32px 0 var(--padding-md,16px);line-height:44px;line-height:var(--tree-select-item-height,44px)}.van-tree-select__item--active{color:#ee0a24;color:var(--tree-select-item-active-color,#ee0a24)}.van-tree-select__item--disabled{color:#c8c9cc;color:var(--tree-select-item-disabled-color,#c8c9cc)}.van-tree-select__selected{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;right:var(--padding-md,16px)} -------------------------------------------------------------------------------- /pages/my/textConsult/waitComment/waitComment.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{doctor_name}}: 4 | {{ item.time }} 5 | 6 | 7 | {{item.time}} 8 | 我: 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 27 | 28 | 29 | 提交评价 30 | 31 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | field: true, 6 | relation: { 7 | name: 'radio', 8 | type: 'descendant', 9 | current: 'radio-group', 10 | linked: function (target) { 11 | this.updateChild(target); 12 | }, 13 | }, 14 | props: { 15 | value: { 16 | type: null, 17 | observer: 'updateChildren', 18 | }, 19 | disabled: { 20 | type: Boolean, 21 | observer: 'updateChildren', 22 | }, 23 | }, 24 | methods: { 25 | updateChildren: function () { 26 | var _this = this; 27 | (this.children || []).forEach(function (child) { 28 | return _this.updateChild(child); 29 | }); 30 | }, 31 | updateChild: function (child) { 32 | var _a = this.data, 33 | value = _a.value, 34 | disabled = _a.disabled; 35 | child.setData({ 36 | value: value, 37 | disabled: disabled || child.data.disabled, 38 | }); 39 | }, 40 | }, 41 | }); 42 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/version.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.canIUseFormFieldButton = exports.canIUseModel = void 0; 4 | var utils_1 = require('./utils'); 5 | function compareVersion(v1, v2) { 6 | v1 = v1.split('.'); 7 | v2 = v2.split('.'); 8 | var len = Math.max(v1.length, v2.length); 9 | while (v1.length < len) { 10 | v1.push('0'); 11 | } 12 | while (v2.length < len) { 13 | v2.push('0'); 14 | } 15 | for (var i = 0; i < len; i++) { 16 | var num1 = parseInt(v1[i], 10); 17 | var num2 = parseInt(v2[i], 10); 18 | if (num1 > num2) { 19 | return 1; 20 | } 21 | if (num1 < num2) { 22 | return -1; 23 | } 24 | } 25 | return 0; 26 | } 27 | function canIUseModel() { 28 | var system = utils_1.getSystemInfoSync(); 29 | return compareVersion(system.SDKVersion, '2.9.3') >= 0; 30 | } 31 | exports.canIUseModel = canIUseModel; 32 | function canIUseFormFieldButton() { 33 | var system = utils_1.getSystemInfoSync(); 34 | return compareVersion(system.SDKVersion, '2.10.3') >= 0; 35 | } 36 | exports.canIUseFormFieldButton = canIUseFormFieldButton; 37 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-skeleton{display:-webkit-flex;display:flex;box-sizing:border-box;width:100%;padding:0 16px;padding:var(--skeleton-padding,0 16px)}.van-skeleton__avatar{-webkit-flex-shrink:0;flex-shrink:0;margin-right:16px;margin-right:var(--padding-md,16px);background-color:#f2f3f5;background-color:var(--skeleton-avatar-background-color,#f2f3f5)}.van-skeleton__avatar--round{border-radius:100%}.van-skeleton__content{-webkit-flex:1;flex:1}.van-skeleton__avatar+.van-skeleton__content{padding-top:8px;padding-top:var(--padding-xs,8px)}.van-skeleton__row,.van-skeleton__title{height:16px;height:var(--skeleton-row-height,16px);background-color:#f2f3f5;background-color:var(--skeleton-row-background-color,#f2f3f5)}.van-skeleton__title{margin:0}.van-skeleton__row:not(:first-child){margin-top:12px;margin-top:var(--skeleton-row-margin-top,12px)}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{-webkit-animation:van-skeleton-blink 1.2s ease-in-out infinite;animation:van-skeleton-blink 1.2s ease-in-out infinite}@-webkit-keyframes van-skeleton-blink{50%{opacity:.6}}@keyframes van-skeleton-blink{50%{opacity:.6}} -------------------------------------------------------------------------------- /pages/my/phoneConsult/waitComment/waitComment.js: -------------------------------------------------------------------------------- 1 | import myRequest from '../../../../utils/request' 2 | import Toast from '../../../../miniprogram_npm/@vant/weapp/toast/toast' 3 | import delay from '../../../../utils/delay' 4 | Page({ 5 | data: { 6 | consult_id: '', 7 | doctor_name: '', 8 | date: '', 9 | phone: '', 10 | comment: '', 11 | rate: 5 12 | }, 13 | onLoad(options) { 14 | this.setData({ consult_id: options.id}) 15 | myRequest('/wx_user/show_porder',{id:options.id},'GET').then((data)=>{ 16 | this.setData({ 17 | doctor_name: data.realName, 18 | phone: data.userPhone, 19 | date: data.freedTime 20 | }) 21 | }) 22 | }, 23 | onChange(event) { 24 | this.setData({ 25 | rate: event.detail, 26 | }); 27 | }, 28 | onClickCommit(){ 29 | myRequest('/wx_user/evalute_porder',{id:this.data.consult_id,content:this.data.comment,star:this.data.rate},'POST').then(()=>{ 30 | Toast.success('评价成功!'); 31 | delay(1000).then(()=>{ 32 | wx.redirectTo({ 33 | url: '/pages/my/phoneConsult/phoneConsult?active=2' 34 | }) 35 | }) 36 | }) 37 | } 38 | }) -------------------------------------------------------------------------------- /pages/article/article.js: -------------------------------------------------------------------------------- 1 | // pages/article/article.js 2 | import myRequest from '../../utils/request' 3 | Page({ 4 | data: { 5 | article_id: '', 6 | content: '', 7 | title: '', 8 | type: '', 9 | time: '', 10 | watchs: 0, 11 | likes: 0, 12 | icon_like: 'like-o', 13 | liked: false 14 | }, 15 | onLoad(options) { 16 | this.setData({ article_id: options.id}) 17 | myRequest('/wx_user/getHealthyAboutById',{id:options.id},'GET').then((data)=>{ 18 | this.setData({ 19 | content: data.content, 20 | title: data.title, 21 | type: data.type, 22 | time: data.time.slice(0,10), 23 | watchs: data.watchs, 24 | likes: data.likes 25 | }) 26 | }); 27 | myRequest('/wx_user/incrWatch',{id:options.id},'GET').then(()=>{ 28 | console.log('浏览量+1'); 29 | }) 30 | }, 31 | onClickLike(){ 32 | if(!this.data.liked){ 33 | myRequest('/wx_user/incrLikes',{id:this.data.article_id},'GET').then(()=>{ 34 | this.setData({ 35 | icon_like: 'like', 36 | likes: this.data.likes+1, 37 | liked: true 38 | }) 39 | }) 40 | } 41 | } 42 | }) -------------------------------------------------------------------------------- /pages/index/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 17 | 18 | {{item.title}} 19 | 20 | 21 |  浏览:{{item.watchs}} 点赞:{{item.likes}} 22 | 23 | 24 | {{item.time}} 25 | 26 | 27 |   28 | 29 | 30 | {{item.text}} 31 | 32 | 33 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | field: true, 6 | relation: { 7 | name: 'checkbox', 8 | type: 'descendant', 9 | current: 'checkbox-group', 10 | linked: function (target) { 11 | this.updateChild(target); 12 | }, 13 | }, 14 | props: { 15 | max: Number, 16 | value: { 17 | type: Array, 18 | observer: 'updateChildren', 19 | }, 20 | disabled: { 21 | type: Boolean, 22 | observer: 'updateChildren', 23 | }, 24 | }, 25 | methods: { 26 | updateChildren: function () { 27 | var _this = this; 28 | (this.children || []).forEach(function (child) { 29 | return _this.updateChild(child); 30 | }); 31 | }, 32 | updateChild: function (child) { 33 | var _a = this.data, 34 | value = _a.value, 35 | disabled = _a.disabled; 36 | child.setData({ 37 | value: value.indexOf(child.data.name) !== -1, 38 | parentDisabled: disabled, 39 | }); 40 | }, 41 | }, 42 | }); 43 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/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;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-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} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/basic.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.basic = void 0; 4 | exports.basic = Behavior({ 5 | methods: { 6 | $emit: function () { 7 | var args = []; 8 | for (var _i = 0; _i < arguments.length; _i++) { 9 | args[_i] = arguments[_i]; 10 | } 11 | this.triggerEvent.apply(this, args); 12 | }, 13 | set: function (data, callback) { 14 | this.setData(data, callback); 15 | return new Promise(function (resolve) { 16 | return wx.nextTick(resolve); 17 | }); 18 | }, 19 | getRect: function (selector, all) { 20 | var _this = this; 21 | return new Promise(function (resolve) { 22 | wx.createSelectorQuery() 23 | .in(_this) 24 | [all ? 'selectAll' : 'select'](selector) 25 | .boundingClientRect(function (rect) { 26 | if (all && Array.isArray(rect) && rect.length) { 27 | resolve(rect); 28 | } 29 | if (!all && rect) { 30 | resolve(rect); 31 | } 32 | }) 33 | .exec(); 34 | }); 35 | }, 36 | }, 37 | }); 38 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-calendar{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;height:100%;height:var(--calendar-height,100%);background-color:#fff;background-color:var(--calendar-background-color,#fff)}.van-calendar__close-icon{top:11px}.van-calendar__popup--bottom,.van-calendar__popup--top{height:80%;height:var(--calendar-popup-height,80%)}.van-calendar__popup--left,.van-calendar__popup--right{height:100%}.van-calendar__body{-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__footer{-webkit-flex-shrink:0;flex-shrink:0;padding:0 16px;padding:0 var(--padding-md,16px)}.van-calendar__footer--safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer+.van-calendar__footer,.van-calendar__footer:empty{display:none}.van-calendar__footer:empty+.van-calendar__footer{display:block!important}.van-calendar__confirm{height:36px!important;height:var(--calendar-confirm-button-height,36px)!important;margin:7px 0!important;margin:var(--calendar-confirm-button-margin,7px 0)!important;line-height:34px!important;line-height:var(--calendar-confirm-button-line-height,34px)!important} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notice-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 15 | 16 | 17 | 18 | 19 | {{ text }} 20 | 21 | 22 | 23 | 29 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | classes: ['avatar-class', 'title-class', 'row-class'], 6 | props: { 7 | row: { 8 | type: Number, 9 | value: 0, 10 | observer: function (value) { 11 | this.setData({ rowArray: Array.from({ length: value }) }); 12 | }, 13 | }, 14 | title: Boolean, 15 | avatar: Boolean, 16 | loading: { 17 | type: Boolean, 18 | value: true, 19 | }, 20 | animate: { 21 | type: Boolean, 22 | value: true, 23 | }, 24 | avatarSize: { 25 | type: String, 26 | value: '32px', 27 | }, 28 | avatarShape: { 29 | type: String, 30 | value: 'round', 31 | }, 32 | titleWidth: { 33 | type: String, 34 | value: '40%', 35 | }, 36 | rowWidth: { 37 | type: null, 38 | value: '100%', 39 | observer: function (val) { 40 | this.setData({ isArray: val instanceof Array }); 41 | }, 42 | }, 43 | }, 44 | data: { 45 | isArray: false, 46 | rowArray: [], 47 | }, 48 | }); 49 | -------------------------------------------------------------------------------- /utils/util.js: -------------------------------------------------------------------------------- 1 | const formatTime = date => { 2 | const year = date.getFullYear() 3 | const month = date.getMonth() + 1 4 | const day = date.getDate() 5 | const hour = date.getHours() 6 | const minute = date.getMinutes() 7 | const second = date.getSeconds() 8 | 9 | return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':') 10 | } 11 | 12 | const formatNumber = n => { 13 | n = n.toString() 14 | return n[1] ? n : '0' + n 15 | } 16 | 17 | function formatTimeTwo(number, format) { 18 | 19 | var formateArr = ['Y', 'M', 'D', 'h', 'm', 's']; 20 | var returnArr = []; 21 | 22 | var date = new Date(number); 23 | returnArr.push(date.getFullYear()); 24 | returnArr.push(formatNumber(date.getMonth() + 1)); 25 | returnArr.push(formatNumber(date.getDate())); 26 | 27 | returnArr.push(formatNumber(date.getHours())); 28 | returnArr.push(formatNumber(date.getMinutes())); 29 | returnArr.push(formatNumber(date.getSeconds())); 30 | 31 | for (var i in returnArr) { 32 | format = format.replace(formateArr[i], returnArr[i]); 33 | } 34 | return format; 35 | } 36 | 37 | module.exports = { 38 | formatTime: formatTime, 39 | formatTimeTwo: formatTimeTwo 40 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 19 |