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

优化

parent 131f6b61
<template>
<view class="container">
<view class="top">
<Search
style="position: fixed; top: 0; width: 100%"
:backgroundBox="backgroundBox"
......@@ -23,6 +21,30 @@
/>
</view>
</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 class="nav">
<wd-swiper
......@@ -119,6 +141,8 @@
<view class="tags-box">
<text class="good-detail">{{ item.detail }}</text>
<text class="introduction">{{ item.introduction }}</text>
</view>
<view class="price-info">
<text class="good-price">{{ item.price }}</text>
<img class="add" src="/static/assistingAgriculture/presale/add.png" />
</view>
......@@ -441,18 +465,21 @@ page {
/* 商品介绍 */
.introduce-section {
background: #ffffff;
padding: 20rpx 30rpx;
padding: 10rpx 10rpx;
border-radius: 0 0 08px 8px;
margin-top: -80rpx;
height: 110rpx;
width: 320rpx;
}
.introduce-section .title {
font-size: 32rpx;
.title {
color: #303133;
height: 50rpx;
line-height: 50rpx;
margin-left: -20rpx;
font-size: 28rpx;
font-weight: normal;
color: #666666;
height: 30rpx;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 0em;
}
.introduce-section .tags-box {
......@@ -468,7 +495,6 @@ page {
margin-top: 70rpx;
color: #fa5151;
font-size: 28rpx;
margin-left: -20rpx;
}
.preview-img {
margin-left: 100rpx;
......@@ -515,8 +541,8 @@ page {
}
.add {
position: relative;
left: 200rpx;
top: 30rpx;
left: 180rpx;
top: 10rpx;
}
.searchBox {
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