duxianzhang 1 year ago
parent
commit
bbc5dcae9f
  1. 9
      components/inputBox.vue
  2. 21
      pages.json
  3. 10
      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-com">
<view :class="'input-wrapper'+(errormsg?' error':'')"> <view :class="'input-wrapper'+(errormsg?' error':'')">
<view class="left"> <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>{{label}}</view>
</view> </view>
<view class="right"> <view class="right">
@ -45,7 +45,8 @@ export default {
}, },
data() { data() {
return { return {
errormsg:'' errormsg:'',
cssUrl:this.cssUrl
} }
}, },
methods: { methods: {
@ -144,5 +145,9 @@ export default {
width: 666rpx; width: 666rpx;
margin: 16rpx auto 0rpx; margin: 16rpx auto 0rpx;
} }
.hua{
width: 20rpx;
height: 20rpx;
}
} }
</style> </style>

21
pages.json

@ -1,13 +1,10 @@
{ {
"pages": [ "pages": [
{ {
"path" : "pages/prebook/prebook", "path": "pages/index/index",
"style" : "style": {
{ "navigationBarTitleText": ""
"navigationBarTitleText": "",
"enablePullDownRefresh": false
} }
}, },
{ {
"path" : "pages/modify_visitor/modify_visitor", "path" : "pages/modify_visitor/modify_visitor",
@ -18,17 +15,19 @@
} }
}, },
{ {
"path" : "pages/visitors/visitors", "path" : "pages/prebook/prebook",
"style" : "style" :
{ {
"navigationBarTitleText": "请选择就诊人", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/index/index", "path" : "pages/visitors/visitors",
"style": { "style" :
"navigationBarTitleText": "" {
"navigationBarTitleText": "请选择就诊人",
"enablePullDownRefresh": false
} }
}, },
{ {

10
pages/prebook/prebook.vue

@ -76,7 +76,17 @@
Book, Book,
SliderBox SliderBox
}, },
onShow() {
},
methods: { methods: {
tips(){
uni.showToast({
title:"成功预约8人",
mask:true,
image:this.cssUrl+'gou.svg'
})
},
closeConfirm() { closeConfirm() {
this.$refs.sliderbox.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