Browse Source

优化

hfll
longjieli 5 months ago
parent
commit
5bf43a1694
5 changed files with 24 additions and 8 deletions
  1. +1
    -2
      components/product/productItem.vue
  2. +7
    -1
      pages/index/category.vue
  3. +7
    -1
      pages/index/index.vue
  4. +4
    -1
      pages_order/mine/moreCommodity.vue
  5. +5
    -3
      pages_order/mine/recruit.vue

+ 1
- 2
components/product/productItem.vue View File

@ -122,7 +122,7 @@
// //
.info { .info {
padding: 20rpx;
padding: 20rpx 0rpx 20rpx 20rpx;
color: #555; color: #555;
width: calc(100% - 180rpx); width: calc(100% - 180rpx);
box-sizing: border-box; box-sizing: border-box;
@ -130,7 +130,6 @@
// //
.title { .title {
width: 280rpx;
font-size: 28rpx; font-size: 28rpx;
font-weight: bold; font-weight: bold;
overflow: hidden; // overflow: hidden; //


+ 7
- 1
pages/index/category.vue View File

@ -117,13 +117,19 @@
&::v-deep .uv-vtabs__content { &::v-deep .uv-vtabs__content {
background: transparent !important; background: transparent !important;
overflow: hidden;
} }
} }
.category { .category {
font-size: 30rpx; font-size: 30rpx;
color: #333; color: #333;
&::v-deep .uv-vtabs {
width: 750rpx;
overflow: hidden;
}
.list { .list {
width: 100%; width: 100%;
padding: 0rpx 20rpx; padding: 0rpx 20rpx;


+ 7
- 1
pages/index/index.vue View File

@ -363,8 +363,14 @@
color: white; color: white;
border-radius: 20rpx; border-radius: 20rpx;
font-size: 24rpx; font-size: 24rpx;
padding: 5rpx 20rpx;
padding: 5rpx 10rpx;
margin: 10rpx 0rpx; margin: 10rpx 0rpx;
width: 90%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
text-align: center;
} }
.product-price { .product-price {


+ 4
- 1
pages_order/mine/moreCommodity.vue View File

@ -36,12 +36,15 @@
mixins: [mixinList], mixins: [mixinList],
components: { components: {
productList productList
},
onLoad(args) {
}, },
data() { data() {
return { return {
filtrationList: ['综合', '销量', '价格', '上新'], filtrationList: ['综合', '销量', '价格', '上新'],
activeFiltration: 0, activeFiltration: 0,
mixinsListApi : "getClassShopPageList"
mixinsListApi: "getClassShopPageList"
} }
}, },
methods: { methods: {


+ 5
- 3
pages_order/mine/recruit.vue View File

@ -116,7 +116,7 @@
openAreaSelector() { openAreaSelector() {
this.$refs.AreaSelector.open(); this.$refs.AreaSelector.open();
}, },
// //
selectArea(area) { selectArea(area) {
this.partnership.address = area; this.partnership.address = area;
@ -209,14 +209,16 @@
width: calc(100% - 152rpx); width: calc(100% - 152rpx);
padding: 0rpx 20rpx; padding: 0rpx 20rpx;
box-sizing: border-box; box-sizing: border-box;
.area-detail { .area-detail {
width: 95%; width: 95%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
color: #939393;
font-weight: normal;
} }
.arraw { .arraw {
width: 5%; width: 5%;
} }


Loading…
Cancel
Save