jiangping
2024-07-29 d9a89d83c2048a964f16ca179feb2b7f21b9d33a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.app_header {
  display: flex;
  align-items: center;
  height: 100rpx;
  background-color: #fff;
  padding: 0 40rpx;
 
  .location {
    width: 30rpx;
  }
 
  .add {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 10rpx;
    font-weight: 500;
    font-size: 30rpx;
  }
 
  .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 26rpx;
    width: 160rpx;
    image{
      width: 28rpx;
      margin-right: 10rpx;
    }
  }
}
 
.main_content {
  padding: 40rpx;
  min-height: calc(100vh - 100rpx);
  background-color: #F7F7F7;
  .app_title {
    font-weight: 600;
    font-size: 36rpx;
    margin-bottom: 40rpx;
  }
 
  .shops {
    .shop {
      width: 670rpx;
      height: 362rpx;
      background: linear-gradient(180deg, #F2E7E1 0%, #FEFEFD 30%, #FFFFFF 100%);
      border-radius: 8rpx;
      margin-bottom: 20rpx;
      padding: 30rpx;
      .header{
        display: flex;
        align-items: center;
        .left{
          flex: 1;
          .title{
            width: 520rpx;
            font-weight: 500;
            font-size: 32rpx; 
            white-space: nowrap;
            overflow: hidden;//文本超出隐藏
            text-overflow: ellipsis;
            margin-bottom: 16rpx;
          }
          .address{
            width: 520rpx;
            display: flex;
            align-items: center;
            font-size: 26rpx;
            color: #888888;
            .text{
              white-space: nowrap;
              overflow: hidden;//文本超出隐藏
              text-overflow: ellipsis;
            }
            image{
              width: 14rpx;
              height: 26rpx;
              margin-left: 8rpx;
            }
          }
        }
        .right{
          width: 60rpx;
          font-size: 24rpx;
          color: #333333;
          text-align: center;
          margin-left: 20rpx;
          .phone{
            width: 60rpx;
            margin-bottom: 4rpx;
          }
        }
      }
      .user_list{
        display: flex;
        padding: 24rpx 10rpx;
        .item{
          width: 240rpx;
          height: 180rpx;
          padding: 20rpx 0;
          background: #FFFFFF;
          box-shadow: 0rpx 0rpx 10rpx rgba(0,0,0,0.12);
          border-radius: 8rpx;
          margin-right: 20rpx;
          flex-shrink: 0;
          .info{
            display: flex;
            align-items: center;
            padding: 0 20rpx 14rpx;
            border-bottom: 1rpx solid #eeeeee;
            .avatar{
              width: 72rpx;
              height: 72rpx;
              border-radius: 50%;
              margin-right: 16rpx;
            }
            .name{
              font-size: 28rpx;
              width: 120rpx;
              overflow: hidden;
              text-overflow: ellipsis; //文本溢出显示省略号
              white-space: nowrap; //文本不会换行
            }
            .ex{
              font-size: 24rpx;
              color: #999999;
              margin-top: 4rpx;
            }
          }
          .btn{
            text-align: center;
            line-height: 66rpx;
            height: 66rpx;
            font-weight: 500;
            font-size: 26rpx;
            color: var(--themeColor);
          }
        }
      }
    }
  }
}