duxianzhang 1 year ago
parent
commit
bbc5dcae9f
  1. 9
      components/inputBox.vue
  2. 25
      pages.json
  3. 12
      pages/prebook/prebook.vue
  4. 0
      static/images/frontend/gou.svg
  5. 0
      static/images/frontend/hua.svg

9
components/inputBox.vue

@ -2,7 +2,7 @@
<view class="input-com">
<view :class="'input-wrapper'+(errormsg?' error':'')">
<view class="left">
<text :class="!required?'hide-start':''">*</text>
<text :class="!required?'hide-start':''"><img :src="cssUrl+'hua.svg'" class="hua"></text>
<view>{{label}}</view>
</view>
<view class="right">
@ -45,7 +45,8 @@ export default {
},
data() {
return {
errormsg:''
errormsg:'',
cssUrl:this.cssUrl
}
},
methods: {
@ -144,5 +145,9 @@ export default {
width: 666rpx;
margin: 16rpx auto 0rpx;
}
.hua{
width: 20rpx;
height: 20rpx;
}
}
</style>

25
pages.json

@ -1,19 +1,24 @@
{
"pages": [
{
"path" : "pages/prebook/prebook",
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},
{
"path" : "pages/modify_visitor/modify_visitor",
"style" :
{
"navigationBarTitleText": "",
"navigationBarTitleText": "就诊人信息",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/modify_visitor/modify_visitor",
{
"path" : "pages/prebook/prebook",
"style" :
{
"navigationBarTitleText": "就诊人信息",
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
@ -26,12 +31,6 @@
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},
{
"path" : "pages/login/login",
"style" :
{

12
pages/prebook/prebook.vue

@ -75,8 +75,18 @@
components:{
Book,
SliderBox
},
onShow() {
},
methods: {
methods: {
tips(){
uni.showToast({
title:"成功预约8人",
mask:true,
image:this.cssUrl+'gou.svg'
})
},
closeConfirm() {
this.$refs.sliderbox.closeConfirm()
},

0
static/images/frontend/unuse/小号.svg → static/images/frontend/gou.svg

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
static/images/frontend/unuse/花.svg → static/images/frontend/hua.svg

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Loading…
Cancel
Save