diff --git a/components/m-search-revision/m-search-revision.vue b/components/m-search-revision/m-search-revision.vue index b4dc2f1..712d34f 100644 --- a/components/m-search-revision/m-search-revision.vue +++ b/components/m-search-revision/m-search-revision.vue @@ -1,17 +1,23 @@ @@ -31,23 +37,25 @@ +watch(inputVal, (newVal) => { + newVal ? (isDelShow.value = true) : (isDelShow.value = false) +}) + +watch(() => props.modelValue, (newVal) => { + if (newVal !== inputVal.value) { + inputVal.value = newVal || '' + } +}) + +defineExpose({ + isShowSeachGoods, + inputVal, + clear, + setInputValue, +}) + diff --git a/pages/mine/myCollect.vue b/pages/mine/myCollect.vue index 9189b48..1a02daf 100644 --- a/pages/mine/myCollect.vue +++ b/pages/mine/myCollect.vue @@ -1,29 +1,42 @@ - .content { - width: 100%; + diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue index 6f26522..6670b42 100644 --- a/pages/navigation/search/searchPage.vue +++ b/pages/navigation/search/searchPage.vue @@ -15,7 +15,6 @@ | null>(null) +const mSearchRef = ref(null) const empty = ref(false) const scrollTop = ref(0) @@ -806,7 +805,7 @@ function doSearch(searchKeyword: string | false) { isShowSeachGoods.value = true if (mSearchRef.value) { mSearchRef.value.isShowSeachGoods = true - mSearchRef.value.inputVal = resolvedKeyword + mSearchRef.value.setInputValue(resolvedKeyword) } params.value.keyword = keyword.value params.value.pageNumber = 1 diff --git a/pages/order/evaluate/myEvaluate.vue b/pages/order/evaluate/myEvaluate.vue index 5df582d..18b7565 100644 --- a/pages/order/evaluate/myEvaluate.vue +++ b/pages/order/evaluate/myEvaluate.vue @@ -247,6 +247,26 @@ page { position: relative; z-index: 10; background: #ffffff; + height: 88rpx; + box-shadow: 0 1rpx 8rpx rgba(0, 0, 0, 0.04); +} + +:deep(.u-tabs), +:deep(.u-tabs__wrapper), +:deep(.u-tabs__wrapper__scroll-view-wrapper), +:deep(.u-tabs__wrapper__scroll-view), +:deep(.u-tabs__wrapper__nav) { + background: #fff; + height: 88rpx; +} + +:deep(.u-tabs__wrapper__nav__item) { + min-height: 88rpx; +} + +:deep(.u-tabs__wrapper__nav__item__text) { + color: #333; + font-size: 28rpx; } .box-content { margin: 20rpx 0; diff --git a/pages/promotion/bargain/detail.vue b/pages/promotion/bargain/detail.vue index f9e8cb6..bc977a1 100644 --- a/pages/promotion/bargain/detail.vue +++ b/pages/promotion/bargain/detail.vue @@ -1,6 +1,12 @@ @@ -128,10 +161,12 @@ import { import shares from '@/components/m-share/index' import config from '@/config/config' import { unitPrice, noPassByName, isLogin } from '@/utils/filters.js' +import { getThemeStyle } from '@/utils/theme' const store = useStore() const lightColor = computed(() => store.getters.lightColor) +const themeStyle = computed(() => getThemeStyle(store.state.theme)) const style = ref({ img: 'display:block', @@ -205,8 +240,7 @@ watch( (val) => { if (val) { totalPercent.value = - 100 - - Math.floor((val.surplusPrice / bargainDetail.value.price) * 100) + 100 - Math.floor((val.surplusPrice / bargainDetail.value.price) * 100) cutPrice.value = ( bargainDetail.value.price - activityData.value.surplusPrice ).toFixed(2) @@ -324,32 +358,44 @@ async function openActivity() { } } + + diff --git a/pages/tabbar/home/title.vue b/pages/tabbar/home/title.vue index bdfcdd5..cd7915d 100644 --- a/pages/tabbar/home/title.vue +++ b/pages/tabbar/home/title.vue @@ -4,7 +4,10 @@ @@ -183,9 +186,27 @@ function getMessage() { }) } - diff --git a/project.config.json b/project.config.json new file mode 100644 index 0000000..53882bb --- /dev/null +++ b/project.config.json @@ -0,0 +1,5 @@ +{ + "setting": { + "minifyWXML": true + } +} \ No newline at end of file