Browse Source

修改问题

master
396316021 1 year ago
parent
commit
96a7985227
  1. 6
      components/PetPage/index.vue
  2. 4
      pages/OrderPage/index.vue
  3. 29
      uni_modules/m-view/components/m-radio/m-radio-group.vue
  4. 29
      uni_modules/m-view/components/m-radio/m-radio.vue
  5. 11
      uni_modules/uv-calendar/components/uv-calendar/month.vue

6
components/PetPage/index.vue

@ -392,14 +392,14 @@
:value="data.last_vaccine_time"
ref="vaccinePicker"
mode="year-month"
minDate="2000-01-01"
:minDate="new Date().getTime() - 31536000000"
@confirm="vaccineConfirm"
></uv-datetime-picker>
<uv-datetime-picker
:value="data.last_insect_repellent_time"
ref="insectRepellentPicker"
mode="year-month"
minDate="2000-01-01"
:minDate="new Date().getTime() - 31536000000"
@confirm="insectRepellentConfirm"
></uv-datetime-picker>
<uv-picker :columns="[homeList]" ref="pickerHome" key-name="name" title="是否有户口" round="20rpx" @confirm="homeSelect"></uv-picker>
@ -651,7 +651,7 @@
{name:'未知',value:0},
{name:'弟弟',value:1},
{name:'妹妹',value:2},
{name:'其他',value:9},
// {name:'',value:9},
],
petTypeList:[
{

4
pages/OrderPage/index.vue

@ -113,10 +113,10 @@
</view>
<view class="item-content row col">
<view class="item-content-text" v-if="add_time>0">
{{add_time}}小时
{{add_time + '小时'}}
</view>
<view class="item-content-text" v-else>
<u-text text="请选择服务时长" size="28" color="#636363"></u-text>
不加时
</view>
</view>
<view class="item-icon">

29
uni_modules/m-view/components/m-radio/m-radio-group.vue

@ -0,0 +1,29 @@
<template>
<view>
<slot>
</slot>
</view>
</template>
<script>
/**
* 单选
* @description
*
* @property {String} title 显示的文字
*/
export default {
name: 'm-radio',
methods: {
},
mounted() {
},
}
</script>
<style lang="scss" scoped>
</style>

29
uni_modules/m-view/components/m-radio/m-radio.vue

@ -0,0 +1,29 @@
<template>
<view>
<slot>
</slot>
</view>
</template>
<script>
/**
* 单选
* @description
*
* @property {String} title 显示的文字
*/
export default {
name: 'm-radio',
methods: {
},
mounted() {
},
}
</script>
<style lang="scss" scoped>
</style>

11
uni_modules/uv-calendar/components/uv-calendar/month.vue

@ -160,6 +160,9 @@
return [this.minDate, this.maxDate, this.defaultDate]
},
dayStyle(index1, index2, item) {
if(this.width === 0){
this.width = 750;
}
return (index1, index2, item) => {
const style = {}
let week = item.week
@ -173,7 +176,7 @@
if (index2 === 0) {
// 0item
week = (week === 0 ? 7 : week) - 1
style.marginLeft = this.$uv.addUnit(week * dayWidth)
style.marginLeft = this.$uv.addUnit(week * dayWidth,'rpx')
}
if (this.mode === 'range') {
// DCloudiOSbug
@ -545,7 +548,7 @@
top: 12px;
right: 7px;
}
&__top-info {
color: $uv-content-color;
text-align: center;
@ -558,12 +561,12 @@
&--selected {
color: #ffffff;
}
&--disabled {
color: #cacbcd;
}
}
&__buttom-info {
color: $uv-content-color;
text-align: center;

Loading…
Cancel
Save