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-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>

25
pages.json

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

12
pages/prebook/prebook.vue

@ -75,8 +75,18 @@
components:{ components:{
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