Browse Source

feat: page-serve;

pull/7/head
Fox-33 2 weeks ago
parent
commit
7cc3d7a05c
4 changed files with 4 additions and 41 deletions
  1. +1
    -1
      common.scss
  2. +1
    -1
      pages_order/serve/category.vue
  3. +1
    -1
      pages_order/serve/index.vue
  4. +1
    -38
      pages_order/serve/search.vue

+ 1
- 1
common.scss View File

@ -42,7 +42,7 @@
.page__view {
width: 100vw;
min-height: 100vh;
background-color: $uni-bg-color;
background-color: #FAFBFC;
position: relative;
font-family: PingFang SC;
font-weight: 400;


+ 1
- 1
pages_order/serve/category.vue View File

@ -55,7 +55,7 @@
<style scoped lang="scss">
.list {
margin: 0 18rpx;
margin: 49rpx 18rpx 17rpx 18rpx;
&-item {
position: relative;


+ 1
- 1
pages_order/serve/index.vue View File

@ -4,7 +4,7 @@
<!-- 导航栏 -->
<navbar :title="details.title" leftClick @leftClick="$utils.navigateBack" />
<uv-parse :content="details.details"></uv-parse>
<image class="img" :src="details.details" mode="widthFix"></image>
</view>
</template>


+ 1
- 38
pages_order/serve/search.vue View File

@ -4,17 +4,6 @@
<!-- 导航栏 -->
<navbar :title="title" leftClick @leftClick="$utils.navigateBack" />
<view class="top">
<!-- 搜索栏 -->
<view class="search">
<uv-search v-model="keyword" placeholder="输入关键词搜索" bgColor="#FBFBFB" @custom="search" @search="search">
<template #prefix>
<image class="search-icon" src="@/static/image/icon-search.png" mode="widthFix"></image>
</template>
</uv-search>
</view>
</view>
<view class="list">
<view class="list-item"
v-for="item in list"
@ -73,34 +62,8 @@
<style scoped lang="scss">
.top {
padding: 49rpx 0 17rpx 0;
box-sizing: border-box;
}
.search {
margin: 0 19rpx;
width: calc(100% - 20rpx * 2);
background-color: #FFFFFF;
border-radius: 37rpx;
padding: 13rpx 0 13rpx 18rpx;
box-sizing: border-box;
display: flex;
align-items: center;
/deep/ .uv-search__action {
color: $uni-color;
padding: 10rpx 18rpx;
}
&-icon {
width: 26rpx;
height: auto;
}
}
.list {
margin: 0 18rpx;
margin: 49rpx 18rpx 17rpx 18rpx;
&-item {
position: relative;


Loading…
Cancel
Save