Commit 988eca60 by lingyu0918

提交医生端静态页面

parent bba1df0b
Showing with 704 additions and 1640 deletions
<script> <script>
import Vue from 'vue';
export default { export default {
onLaunch: function () {}, onLaunch: function() {
onShow: function () {}, // #ifdef MP-WEIXIN
onHide: function () {} if (uni.getStorageSync('accessToken')) {
} // uni.switchTab({
// url:"/pages/tabbar/doctor-home"
// })
}
// #endif
// #ifdef MP-WEIXIN
let menuButtonObject = wx.getMenuButtonBoundingClientRect();
wx.getSystemInfo({
success: res => {
//导航高度
let statusBarHeight = res.statusBarHeight,
navTop = menuButtonObject.top,
navObjWid = res.windowWidth - menuButtonObject.right + menuButtonObject.width, // 胶囊按钮与右侧的距离 = windowWidth - right+胶囊宽度
navHeight = statusBarHeight + menuButtonObject.height + (menuButtonObject.top - statusBarHeight) * 2;
Vue.prototype.navHeight = navHeight; //导航栏总体高度
Vue.prototype.navTop = navTop; //胶囊距离顶部距离
Vue.prototype.navObj = menuButtonObject.height; //胶囊高度
},
fail(err) {
console.log(err);
}
});
// #endif
},
onShow: function() {},
onHide: function() {}
};
</script> </script>
<style lang="scss"> <style lang="scss">
...@@ -16,6 +44,7 @@ export default { ...@@ -16,6 +44,7 @@ export default {
@import '@/themes/base.scss'; @import '@/themes/base.scss';
@import '@/themes/theme.scss'; @import '@/themes/theme.scss';
page { page {
padding-bottom: 0;
padding-bottom: constant(safe-area-inset-bottom); padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
} }
......
import config from '@/config/config.js' import config from '@/config/config.js'
import request from '@/utils/request/request.js' import request from '@/utils/request/request.js'
export function userLoginToken(data) { export function getUniId(data) {
const result = request({ const result = request({
url: 'ma/user/' + config.appId + '/login/token', url: 'ma/user/' + config.appId + '/login/token',
method: 'post', method: 'post',
...@@ -10,30 +10,77 @@ export function userLoginToken(data) { ...@@ -10,30 +10,77 @@ export function userLoginToken(data) {
return result return result
} }
export function userGetMiniProgramPhone(data) { // 根据手机号和密码进行登录操作
data.appId = config.appId export function loginByPassword(data) {
data.openId = uni.getStorageSync('openId') const result = request({
data.sessionKey = uni.getStorageSync('sessionKey') url: 'leagueDoctor/loginByPassword',
return request({
url: 'ma/user/' + config.appId + '/getMiniProgramPhone',
method: 'post', method: 'post',
data: data, data: data
header: {
Authorization: 'bearer ' + uni.getStorageSync('accessToken')
}
}) })
return result
} }
export function userGetMiniProgramUserInfo(data) { //获取验证码
data.appId = config.appId export function getCode(data) {
data.openId = uni.getStorageSync('openId') const result = request({
data.sessionKey = uni.getStorageSync('sessionKey') url: 'code/sms',
return request({ method: 'get',
url: 'ma/user/' + config.appId + '/getMiniProgramUserInfo', data: data
})
return result
}
// 手机号验证码登录
export function loginByMobile(data) {
const result = request({
url: 'leagueDoctor/loginByMobile',
method: 'post', method: 'post',
data: data, data: data
header: {
Authorization: 'bearer ' + uni.getStorageSync('accessToken')
}
}) })
return result
} }
// Authorization: 'bearer ' + uni.getStorageSync('accessToken')
// export function userLoginToken(data) {
// const result = request({
// url: 'ma/user/' + config.appId + '/login/token',
// method: 'post',
// data: data
// })
// return result
// }
// export function userGetMiniProgramPhone(data) {
// data.appId = config.appId
// data.openId = uni.getStorageSync('openId')
// data.sessionKey = uni.getStorageSync('sessionKey')
// return request({
// url: 'ma/user/' + config.appId + '/getMiniProgramPhone',
// method: 'post',
// data: data,
// header: {
// Authorization: 'bearer ' + uni.getStorageSync('accessToken')
// }
// })
// }
// export function userGetMiniProgramUserInfo(data) {
// data.appId = config.appId
// data.openId = uni.getStorageSync('openId')
// data.sessionKey = uni.getStorageSync('sessionKey')
// return request({
// url: 'ma/user/' + config.appId + '/getMiniProgramUserInfo',
// method: 'post',
// data: data,
// header: {
// Authorization: 'bearer ' + uni.getStorageSync('accessToken')
// },
// prefix: config.prefix
// })
// }
<template xlang="wxml" minapp="mpvue">
<view class="tki-qrcode">
<canvas class="tki-qrcode-canvas" :canvas-id="cid" :style="{width:cpSize+'px',height:cpSize+'px'}" />
<image v-show="show" :src="result" :style="{width:cpSize+'px',height:cpSize+'px'}" />
</view>
</template>
<script>
import QRCode from "./qrcode.js"
let qrcode
export default {
name: "tki-qrcode",
props: {
cid: {
type: String,
default: 'tki-qrcode-canvas'
},
size: {
type: Number,
default: 200
},
unit: {
type: String,
default: 'upx'
},
show: {
type: Boolean,
default: true
},
val: {
type: String,
default: ''
},
background: {
type: String,
default: '#ffffff'
},
foreground: {
type: String,
default: '#000000'
},
pdground: {
type: String,
default: '#000000'
},
icon: {
type: String,
default: ''
},
iconSize: {
type: Number,
default: 40
},
lv: {
type: Number,
default: 3
},
onval: {
type: Boolean,
default: false
},
loadMake: {
type: Boolean,
default: false
},
usingComponents: {
type: Boolean,
default: true
},
showLoading: {
type: Boolean,
default: true
},
loadingText: {
type: String,
default: '二维码生成中'
},
},
data() {
return {
result: '',
}
},
methods: {
_makeCode() {
let that = this
if (!this._empty(this.val)) {
qrcode = new QRCode({
context: that, // 上下文环境
canvasId:that.cid, // canvas-id
usingComponents: that.usingComponents, // 是否是自定义组件
showLoading: that.showLoading, // 是否显示loading
loadingText: that.loadingText, // loading文字
text: that.val, // 生成内容
size: that.cpSize, // 二维码大小
background: that.background, // 背景色
foreground: that.foreground, // 前景色
pdground: that.pdground, // 定位角点颜色
correctLevel: that.lv, // 容错级别
image: that.icon, // 二维码图标
imageSize: that.iconSize,// 二维码图标大小
cbResult: function (res) { // 生成二维码的回调
that._result(res)
},
});
} else {
uni.showToast({
title: '二维码内容不能为空',
icon: 'none',
duration: 2000
});
}
},
_clearCode() {
this._result('')
qrcode.clear()
},
_saveCode() {
let that = this;
if (this.result != "") {
uni.saveImageToPhotosAlbum({
filePath: that.result,
success: function () {
uni.showToast({
title: '二维码保存成功',
icon: 'success',
duration: 2000
});
}
});
}
},
_result(res) {
this.result = res;
this.$emit('result', res)
},
_empty(v) {
let tp = typeof v,
rt = false;
if (tp == "number" && String(v) == "") {
rt = true
} else if (tp == "undefined") {
rt = true
} else if (tp == "object") {
if (JSON.stringify(v) == "{}" || JSON.stringify(v) == "[]" || v == null) rt = true
} else if (tp == "string") {
if (v == "" || v == "undefined" || v == "null" || v == "{}" || v == "[]") rt = true
} else if (tp == "function") {
rt = false
}
return rt
}
},
watch: {
size: function (n, o) {
if (n != o && !this._empty(n)) {
this.cSize = n
if (!this._empty(this.val)) {
setTimeout(() => {
this._makeCode()
}, 100);
}
}
},
val: function (n, o) {
if (this.onval) {
if (n != o && !this._empty(n)) {
setTimeout(() => {
this._makeCode()
}, 0);
}
}
}
},
computed: {
cpSize() {
if(this.unit == "upx"){
return uni.upx2px(this.size)
}else{
return this.size
}
}
},
mounted: function () {
if (this.loadMake) {
if (!this._empty(this.val)) {
setTimeout(() => {
this._makeCode()
}, 0);
}
}
},
}
</script>
<style>
.tki-qrcode {
position: relative;
}
.tki-qrcode-canvas {
position: fixed;
top: -99999upx;
left: -99999upx;
z-index: -99999;
}
</style>
// 重构日期:2022-04 // 重构日期:2022-04
const config = { const config = {
env: 'development', // prod - 生产 | development - 开发 env: 'development', // prod - 生产 | development - 开发
appId: appId, appId: appId,
domain: '', // 域名 domain: '', // 域名
urlBase: '', // 请求地址 urlBase: '', // 请求地址
urlUpload: '', // 上传地址 urlUpload: '', // 上传地址
urlRes: '', // 资源地址 urlRes: '', // 资源地址
other: {} other: {},
prefix: 'rcp-online-api/'
} }
const wxConfig = __wxConfig const wxConfig = __wxConfig
...@@ -15,34 +16,34 @@ const appId = wxConfig.accountInfo.appId ...@@ -15,34 +16,34 @@ const appId = wxConfig.accountInfo.appId
console.log('__wxConfig', wxConfig) console.log('__wxConfig', wxConfig)
switch (appId) { switch (appId) {
// 正式环境 appId // 正式环境 appId
case 'wx3221d70c396f69fb': case 'wx3221d70c396f69fb':
config.env = 'prod' config.env = 'prod'
config.appId = appId config.appId = appId
config.domain = 'https://minzhisheng.mynatapp.cc' config.domain = 'https://minzhisheng.mynatapp.cc'
config.urlBase = 'http://139.159.137.113:9080/api/' config.urlBase = 'http://139.159.137.113:9080/api/'
config.urlUpload = '' config.urlUpload = ''
config.urlRes = '@/static/image/' config.urlRes = '@/static/image/'
config.other.clientId = 'oauth' config.other.clientId = 'oauth'
config.other.clientSecret = 'b1e34c71-3e25-4db4-9c93-2b5a0bf95fe9' config.other.clientSecret = 'b1e34c71-3e25-4db4-9c93-2b5a0bf95fe9'
break break
// 开发环境 appId // 开发环境 appId
case 'wx098587f9a9a5c69f': case 'wx098587f9a9a5c69f':
config.env = 'development' config.env = 'development'
config.appId = appId config.appId = appId
config.domain = 'https://minzhisheng.mynatapp.cc' config.domain = 'https://minzhisheng.mynatapp.cc'
config.urlBase = 'http://139.159.137.113:9080/api/' config.urlBase = 'http://minzhisheng.mynatapp.cc/api/'
config.urlUpload = '' config.urlUpload = ''
config.urlRes = '' config.urlRes = ''
config.other.clientId = 'oauth' config.other.clientId = 'oauth'
config.other.clientSecret = 'b1e34c71-3e25-4db4-9c93-2b5a0bf95fe9' config.other.clientSecret = 'b1e34c71-3e25-4db4-9c93-2b5a0bf95fe9'
break break
default: default:
console.error('[env] appId not match') console.error('[env] appId not match')
} }
uni.setStorageSync('config', config) uni.setStorageSync('config', config)
export default config export default config
{ {
"pages": [ "pages": [{
{ "path": "pages/doctor/home", "style": {} }, "path": "pages/login/login",
{ "path": "pages/doctor/doctor-code", "style": {} }, "style": {}
{ "path": "pages/doctor/doctor-info", "style": {} }, },
{ "path": "pages/doctor/doctor-evaluate", "style": {} }, {
{ "path": "pages/doctor/inquiry-history", "style": {} }, "path": "pages/tabbar/doctor-home",
{ "path": "pages/article/my-article", "style": {} }, "style": {}
{ "path": "pages/article/article", "style": {} }, },
{ "path": "pages/article/add-article", "style": {} }, {
{ "path": "pages/article/edit-article", "style": {} }, "path": "pages/tabbar/patient",
{ "path": "pages/article/article-detail", "style": {} }, "style": {}
{ "path": "pages/article/article-preview", "style": {} }, },
{ "path": "pages/useful/useful", "style": {} }, {
{ "path": "pages/useful/add-useful", "style": {} }, "path": "pages/tabbar/mine",
{ "path": "pages/mine/home", "style": {} }, "style": {}
{ "path": "pages/login/login", "style": {} }, },
{ "path": "pages/login/setPwd", "style": {} }, {
{ "path": "pages/drug/drug", "style": {} } "path": "pages/useful/add-useful",
"style": {}
},
{
"path": "pages/login/setPwd",
"style": {}
},
{
"path": "pages/drug/drug-search",
"style": {}
},
{
"path": "pages/drug/rapid-drug",
"style": {}
},
{
"path": "pages/drug/take-order",
"style": {}
},
{
"path": "pages/drug/prescription",
"style": {}
}
], ],
"subPackages": [], "subPackages": [{
"root": "pages/patient",
"pages": [{
"path": "patient-detail",
"style": {}
}, {
"path": "group",
"style": {
}
}, {
"path": "consulting-history",
"style": {
}
}, {
"path": "use-report-search",
"style": {
}
}, {
"path": "check-detail",
"style": {
}
},
{
"path": "report-check-detail",
"style": {
}
},
{
"path": "patient-basic-info",
"style": {
}
},
{
"path": "patient-consult",
"style": {
}
}
]
}, {
"root": "pages/doctor",
"pages": [{
"path": "doctor-code",
"style": {}
},
{
"path": "doctor-info",
"style": {}
},
{
"path": "doctor-evaluate",
"style": {}
},
{
"path": "inquiry-history",
"style": {}
}
]
}, {
"root": "pages/article",
"pages": [{
"path": "my-article",
"style": {}
},
{
"path": "article",
"style": {}
},
{
"path": "add-article",
"style": {}
},
{
"path": "edit-article",
"style": {}
},
{
"path": "article-detail",
"style": {}
},
{
"path": "article-preview",
"style": {}
}
]
}],
"tabBar": {
"color": "#C4C9D4",
"selectedColor": "#003893",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/tabbar/doctor-home",
"text": "首页",
"iconPath": "static/image/tabbar/home.png",
"selectedIconPath": "static/image/tabbar/home1.png"
},
{
"pagePath": "pages/tabbar/patient",
"text": "我的患者",
"iconPath": "static/image/tabbar/patient.png",
"selectedIconPath": "static/image/tabbar/patient1.png"
},
{
"pagePath": "pages/tabbar/mine",
"text": "个人中心",
"iconPath": "static/image/tabbar/person.png",
"selectedIconPath": "static/image/tabbar/person1.png"
}
]
},
"globalStyle": { "globalStyle": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
...@@ -26,4 +165,4 @@ ...@@ -26,4 +165,4 @@
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
} }
} }
<template>
<view class="container">
11
</view>
</template>
<script>
export default {
data() {
return {
search: {
text: ''
}
};
},
onShow() {},
methods: {}
};
</script>
<style lang="scss" scoped>
.status_bar {
height: var(--status-bar-height);
width: 100%;
}
</style>
<template>
<view class="">
<u-navbar title="药品查询" :placeholder="true"></u-navbar>
<view class="head">
<text class="doctor-title">
弘爱互联网+药房
<view class="btm-slide"></view>
</text>
</view>
<!-- 搜索输入框 -->
<view class="pl24 pr24 pt20">
<view class="search-content flex">
<view class="pl20 pr20" style="line-height: 68rpx;"><img style="width: 28rpx;height: 28rpx;" src="/static/image/search.png" alt="" /></view>
<u--input :fontSize="'24rpx'" placeholder="请输入药品名称" border="none" v-model="value"></u--input>
</view>
</view>
<!-- 药品列表 -->
<drug-list></drug-list>
</view>
</template>
<script>
import drugList from './components/drug-list.vue';
export default {
components:{
drugList
},
data() {
return {
value: ''
};
}
};
</script>
<style lang="scss" scoped>
.head {
height: 90rpx;
border-bottom: 2rpx solid #f5f6f7;
.doctor-title {
position: relative;
padding: 20rpx 34rpx 28rpx 34rpx;
font-weight: 500;
line-height: 42rpx;
font-size: 30rpx;
color: #000000;
}
.btm-slide {
position: absolute;
bottom: -10rpx;
left: 50%;
transform: translateX(-50%);
width: 40rpx;
height: 6rpx;
background: linear-gradient(270deg, #77abff 0%, #035ceb 100%);
border-radius: 4rpx;
}
}
.search-content {
background: #f5f6f7;
width: 100%;
height: 68rpx;
border-radius: 6rpx;
}
</style>
<template>
<view class="container">
<u-navbar title="个人中心" :placeholder="true"></u-navbar>
<view class="user flex row items-center">
<!-- 未登录状态 -->
<template v-if="!userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="flex row items-center" @click="toLogin">
<button class="flex row content-center items-center fs36 fw800 cff">未登录</button>
</view>
</template>
<!-- 登录状态 -->
<template v-if="userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="user-info flex column content-center">
<text class="fs36 fw800 cff line-1">{{ userInfo.name }}</text>
</view>
</template>
<!-- 我的积分 -->
<view class="user-operation flex row content-end fgrow">
<view class="mr12 column content-center items-center" @click="onShowMemberScan">
<text class="mt8 fs20 fw400 cff">就诊人管理</text>
</view>
</view>
</view>
<view class="main">
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>我的订单</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<view class="menu flex row content-between items-center mt30">
<view class="menu-item card flex content-center items-center">
<text>急速配药</text>
</view>
<view class="menu-item card flex content-center items-center">
<text>图文问诊</text>
</view>
</view>
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>常用工具</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>其他</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
</view>
<u-tabbar value="mine" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true">
<u-tabbar-item text="找医生" name="doctor" icon="home" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找服务" name="service" icon="photo" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找课程" name="curriculum" icon="play-right" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="个人中心" name="mine" icon="account" @click="tabbarItem"></u-tabbar-item>
</u-tabbar>
</view>
</template>
<script>
import { userLoginToken } from '@/api/user.js'
export default {
data() {
return {
bgiHeight: 440,
isStructureColorWhite: true,
userInfo: {
isLogin: false,
avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJvtOnIichicsXLvEcq7aeYlkmhiayibSwn4XN0TO9gul0MqEAET46Gh6s76uNZ9QaP1vh3mjwqAbcibBg/132',
name: 'asd'
},
mallInfo: { city: '', id: '', name: '', address: '' },
quantity: { integral: 0, gift: 0, coupon: 0 },
showSignIn: false,
showMemberCode: false
}
},
onShow() {},
methods: {
toLogin() {
uni.navigateTo({ url: '/pages/login/login' })
},
tabbarItem(itemName) {
uni.navigateTo({ url: '/pages/' + itemName + '/home' })
}
}
}
</script>
<style lang="scss" scoped>
.container {
background: #004bb9;
}
/* 用户信息 */
.user {
width: 750rpx;
margin: 38rpx 0 0 0;
padding: 0 40rpx;
}
.user-avatar {
width: 80rpx;
height: 80rpx;
margin: 0 24rpx 0 0;
border-radius: 50%;
}
.user-info {
max-width: 400rpx;
}
.user-level > image {
width: 108rpx;
height: 32rpx;
margin: 6rpx 0 0 0;
}
.user-operation {
flex-grow: 1;
text-align: center;
}
.main {
margin: 60rpx 0 0 0;
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd {
width: 750rpx;
padding: 30rpx 0;
background: #ffffff;
}
.menu-item {
width: 330rpx;
height: 140rpx;
}
</style>
<template>
<view class="container">
<u-navbar title="个人中心" :placeholder="true"></u-navbar>
<view class="user flex row items-center">
<!-- 未登录状态 -->
<template v-if="!userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="flex row items-center" @click="toLogin">
<button class="flex row content-center items-center fs36 fw800 cff">未登录</button>
</view>
</template>
<!-- 登录状态 -->
<template v-if="userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="user-info flex column content-center">
<text class="fs36 fw800 cff line-1">{{ userInfo.name }}</text>
</view>
</template>
<!-- 我的积分 -->
<view class="user-operation flex row content-end fgrow">
<view class="mr12 column content-center items-center" @click="onShowMemberScan">
<text class="mt8 fs20 fw400 cff">就诊人管理</text>
</view>
</view>
</view>
<view class="main">
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>我的订单</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<view class="menu flex row content-between items-center mt30">
<view class="menu-item card flex content-center items-center">
<text>急速配药</text>
</view>
<view class="menu-item card flex content-center items-center">
<text>图文问诊</text>
</view>
</view>
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>常用工具</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>其他</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
</view>
<u-tabbar value="mine" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true">
<u-tabbar-item text="找医生" name="doctor" icon="home" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找服务" name="service" icon="photo" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找课程" name="curriculum" icon="play-right" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="个人中心" name="mine" icon="account" @click="tabbarItem"></u-tabbar-item>
</u-tabbar>
</view>
</template>
<script>
import { userLoginToken } from '@/api/user.js'
export default {
data() {
return {
bgiHeight: 440,
isStructureColorWhite: true,
userInfo: {
isLogin: false,
avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJvtOnIichicsXLvEcq7aeYlkmhiayibSwn4XN0TO9gul0MqEAET46Gh6s76uNZ9QaP1vh3mjwqAbcibBg/132',
name: 'asd'
},
mallInfo: { city: '', id: '', name: '', address: '' },
quantity: { integral: 0, gift: 0, coupon: 0 },
showSignIn: false,
showMemberCode: false
}
},
onShow() {},
methods: {
toLogin() {
uni.navigateTo({ url: '/pages/login/login' })
},
tabbarItem(itemName) {
uni.navigateTo({ url: '/pages/' + itemName + '/home' })
}
}
}
</script>
<style lang="scss" scoped>
.container {
background: #004bb9;
}
/* 用户信息 */
.user {
width: 750rpx;
margin: 38rpx 0 0 0;
padding: 0 40rpx;
}
.user-avatar {
width: 80rpx;
height: 80rpx;
margin: 0 24rpx 0 0;
border-radius: 50%;
}
.user-info {
max-width: 400rpx;
}
.user-level > image {
width: 108rpx;
height: 32rpx;
margin: 6rpx 0 0 0;
}
.user-operation {
flex-grow: 1;
text-align: center;
}
.main {
margin: 60rpx 0 0 0;
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd {
width: 750rpx;
padding: 30rpx 0;
background: #ffffff;
}
.menu-item {
width: 330rpx;
height: 140rpx;
}
</style>
<template>
<view class="container">
<u-navbar title="个人中心" :placeholder="true"></u-navbar>
<view class="user flex row items-center">
<!-- 未登录状态 -->
<template v-if="!userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="flex row items-center" @click="toLogin">
<button class="flex row content-center items-center fs36 fw800 cff">未登录</button>
</view>
</template>
<!-- 登录状态 -->
<template v-if="userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="user-info flex column content-center">
<text class="fs36 fw800 cff line-1">{{ userInfo.name }}</text>
</view>
</template>
<!-- 我的积分 -->
<view class="user-operation flex row content-end fgrow">
<view class="mr12 column content-center items-center" @click="onShowMemberScan">
<text class="mt8 fs20 fw400 cff">就诊人管理</text>
</view>
</view>
</view>
<view class="main">
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>我的订单</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<view class="menu flex row content-between items-center mt30">
<view class="menu-item card flex content-center items-center">
<text>急速配药</text>
</view>
<view class="menu-item card flex content-center items-center">
<text>图文问诊</text>
</view>
</view>
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>常用工具</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>其他</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
</view>
<u-tabbar value="mine" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true">
<u-tabbar-item text="找医生" name="doctor" icon="home" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找服务" name="service" icon="photo" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找课程" name="curriculum" icon="play-right" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="个人中心" name="mine" icon="account" @click="tabbarItem"></u-tabbar-item>
</u-tabbar>
</view>
</template>
<script>
import { userLoginToken } from '@/api/user.js'
export default {
data() {
return {
bgiHeight: 440,
isStructureColorWhite: true,
userInfo: {
isLogin: false,
avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJvtOnIichicsXLvEcq7aeYlkmhiayibSwn4XN0TO9gul0MqEAET46Gh6s76uNZ9QaP1vh3mjwqAbcibBg/132',
name: 'asd'
},
mallInfo: { city: '', id: '', name: '', address: '' },
quantity: { integral: 0, gift: 0, coupon: 0 },
showSignIn: false,
showMemberCode: false
}
},
onShow() {},
methods: {
toLogin() {
uni.navigateTo({ url: '/pages/login/login' })
},
tabbarItem(itemName) {
uni.navigateTo({ url: '/pages/' + itemName + '/home' })
}
}
}
</script>
<style lang="scss" scoped>
.container {
background: #004bb9;
}
/* 用户信息 */
.user {
width: 750rpx;
margin: 38rpx 0 0 0;
padding: 0 40rpx;
}
.user-avatar {
width: 80rpx;
height: 80rpx;
margin: 0 24rpx 0 0;
border-radius: 50%;
}
.user-info {
max-width: 400rpx;
}
.user-level > image {
width: 108rpx;
height: 32rpx;
margin: 6rpx 0 0 0;
}
.user-operation {
flex-grow: 1;
text-align: center;
}
.main {
margin: 60rpx 0 0 0;
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd {
width: 750rpx;
padding: 30rpx 0;
background: #ffffff;
}
.menu-item {
width: 330rpx;
height: 140rpx;
}
</style>
<template>
<view class="container">
<u-navbar title="个人中心" :placeholder="true"></u-navbar>
<view class="user flex row items-center">
<!-- 未登录状态 -->
<template v-if="!userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="flex row items-center" @click="toLogin">
<button class="flex row content-center items-center fs36 fw800 cff">未登录</button>
</view>
</template>
<!-- 登录状态 -->
<template v-if="userInfo.isLogin">
<u--image width="140rpx" height="140rpx" :src="userInfo.avatar"></u--image>
<view class="user-info flex column content-center">
<text class="fs36 fw800 cff line-1">{{ userInfo.name }}</text>
</view>
</template>
<!-- 我的积分 -->
<view class="user-operation flex row content-end fgrow">
<view class="mr12 column content-center items-center" @click="onShowMemberScan">
<text class="mt8 fs20 fw400 cff">就诊人管理</text>
</view>
</view>
</view>
<view class="main">
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>我的订单</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<view class="menu flex row content-between items-center mt30">
<view class="menu-item card flex content-center items-center">
<text>急速配药</text>
</view>
<view class="menu-item card flex content-center items-center">
<text>图文问诊</text>
</view>
</view>
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>常用工具</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
<!-- 平台优选 -->
<view class="rcommd card mt30">
<view class="flex row content-between items-center">
<text>其他</text>
<view class="flex items-center">
<text class="font-20">查看更多</text>
<u-icon name="arrow-right" size="20" color="#c2ced8"></u-icon>
</view>
</view>
<view class="mt30">
<view class="menu mt30">
<u--image width="750rpx" height="310rpx" :src="require('@/assets/doctor-menu.png')"></u--image>
</view>
</view>
</view>
</view>
<u-tabbar value="mine" :fixed="true" :placeholder="true" :safeAreaInsetBottom="true">
<u-tabbar-item text="找医生" name="doctor" icon="home" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找服务" name="service" icon="photo" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="找课程" name="curriculum" icon="play-right" @click="tabbarItem"></u-tabbar-item>
<u-tabbar-item text="个人中心" name="mine" icon="account" @click="tabbarItem"></u-tabbar-item>
</u-tabbar>
</view>
</template>
<script>
import { userLoginToken } from '@/api/user.js'
export default {
data() {
return {
bgiHeight: 440,
isStructureColorWhite: true,
userInfo: {
isLogin: false,
avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJvtOnIichicsXLvEcq7aeYlkmhiayibSwn4XN0TO9gul0MqEAET46Gh6s76uNZ9QaP1vh3mjwqAbcibBg/132',
name: 'asd'
},
mallInfo: { city: '', id: '', name: '', address: '' },
quantity: { integral: 0, gift: 0, coupon: 0 },
showSignIn: false,
showMemberCode: false
}
},
onShow() {},
methods: {
toLogin() {
uni.navigateTo({ url: '/pages/login/login' })
},
tabbarItem(itemName) {
uni.navigateTo({ url: '/pages/' + itemName + '/home' })
}
}
}
</script>
<style lang="scss" scoped>
.container {
background: #004bb9;
}
/* 用户信息 */
.user {
width: 750rpx;
margin: 38rpx 0 0 0;
padding: 0 40rpx;
}
.user-avatar {
width: 80rpx;
height: 80rpx;
margin: 0 24rpx 0 0;
border-radius: 50%;
}
.user-info {
max-width: 400rpx;
}
.user-level > image {
width: 108rpx;
height: 32rpx;
margin: 6rpx 0 0 0;
}
.user-operation {
flex-grow: 1;
text-align: center;
}
.main {
margin: 60rpx 0 0 0;
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd {
width: 750rpx;
padding: 30rpx 0;
background: #ffffff;
}
.menu-item {
width: 330rpx;
height: 140rpx;
}
</style>
<template>
<view class="container">
<u-navbar title="医生主页" :placeholder="true"></u-navbar>
<view class="main"> </view>
</view>
</template>
<script>
export default {
data() {
return {}
},
onShow() {},
methods: {
tabbarItem(itemName) {
console.log(itemName)
uni.navigateTo({ url: '/pages/' + itemName + '/home' })
}
}
}
</script>
<style lang="scss" scoped></style>
...@@ -245,3 +245,40 @@ ...@@ -245,3 +245,40 @@
.ft34{font-size: 34rpx;} .ft34{font-size: 34rpx;}
.ft36{font-size: 36rpx;} .ft36{font-size: 36rpx;}
.ft38{font-size: 38rpx;} .ft38{font-size: 38rpx;}
.ft40{font-size: 40rpx;}
.color333{color: #333333;}
.color666{color: #666666;}
.color999{color: #999999;}
.colorfff{color: #ffffff;}
.lht22{line-height: 22rpx;}
.lht24{line-height: 24rpx;}
.lht26{line-height: 26rpx;}
.lht28{line-height: 28rpx;}
.lht30{line-height: 30rpx;}
.lht32{line-height: 32rpx;}
.lht34{line-height: 34rpx;}
.lht36{line-height: 36rpx;}
.lht38{line-height: 38rpx;}
.lht40{line-height: 40rpx;}
.lht42{line-height: 42rpx;}
.lht44{line-height: 44rpx;}
.lht46{line-height: 46rpx;}
.lht48{line-height: 48rpx;}
.lht50{line-height: 50rpx;}
.lht52{line-height: 52rpx;}
.lht54{line-height: 54rpx;}
.lht56{line-height: 56rpx;}
.lht58{line-height: 58rpx;}
.lht60{line-height: 60rpx;}
.font700{
font-weight: 700;
}
.font500{
font-weight: 500;
}
.bgfff{
background: #ffffff;
}
\ No newline at end of file
This diff could not be displayed because it is too large.
{ {
"pages": [ "pages": [
"pages/doctor/home", "pages/login/login",
"pages/doctor/location", "pages/tabbar/doctor-home",
"pages/service/home", "pages/tabbar/patient",
"pages/curriculum/home", "pages/tabbar/mine",
"pages/mine/home", "pages/useful/add-useful",
"pages/login/login" "pages/login/setPwd",
"pages/drug/drug-search",
"pages/drug/rapid-drug",
"pages/drug/take-order",
"pages/drug/prescription"
],
"subPackages": [
{
"root": "pages/patient",
"pages": [
"patient-detail",
"group",
"consulting-history",
"use-report-search",
"check-detail",
"report-check-detail",
"patient-basic-info",
"patient-consult"
]
},
{
"root": "pages/doctor",
"pages": [
"doctor-code",
"doctor-info",
"doctor-evaluate",
"inquiry-history"
]
},
{
"root": "pages/article",
"pages": [
"my-article",
"article",
"add-article",
"edit-article",
"article-detail",
"article-preview"
]
}
], ],
"subPackages": [],
"window": { "window": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
...@@ -15,6 +53,30 @@ ...@@ -15,6 +53,30 @@
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
"usingComponents": {}, "tabBar": {
"sitemapLocation": "sitemap.json" "color": "#C4C9D4",
"selectedColor": "#003893",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/tabbar/doctor-home",
"text": "首页",
"iconPath": "static/image/tabbar/home.png",
"selectedIconPath": "static/image/tabbar/home1.png"
},
{
"pagePath": "pages/tabbar/patient",
"text": "我的患者",
"iconPath": "static/image/tabbar/patient.png",
"selectedIconPath": "static/image/tabbar/patient1.png"
},
{
"pagePath": "pages/tabbar/mine",
"text": "个人中心",
"iconPath": "static/image/tabbar/person.png",
"selectedIconPath": "static/image/tabbar/person1.png"
}
]
},
"usingComponents": {}
} }
\ No newline at end of file
...@@ -936,6 +936,120 @@ button::after { ...@@ -936,6 +936,120 @@ button::after {
.pl50 { .pl50 {
padding-left: 50rpx; padding-left: 50rpx;
} }
.color333 {
color: #333333;
}
.ft22 {
font-size: 22rpx;
}
.ft24 {
font-size: 24rpx;
}
.ft26 {
font-size: 26rpx;
}
.ft28 {
font-size: 28rpx;
}
.ft30 {
font-size: 30rpx;
}
.ft32 {
font-size: 32rpx;
}
.ft34 {
font-size: 34rpx;
}
.ft36 {
font-size: 36rpx;
}
.ft38 {
font-size: 38rpx;
}
.ft40 {
font-size: 40rpx;
}
.color333 {
color: #333333;
}
.color666 {
color: #666666;
}
.color999 {
color: #999999;
}
.colorfff {
color: #ffffff;
}
.lht22 {
line-height: 22rpx;
}
.lht24 {
line-height: 24rpx;
}
.lht26 {
line-height: 26rpx;
}
.lht28 {
line-height: 28rpx;
}
.lht30 {
line-height: 30rpx;
}
.lht32 {
line-height: 32rpx;
}
.lht34 {
line-height: 34rpx;
}
.lht36 {
line-height: 36rpx;
}
.lht38 {
line-height: 38rpx;
}
.lht40 {
line-height: 40rpx;
}
.lht42 {
line-height: 42rpx;
}
.lht44 {
line-height: 44rpx;
}
.lht46 {
line-height: 46rpx;
}
.lht48 {
line-height: 48rpx;
}
.lht50 {
line-height: 50rpx;
}
.lht52 {
line-height: 52rpx;
}
.lht54 {
line-height: 54rpx;
}
.lht56 {
line-height: 56rpx;
}
.lht58 {
line-height: 58rpx;
}
.lht60 {
line-height: 60rpx;
}
.font700 {
font-weight: 700;
}
.font500 {
font-weight: 500;
}
.bgfff {
background: #ffffff;
}
.container { .container {
min-height: 100vh; min-height: 100vh;
} }
...@@ -1237,5 +1351,10 @@ button::after { ...@@ -1237,5 +1351,10 @@ button::after {
/* 开发样式 */ /* 开发样式 */
.tt { .tt {
outline: 1rpx red solid; outline: 1rpx red solid;
}
page {
padding-bottom: 0;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
} }
This diff could not be displayed because it is too large.
{
"usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u--image": "/uni_modules/uview-ui/components/u--image/u--image",
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u-tabs": "/uni_modules/uview-ui/components/u-tabs/u-tabs",
"u-tabbar": "/uni_modules/uview-ui/components/u-tabbar/u-tabbar",
"u-tabbar-item": "/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item"
}
}
\ No newline at end of file
<view class="container data-v-1dfeed4a"><u-navbar vue-id="bc418608-1" title="找课程" placeholder="{{true}}" class="data-v-1dfeed4a" bind:__l="__l"></u-navbar><view class="main data-v-1dfeed4a"><view class="data-v-1dfeed4a"><u--image vue-id="bc418608-2" width="750rpx" height="130rpx" src="{{$root.m0}}" class="data-v-1dfeed4a" bind:__l="__l"></u--image></view><view class="flex row content-between items-center mt30 data-v-1dfeed4a"><view class="drug card flex content-center items-center data-v-1dfeed4a"><text class="data-v-1dfeed4a">急速配药</text></view><view class="flex column content-between items-center data-v-1dfeed4a"><view class="consultation card data-v-1dfeed4a"><text class="data-v-1dfeed4a">图文问诊</text></view><view class="prescription card data-v-1dfeed4a"><text class="data-v-1dfeed4a">复诊续方</text></view></view></view><view class="mt30 data-v-1dfeed4a"><u--image vue-id="bc418608-3" width="750rpx" height="160rpx" src="{{$root.m1}}" class="data-v-1dfeed4a" bind:__l="__l"></u--image></view><view class="menu mt30 data-v-1dfeed4a"><u--image vue-id="bc418608-4" width="750rpx" height="310rpx" src="{{$root.m2}}" class="data-v-1dfeed4a" bind:__l="__l"></u--image></view><view class="rcommd card mt30 data-v-1dfeed4a"><view class="flex row content-between items-center data-v-1dfeed4a"><text class="data-v-1dfeed4a">视频课程</text><view class="flex items-center data-v-1dfeed4a"><text class="font-20 data-v-1dfeed4a">查看更多</text><u-icon vue-id="bc418608-5" name="arrow-right" size="20" color="#c2ced8" class="data-v-1dfeed4a" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-1dfeed4a"><view class="roll-list-short roll-list flex row content-start data-v-1dfeed4a"><block wx:for="{{rcommdList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="roll-item data-v-1dfeed4a"></view></block><view class="roll-item-last data-v-1dfeed4a"></view></view></view></view><view class="rcommd card mt30 data-v-1dfeed4a"><view class="flex row content-between items-center data-v-1dfeed4a"><text class="data-v-1dfeed4a">健康资讯</text><view class="flex items-center data-v-1dfeed4a"><text class="font-20 data-v-1dfeed4a">查看更多</text><u-icon vue-id="bc418608-6" name="arrow-right" size="20" color="#c2ced8" class="data-v-1dfeed4a" bind:__l="__l"></u-icon></view></view><view class="tabs-box data-v-1dfeed4a"><u-tabs vue-id="bc418608-7" list="{{tabList}}" scrollable="{{true}}" class="data-v-1dfeed4a" bind:__l="__l"></u-tabs></view><view class="mt30 data-v-1dfeed4a"><view class="roll-list-short roll-list flex row content-start data-v-1dfeed4a"><block wx:for="{{rcommdList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="roll-item data-v-1dfeed4a"></view></block><view class="roll-item-last data-v-1dfeed4a"></view></view></view></view></view><u-tabbar vue-id="bc418608-8" value="curriculum" fixed="{{true}}" placeholder="{{true}}" safeAreaInsetBottom="{{true}}" class="data-v-1dfeed4a" bind:__l="__l" vue-slots="{{['default']}}"><u-tabbar-item vue-id="{{('bc418608-9')+','+('bc418608-8')}}" text="找医生" name="doctor" icon="home" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-1dfeed4a" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('bc418608-10')+','+('bc418608-8')}}" text="找服务" name="service" icon="photo" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-1dfeed4a" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('bc418608-11')+','+('bc418608-8')}}" text="找课程" name="curriculum" icon="play-right" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-1dfeed4a" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('bc418608-12')+','+('bc418608-8')}}" text="个人中心" name="mine" icon="account" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-1dfeed4a" bind:__l="__l"></u-tabbar-item></u-tabbar></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
.container.data-v-1dfeed4a {
background: #004bb9;
}
.search-box.data-v-1dfeed4a {
width: 750rpx;
padding: 30rpx;
}
.search-input.data-v-1dfeed4a {
width: 600rpx;
}
.main.data-v-1dfeed4a {
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd.data-v-1dfeed4a {
width: 750rpx;
padding: 30rpx;
background: #ffffff;
}
.tabs-box.data-v-1dfeed4a {
max-width: 750rpx;
}
.roll-list.data-v-1dfeed4a {
width: 750rpx;
overflow-x: scroll;
}
.roll-item.data-v-1dfeed4a {
position: relative;
display: inline-block;
min-width: 200rpx;
height: 200rpx;
margin: 0 20rpx 0 0;
border-radius: 10rpx;
overflow: hidden;
background: #808080;
box-shadow: 0 16rpx 20rpx 0 rgba(0, 0, 0, 0.05);
}
.roll-item-last.data-v-1dfeed4a {
min-width: 1px;
margin: 0 0 0 -1px;
}
{
"usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u-search": "/uni_modules/uview-ui/components/u-search/u-search",
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u--image": "/uni_modules/uview-ui/components/u--image/u--image",
"u-tabs": "/uni_modules/uview-ui/components/u-tabs/u-tabs",
"u-tabbar": "/uni_modules/uview-ui/components/u-tabbar/u-tabbar",
"u-tabbar-item": "/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item"
}
}
\ No newline at end of file
<view class="container data-v-78cc1066"><u-navbar vue-id="be930540-1" title="找医生" placeholder="{{true}}" class="data-v-78cc1066" bind:__l="__l"></u-navbar><view class="search-box flex row content-center data-v-78cc1066"><view class="search-input flex row items-center data-v-78cc1066"><u-search bind:input="__e" vue-id="be930540-2" placeholder="搜医院、医生、科室、产品" actionText="搜索" showAction="{{false}}" bgColor="#ffffff" value="{{search.text}}" data-event-opts="{{[['^input',[['__set_model',['$0','text','$event',[]],['search']]]]]}}" class="data-v-78cc1066" bind:__l="__l"></u-search></view><u-icon vue-id="be930540-3" name="chat" size="40" color="#ffffff" data-event-opts="{{[['^click',[['toLocation']]]]}}" bind:click="__e" class="data-v-78cc1066" bind:__l="__l"></u-icon></view><view class="main data-v-78cc1066"><view class="data-v-78cc1066"><u--image vue-id="be930540-4" width="750rpx" height="130rpx" src="{{$root.m0}}" class="data-v-78cc1066" bind:__l="__l"></u--image></view><view class="flex row content-between items-center mt30 data-v-78cc1066"><view class="drug card flex content-center items-center data-v-78cc1066"><text class="data-v-78cc1066">急速配药</text></view><view class="flex column content-between items-center data-v-78cc1066"><view class="consultation card data-v-78cc1066"><text class="data-v-78cc1066">图文问诊</text></view><view class="prescription card data-v-78cc1066"><text class="data-v-78cc1066">复诊续方</text></view></view></view><view class="mt30 data-v-78cc1066"><u--image vue-id="be930540-5" width="750rpx" height="160rpx" src="{{$root.m1}}" class="data-v-78cc1066" bind:__l="__l"></u--image></view><view class="menu mt30 data-v-78cc1066"><u--image vue-id="be930540-6" width="750rpx" height="310rpx" src="{{$root.m2}}" class="data-v-78cc1066" bind:__l="__l"></u--image></view><view class="rcommd card mt30 data-v-78cc1066"><view class="flex row content-between items-center data-v-78cc1066"><text class="data-v-78cc1066">平台优选</text><view class="flex items-center data-v-78cc1066"><text class="font-20 data-v-78cc1066">查看更多</text><u-icon vue-id="be930540-7" name="arrow-right" size="20" color="#c2ced8" class="data-v-78cc1066" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-78cc1066"><view class="roll-list-short roll-list flex row content-start data-v-78cc1066"><block wx:for="{{rcommdList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="roll-item data-v-78cc1066"></view></block><view class="roll-item-last data-v-78cc1066"></view></view></view></view><view class="rcommd card mt30 data-v-78cc1066"><view class="flex row content-between items-center data-v-78cc1066"><u-tabs vue-id="be930540-8" list="{{[{name:'找医院'},{name:'找医生'}]}}" class="data-v-78cc1066" bind:__l="__l"></u-tabs><view class="flex items-center data-v-78cc1066"><text class="font-20 data-v-78cc1066">查看更多</text><u-icon vue-id="be930540-9" name="arrow-right" size="20" color="#c2ced8" class="data-v-78cc1066" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-78cc1066"><view class="roll-list-short roll-list flex row content-start data-v-78cc1066"><block wx:for="{{rcommdList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="roll-item data-v-78cc1066"></view></block><view class="roll-item-last data-v-78cc1066"></view></view></view></view></view><u-tabbar vue-id="be930540-10" value="doctor" fixed="{{true}}" placeholder="{{true}}" safeAreaInsetBottom="{{true}}" class="data-v-78cc1066" bind:__l="__l" vue-slots="{{['default']}}"><u-tabbar-item vue-id="{{('be930540-11')+','+('be930540-10')}}" text="找医生" name="doctor" icon="home" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-78cc1066" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('be930540-12')+','+('be930540-10')}}" text="找服务" name="service" icon="photo" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-78cc1066" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('be930540-13')+','+('be930540-10')}}" text="找课程" name="curriculum" icon="play-right" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-78cc1066" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('be930540-14')+','+('be930540-10')}}" text="个人中心" name="mine" icon="account" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-78cc1066" bind:__l="__l"></u-tabbar-item></u-tabbar></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
.container.data-v-78cc1066 {
background: #004bb9;
}
.search-box.data-v-78cc1066 {
width: 750rpx;
padding: 30rpx;
}
.search-input.data-v-78cc1066 {
width: 600rpx;
}
.main.data-v-78cc1066 {
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.drug.data-v-78cc1066 {
width: 330rpx;
height: 300rpx;
margin: 0 0 0 30rpx;
}
.consultation.data-v-78cc1066 {
width: 340rpx;
height: 150rpx;
margin: 0 30rpx 30rpx 0;
}
.prescription.data-v-78cc1066 {
width: 340rpx;
height: 150rpx;
margin: 0 30rpx 0 0;
}
.rcommd.data-v-78cc1066 {
width: 750rpx;
padding: 30rpx;
background: #ffffff;
}
.roll-list.data-v-78cc1066 {
width: 750rpx;
overflow-x: scroll;
}
.roll-item.data-v-78cc1066 {
position: relative;
display: inline-block;
min-width: 200rpx;
height: 200rpx;
margin: 0 20rpx 0 0;
border-radius: 10rpx;
overflow: hidden;
background: #808080;
box-shadow: 0 16rpx 20rpx 0 rgba(0, 0, 0, 0.05);
}
.roll-item-last.data-v-78cc1066 {
min-width: 1px;
margin: 0 0 0 -1px;
}
{
"usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u-search": "/uni_modules/uview-ui/components/u-search/u-search",
"u-index-list": "/uni_modules/uview-ui/components/u-index-list/u-index-list",
"u-index-anchor": "/uni_modules/uview-ui/components/u-index-anchor/u-index-anchor",
"u-index-item": "/uni_modules/uview-ui/components/u-index-item/u-index-item"
}
}
\ No newline at end of file
<view class="container data-v-0af190bc"><u-navbar vue-id="534107ca-1" title="选择所在城市" placeholder="{{true}}" class="data-v-0af190bc" bind:__l="__l"></u-navbar><view class="search-box flex row content-center data-v-0af190bc"><view class="search-input flex row items-center data-v-0af190bc"><u-search bind:input="__e" vue-id="534107ca-2" placeholder="搜医院、医生、科室、产品" actionText="搜索" showAction="{{false}}" bgColor="#ffffff" value="{{search.text}}" data-event-opts="{{[['^input',[['__set_model',['$0','text','$event',[]],['search']]]]]}}" class="data-v-0af190bc" bind:__l="__l"></u-search></view></view><view class="main data-v-0af190bc"><u-index-list vue-id="534107ca-3" index-list="{{indexList}}" class="data-v-0af190bc" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{itemArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-index-anchor vue-id="{{('534107ca-4-'+index)+','+('534107ca-3')}}" text="{{indexList[index]}}" class="data-v-0af190bc" bind:__l="__l"></u-index-anchor><u-index-item vue-id="{{('534107ca-5-'+index)+','+('534107ca-3')}}" class="data-v-0af190bc" bind:__l="__l" vue-slots="{{['default']}}"><u-index-anchor vue-id="{{('534107ca-6-'+index)+','+('534107ca-5-'+index)}}" text="{{indexList[index]}}" class="data-v-0af190bc" bind:__l="__l"></u-index-anchor><block wx:for="{{item}}" wx:for-item="cell" wx:for-index="index" wx:key="index"><view class="list-cell data-v-0af190bc">{{''+cell+''}}</view></block></u-index-item></block></u-index-list></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
.container.data-v-0af190bc {
background: #004bb9;
}
.search-box.data-v-0af190bc {
width: 750rpx;
padding: 30rpx;
}
.search-input.data-v-0af190bc {
width: 690rpx;
}
.main.data-v-0af190bc {
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
{ {
"usingComponents": { "usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar", "u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u-button": "/uni_modules/uview-ui/components/u-button/u-button" "u--form": "/uni_modules/uview-ui/components/u--form/u--form",
"u-form-item": "/uni_modules/uview-ui/components/u-form-item/u-form-item",
"u--input": "/uni_modules/uview-ui/components/u--input/u--input",
"u-toast": "/uni_modules/uview-ui/components/u-toast/u-toast",
"u-code": "/uni_modules/uview-ui/components/u-code/u-code"
} }
} }
\ No newline at end of file
<view class="container data-v-b237504c"><u-navbar vue-id="35a7246c-1" title="账号授权" back-text="返回" placeholder="{{true}}" data-event-opts="{{[['^leftClick',[['onNavbarLeftClick']]]]}}" bind:leftClick="__e" class="data-v-b237504c" bind:__l="__l"></u-navbar><u-button vue-id="35a7246c-2" type="primary" text="授权登录" data-event-opts="{{[['^click',[['onLogin']]]]}}" bind:click="__e" class="data-v-b237504c" bind:__l="__l"></u-button><u-button vue-id="35a7246c-3" type="primary" text="获取信息" data-event-opts="{{[['^click',[['onGetUserProfile']]]]}}" bind:click="__e" class="data-v-b237504c" bind:__l="__l"></u-button><u-button vue-id="35a7246c-4" type="primary" text="获取手机" open-type="getPhoneNumber" data-event-opts="{{[['^getphonenumber',[['onGetPhoneNumber']]]]}}" bind:getphonenumber="__e" class="data-v-b237504c" bind:__l="__l"></u-button></view> <view class="data-v-b237504c"><u-navbar vue-id="35a7246c-1" placeholder="{{true}}" class="data-v-b237504c" bind:__l="__l"></u-navbar><view class="head data-v-b237504c"><view class="head-title flex items-center pl30 pr30 data-v-b237504c"><view class="head-icon data-v-b237504c"></view><view class="head-text ml6 data-v-b237504c">建发健康</view></view></view><view class="cont-form data-v-b237504c"><u--form vue-id="35a7246c-2" labelPosition="left" errorType="{{errorType}}" model="{{form}}" rules="{{rules}}" data-ref="form" class="data-v-b237504c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex items-center data-v-b237504c" style="border-bottom:2rpx solid #EFEFEF;margin-bottom:28rpx;"><view class="phone-type flex items-center pl28 colro333 ft28 data-v-b237504c">+86</view><view class="division data-v-b237504c"></view><u-form-item style="flex:1;" vue-id="{{('35a7246c-3')+','+('35a7246c-2')}}" prop="mobile" borderBottom="{{false}}" data-ref="item" class="data-v-b237504c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('35a7246c-4')+','+('35a7246c-3')}}" placeholderClass="dep-input" placeholder="请输入手机号" border="none" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" class="data-v-b237504c" bind:__l="__l"></u--input></u-form-item></view><block wx:if="{{formType==1}}"><view class="flex items-center data-v-b237504c" style="border-bottom:2rpx solid #EFEFEF;margin-bottom:28rpx;"><view class="phone-type flex items-center pl28 colro333 ft28 data-v-b237504c">密码</view><view class="division data-v-b237504c"></view><u-form-item style="flex:1;" vue-id="{{('35a7246c-5')+','+('35a7246c-2')}}" prop="password" borderBottom="{{false}}" data-ref="item" class="data-v-b237504c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('35a7246c-6')+','+('35a7246c-5')}}" placeholderClass="dep-input" placeholder="请输入密码" border="none" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" class="data-v-b237504c" bind:__l="__l"></u--input></u-form-item></view></block><block wx:else><view class="flex items-center data-v-b237504c" style="border-bottom:2rpx solid #EFEFEF;"><view class="phone-type flex items-center pl28 colro333 ft28 data-v-b237504c">验证码</view><view class="division data-v-b237504c"></view><u-form-item style="flex:1 !important;" vue-id="{{('35a7246c-7')+','+('35a7246c-2')}}" prop="code" borderBottom="{{false}}" data-ref="item" class="data-v-b237504c vue-ref" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input bind:input="__e" style="flex:1;" vue-id="{{('35a7246c-8')+','+('35a7246c-7')}}" placeholderClass="dep-input" placeholder="请输入验证码" border="none" value="{{form.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form']]]]]}}" class="data-v-b237504c" bind:__l="__l"></u--input><text class="btn-submit data-v-b237504c" slot="right" data-event-opts="{{[['tap',[['getCode',['$event']]]]]}}" catchtap="__e">{{tips}}</text><u-toast vue-id="{{('35a7246c-9')+','+('35a7246c-7')}}" data-ref="uToast" class="data-v-b237504c vue-ref" bind:__l="__l"></u-toast><u-code vue-id="{{('35a7246c-10')+','+('35a7246c-7')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" class="data-v-b237504c vue-ref" bind:__l="__l"></u-code></u-form-item></view></block></u--form><view class="submit flex content-center items-center data-v-b237504c" size="30rpx" data-event-opts="{{[['tap',[['handleSubmit',['$event']]]]]}}" bindtap="__e">登录</view><view data-event-opts="{{[['tap',[['checkForm',['$event']]]]]}}" class="check-login data-v-b237504c" bindtap="__e">{{title}}</view></view></view>
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u--image": "/uni_modules/uview-ui/components/u--image/u--image",
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u-tabbar": "/uni_modules/uview-ui/components/u-tabbar/u-tabbar",
"u-tabbar-item": "/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item"
}
}
\ No newline at end of file
<view class="container data-v-7427a91c"><u-navbar vue-id="10cc7858-1" title="个人中心" placeholder="{{true}}" class="data-v-7427a91c" bind:__l="__l"></u-navbar><view class="user flex row items-center data-v-7427a91c"><block wx:if="{{!userInfo.isLogin}}"><u--image vue-id="10cc7858-2" width="140rpx" height="140rpx" src="{{userInfo.avatar}}" class="data-v-7427a91c" bind:__l="__l"></u--image><view data-event-opts="{{[['tap',[['toLogin',['$event']]]]]}}" class="flex row items-center data-v-7427a91c" bindtap="__e"><button class="flex row content-center items-center fs36 fw800 cff data-v-7427a91c">未登录</button></view></block><block wx:if="{{userInfo.isLogin}}"><u--image vue-id="10cc7858-3" width="140rpx" height="140rpx" src="{{userInfo.avatar}}" class="data-v-7427a91c" bind:__l="__l"></u--image><view class="user-info flex column content-center data-v-7427a91c"><text class="fs36 fw800 cff line-1 data-v-7427a91c">{{userInfo.name}}</text></view></block><view class="user-operation flex row content-end fgrow data-v-7427a91c"><view data-event-opts="{{[['tap',[['onShowMemberScan',['$event']]]]]}}" class="mr12 column content-center items-center data-v-7427a91c" bindtap="__e"><text class="mt8 fs20 fw400 cff data-v-7427a91c">就诊人管理</text></view></view></view><view class="main data-v-7427a91c"><view class="rcommd card mt30 data-v-7427a91c"><view class="flex row content-between items-center data-v-7427a91c"><text class="data-v-7427a91c">我的订单</text><view class="flex items-center data-v-7427a91c"><text class="font-20 data-v-7427a91c">查看更多</text><u-icon vue-id="10cc7858-4" name="arrow-right" size="20" color="#c2ced8" class="data-v-7427a91c" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-7427a91c"><view class="menu mt30 data-v-7427a91c"><u--image vue-id="10cc7858-5" width="750rpx" height="310rpx" src="{{$root.m0}}" class="data-v-7427a91c" bind:__l="__l"></u--image></view></view></view><view class="menu flex row content-between items-center mt30 data-v-7427a91c"><view class="menu-item card flex content-center items-center data-v-7427a91c"><text class="data-v-7427a91c">急速配药</text></view><view class="menu-item card flex content-center items-center data-v-7427a91c"><text class="data-v-7427a91c">图文问诊</text></view></view><view class="menu mt30 data-v-7427a91c"><u--image vue-id="10cc7858-6" width="750rpx" height="310rpx" src="{{$root.m1}}" class="data-v-7427a91c" bind:__l="__l"></u--image></view><view class="rcommd card mt30 data-v-7427a91c"><view class="flex row content-between items-center data-v-7427a91c"><text class="data-v-7427a91c">常用工具</text><view class="flex items-center data-v-7427a91c"><text class="font-20 data-v-7427a91c">查看更多</text><u-icon vue-id="10cc7858-7" name="arrow-right" size="20" color="#c2ced8" class="data-v-7427a91c" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-7427a91c"><view class="menu mt30 data-v-7427a91c"><u--image vue-id="10cc7858-8" width="750rpx" height="310rpx" src="{{$root.m2}}" class="data-v-7427a91c" bind:__l="__l"></u--image></view></view></view><view class="rcommd card mt30 data-v-7427a91c"><view class="flex row content-between items-center data-v-7427a91c"><text class="data-v-7427a91c">其他</text><view class="flex items-center data-v-7427a91c"><text class="font-20 data-v-7427a91c">查看更多</text><u-icon vue-id="10cc7858-9" name="arrow-right" size="20" color="#c2ced8" class="data-v-7427a91c" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-7427a91c"><view class="menu mt30 data-v-7427a91c"><u--image vue-id="10cc7858-10" width="750rpx" height="310rpx" src="{{$root.m3}}" class="data-v-7427a91c" bind:__l="__l"></u--image></view></view></view></view><u-tabbar vue-id="10cc7858-11" value="mine" fixed="{{true}}" placeholder="{{true}}" safeAreaInsetBottom="{{true}}" class="data-v-7427a91c" bind:__l="__l" vue-slots="{{['default']}}"><u-tabbar-item vue-id="{{('10cc7858-12')+','+('10cc7858-11')}}" text="找医生" name="doctor" icon="home" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-7427a91c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('10cc7858-13')+','+('10cc7858-11')}}" text="找服务" name="service" icon="photo" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-7427a91c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('10cc7858-14')+','+('10cc7858-11')}}" text="找课程" name="curriculum" icon="play-right" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-7427a91c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('10cc7858-15')+','+('10cc7858-11')}}" text="个人中心" name="mine" icon="account" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-7427a91c" bind:__l="__l"></u-tabbar-item></u-tabbar></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
.container.data-v-7427a91c {
background: #004bb9;
}
/* 用户信息 */
.user.data-v-7427a91c {
width: 750rpx;
margin: 38rpx 0 0 0;
padding: 0 40rpx;
}
.user-avatar.data-v-7427a91c {
width: 80rpx;
height: 80rpx;
margin: 0 24rpx 0 0;
border-radius: 50%;
}
.user-info.data-v-7427a91c {
max-width: 400rpx;
}
.user-level > image.data-v-7427a91c {
width: 108rpx;
height: 32rpx;
margin: 6rpx 0 0 0;
}
.user-operation.data-v-7427a91c {
flex-grow: 1;
text-align: center;
}
.main.data-v-7427a91c {
margin: 60rpx 0 0 0;
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.rcommd.data-v-7427a91c {
width: 750rpx;
padding: 30rpx 0;
background: #ffffff;
}
.menu-item.data-v-7427a91c {
width: 330rpx;
height: 140rpx;
}
{
"usingComponents": {
"u-navbar": "/uni_modules/uview-ui/components/u-navbar/u-navbar",
"u-search": "/uni_modules/uview-ui/components/u-search/u-search",
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u--image": "/uni_modules/uview-ui/components/u--image/u--image",
"u-tabs": "/uni_modules/uview-ui/components/u-tabs/u-tabs",
"u-list": "/uni_modules/uview-ui/components/u-list/u-list",
"u-list-item": "/uni_modules/uview-ui/components/u-list-item/u-list-item",
"u-cell": "/uni_modules/uview-ui/components/u-cell/u-cell",
"u-avatar": "/uni_modules/uview-ui/components/u-avatar/u-avatar",
"u-tabbar": "/uni_modules/uview-ui/components/u-tabbar/u-tabbar",
"u-tabbar-item": "/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item"
}
}
\ No newline at end of file
<view class="container data-v-a2d24f1c"><u-navbar vue-id="2444b6d4-1" title="找服务" placeholder="{{true}}" class="data-v-a2d24f1c" bind:__l="__l"></u-navbar><view class="search-box flex row content-center data-v-a2d24f1c"><view class="search-input flex row items-center data-v-a2d24f1c"><u-search bind:input="__e" vue-id="2444b6d4-2" placeholder="搜产品、服务" actionText="搜索" showAction="{{false}}" bgColor="#ffffff" value="{{search.text}}" data-event-opts="{{[['^input',[['__set_model',['$0','text','$event',[]],['search']]]]]}}" class="data-v-a2d24f1c" bind:__l="__l"></u-search></view><u-icon vue-id="2444b6d4-3" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><u-icon vue-id="2444b6d4-4" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><u-icon vue-id="2444b6d4-5" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon></view><view class="main data-v-a2d24f1c"><view class="data-v-a2d24f1c"><u--image vue-id="2444b6d4-6" width="750rpx" height="160rpx" src="{{$root.m0}}" class="data-v-a2d24f1c" bind:__l="__l"></u--image></view><view class="menu data-v-a2d24f1c"><view class="menu-item card menu-item-row data-v-a2d24f1c"><u-icon vue-id="2444b6d4-7" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><text class="data-v-a2d24f1c">急速配药</text></view><view class="menu-item card data-v-a2d24f1c"><u-icon vue-id="2444b6d4-8" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><text class="data-v-a2d24f1c">急速配药</text></view><view class="menu-item card data-v-a2d24f1c"><u-icon vue-id="2444b6d4-9" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><text class="data-v-a2d24f1c">急速配药</text></view><view class="menu-item card data-v-a2d24f1c"><u-icon vue-id="2444b6d4-10" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><text class="data-v-a2d24f1c">急速配药</text></view><view class="menu-item card data-v-a2d24f1c"><u-icon vue-id="2444b6d4-11" name="chat" size="40" color="#ffffff" class="data-v-a2d24f1c" bind:__l="__l"></u-icon><text class="data-v-a2d24f1c">急速配药</text></view></view><view class="data-v-a2d24f1c"><u--image vue-id="2444b6d4-12" width="750rpx" height="130rpx" src="{{$root.m1}}" class="data-v-a2d24f1c" bind:__l="__l"></u--image></view><view class="rcommd card mt30 data-v-a2d24f1c"><view class="flex row content-between items-center data-v-a2d24f1c"><u-tabs vue-id="2444b6d4-13" list="{{[{name:'限时专场'},{name:'体验专区'},{name:'餐饮专区'}]}}" class="data-v-a2d24f1c" bind:__l="__l"></u-tabs><view class="flex items-center data-v-a2d24f1c"><text class="font-20 data-v-a2d24f1c">查看更多</text><u-icon vue-id="2444b6d4-14" name="arrow-right" size="20" color="#c2ced8" class="data-v-a2d24f1c" bind:__l="__l"></u-icon></view></view><view class="mt30 data-v-a2d24f1c"><u-list bind:scrolltolower="__e" vue-id="2444b6d4-15" data-event-opts="{{[['^scrolltolower',[['scrolltolower']]]]}}" class="data-v-a2d24f1c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{rcommdList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-list-item vue-id="{{('2444b6d4-16-'+index)+','+('2444b6d4-15')}}" class="data-v-a2d24f1c" bind:__l="__l" vue-slots="{{['default']}}"><u-cell vue-id="{{('2444b6d4-17-'+index)+','+('2444b6d4-16-'+index)}}" title="{{'列表长度-'+(index+1)}}" class="data-v-a2d24f1c" bind:__l="__l" vue-slots="{{['icon']}}"><u-avatar vue-id="{{('2444b6d4-18-'+index)+','+('2444b6d4-17-'+index)}}" slot="icon" shape="square" size="35" src="{{item.url}}" customStyle="margin: -3px 5px -3px 0" class="data-v-a2d24f1c" bind:__l="__l"></u-avatar></u-cell></u-list-item></block></u-list></view></view></view><u-tabbar vue-id="2444b6d4-19" value="service" fixed="{{true}}" placeholder="{{true}}" safeAreaInsetBottom="{{true}}" class="data-v-a2d24f1c" bind:__l="__l" vue-slots="{{['default']}}"><u-tabbar-item vue-id="{{('2444b6d4-20')+','+('2444b6d4-19')}}" text="找医生" name="doctor" icon="home" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-a2d24f1c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('2444b6d4-21')+','+('2444b6d4-19')}}" text="找服务" name="service" icon="photo" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-a2d24f1c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('2444b6d4-22')+','+('2444b6d4-19')}}" text="找课程" name="curriculum" icon="play-right" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-a2d24f1c" bind:__l="__l"></u-tabbar-item><u-tabbar-item vue-id="{{('2444b6d4-23')+','+('2444b6d4-19')}}" text="个人中心" name="mine" icon="account" data-event-opts="{{[['^click',[['tabbarItem']]]]}}" bind:click="__e" class="data-v-a2d24f1c" bind:__l="__l"></u-tabbar-item></u-tabbar></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
.container.data-v-a2d24f1c {
background: #004bb9;
}
.search-box.data-v-a2d24f1c {
width: 750rpx;
padding: 30rpx;
}
.search-input.data-v-a2d24f1c {
width: 490rpx;
}
.main.data-v-a2d24f1c {
padding: 30rpx 0 0 0;
border-radius: 30rpx 30rpx 0 0;
background: #f5f5f9;
}
.menu.data-v-a2d24f1c {
display: grid;
grid-template-columns: 240rpx 200rpx 200rpx;
grid-gap: 20rpx;
grid-template-rows: 130rpx 130rpx;
width: 750rpx;
margin: 30rpx 0;
padding: 0 30rpx;
}
.menu-item.data-v-a2d24f1c {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #289efa;
}
.menu-item-row.data-v-a2d24f1c {
grid-row-start: 1;
grid-row-end: 3;
}
{ {
"description": "项目配置文件", "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": { "packOptions": {
"ignore": [] "ignore": [],
"include": []
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"es6": false, "es6": false,
"enhance": true,
"postcss": false,
"preloadBackgroundData": false,
"minified": false, "minified": false,
"newFeature": false, "postcss": false,
"coverView": true, "coverView": true,
"nodeModules": false, "lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false,
"autoAudits": false, "autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false, "uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": false, "enhance": true,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "showShadowRootInWxmlPanel": true,
"useApiHostProcess": true, "packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"useStaticServer": true,
"showES6CompileOption": false,
"checkInvalidKey": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false, "disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false, "useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true "minifyWXML": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "", "libVersion": "2.24.2",
"appid": "wx098587f9a9a5c69f", "appid": "wx098587f9a9a5c69f",
"projectname": "mp-weixin", "projectname": "互联网医院",
"condition": { "condition": {
"search": { "search": {
"current": -1,
"list": [] "list": []
}, },
"conversation": { "conversation": {
"current": -1,
"list": [] "list": []
}, },
"game": { "game": {
"current": -1,
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": -1,
"list": [] "list": []
} }
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
} }
} }
\ No newline at end of file
{
"component": true,
"usingComponents": {
"uv-image": "/uni_modules/uview-ui/components/u-image/u-image"
}
}
\ No newline at end of file
<uv-image vue-id="66e2d93d-1" src="{{src}}" mode="{{mode}}" width="{{width}}" height="{{height}}" shape="{{shape}}" radius="{{radius}}" lazyLoad="{{lazyLoad}}" showMenuByLongpress="{{showMenuByLongpress}}" loadingIcon="{{loadingIcon}}" errorIcon="{{errorIcon}}" showLoading="{{showLoading}}" showError="{{showError}}" fade="{{fade}}" webp="{{webp}}" duration="{{duration}}" bgColor="{{bgColor}}" customStyle="{{customStyle}}" data-event-opts="{{[['^click',[['$emit',['click']]]],['^error',[['$emit',['error']]]],['^load',[['$emit',['load']]]]]}}" bind:click="__e" bind:error="__e" bind:load="__e" bind:__l="__l" vue-slots="{{['loading','error']}}"><slot name="loading" slot="loading"></slot><slot name="error" slot="error"></slot></uv-image>
\ No newline at end of file
{
"component": true,
"usingComponents": {
"uv-text": "/uni_modules/uview-ui/components/u-text/u-text"
}
}
\ No newline at end of file
<uv-text vue-id="b6826312-1" type="{{type}}" show="{{show}}" text="{{text}}" prefixIcon="{{prefixIcon}}" suffixIcon="{{suffixIcon}}" mode="{{mode}}" href="{{href}}" format="{{format}}" call="{{call}}" openType="{{openType}}" bold="{{bold}}" block="{{block}}" lines="{{lines}}" color="{{color}}" decoration="{{decoration}}" size="{{size}}" iconStyle="{{iconStyle}}" margin="{{margin}}" lineHeight="{{lineHeight}}" align="{{align}}" wordWrap="{{wordWrap}}" customStyle="{{customStyle}}" data-event-opts="{{[['^click',[['$emit',['click']]]]]}}" bind:click="__e" bind:__l="__l"></uv-text>
\ No newline at end of file
{
"component": true,
"usingComponents": {
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u--text": "/uni_modules/uview-ui/components/u--text/u--text"
}
}
\ No newline at end of file
<view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="{{['u-avatar','data-v-d3651d6e','u-avatar--'+shape]}}" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><block wx:if="{{mpAvatar&&allowMp}}"><open-data style="{{'width:'+($root.g0)+';'+('height:'+($root.g1)+';')}}" type="userAvatarUrl" class="data-v-d3651d6e"></open-data></block><block wx:if="{{mpAvatar&&allowMp}}"></block><block wx:else><block wx:if="{{icon}}"><u-icon vue-id="336138dd-1" name="{{icon}}" size="{{fontSize}}" color="{{color}}" class="data-v-d3651d6e" bind:__l="__l"></u-icon></block><block wx:else><block wx:if="{{text}}"><u--text vue-id="336138dd-2" text="{{text}}" size="{{fontSize}}" color="{{color}}" align="center" customStyle="justify-content: center" class="data-v-d3651d6e" bind:__l="__l"></u--text></block><block wx:else><image class="{{['u-avatar__image','data-v-d3651d6e','u-avatar__image--'+shape]}}" style="{{'width:'+($root.g2)+';'+('height:'+($root.g3)+';')}}" src="{{avatarUrl||defaultUrl}}" mode="{{mode}}" data-event-opts="{{[['error',[['errorHandler',['$event']]]]]}}" binderror="__e"></image></block></block></block></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
view.data-v-d3651d6e, scroll-view.data-v-d3651d6e, swiper-item.data-v-d3651d6e {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-avatar.data-v-d3651d6e {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.u-avatar--circle.data-v-d3651d6e {
border-radius: 100px;
}
.u-avatar--square.data-v-d3651d6e {
border-radius: 4px;
}
.u-avatar__image--circle.data-v-d3651d6e {
border-radius: 100px;
}
.u-avatar__image--square.data-v-d3651d6e {
border-radius: 4px;
}
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<block wx:if="{{show&&$root.m0}}"><text class="{{['u-badge','data-v-13728ffe',isDot?'u-badge--dot':'u-badge--not-dot',inverted&&'u-badge--inverted',shape==='horn'&&'u-badge--horn','u-badge--'+type+(inverted?'--inverted':'')]}}" style="{{$root.s0}}">{{isDot?'':showValue}}</text></block>
\ No newline at end of file
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
view.data-v-13728ffe, scroll-view.data-v-13728ffe, swiper-item.data-v-13728ffe {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-badge.data-v-13728ffe {
border-top-right-radius: 100px;
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
border-bottom-right-radius: 100px;
display: flex;
flex-direction: row;
line-height: 11px;
text-align: center;
font-size: 11px;
color: #FFFFFF;
}
.u-badge--dot.data-v-13728ffe {
height: 8px;
width: 8px;
}
.u-badge--inverted.data-v-13728ffe {
font-size: 13px;
}
.u-badge--not-dot.data-v-13728ffe {
padding: 2px 5px;
}
.u-badge--horn.data-v-13728ffe {
border-bottom-left-radius: 0;
}
.u-badge--primary.data-v-13728ffe {
background-color: #3c9cff;
}
.u-badge--primary--inverted.data-v-13728ffe {
color: #3c9cff;
}
.u-badge--error.data-v-13728ffe {
background-color: #f56c6c;
}
.u-badge--error--inverted.data-v-13728ffe {
color: #f56c6c;
}
.u-badge--success.data-v-13728ffe {
background-color: #5ac725;
}
.u-badge--success--inverted.data-v-13728ffe {
color: #5ac725;
}
.u-badge--info.data-v-13728ffe {
background-color: #909399;
}
.u-badge--info--inverted.data-v-13728ffe {
color: #909399;
}
.u-badge--warning.data-v-13728ffe {
background-color: #f9ae3d;
}
.u-badge--warning--inverted.data-v-13728ffe {
color: #f9ae3d;
}
{
"component": true,
"usingComponents": {
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
"u-line": "/uni_modules/uview-ui/components/u-line/u-line"
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment