Commit 8e95bfc3 authored by 张娇(东信)'s avatar 张娇(东信)

优化

parent 131f6b61
<template> <template>
<view class="container">
<view class="top">
<Search <Search
style="position: fixed; top: 0; width: 100%" style="position: fixed; top: 0; width: 100%"
:backgroundBox="backgroundBox" :backgroundBox="backgroundBox"
...@@ -23,6 +21,30 @@ ...@@ -23,6 +21,30 @@
/> />
</view> </view>
</Search> </Search>
<view class="container">
<view class="top">
<!-- <Search-->
<!-- style="position: fixed; top: 0; width: 100%"-->
<!-- :backgroundBox="backgroundBox"-->
<!-- :backIcon="backIcon"-->
<!-- >-->
<!-- <view class="searchBox" :style="{ border }">-->
<!-- <image-->
<!-- class="magnifyingGlass"-->
<!-- src="../../../static/index/magnifyingGlass.png"-->
<!-- mode="aspectFit|aspectFill|widthFix"-->
<!-- />-->
<!-- <input-->
<!-- type="text"-->
<!-- class="text"-->
<!-- @confirm="toSearch"-->
<!-- placeholder="输入商品名称"-->
<!-- @input="updateModelValue"-->
<!-- @keyup.enter="toSearch"-->
<!-- @focus="toSearch"-->
<!-- />-->
<!-- </view>-->
<!-- </Search>-->
</view> </view>
<view class="nav"> <view class="nav">
<wd-swiper <wd-swiper
...@@ -119,6 +141,8 @@ ...@@ -119,6 +141,8 @@
<view class="tags-box"> <view class="tags-box">
<text class="good-detail">{{ item.detail }}</text> <text class="good-detail">{{ item.detail }}</text>
<text class="introduction">{{ item.introduction }}</text> <text class="introduction">{{ item.introduction }}</text>
</view>
<view class="price-info">
<text class="good-price">{{ item.price }}</text> <text class="good-price">{{ item.price }}</text>
<img class="add" src="/static/assistingAgriculture/presale/add.png" /> <img class="add" src="/static/assistingAgriculture/presale/add.png" />
</view> </view>
...@@ -441,18 +465,21 @@ page { ...@@ -441,18 +465,21 @@ page {
/* 商品介绍 */ /* 商品介绍 */
.introduce-section { .introduce-section {
background: #ffffff; background: #ffffff;
padding: 20rpx 30rpx; padding: 10rpx 10rpx;
border-radius: 0 0 08px 8px; border-radius: 0 0 08px 8px;
margin-top: -80rpx; margin-top: -80rpx;
height: 110rpx; width: 320rpx;
} }
.introduce-section .title { .title {
font-size: 32rpx;
color: #303133; color: #303133;
height: 50rpx; font-size: 28rpx;
line-height: 50rpx; font-weight: normal;
margin-left: -20rpx; color: #666666;
height: 30rpx;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 0em;
} }
.introduce-section .tags-box { .introduce-section .tags-box {
...@@ -468,7 +495,6 @@ page { ...@@ -468,7 +495,6 @@ page {
margin-top: 70rpx; margin-top: 70rpx;
color: #fa5151; color: #fa5151;
font-size: 28rpx; font-size: 28rpx;
margin-left: -20rpx;
} }
.preview-img { .preview-img {
margin-left: 100rpx; margin-left: 100rpx;
...@@ -515,8 +541,8 @@ page { ...@@ -515,8 +541,8 @@ page {
} }
.add { .add {
position: relative; position: relative;
left: 200rpx; left: 180rpx;
top: 30rpx; top: 10rpx;
} }
.searchBox { .searchBox {
opacity: 1; opacity: 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment