@@ -5,8 +5,9 @@
const path = require('path')
// const proxy_path = 'http://192.168.2.236:80';
// const proxy_path = 'http://192.168.2.236:5050';
-const proxy_path = 'http://192.168.2.241:5050';
+// const proxy_path = 'http://192.168.2.241:5050';
// const proxy_path = 'http://223.93.170.82:23650';
+const proxy_path = 'http://223.93.170.82:24182';
module.exports = {
dev: {
@@ -4,6 +4,8 @@
<portal-target name="notification-outlet"></portal-target>
<portal-target name="notification-detail"></portal-target>
<portal-target name="notification-search"></portal-target>
+ <portal-target name="notification-usual"></portal-target>
+ <portal-target name="notification-head"></portal-target>
</div>
</template>
<script>
@@ -0,0 +1,56 @@
+<template>
+ <portal to="notification-head">
+ <div class="progress-bar">
+ <div class="title">
+ <span :class="{'active':activeTab==i.type}" :style="{width:(100/allMoudles.length)+'%'}" v-for="i in allMoudles">{{i.name}}</span>
+ </div>
+ <div class="progress">
+ <p :style="{width:progress}"></p>
+ </portal>
+</template>
+<script>
+export default {
+ props:['activeTab','allMoudles','progress']
+}
+</script>
+<style lang="less" scoped>
+@import "../less/base.less";
+
+.progress-bar {
+ height: .8rem;
+ line-height: 0.44rem;
+ background: #fff;
+ color: #aaa;
+ /*margin-bottom:.4rem;*/
+ .title{
+ height: 100%;
+ }
+ span{
+ display: inline-block;
+ font-size: .26rem;
+ text-align: center;
+ &:not(:last-child):after{
+ content: ">";
+ float: right;
+ .active{
+ font-size: #font[dialog];
+ color: #colors[theme];
+ font-weight: 500;
+ .progress{
+ height:0.06rem;
+ background:#F5F5F5;
+ p{
+ width:.1px;
+ background: #colors[theme];
+</style>
@@ -1,4 +1,5 @@
<template>
+ <portal to="notification-usual">
<div class="usual-symptom">
<p class="title-bar">
<!--<a href="javascript:void(0)">--><img @click="back" src="../images/back.png" alt="返回"/><!--</a>-->
@@ -29,6 +30,7 @@
<Tiptoast :show="showExp" :data="message" @close="closeTip"/>
<!-- <ConfirmBox :show="showConfirm" @confirmDialog="confirmDialog" @cancelDialog = "cancelDialog"></ConfirmBox> -->
import Radio from './Radio';
@@ -122,15 +124,20 @@
position: fixed;
bottom: 0;
background: #fff;
- padding: .38rem .1rem;
+ padding: .2rem .1rem;
box-shadow: 0 0 30px -10px rgba(104, 124, 189, 0.25);
}
.title-bar{
font-size: #font[title];
- margin:0 0 .5rem .2rem;
+ overflow: hidden;
img{
width: .16rem;
- margin-right:.4rem;
+ padding: .2rem .4rem .4rem .2rem;
+ float: left;
+ span {
+ padding-top: .1rem;
.radio-item{
@@ -1,13 +1,14 @@
<div class="page">
- <div class="progress-bar">
+ <Head :activeTab='activeTab' :allMoudles='allMoudles' :progress='progress'/>
+ <!-- <div class="progress-bar">
<div class="title">
<span :class="{'active':activeTab==i.type}" :style="{width:(100/allMoudles.length)+'%'}" v-for="i in allMoudles">{{i.name}}</span>
<div class="progress">
<p :style="{width:progress}"></p>
- </div>
+ </div> -->
<div class="wrapper">
<div class="scrollPart" :style="{'paddingBottom':pdbm}">
<!--<div class="right clearfix">
@@ -100,6 +101,7 @@ import ConfirmBox from '../common/ConfirmBox'
import UsualSymptom from '../common/UsualSymptom';
import MultSelect from '../common/MultSelect.vue';
import TipWarning from '../common/TipWarning.vue';
+import Head from '../common/Head.vue';
import api from "../utils/api.js";
import {mapState} from 'vuex';
import {moduleCP,moduleConfig,getValuesArr,getNSum} from '@utils/tools'
@@ -429,7 +431,8 @@ export default {
ConfirmBox,
UsualSymptom,
MultSelect,
- TipWarning
+ TipWarning,
+ Head
</script>
@@ -454,9 +457,9 @@ export default {
color: #aaa;
/*margin-bottom:.4rem;*/
-.title{
- height: 100%;
-}
span{
display: inline-block;
font-size: .26rem;
@@ -5,9 +5,14 @@ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, input, textarea, p, t
font-family: Arial, sans-serif, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB";
color: #333333;
// -webkit-text-size-adjust:100%;
- -webkit-text-size-adjust:auto;
+ // -webkit-text-size-adjust:auto;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
+ -webkit-text-size-adjust : none ;
+ -moz-text-size-adjust : none ;
+ -ms-text-size-adjust : none ;
+ text-size-adjust : none
input, textarea{
outline: none;