加密
9
App.vue
@ -6,7 +6,11 @@
|
||||
createMobileToken
|
||||
} from '@/api/pages/login/index.js'
|
||||
export default {
|
||||
onLaunch: function() {},
|
||||
onLaunch: function() {
|
||||
createMobileToken().then(res => {
|
||||
uni.setStorageSync("token", res.data.token)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(['socketOpenfalse']),
|
||||
...mapMutations(['scoket']),
|
||||
@ -15,9 +19,6 @@
|
||||
if (uni.getStorageSync('patientId') && !this.$store.state.socketOpen) {
|
||||
this.scoket();
|
||||
}
|
||||
createMobileToken().then(res => {
|
||||
uni.setStorageSync("token", res.data.token)
|
||||
})
|
||||
},
|
||||
onHide: function() {
|
||||
this.socketOpenfalse();
|
||||
|
||||
33
api/crypto.js
Normal file
@ -0,0 +1,33 @@
|
||||
import CryptoJS from "@/questionnaire/crypto-js/crypto-js.js"
|
||||
const CRYPTOJSKEY = "60afL1G1b39c5Z27";
|
||||
|
||||
function encrypt(plaintText) {
|
||||
var options = {
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
};
|
||||
var key = CryptoJS.enc.Utf8.parse(CRYPTOJSKEY);
|
||||
var encryptedData = CryptoJS.AES.encrypt(plaintText, key, options);
|
||||
var encryptedBase64Str = encryptedData.toString().replace(/\//g, "_");
|
||||
encryptedBase64Str = encryptedBase64Str.replace(/\+/g, "-");
|
||||
return encryptedBase64Str;
|
||||
}
|
||||
|
||||
//解密
|
||||
function decrypt(encryptedBase64Str) {
|
||||
var vals = encryptedBase64Str.replace(/_/g, '/');
|
||||
var options = {
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
};
|
||||
var key = CryptoJS.enc.Utf8.parse(CRYPTOJSKEY);
|
||||
var decryptedData = CryptoJS.AES.decrypt(vals, key, options);
|
||||
var decryptedStr = CryptoJS.enc.Utf8.stringify(decryptedData);
|
||||
return decryptedStr
|
||||
|
||||
}
|
||||
|
||||
export {
|
||||
encrypt,
|
||||
decrypt
|
||||
}
|
||||
@ -33,7 +33,7 @@ export function getFamilyList(openid, patientCode) {
|
||||
export function registerdata(data) {
|
||||
return request({
|
||||
url: '/applet/register',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@ import request from "../../request.js"
|
||||
export function registerdata(data) {
|
||||
return request({
|
||||
url: '/applet/register',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
export function AppIdentification(patientId) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//退款原因
|
||||
export function refundReason() {
|
||||
@ -14,7 +14,7 @@ export function refundReason() {
|
||||
export function refund(data) {
|
||||
return request({
|
||||
url: `/nurseApplet/nursingOrder/edit`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function scorelist(data) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 查询商品详细列表
|
||||
export function goodsDetails(goodsInfoId, patientId) {
|
||||
return request({
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
//收货
|
||||
export function confirmReceipt(orderNo) {
|
||||
return request({
|
||||
url: `/nurseApplet/nursingStationGoods/confirmReceipt?orderNo=${orderNo}`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
},
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//支付成功调取
|
||||
export function pushMeg(data) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//列表
|
||||
export function cardPackagelist(data) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function getHeathHousingList(pageNum, pageSize) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
export function appServiceOrder(id,pageSize,pageNum) {
|
||||
return request({
|
||||
url: `/nurseApp/login/appServiceOrder?pageSize=${pageSize}&pageNum=${pageNum}&patientId=${id}`,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function prizelist(data) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function goodsList(pageSize, pageNum, goodsCategoryId, goodsName) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function getAppStationItemInfo(stationId, stationItemId, stationItemPriceId) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 获取项目
|
||||
export function getAppointProject(patientId,identity) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
export function getAppointmentDetailsInfo(orderNo) {
|
||||
@ -14,7 +14,7 @@ export function getAppointmentDetailsInfo(orderNo) {
|
||||
export function addAppointmentEvaluate(data) {
|
||||
return request({
|
||||
url: `/nurseApp/orderEvaluate/addAppointmentEvaluate`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
export function getAppletOrderList(parentId,orderStatus,cardNo,region,pageNum,pageSize) {
|
||||
return request({
|
||||
url: `/nurseApplet/nursingOrder/getAppletOrderList?parentId=${parentId}&orderStatus=${orderStatus}&cardNo=${cardNo}®ion=${region}&pageNum=${pageNum}&pageSize=${pageSize}`,
|
||||
@ -15,7 +15,7 @@ export function getAppletOrderList(parentId,orderStatus,cardNo,region,pageNum,pa
|
||||
export function addAppointmentEvaluate(data) {
|
||||
return request({
|
||||
url: `/nurseApp/orderEvaluate/addAppointmentEvaluate`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
@ -26,7 +26,7 @@ export function addAppointmentEvaluate(data) {
|
||||
export function insertGoodsEvaluate(data) {
|
||||
return request({
|
||||
url: `/nurseApp/orderEvaluate/insertGoodsEvaluate`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function approvalList(data) {
|
||||
return request({
|
||||
url: `/applet/score/prizeExchange/approvalList`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data: data,
|
||||
header: {
|
||||
region: uni.getStorageSync('region'),
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function getAppPatientList(id) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function cancellationOrder(appointmentOrderId,cancelAppointmentReason) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//确认支付
|
||||
export function addStationGoodsOrder(data) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function getListByDoctor(doctorId) {
|
||||
return request({
|
||||
@ -14,7 +14,7 @@ export function getListByDoctor(doctorId) {
|
||||
export function addHealthConsultationOrder(data) {
|
||||
return request({
|
||||
url: `/nurseApp/healthConsultation/addHealthConsultationOrder`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
export function selectCoupon(pageNum, pageSize, patientId, couponstatus) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function prizeExchangelist(data) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 获取家庭成员详情
|
||||
export function getInfo(patientCode, openid) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import baseurl from '../../baseurl.js'
|
||||
import baseurl from '@/api/baseurl.js'
|
||||
|
||||
var request = function(config) {
|
||||
return new Promise((resolve, rejected) => {
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function insertGoodsEvaluate(data) {
|
||||
return request({
|
||||
url: `/nurseApp/orderEvaluate/insertGoodsEvaluate`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
@ -15,7 +15,7 @@ export function insertGoodsEvaluate(data) {
|
||||
export function uploadEvaluatePictureUrl(data) {
|
||||
return request({
|
||||
url: `/nurseApp/orderEvaluate/uploadEvaluatePictureUrl`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
//签到
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
export function accompanyingDiagnosis(data) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//区街道list
|
||||
export function getRegionAndStreetInfo() {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 物流查询接口
|
||||
export function queryLogistics(orderNo,expressNo){
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
// 修改信息
|
||||
export function lookrate(orderNo) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
//新人优惠券
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
//齐鲁名医
|
||||
export function selectDepartmentNoPage() {
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
// 修改信息
|
||||
export function updateInformation(data){
|
||||
return request({
|
||||
url: '/nurseApp/login/updateInformation',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
// 根据被护理人id查询基本信息
|
||||
export function goodPatientInfo(patientId) {
|
||||
@ -14,7 +14,7 @@ export function goodPatientInfo(patientId) {
|
||||
export function addnursingStation(data) {
|
||||
return request({
|
||||
url: '/nurseApplet/nursingStationGoods/add',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
@ -27,7 +27,7 @@ export function addnursingStation(data) {
|
||||
export function updatenursingStation(data) {
|
||||
return request({
|
||||
url: '/nurseApplet/nursingStationGoods/edit',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
@ -98,7 +98,7 @@ export function getSubordinateInfo(id) {
|
||||
export function updateDefaultAddress(data) {
|
||||
return request({
|
||||
url: `/nurseApplet/nursingStationGoods/updateDefaultAddress`,
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
|
||||
export function introductionList(id, longitude, latitude) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 获取预约列表
|
||||
export function getOrderList(patientId,identity,pageNum,pageSize) {
|
||||
return request({
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
// import request from '../jsIndex'
|
||||
import request from "../../request.js"
|
||||
|
||||
import request from "@/api/request.js"
|
||||
|
||||
// 济南
|
||||
// 预约
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 获取筛查结果列表
|
||||
export function screeningResultList(patientId,identity,pageNum,pageSize) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
// 获取最新的筛查结果
|
||||
export function lastScreeningResult(identity,projectld) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function goodsCategoryList(pageSize, pageNum) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function nearbyList(pageSize, pageNum, longitude, latitude,ClassifyInfoId,itemClassId,searchName) {
|
||||
return request({
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function getUserSig(userId) {
|
||||
return request({
|
||||
url: '/nurseApplet/consultation/getUserSig/'+userId,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import request from "../../request.js"
|
||||
import request from "@/api/request.js"
|
||||
|
||||
export function riskWarning(identity) {
|
||||
return request({
|
||||
|
||||
@ -4,7 +4,7 @@ import request from "../../request.js"
|
||||
export function list(data) {
|
||||
return request({
|
||||
url: '/applet/service/apply/list',
|
||||
method: 'POST',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ export function getChatRecord(data) {
|
||||
export function markRead(data) {
|
||||
return request({
|
||||
url: `/nurseApplet/chatRecord/updateReadStatus`,
|
||||
method: 'PUT',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
import baseurl from './baseurl.js'
|
||||
|
||||
import {
|
||||
encrypt,
|
||||
decrypt
|
||||
} from './crypto.js'
|
||||
var witch = '1' //1加密 2不加密
|
||||
var request = function(config) {
|
||||
if (uni.getStorageSync('openid')) {
|
||||
if (!config.header) {
|
||||
@ -12,6 +16,13 @@ var request = function(config) {
|
||||
appletType: ''
|
||||
}
|
||||
}
|
||||
if (witch == '1' && config.method == 'post' && config.url != '/applet/score/prizeExchange/approvalList') {
|
||||
config.data = encrypt(JSON.stringify(config.data))
|
||||
}
|
||||
if (witch == '1' && config.url == '/nurseApplet/chatRecord/updateReadStatus' || config.url ==
|
||||
'/applet/register/editPrimaryAccountFlag') {
|
||||
config.data = encrypt(JSON.stringify(config.data))
|
||||
}
|
||||
const urls = config.url.split('?')[0]
|
||||
if (config.url != '/nurseApplet/chatRecord/updateReadStatus' && config.url !=
|
||||
"/nurseApplet/chatRecord/sendMessage" && config.url !=
|
||||
@ -30,6 +41,11 @@ var request = function(config) {
|
||||
header: config.header,
|
||||
success(res) {
|
||||
uni.hideLoading();
|
||||
if (witch == '1') {
|
||||
res.data = decrypt(res.data)
|
||||
res.data = JSON.parse(res.data)
|
||||
}
|
||||
console.log(res.data)
|
||||
resolve(res.data)
|
||||
},
|
||||
fail(err) {
|
||||
|
||||
10
package.json
@ -7,10 +7,10 @@
|
||||
"version": "1.3.1",
|
||||
"description": "图片不失帧,保留原有画质,canvas方法扩展,暴露原生实例,可自行扩展,最好用的canvas插件",
|
||||
"keywords": [
|
||||
"canvas",
|
||||
"画布生成图片",
|
||||
"绘制图片",
|
||||
"商品海报",
|
||||
"朋友圈海报"
|
||||
"canvas",
|
||||
"画布生成图片",
|
||||
"绘制图片",
|
||||
"商品海报",
|
||||
"朋友圈海报"
|
||||
]
|
||||
}
|
||||
|
||||
@ -358,12 +358,6 @@
|
||||
"onReachBottomDistance": 20, //距离底部多远时触发 单位为px
|
||||
"enablePullDownRefresh": true //设置参数为true
|
||||
}
|
||||
}, {
|
||||
"path": "cancel/cancel",
|
||||
"style": {
|
||||
"navigationBarTitleText": "取消订单",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "PointsMall/PointsMall",
|
||||
"style": {
|
||||
@ -804,7 +798,6 @@
|
||||
"navigationBarTitleText": "健康自评历史记录",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}, {
|
||||
"path": "HistoryQuestionnaire/HistoryQuestionnaire",
|
||||
"style": {
|
||||
|
||||
@ -4,18 +4,18 @@
|
||||
<view class="" v-if="Number(region)==2&&Number(userinfo.cityCode)==2">
|
||||
<image v-if="countyName=='东营港经济开发区'" :src="baseurl+ '/profile/weChatPicture/dygmainPage.png'" />
|
||||
<image v-else-if="countyName=='东营经济开发区'" :src="baseurl+ '/profile/weChatPicture/dyjjmainPage.png'" />
|
||||
<image v-else-if="countyName=='东营区'" :src="baseurl+ '/profile/weChatPicture/dyqmainPage.png'" mode="" />
|
||||
<image v-else-if="countyName=='广饶县'" :src="baseurl+ '/profile/weChatPicture/grgmainPage.png'" mode="" />
|
||||
<image v-else-if="countyName=='河口区'" :src="baseurl+ '/profile/weChatPicture/hkmainPage.png'" mode="" />
|
||||
<image v-else-if="countyName=='垦利区'" :src="baseurl+ '/profile/weChatPicture/klgmainPage.png'" mode="" />
|
||||
<image v-else-if="countyName=='利津县'" :src="baseurl+ '/profile/weChatPicture/ljgmainPage.png'" mode="" />
|
||||
<image v-else :src="baseurl+ '/profile/weChatPicture/dysmainPage.png'" mode="" />
|
||||
<image v-else-if="countyName=='东营区'" :src="baseurl+ '/profile/weChatPicture/dyqmainPage.png'" />
|
||||
<image v-else-if="countyName=='广饶县'" :src="baseurl+ '/profile/weChatPicture/grgmainPage.png'" />
|
||||
<image v-else-if="countyName=='河口区'" :src="baseurl+ '/profile/weChatPicture/hkmainPage.png'" />
|
||||
<image v-else-if="countyName=='垦利区'" :src="baseurl+ '/profile/weChatPicture/klgmainPage.png'" />
|
||||
<image v-else-if="countyName=='利津县'" :src="baseurl+ '/profile/weChatPicture/ljgmainPage.png'" />
|
||||
<image v-else :src="baseurl+ '/profile/weChatPicture/dysmainPage.png'" />
|
||||
</view>
|
||||
<image v-else-if="Number(region)==2&&Number(userinfo.cityCode)!=2"
|
||||
:src="baseurl+ '/profile/weChatPicture/dysmainPage.png'" mode="" />
|
||||
<image v-else :src="baseurl+ '/profile/weChatPicture/mainPage.png'" mode="" />
|
||||
:src="baseurl+ '/profile/weChatPicture/dysmainPage.png'" />
|
||||
<image v-else :src="baseurl+ '/profile/weChatPicture/mainPage.png'" />
|
||||
<view class="loginmount" @tap="city">
|
||||
<image src="../../static/pages/address.png" mode=""></image>
|
||||
<image src="@/static/address.png" />
|
||||
<text>
|
||||
{{address?address:'请选择城市'}}
|
||||
</text>
|
||||
@ -23,63 +23,63 @@
|
||||
</view>
|
||||
<view class="contentcenter" :style="Number(region)==2?'height:450rpx':'height:500rpx'">
|
||||
<view class="home" @tap="goonline">
|
||||
<image v-if="Number(region)==2" src="@/static/hkqianyue.png" mode=""></image>
|
||||
<image v-else src="@/static/qianyue.png" mode=""></image>
|
||||
<image v-if="Number(region)==2" src="@/static/hkqianyue.png" />
|
||||
<image v-else src="@/static/qianyue.png" />
|
||||
<view class="name">
|
||||
家医签约
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="goHealthrecords">
|
||||
<image v-if="Number(region)==2" src="@/static/hkhealth.png" mode=""></image>
|
||||
<image v-else src="@/static/health.png" mode=""></image>
|
||||
<image v-if="Number(region)==2" :src="baseurl+ '/profile/weChatPicture/hkhealth.png'" />
|
||||
<image v-else src="@/static/health.png" />
|
||||
<view class="name">
|
||||
健康档案
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="goappoint" v-if="Number(region)!=2">
|
||||
<image src="@/static/serveappoint.png" mode=""></image>
|
||||
<image src="@/static/serveappoint.png" />
|
||||
<view class="name">
|
||||
服务预约
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="count" v-if='region==2'>
|
||||
<image src="@/static/dyexchange.png" mode=""></image>
|
||||
<image src="@/static/dyexchange.png" />
|
||||
<view class="name">
|
||||
东营健康信用中心
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="count" v-if='region!=2'>
|
||||
<image src="@/static/exchange.png" mode=""></image>
|
||||
<image src="@/static/exchange.png" />
|
||||
<view class="name">
|
||||
积分兑换
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="myappointment" v-if="Number(region)!=2">
|
||||
<image src="@/static/appointmen.png" mode=""></image>
|
||||
<image :src="baseurl + '/profile/weChatPicture/appointmen.png'" />
|
||||
<view class="name">
|
||||
我的预约
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap="servicerecord" v-if="Number(region)!=2">
|
||||
<image src="@/static/SERVERECOD.png" mode=""></image>
|
||||
<image src="@/static/SERVERECOD.png" />
|
||||
<view class="name">
|
||||
服务记录
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" @tap='gothreeHighsAndSixDiseases' v-if="Number(region)==2">
|
||||
<image src="@/static/threesix.png" mode=""></image>
|
||||
<image src="@/static/threesix.png" />
|
||||
<view class="name">
|
||||
三高六病
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" v-if="Number(region)==2" @tap='sign'>
|
||||
<image src="@/static/zizhujiance.png" mode=""></image>
|
||||
<image src="@/static/zizhujiance.png" />
|
||||
<view class="name">
|
||||
自主检测
|
||||
</view>
|
||||
</view>
|
||||
<view class="home" v-if="Number(region)==2" @tap="gothreeHundredAndSixty">
|
||||
<image src="@/static/360.png" mode=""></image>
|
||||
<image src="@/static/360.png" />
|
||||
<view class="name">
|
||||
360健康画像
|
||||
</view>
|
||||
@ -91,11 +91,11 @@
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="signmyself" @tap="sign" v-if="Number(region)!=2">
|
||||
<image src="@/static/tizheng.png" mode=""></image>
|
||||
<image :src="baseurl+ '/profile/weChatPicture/tizheng.png'" />
|
||||
</view>
|
||||
<view class="sign" :class="Number(region)==2?'notwo':''">
|
||||
<image @tap="healthtest" src="@/static/healthmyself.png" mode=""></image>
|
||||
<image @tap="gorecords" src="@/static/records.png" mode=""></image>
|
||||
<image @tap="healthtest" src="@/static/healthmyself.png" />
|
||||
<image @tap="gorecords" src="@/static/records.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -1,23 +1,23 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="address">
|
||||
<!-- <image src="../../static/pages/address.png" mode=""></image>
|
||||
<!-- <image src="@/static/address.png" mode=""></image>
|
||||
<text>
|
||||
{{location?location:''}}
|
||||
</text> -->
|
||||
</view>
|
||||
<view class="topbar">
|
||||
<image mode="" :src="require('@/pagesB/images/wenzhenpingtai.png')" @tap="goconsultationplatform"></image>
|
||||
<image mode="" :src="require('@/pagesB/images/hulifuwu.png')" @tap="gosite"></image>
|
||||
<image :src="baseurl+ '/profile/weChatPicture/wenzhenpingtai.png'" @tap=" goconsultationplatform" />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/hulifuwu.png'" @tap="gosite" />
|
||||
</view>
|
||||
<view class="title">
|
||||
常用服务
|
||||
</view>
|
||||
<view class="centerbar topbar">
|
||||
<image mode="" :src="require('@/pagesB/images/yuyueshaicha.png')" @tap="goAppointmentscreening"></image>
|
||||
<image mode="" :src="require('@/pagesB/images/shaichajieguo.png')" @tap="result"></image>
|
||||
<image mode="" :src="require('@/pagesB/images/jiankangshangcheng.png')" @tap="goshopping"></image>
|
||||
<image mode="" :src="require('@/pagesB/images/xinrenfuli.png')" @tap="gomaterialbenefits"></image>
|
||||
<image :src="baseurl+ '/profile/weChatPicture/yuyueshaicha.png'" @tap="goAppointmentscreening" />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/shaichajieguo.png'" @tap="result" />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/jiankangshangcheng.png'" @tap="goshopping" />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/xinrenfuli.png'" @tap="gomaterialbenefits" />
|
||||
</view>
|
||||
<view class="title">
|
||||
<text>健康资讯</text>
|
||||
@ -25,7 +25,7 @@
|
||||
<text>
|
||||
查看更多
|
||||
</text>
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="list">
|
||||
@ -56,6 +56,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseurl: '',
|
||||
pageNum: 1,
|
||||
pageSize: 5,
|
||||
informationCategoryVOList: [], //咨询信息
|
||||
@ -73,6 +74,9 @@
|
||||
this.location = uni.getStorageSync('location')
|
||||
this.getHeathHousing();
|
||||
},
|
||||
onLoad() {
|
||||
this.baseurl = baseurl
|
||||
},
|
||||
methods: {
|
||||
// 第一种 直接映射
|
||||
...mapActions(["openPopup"]),
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="item" @tap="gonotice(listone,'通知公告')">
|
||||
<image src="../../static/pages/tongzhi.png" mode=""></image>
|
||||
<image src="@/static/tongzhi.png" mode=""></image>
|
||||
<view class="title">
|
||||
通知公告
|
||||
</view>
|
||||
@ -18,7 +18,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap="gonotice(listtwo,'健康推送')">
|
||||
<image src="../../static/pages/jiankang.png" mode=""></image>
|
||||
<image src="@/static/jiankang.png" mode=""></image>
|
||||
<view class="title">
|
||||
健康推送
|
||||
</view>
|
||||
@ -35,7 +35,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap="gonotice(listfour,'服务推送')">
|
||||
<image src="../../static/pages/fuwu.png" mode=""></image>
|
||||
<image src="@/static/fuwu.png" mode=""></image>
|
||||
<view class="title">
|
||||
服务推送
|
||||
</view>
|
||||
@ -52,7 +52,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'>
|
||||
<image src="../../static/docHead.png" mode=""></image>
|
||||
<image :src="baseurl + '/profile/weChatPicture/docHead.png'" mode=""></image>
|
||||
<view class="title">
|
||||
{{item.senderName}}
|
||||
</view>
|
||||
@ -79,9 +79,11 @@
|
||||
import {
|
||||
mapMutations
|
||||
} from "vuex";
|
||||
import baseurl from '../../api/baseurl';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseurl: '',
|
||||
listone: null,
|
||||
listtwo: null,
|
||||
listthree: [],
|
||||
@ -97,6 +99,9 @@
|
||||
this.messagescoket();
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.baseurl = baseurl
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(['scoket']),
|
||||
messagescoket() {
|
||||
|
||||
@ -4,12 +4,11 @@
|
||||
<!-- <view class="title">
|
||||
我的
|
||||
</view> -->
|
||||
<image :src="baseurl + '/profile/weChatPicture/background.png'" mode="" class="userbanner"></image>
|
||||
<image src="/static/headsculpture.png" mode="" class="headsculpture" @tap='updatainfo'
|
||||
v-if="!appPersonallist.headPictureUrl">
|
||||
</image>
|
||||
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo' v-else>
|
||||
</image>
|
||||
<image :src="baseurl + '/profile/weChatPicture/background.png'" mode="" class="userbanner" />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/headsculpture.png'" class="headsculpture" @tap='updatainfo'
|
||||
v-if="!appPersonallist.headPictureUrl" />
|
||||
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo'
|
||||
v-else />
|
||||
<view class="namesigning" @tap='updatainfo'>
|
||||
<span class="name">
|
||||
{{appPersonallist.patientName?appPersonallist.patientName:'点击登录'}}
|
||||
@ -35,7 +34,7 @@
|
||||
</view>
|
||||
<view class="Threecategories">
|
||||
<view class="item" @tap="goBehaviorpoints">
|
||||
<image src="../../static/pages/jifen.png" mode=""></image>
|
||||
<image src="@/static/jifen.png" mode=""></image>
|
||||
<view class="text">
|
||||
健康积分
|
||||
<span style="padding: 0 10rpx;"> {{appPersonallist.score>0?appPersonallist.score:0}}</span>
|
||||
@ -50,7 +49,7 @@
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="item" @tap='gocoupon'>
|
||||
<image src="../../static/pages/yhj.png" mode=""></image>
|
||||
<image src="@/static/yhj.png" mode=""></image>
|
||||
<view class="text">
|
||||
优惠券
|
||||
<span
|
||||
@ -65,11 +64,11 @@
|
||||
</view>
|
||||
<view class="righttitle" @tap="goorder(0,'')">
|
||||
查看全部
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
<view class="orderStatus">
|
||||
<view class="item" @tap="goorder(1,'WAIT_PAY')">
|
||||
<image src="../../static/pages/daifukuan.png" mode=""></image>
|
||||
<image src="@/static/daifukuan.png" mode=""></image>
|
||||
<view class="text">
|
||||
待付款
|
||||
</view>
|
||||
@ -80,10 +79,9 @@
|
||||
v-if="appPersonallist.waitPayCount>=100">
|
||||
99+
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="item" @tap="goorder(2,'WAIT_RECEIVED_GOODS')">
|
||||
<image src="../../static/pages/daishouhuo.png" mode=""></image>
|
||||
<image src="@/static/daishouhuo.png" mode=""></image>
|
||||
<view class="text">
|
||||
待收货
|
||||
</view>
|
||||
@ -97,7 +95,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap="goorder(3,'RECEIVED_GOODS')">
|
||||
<image src="../../static/pages/daipingjia.png" mode=""></image>
|
||||
<image src="@/static/daipingjia.png" mode=""></image>
|
||||
<view class="text">
|
||||
待评价
|
||||
</view>
|
||||
@ -111,7 +109,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap="goorder(4,'EVALUATED')">
|
||||
<image src="../../static/pages/yiwancheng.png" mode=""></image>
|
||||
<image src="@/static/yiwancheng.png" mode=""></image>
|
||||
<view class="text">
|
||||
已完成
|
||||
</view>
|
||||
@ -130,19 +128,19 @@
|
||||
</view>
|
||||
<view class="orderStatus">
|
||||
<!-- <view class="item" @tap='goHealthrecords'>
|
||||
<image src="../../static/pages/jiankangdangan.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/jiankangdangan.png')"mode=""></image>
|
||||
<view class="text">
|
||||
健康档案
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="item" @tap="gomyappiont">
|
||||
<image src="../../static/pages/wodeyuyue.png" mode=""></image>
|
||||
<image src="@/static/wodeyuyue.png" mode=""></image>
|
||||
<view class="text">
|
||||
我的预约
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap="evaluation">
|
||||
<image src="../../static/pages/fuwupingjia.png" mode=""></image>
|
||||
<image src="@/static/fuwupingjia.png" mode=""></image>
|
||||
<view class="text">
|
||||
服务评价
|
||||
</view>
|
||||
@ -155,7 +153,7 @@
|
||||
护理服务订单
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="myorder titles" @tap="expertOrder">
|
||||
@ -163,7 +161,7 @@
|
||||
专家咨询订单
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="myorder titles" @tap="Signing">
|
||||
@ -171,7 +169,7 @@
|
||||
签约信息
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="myorder titles" @tap="remove()">
|
||||
@ -179,7 +177,7 @@
|
||||
退出登录
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="mask" @click.stop='showhome = false' v-if="showhome">
|
||||
@ -214,9 +212,6 @@
|
||||
import {
|
||||
existPatientInfo
|
||||
} from '@/api/pages/startup/index.js'
|
||||
import {
|
||||
createMobileToken
|
||||
} from '@/api/pages/login/index.js'
|
||||
import {
|
||||
checkSignApply
|
||||
} from '@/api/pages/homepage/homepage.js'
|
||||
@ -351,7 +346,7 @@
|
||||
}
|
||||
})
|
||||
} else {
|
||||
that.removes();
|
||||
// that.removes();
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
</view>
|
||||
<view class="text_con">
|
||||
<view class="text_con_pic">
|
||||
<image src="@/static/pagesB/shflt.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/shflt.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="text_con_right">
|
||||
信息仅用于授权,您的资料将被严格保密
|
||||
@ -20,7 +20,8 @@
|
||||
<u-input v-model="form.cardNo" placeholder="请输入身份证号" @blur="searchfun_close" />
|
||||
<view class="idScan">
|
||||
<!-- <u-icon slot="right" name="arrow-right"></u-icon> -->
|
||||
<image style="width: 28rpx;height: 28rpx;" src="@/static/pagesB/sweep.png" mode="">
|
||||
<image style="width: 28rpx;height: 28rpx;"
|
||||
:src="require('@/pagesC/images/sweep.png')" mode="">
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
@ -51,7 +52,7 @@
|
||||
<text v-if="!nation">请选择民族</text>
|
||||
<!-- <text v-if="!householdRelationship">请选择与户主关系</text> -->
|
||||
<text v-else class="testitem">{{nation}}</text>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</u-form-item>
|
||||
@ -61,7 +62,7 @@
|
||||
<view class="select" @tap='timeshow=true'>
|
||||
<text v-if="form.birthDate==''">请选择出生日期</text>
|
||||
<text v-else class="testitem">{{form.birthDate}}</text>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</u-form-item>
|
||||
@ -92,7 +93,7 @@
|
||||
<text v-if="!addressinfo">请选择所属区域</text>
|
||||
<text v-else class="testitem"
|
||||
style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{addressinfo}}</text>
|
||||
<!-- <image src="@/static/huijiantou.png" mode=""></image> -->
|
||||
<!-- <image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="name">
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<view class="item" @tap='show=true'>退款原因
|
||||
<span v-if="dictname==''">请选择</span>
|
||||
<span v-else style='color: #000000;'>{{dictname}}</span>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="priceinfo">
|
||||
<span v-if="order.orderType=='DIRECT_BUY'||order.orderType =='HEALTH_CONSULTATION'">退款金额</span>
|
||||
|
||||
@ -5,12 +5,15 @@
|
||||
<view class="title">
|
||||
{{title}}
|
||||
</view>
|
||||
<image mode="" :src="require('../images/putongka.png')" v-if='region==2&&score>=0&&score<800' />
|
||||
<image mode="" :src="require('../images/yinka.png')" v-if='region==2&&score>=800&&score<1600' />
|
||||
<image mode="" :src="require('../images/jinka.png')" v-if='region==2&&score>=1600&&score<2400' />
|
||||
<image mode="" :src="require('../images/bojinka.png')" v-if='region==2&&score>=2400&&score<3000' />
|
||||
<image mode="" :src="require('../images/zuanshika.png')" v-if='region==2&&score>=3000' />
|
||||
<image src="@/static/pagesB/Behave.png" mode="" v-if='region!=2' :style="region!=2?'height:350rpx':''">
|
||||
<span v-if='region==2'>
|
||||
<image :src="baseurl+ '/profile/weChatPicture/putongka.png'" v-if='score>=0&&score<800' />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/yinka.png'" v-if='score>=800&&score<1600' />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/jinka.png'" v-if='score>=1600&&score<2400' />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/bojinka.png'" v-if='score>=2400&&score<3000' />
|
||||
<image :src="baseurl+ '/profile/weChatPicture/zuanshika.png'" v-if='score>=3000' />
|
||||
</span>
|
||||
<image :src="require('@/pagesC/images/Behave.png')" mode="" v-if='region!=2'
|
||||
:style="region!=2?'height:350rpx':''">
|
||||
</image>
|
||||
<view class="name" v-if='region!=2'>我的积分
|
||||
</view>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<view class="content">
|
||||
{{updata.goodsAttributeName}}
|
||||
</view>
|
||||
<image src="@/static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="Discount common" @tap="goodsDetailslist.couponList.length>0?couponshow=true:''">
|
||||
<view class="selected">
|
||||
@ -25,7 +25,8 @@
|
||||
<view class="content" v-if="coupon">
|
||||
已选择 {{coupon.couponTitle}}
|
||||
</view>
|
||||
<image src="@/static/huijiantou.png" mode="" v-if="goodsDetailslist.couponList.length>0"></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""
|
||||
v-if="goodsDetailslist.couponList.length>0"></image>
|
||||
</view>
|
||||
<view class="service common">
|
||||
<view class="selected">
|
||||
@ -53,7 +54,7 @@
|
||||
</view>
|
||||
<u-mask :show="buyshow" @click="buyshow = false" class='mask'>
|
||||
<view class="PurchasePage" @click.stop=''>
|
||||
<image class="close" src="@/static/pagesB/gb.png" mode="" @tap='buyshow=false'></image>
|
||||
<image :src="require('@/pagesC/images/gb.png')" mode="" @tap='buyshow=false'></image>
|
||||
</image>
|
||||
<view class="topcontent" style="width: 96%;height: 300rpx;">
|
||||
<view class="image">
|
||||
@ -79,7 +80,7 @@
|
||||
@scrolltolower="lower" @scroll="scroll">
|
||||
<view class="bodys" @tap='upaddress()'>
|
||||
<view class="addressinfo">
|
||||
<image src="@/static/pagesB/locatinsmall.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/locatinsmalltwo.png')" mode=""></image>
|
||||
<span v-if="loginFlag">
|
||||
<view class="namephone" v-if='userid'>
|
||||
{{updata.receiver}},{{updata.phone}}
|
||||
@ -150,7 +151,7 @@
|
||||
支付方式
|
||||
</view>
|
||||
<view class="chat">
|
||||
<image src="@/static/pagesB/chat.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/chat.png')" mode=""></image>
|
||||
<span>微信支付</span>
|
||||
</view>
|
||||
</view>
|
||||
@ -165,7 +166,7 @@
|
||||
<u-toast ref="uToast" />
|
||||
<u-mask :show="usershow" class='mask'>
|
||||
<view class="information">
|
||||
<image src="@/static/pagesB/information.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/information.png')" mode=""></image>
|
||||
<view class="title">
|
||||
请完善个人信息
|
||||
</view>
|
||||
@ -179,7 +180,8 @@
|
||||
</u-mask>
|
||||
<u-mask :show="couponshow" class='mask' @click="couponshow = false">
|
||||
<view class="couponmask" @click.stop=''>
|
||||
<image class="close" src="@/static/pagesB/gb.png" mode="" @tap='couponshow=false'></image>
|
||||
<image class="close" :src="require('@/pagesC/images/gb.png')" mode="" @tap='couponshow=false'>
|
||||
</image>
|
||||
</image>
|
||||
<view class="titles">
|
||||
选择优惠券
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||
<image src="@/static/fanhui.png" mode="" @tap="goprevious"></image>
|
||||
<image :src="require('@/pagesC/images/fanhui.png')" mode="" @tap="goprevious"></image>
|
||||
<view class="title" @tap="goprevious">
|
||||
商品订单
|
||||
</view>
|
||||
@ -16,7 +16,7 @@
|
||||
<view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;">
|
||||
<view class="Apayment" v-for='(item,index) in orderlist' :key="index">
|
||||
<view class="names">{{item.orderTime}}
|
||||
<image class="picture" src="../../static/huijiantou.png" mode=""></image>
|
||||
<image class="picture" :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
<span v-if="item.orderStatus=='WAIT_PAY'">待付款</span>
|
||||
<span v-if="item.orderStatus=='WAIT_REFUND'">退款中</span>
|
||||
<span v-if="item.orderStatus=='CANCEL'">已取消</span>
|
||||
@ -35,7 +35,7 @@
|
||||
<view class="detailslist">
|
||||
<image :src="baseurl+item.personPictureUrl" mode=""
|
||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.personPictureUrl"></image>
|
||||
<image src="../../static/headsculpture.png" mode=""
|
||||
<image :src="require('@/pagesC/images/headsculpture.png')"
|
||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.personPictureUrl"></image>
|
||||
<image :src="baseurl+item.attributePitureUrl" mode=""
|
||||
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
||||
@ -379,4 +379,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import "./CommodityOrder.scss";
|
||||
</style>
|
||||
</style>
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||
<image src="@/static/fanhui.png" mode="" @tap="goprevious"></image>
|
||||
<image :src="require('@/pagesC/images/fanhui.png')" mode="" @tap="goprevious"></image>
|
||||
<view class="title" @tap="goprevious">
|
||||
专家咨询订单
|
||||
</view>
|
||||
@ -16,7 +16,7 @@
|
||||
<view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;">
|
||||
<view class="Apayment" v-for='(item,index) in orderlist' :key="index">
|
||||
<view class="names">{{item.orderTime}}
|
||||
<image class="picture" src="../../static/huijiantou.png" mode=""></image>
|
||||
<image class="picture" :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
<span v-if="item.orderStatus=='WAIT_PAY'">待付款</span>
|
||||
<span v-if="item.orderStatus=='WAIT_REFUND'">退款中</span>
|
||||
<span v-if="item.orderStatus=='CANCEL'">已取消</span>
|
||||
@ -806,4 +806,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<!-- <img src="../images/beijing.png" alt="" class="background-image" /> -->
|
||||
<view class="health" v-if="healthdata">
|
||||
<view class="health_top">
|
||||
<image v-if="healthdata.hiEva < 650" :src="require('../images/red.png')" />
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||
<image src="@/static/fanhui.png" mode="" @tap="goprevious"></image>
|
||||
<image :src="require('@/pagesC/images/fanhui.png')" mode="" @tap="goprevious"></image>
|
||||
<view class="title" @tap="goprevious">
|
||||
健康商城
|
||||
</view>
|
||||
@ -15,7 +15,7 @@
|
||||
<u-tabs :list="GoodsCategorychildrenlist" :current="tabIndex" @change="toggleTab" active-color='#26A888'
|
||||
v-if="GoodsCategorychildrenlist.length>=2"></u-tabs>
|
||||
<view class="fenlei" @tap='toggleTab(1111111111111)' v-if="GoodsCategorychildrenlist.length>=2">
|
||||
<image src="@/static/pagesB/fenlei.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/fenlei.png')" mode=""></image>
|
||||
<view class="">
|
||||
分类
|
||||
</view>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
<u-toast ref="uToast" />
|
||||
<u-mask :show="usershow" class='mask'>
|
||||
<view class="information">
|
||||
<image src="@/static/pagesB/information.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/information.png')" mode=""></image>
|
||||
<view class="title">
|
||||
请完善个人信息
|
||||
</view>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
我的评价
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -16,10 +16,14 @@
|
||||
<view class="tiemitem">
|
||||
</view>
|
||||
<view class="details">
|
||||
<image src="../../static/headsculpture.png" mode="" v-if="item.orderType== 'FAMILY_DOCTOR' ">
|
||||
<image :src="require('@/pagesC/images/headsculpture.png')" mode=""
|
||||
v-if="item.orderType== 'FAMILY_DOCTOR' ">
|
||||
</image>
|
||||
<image :src="baseurl+item.pictureUrl" mode=""
|
||||
v-if="item.orderType== 'INTEGRAL_EXCHANGE' || item.orderType== 'DIRECT_BUY' || item.orderType== 'APPOINTMENT_ORDER'">
|
||||
</image>
|
||||
<image :src="baseurl+item.personPictureUrl" mode="" v-if="item.orderType== 'HEALTH_CONSULTATION'">
|
||||
</image>
|
||||
<image :src="baseurl+item.pictureUrl" mode="" v-if="item.orderType== 'INTEGRAL_EXCHANGE' || item.orderType== 'DIRECT_BUY' || item.orderType== 'APPOINTMENT_ORDER'" ></image>
|
||||
<image :src="baseurl+item.personPictureUrl" mode="" v-if="item.orderType== 'HEALTH_CONSULTATION'" ></image>
|
||||
</image>
|
||||
<!-- <image :src="baseurl+item.pictureUrl" mode="" v-else></image> -->
|
||||
<view class="ppointment">
|
||||
@ -99,7 +103,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseurl:'',
|
||||
baseurl: '',
|
||||
evaluateshow: false, //家医评价
|
||||
evaluatenurse: false, //护理站评价
|
||||
parentId: '',
|
||||
@ -123,7 +127,7 @@
|
||||
},
|
||||
openId: '',
|
||||
orderType: '',
|
||||
orderSource:'',
|
||||
orderSource: '',
|
||||
|
||||
|
||||
}
|
||||
@ -239,9 +243,9 @@
|
||||
console.log(this.list, '45')
|
||||
if (this.orderType == "HEALTH_CONSULTATION" || this.orderType == "INTEGRAL_EXCHANGE" || this.orderType ==
|
||||
"DIRECT_BUY" || this.orderType == "FAMILY_DOCTOR") {
|
||||
// this.list.evaluateSatisfaction=this.evaluateSatisfaction
|
||||
this.list.compositeScore=this.rateval
|
||||
this.list.orderSource=this.orderSource
|
||||
// this.list.evaluateSatisfaction=this.evaluateSatisfaction
|
||||
this.list.compositeScore = this.rateval
|
||||
this.list.orderSource = this.orderSource
|
||||
insertGoodsEvaluate(this.list).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.$refs.uToast.show({
|
||||
@ -732,4 +736,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -317,4 +317,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -86,4 +86,4 @@
|
||||
::v-deep .utd {
|
||||
color: #26A888 !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -1,109 +0,0 @@
|
||||
.app {
|
||||
background-color: #F7F5F5;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
color: #000000;
|
||||
padding-top: 20rpx;
|
||||
|
||||
.concent {
|
||||
width: 95%;
|
||||
height: 100%;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||
border-radius: 5rpx;
|
||||
margin: 0 auto;
|
||||
.refund {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 95%;
|
||||
height: 100rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
border-bottom: 1rpx solid #E6E6E6;
|
||||
span:nth-child(1) {
|
||||
|
||||
line-height: 100rpx;
|
||||
display: inline-block;
|
||||
margin-left: 3%;
|
||||
font-size: 30rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
color: #F44B2F;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 53%;
|
||||
transform: translateY(-50%);
|
||||
right: 15%;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
span:nth-child(3) {
|
||||
position: absolute;
|
||||
color: #F44B2F;
|
||||
display: inline-block;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 5%;
|
||||
}
|
||||
|
||||
span:nth-child(4) {
|
||||
color: #F44B2F;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 53%;
|
||||
transform: translateY(-50%);
|
||||
right: 0%;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.reason {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 95%;
|
||||
height: 100rpx;
|
||||
font-family: Source Han Sans CN;
|
||||
|
||||
.reasondata {
|
||||
position: relative;
|
||||
display: block;
|
||||
font-size: 30rpx;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
margin-left: 3%;
|
||||
margin-top: 4%;
|
||||
}
|
||||
|
||||
.textarea {
|
||||
position: relative;
|
||||
top: 21%;
|
||||
left: 3%;
|
||||
letter-spacing: 0.2em;
|
||||
::v-deep .uni-textarea-textarea{
|
||||
font-size: 28rpx;
|
||||
|
||||
}
|
||||
::v-deep .uni-textarea-compute, .uni-textarea-line, .uni-textarea-placeholder, .uni-textarea-textarea{
|
||||
font-size: 28rpx;
|
||||
}
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
||||
.bottom{
|
||||
position: absolute;
|
||||
width: 496rpx;
|
||||
height: 61rpx;
|
||||
background: #26A888;
|
||||
border-radius: 5rpx;
|
||||
text-align: center;
|
||||
line-height: 61rpx;
|
||||
color: #FFFFFF;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 4%;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,57 +0,0 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="concent">
|
||||
<view class="refund">
|
||||
<span>退款金额</span>
|
||||
<span>¥</span>
|
||||
<!-- <span></span> -->
|
||||
<span>{{list.totalPrice}}</span>
|
||||
</view>
|
||||
<view class="reason">
|
||||
<view class="reasondata">原因</view>
|
||||
<view class="textarea">
|
||||
<textarea v-model="value" :type="type" :border="border" placeholder="请输入您的退款原因" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="bottom">
|
||||
确认取消
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
list:[],
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
console.log(options,'999')
|
||||
this.list = JSON.parse(options.list)
|
||||
console.log(this.list, '99')
|
||||
// console.log(options,'88')
|
||||
this.baseurl = baseurl
|
||||
this.orderTypeList.goodsOrderId = options.goodsOrderId
|
||||
let that = this
|
||||
// const value = uni.getStorageSync('patientId');
|
||||
// const value2 = uni.getStorageSync('openid');
|
||||
// if (value && value2) {
|
||||
// that.orderTypeList.patientId = value
|
||||
// that.orderTypeList.openid = value2
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import './cancel.scss'
|
||||
</style>
|
||||
@ -118,4 +118,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -416,4 +416,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
:style="address=='请选择所属地区'?'font-size:22rpx;font-weight: 400;color: #8E8E8E !important;':''">
|
||||
{{address}}
|
||||
</view>
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="text">
|
||||
患者姓名
|
||||
@ -148,7 +148,7 @@
|
||||
请选择支付方式
|
||||
</view>
|
||||
<view class="chat">
|
||||
<image src="@/static/pagesB/chat.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/chat.png')" mode=""></image>
|
||||
<span>微信支付</span>
|
||||
</view>
|
||||
<view class="submits" @tap='buy'>
|
||||
@ -481,4 +481,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import './confirmation.scss';
|
||||
</style>
|
||||
</style>
|
||||
@ -4,13 +4,13 @@
|
||||
<view class="card">
|
||||
<view class="topbar">
|
||||
<view class="item" @tap='goimagetextConsultation'>
|
||||
<image src="@/static/pagesB/tuwen.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/tuwen.png')" mode=""></image>
|
||||
<view class="text">
|
||||
图文问诊
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap='gomedicine'>
|
||||
<image src="@/static/pagesB/zhuanjia.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/zhuanjia.png')" mode=""></image>
|
||||
<view class="text">
|
||||
专家问诊
|
||||
</view>
|
||||
@ -24,7 +24,7 @@
|
||||
<view class="list" v-if="HospitalPersonlist">
|
||||
<view class="item" @tap="godoctordetails" v-for="item in HospitalPersonlist">
|
||||
<image v-if="item.personPictureUrl" :src="baseurl+item.personPictureUrl" mode=""></image>
|
||||
<image v-else src="@/static/docHead.png" mode=""></image>
|
||||
<image v-else :src="baseurl + '/profile/weChatPicture/docHead.png'" />
|
||||
<view class="name">
|
||||
{{item.personName}}
|
||||
</view>
|
||||
@ -145,12 +145,9 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
} else {
|
||||
this.info()
|
||||
}
|
||||
|
||||
},
|
||||
//医生详情
|
||||
// godoctordetails() {
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||
<image src="@/static/fanhui.png" mode="" @tap="goprevious"></image>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_PAY'" @tap="goprevious">待付款</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'" @tap="goprevious">退款中</view>
|
||||
<view class="title" v-if="list.orderStatus=='CANCEL'" @tap="goprevious">已取消</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'" @tap="goprevious">待接单</view>
|
||||
<image :src="require('@/pagesC/images/fanhui.png')" mode="" @tap="goprevious"></image>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_PAY'" @tap="goprevious">待付款</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'" @tap="goprevious">退款中</view>
|
||||
<view class="title" v-if="list.orderStatus=='CANCEL'" @tap="goprevious">已取消</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'" @tap="goprevious">待接单</view>
|
||||
|
||||
<view class="title" v-if="list.orderStatus=='COMPLETED'" @tap="goprevious">待评价</view>
|
||||
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'" @tap="goprevious">待服务</view>
|
||||
<view class="title" v-if="list.orderStatus=='EVALUATED'" @tap="goprevious">已评价</view>
|
||||
<view class="title" v-if="list.orderStatus=='COMPLETED'" @tap="goprevious">待评价</view>
|
||||
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'" @tap="goprevious">待服务</view>
|
||||
<view class="title" v-if="list.orderStatus=='EVALUATED'" @tap="goprevious">已评价</view>
|
||||
|
||||
<view class="title" v-if="list.orderStatus=='PAY'" @tap="goprevious">待发货</view>
|
||||
<view class="title" v-if="list.orderStatus=='REFUNDED'" @tap="goprevious">已退款</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_RETURNED_GOODS'" @tap="goprevious">待退货</view>
|
||||
<view class="title" v-if="list.orderStatus=='RETURNED_GOODS'" @tap="goprevious">退款成功</view>
|
||||
<view class="title" v-if="list.orderStatus=='PAY'" @tap="goprevious">待发货</view>
|
||||
<view class="title" v-if="list.orderStatus=='REFUNDED'" @tap="goprevious">已退款</view>
|
||||
<view class="title" v-if="list.orderStatus=='WAIT_RETURNED_GOODS'" @tap="goprevious">待退货</view>
|
||||
<view class="title" v-if="list.orderStatus=='RETURNED_GOODS'" @tap="goprevious">退款成功</view>
|
||||
|
||||
</u-navbar>
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
<view class="content">
|
||||
<view class="service">
|
||||
<image src="@/static/pagesB/persone.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/persone.png')" mode=""></image>
|
||||
<span>医生服务</span>
|
||||
</view>
|
||||
<view class="orderitem">
|
||||
@ -138,7 +138,7 @@
|
||||
<span>订单金额</span><span>¥{{list.totalPrice}}</span>
|
||||
|
||||
</view>
|
||||
<!-- <view class="amount">
|
||||
<!-- <view class="amount">
|
||||
<span>预约日期</span><span>¥{{list.appointmentDate}}</span>
|
||||
|
||||
</view> -->
|
||||
@ -201,7 +201,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseurl:'',
|
||||
baseurl: '',
|
||||
timestamp: 0,
|
||||
countvalue: 0,
|
||||
list: [],
|
||||
@ -211,7 +211,7 @@
|
||||
},
|
||||
evaluateshow: false,
|
||||
orderTypeList: {
|
||||
orderNo:'',
|
||||
orderNo: '',
|
||||
|
||||
},
|
||||
order: [],
|
||||
@ -328,4 +328,4 @@
|
||||
</script>
|
||||
<style lang="scss">
|
||||
@import './consulted.scss'
|
||||
</style>
|
||||
</style>
|
||||
@ -153,4 +153,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import "./coupon.scss";
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<view class="inputtext" v-if="address">
|
||||
{{address}}
|
||||
</view>
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="text">
|
||||
患者姓名
|
||||
@ -48,7 +48,7 @@
|
||||
<view class="select" @tap='gochoosedoctor'>
|
||||
<text v-if="!doctorName">请选择医生</text>
|
||||
<text v-else style="font-size: 26rpx;color: #303133;">{{doctorName}}</text>
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="title">
|
||||
@ -352,4 +352,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import './createnewconsultation.scss';
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<image src="../../static/headsculpture.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/headsculpture.png')" mode=""></image>
|
||||
<view class="name">
|
||||
张三
|
||||
</view>
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
<view class="rate">
|
||||
<view class="images">
|
||||
<view class="itemimgs" v-for="(item,index) in file">
|
||||
<image class="delimg" src="@/static/pagesB/gb2.png" mode="" style="color: red;" @tap='delimg(item)'>
|
||||
<image class="delimg" :src="require('@/pagesC/images/gb2.png')" mode="" style="color: red;"
|
||||
@tap='delimg(item)'>
|
||||
</image>
|
||||
<image class="itemimg" :src="item" mode=""></image>
|
||||
</view>
|
||||
@ -14,7 +15,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="videotape item">
|
||||
<image src="../../static/video.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/video.png')"mode=""></image>
|
||||
<view class="title">
|
||||
录像
|
||||
</view>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<view class="title">
|
||||
签约时出示二维码
|
||||
</view>
|
||||
<image src="@/static/pagesB/ma2x.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/ma2x.png')" mode=""></image>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lefttext">
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
<view class="rate">
|
||||
<view class="images">
|
||||
<view class="itemimgs" v-for="(item,index) in file">
|
||||
<image class="delimg" src="@/static/pagesB/gb2.png" mode="" style="color: red;" @tap='delimg(item)'>
|
||||
<image class="delimg" :src="require('@/pagesC/images/gb2.png')" mode="" style="color: red;"
|
||||
@tap='delimg(item)'>
|
||||
</image>
|
||||
<image class="itemimg" :src="item" mode=""></image>
|
||||
</view>
|
||||
@ -14,7 +15,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="videotape item">
|
||||
<image src="../../static/video.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/video.png')" mode=""></image>
|
||||
<view class="title">
|
||||
录像
|
||||
</view>
|
||||
@ -142,9 +143,9 @@
|
||||
},
|
||||
},
|
||||
onLoad(options) {
|
||||
console.log(options,'4')
|
||||
console.log(options, '4')
|
||||
this.orderlist = JSON.parse(options.item)
|
||||
console.log(this.orderlist,'47')
|
||||
console.log(this.orderlist, '47')
|
||||
this.delta = options.delta
|
||||
},
|
||||
onShow() {
|
||||
@ -164,4 +165,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import './goodsorderRate.scss';
|
||||
</style>
|
||||
</style>
|
||||
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="vacancies">
|
||||
<image src="@/static/pagesB/Behave.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/Behave.png')" mode=""></image>
|
||||
<view class="lefttext">
|
||||
健康豆余额
|
||||
</view>
|
||||
<view class="righttext">
|
||||
<!-- <image src="../../static/jfgz.png" mode=""></image>
|
||||
<!-- <image :src="require('@/pagesC/images/jfgz.png')"mode=""></image>
|
||||
<view class="">
|
||||
积分规则
|
||||
</view> -->
|
||||
@ -48,14 +48,15 @@
|
||||
</view>
|
||||
<u-mask :show="gainshow" @click="gainshow = false">
|
||||
<view class="mask" @click.stop="">
|
||||
<image class="close" src="@/static/pagesB/gb.png" mode="" @tap='gainshow=false'></image>
|
||||
<image class="close" :src="require('@/pagesC/images/gb.png')" mode="" @tap='gainshow=false'>
|
||||
</image>
|
||||
</image>
|
||||
<view class="title">
|
||||
获取方式
|
||||
</view>
|
||||
<view class="maskitems">
|
||||
<view class="item">
|
||||
<image src="@/static/pagesB/qiandao.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/qiandao.png')" mode=""></image>
|
||||
<view class="titletext">
|
||||
累计签到
|
||||
<span style='padding: 0 5rpx;' v-if="list.totalSignInDays"> {{list.totalSignInDays}}</span>
|
||||
@ -78,7 +79,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="item" style="background-color: #F44B2F;">
|
||||
<image src="@/static/pagesB/yaoqing.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/yaoqing.png')" mode=""></image>
|
||||
<view class="titletext">
|
||||
每邀请
|
||||
<span style='padding: 0 5rpx;'> 1</span>
|
||||
@ -99,7 +100,8 @@
|
||||
</u-mask>
|
||||
<u-mask :show="buyshow" @click="buyshow = false">
|
||||
<view class="PurchasePage" @click.stop=''>
|
||||
<image class="close" src="@/static/pagesB/gb.png" mode="" @tap='buyshow=false'></image>
|
||||
<image class="close" :src="require('@/pagesC/images/gb.png')" mode="" @tap='buyshow=false'>
|
||||
</image>
|
||||
</image>
|
||||
<view class="topcontent" style="width: 96%;">
|
||||
<view class="image">
|
||||
@ -119,7 +121,7 @@
|
||||
</view>
|
||||
<view class="bodys" @tap='upaddress()'>
|
||||
<view class="addressinfo">
|
||||
<image src="@/static/pagesB/locatinsmall.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/locatinsmalltwo.png')" mode=""></image>
|
||||
<span v-if="loginFlag">
|
||||
<view class="namephone" v-if='userid'>
|
||||
{{updata.receiver}},{{updata.phone}}
|
||||
@ -167,7 +169,7 @@
|
||||
</u-popup>
|
||||
<u-mask :show="usershow" class='masks'>
|
||||
<view class="information">
|
||||
<image src="@/static/pagesB/information.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/information.png')" mode=""></image>
|
||||
<view class="title">
|
||||
请完善个人信息
|
||||
</view>
|
||||
@ -259,7 +261,6 @@
|
||||
this.baseurl = baseurl
|
||||
this.pageNum = 1
|
||||
this.selectExchangeGoodsinfo();
|
||||
this.baseurl = baseurl
|
||||
this.yapqingbeijingimg = baseurl + '/profile/appletPicture/inviteFriendsTwo.png'
|
||||
var that = this
|
||||
const value = uni.getStorageSync('patientId');
|
||||
|
||||
|
Before Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 62 KiB |
@ -17,7 +17,7 @@
|
||||
<view class="time">
|
||||
{{item.createTime?item.createTime:''}}
|
||||
</view>
|
||||
<image src="../../static/docHead.png" mode=""></image>
|
||||
<image :src="baseurl + '/profile/weChatPicture/docHead.png'" mode=""></image>
|
||||
<view class="name">
|
||||
{{item.doctorName?item.doctorName+' ':' '}} (
|
||||
{{item.problemDescription?item.problemDescription:''}} )
|
||||
@ -41,6 +41,7 @@
|
||||
import {
|
||||
mapMutations
|
||||
} from "vuex";
|
||||
import baseurl from '../../api/baseurl';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -66,6 +67,7 @@
|
||||
},
|
||||
listtotal: 0,
|
||||
listinfo: [],
|
||||
baseurl: '',
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@ -79,6 +81,9 @@
|
||||
}
|
||||
this.info();
|
||||
},
|
||||
onLoad() {
|
||||
this.baseurl = baseurl
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(['scoket']),
|
||||
messagescoket() {
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
<view class="info">
|
||||
<view class="disease" style="border: none;" @tap="godisease">
|
||||
<view class="title" style="">基础疾病:</view>
|
||||
<image class="pictureA" src="../../static/huijiantou.png" mode=""></image>
|
||||
<image class="pictureA" :src="require('@/pagesC/images/huijiantou.png')" mode=""></image>
|
||||
<view style="padding-right: 10rpx;display: inline-block;" v-for="(item,index) in query.diseaseInfoList">
|
||||
{{item.diseaseName}}
|
||||
</view>
|
||||
|
||||
@ -14,7 +14,8 @@
|
||||
<text class="atAddress_txt">当前定位</text>
|
||||
<view class="atAddress_city">
|
||||
<view>
|
||||
<image style="width: 30rpx;height: 38rpx;" src="../../static/dw2x.png" mode=""></image>
|
||||
<image style="width: 30rpx;height: 38rpx;" :src="require('@/pagesC/images/dw2x.png')" mode="">
|
||||
</image>
|
||||
</view>
|
||||
<view style="margin-left: 15rpx;"><text>{{ address }}</text></view>
|
||||
<view class="atAddress_regain" style="margin-left: 27rpx;" @click="anewGain">重新获取...</view>
|
||||
@ -111,8 +112,7 @@
|
||||
},
|
||||
//获取当前位置
|
||||
getAddress() {
|
||||
//vm === vue实例对象
|
||||
let vm = this;
|
||||
let that = this;
|
||||
uni.getLocation({
|
||||
type: 'wgs84',
|
||||
//成功
|
||||
@ -124,7 +124,7 @@
|
||||
url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=location', //腾讯官方逆解析接口,可直接复制
|
||||
data: {
|
||||
location: location,
|
||||
'key': "Q4DBZ-UIMC2-B63UX-CUZ6A-S3UT7-TBF3V", //自己申请的Key
|
||||
'key': "7Y7BZ-PVXRA-IPYKT-C6YKF-YS3VF-LMFWJ", //自己申请的Key
|
||||
},
|
||||
method: "GET",
|
||||
success(res) {
|
||||
@ -138,6 +138,7 @@
|
||||
}
|
||||
uni.setStorageSync('location', res.data.result.address_component
|
||||
.city)
|
||||
that.address = res.data.result.address_component.city
|
||||
},
|
||||
fail: res => {
|
||||
console.log(res.errMsg, '解析失败返回的错误信息');
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<image src="../../static/logo.png" mode=""></image>
|
||||
<image :src="require('@/pagesC/images/logo.png')" mode=""></image>
|
||||
<!-- <view class="text">
|
||||
新医路健康服务平台
|
||||
</view> -->
|
||||
@ -112,20 +112,25 @@
|
||||
url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=location', //腾讯官方逆解析接口,可直接复制
|
||||
data: {
|
||||
location: location,
|
||||
'key': "Q4DBZ-UIMC2-B63UX-CUZ6A-S3UT7-TBF3V", //自己申请的Key
|
||||
'key': "7Y7BZ-PVXRA-IPYKT-C6YKF-YS3VF-LMFWJ", //自己申请的Key
|
||||
},
|
||||
method: "GET",
|
||||
success(res) {
|
||||
var address = res.data.result.address_component.city
|
||||
if (address == '德州市') {
|
||||
uni.setStorageSync("region", 1)
|
||||
} else if (address == '东营市') {
|
||||
if (!res.data.result) {
|
||||
uni.setStorageSync("region", 2)
|
||||
} else if (address == '济南市') {
|
||||
uni.setStorageSync("region", 3)
|
||||
uni.setStorageSync("location", '东营市')
|
||||
} else {
|
||||
var address = res.data.result.address_component.city
|
||||
if (address == '德州市') {
|
||||
uni.setStorageSync("region", 1)
|
||||
} else if (address == '东营市') {
|
||||
uni.setStorageSync("region", 2)
|
||||
} else if (address == '济南市') {
|
||||
uni.setStorageSync("region", 3)
|
||||
}
|
||||
uni.setStorageSync('location', res.data.result.address_component
|
||||
.city)
|
||||
}
|
||||
uni.setStorageSync('location', res.data.result.address_component
|
||||
.city)
|
||||
},
|
||||
fail: res => {
|
||||
console.log(res.errMsg, '解析失败返回的错误信息');
|
||||
@ -238,4 +243,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import "./login.scss";
|
||||
</style>
|
||||
</style>
|
||||
@ -4,7 +4,7 @@
|
||||
<view class="detailslist">
|
||||
<image :src="baseurl+order.personPictureUrl" mode=""
|
||||
v-if="order.orderType =='HEALTH_CONSULTATION'&&order.personPictureUrl"></image>
|
||||
<image src="@/static/docHead.png" mode=""
|
||||
<image :src="baseurl + '/profile/weChatPicture/docHead.png'"
|
||||
v-if="order.orderType =='HEALTH_CONSULTATION'&&!order.personPictureUrl"></image>
|
||||
<image :src="baseurl+order.attributePitureUrl" mode="" v-if="order.orderType !='HEALTH_CONSULTATION'">
|
||||
</image>
|
||||
@ -69,4 +69,4 @@
|
||||
|
||||
<style lang="scss">
|
||||
@import './lookrate.scss';
|
||||
</style>
|
||||
</style>
|
||||