Commit 0466216f3c2742f866b347cc8539eb1abf5f16e6

Authored by 尹聃
1 parent 2369ec720c
Exists in master

修改详情页

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/pages/frameDetail/frameDetail.vue
1 <template> 1 <template>
2 <view class="container"> 2 <view class="container">
3 <view class="D1"> 3 <view class="D1">
4 <!-- 轮播图 --> 4 <!-- 轮播图 -->
5 <swiper 5 <swiper
6 class="swiperImage" 6 class="swiperImage"
7 :indicator-dots="true" 7 :indicator-dots="true"
8 :autoplay="true" 8 :autoplay="true"
9 :interval="4000" 9 :interval="4000"
10 :duration="500" 10 :duration="500"
11 > 11 >
12 <swiper-item 12 <swiper-item
13 v-for="(item, index) in goodInfo.pics" 13 v-for="(item, index) in goodInfo.pics"
14 :key="index" 14 :key="index"
15 > 15 >
16 <image 16 <image
17 :src="item" 17 :src="item"
18 mode="scaleToFill" 18 mode="scaleToFill"
19 ></image> 19 ></image>
20 </swiper-item> 20 </swiper-item>
21 </swiper> 21 </swiper>
22 <view class="D1_price">¥{{goodInfo.priceArea.Min_Price || '暂无'}}<span class="D1_number">{{goodInfo.trade_num || '暂无'}}人购买过</span></view> 22 <view class="D1_price">¥{{goodInfo.priceArea.Min_Price || '暂无'}}<span class="D1_number">{{goodInfo.trade_num || '暂无'}}人购买过</span></view>
23 <view class="D1_name"><span class="D1_name1">{{goodInfo.p_name || '暂无'}}</span></view> 23 <view class="D1_name"><span class="D1_name1">{{goodInfo.p_name || '暂无'}}</span></view>
24 <view class="D1_spans"><span>支持7天无理由退货</span><span>顺丰发货</span><span>30天质量保证</span></view> 24 <view class="D1_spans"><span>支持7天无理由退货</span><span>顺丰发货</span><span>30天质量保证</span></view>
25 </view> 25 </view>
26 <view 26 <view
27 class="D2" 27 class="D2"
28 v-if="updateGoodType == 2 || updateGoodType == 4" 28 v-if="updateGoodType == 2 || updateGoodType == 4"
29 > 29 >
30 <view><span class="D2_span1">框架材质:</span><span class="D2_span2">{{introduction.material}}</span></view> 30 <view><span class="D2_span1">框架材质:</span><span class="D2_span2">{{introduction.material}}</span></view>
31 <view><span class="D2_span1">风格:</span><span class="D2_span2">{{introduction.func}}</span></view> 31 <view><span class="D2_span1">风格:</span><span class="D2_span2">{{introduction.func}}</span></view>
32 <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view> 32 <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view>
33 </view> 33 </view>
34 <!-- <view 34 <!-- <view
35 class="D2" 35 class="D2"
36 v-if="updateGoodType == 1" 36 v-if="updateGoodType == 1"
37 > 37 >
38 <view><span class="D2_span1">镜片材质:</span><span class="D2_span2">{{introduction.material}}</span></view> 38 <view><span class="D2_span1">镜片材质:</span><span class="D2_span2">{{introduction.material}}</span></view>
39 <view><span class="D2_span1">功能:</span><span class="D2_span2">{{introduction.func}}</span></view> 39 <view><span class="D2_span1">功能:</span><span class="D2_span2">{{introduction.func}}</span></view>
40 <view><span class="D2_span1">使用场景:</span><span class="D2_span2">{{introduction.rate}}</span></view> 40 <view><span class="D2_span1">使用场景:</span><span class="D2_span2">{{introduction.rate}}</span></view>
41 </view> 41 </view>
42 <view 42 <view
43 class="D2" 43 class="D2"
44 v-if="updateGoodType == 3" 44 v-if="updateGoodType == 3"
45 > 45 >
46 <view><span class="D2_span1">材质:</span><span class="D2_span2">{{introduction.material}}</span></view> 46 <view><span class="D2_span1">材质:</span><span class="D2_span2">{{introduction.material}}</span></view>
47 <view><span class="D2_span1">直径/基弧:</span><span class="D2_span2">{{introduction.func}}</span></view> 47 <view><span class="D2_span1">直径/基弧:</span><span class="D2_span2">{{introduction.func}}</span></view>
48 <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view> 48 <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view>
49 </view> --> 49 </view> -->
50 <view class="D3"> 50 <view class="D3">
51 <view class="screenBar"> 51 <view class="screenBar">
52 <view 52 <view
53 v-for="item in screenItems" 53 v-for="item in screenItems"
54 :key="item.current" 54 :key="item.current"
55 @click="tabChange(item.current)" 55 @click="tabChange(item.current)"
56 > 56 >
57 <view 57 <view
58 class="screenItem" 58 class="screenItem"
59 v-bind:class="{ active: current === item.current }" 59 v-bind:class="{ active: current === item.current }"
60 >{{ item.text || '暂无' }}</view> 60 >{{ item.text || '暂无' }}</view>
61 </view> 61 </view>
62 </view> 62 </view>
63 <view 63 <view
64 class="screen-item" 64 class="screen-item"
65 v-if="current === 1" 65 v-if="current === 1"
66 > 66 >
67 <view class="D3_list"> 67 <view class="D3_list">
68 <view 68 <view
69 v-for="(item) in parameter" 69 v-for="(item) in parameter"
70 :key="item.key" 70 :key="item.key"
71 > 71 >
72 <image 72 <image
73 class="D3_image" 73 class="D3_image"
74 v-bind:src="item.img" 74 v-bind:src="item.img"
75 ></image> 75 ></image>
76 <span>{{item.standard || '暂无'}}</span> 76 <span>{{item.standard || '暂无'}}</span>
77 <span>{{item.slength || '暂无'}}</span> 77 <span>{{item.slength || '暂无'}}</span>
78 </view> 78 </view>
79 </view> 79 </view>
80 </view> 80 </view>
81 <view 81 <view
82 class="screen-item" 82 class="screen-item"
83 v-if="current === 0" 83 v-if="current === 0"
84 > 84 >
85 <view class="D3_list"> 85 <view class="D3_list">
86 <!-- <block> 86 <!-- <block>
87 <view>主体</view> 87 <view>主体</view>
88 <view>商品产地:韩国</view> 88 <view>商品产地:韩国</view>
89 <view>包装清单:彩色隐形 * 1</view> 89 <view>包装清单:彩色隐形 * 1</view>
90 </block> --> 90 </block> -->
91 <!-- 迭代时建议配合接口修改 为数组 --> 91 <!-- 迭代时建议配合接口修改 为数组 -->
92 <view v-if="tag.prod_tag_age && tag.prod_tag_age.length !== 0"> 92 <view v-if="tag.prod_tag_age && tag.prod_tag_age.length !== 0">
93 <view class=""> 93 <view class="">
94 年龄:<view 94 年龄:<view
95 v-for="(item,index) in tag.prod_tag_age" 95 v-for="(item,index) in tag.prod_tag_age"
96 :key="index" 96 :key="index"
97 > 97 >
98 {{item.label}}<text v-if="index !== tag.prod_tag_age.length - 1">/</text> 98 {{item.label}}<text v-if="index !== tag.prod_tag_age.length - 1">/</text>
99 </view> 99 </view>
100 </view> 100 </view>
101 </view> 101 </view>
102 <view v-if="tag.prod_tag_color && tag.prod_tag_color.length !== 0"> 102 <view v-if="tag.prod_tag_color && tag.prod_tag_color.length !== 0">
103 <view class=""> 103 <view class="">
104 颜色:<view 104 颜色:<view
105 v-for="(item,index) in tag.prod_tag_color" 105 v-for="(item,index) in tag.prod_tag_color"
106 :key="index" 106 :key="index"
107 > 107 >
108 {{item.label}}<text v-if="index !== tag.prod_tag_color.length - 1">/</text> 108 {{item.label}}<text v-if="index !== tag.prod_tag_color.length - 1">/</text>
109 </view> 109 </view>
110 </view> 110 </view>
111 </view> 111 </view>
112 <view v-if="tag.prod_tag_face && tag.prod_tag_face.length !== 0"> 112 <view v-if="tag.prod_tag_face && tag.prod_tag_face.length !== 0">
113 <view class=""> 113 <view class="">
114 脸型:<view 114 脸型:<view
115 v-for="(item,index) in tag.prod_tag_face" 115 v-for="(item,index) in tag.prod_tag_face"
116 :key="index" 116 :key="index"
117 > 117 >
118 {{item.label}}<text v-if="index !== tag.prod_tag_face.length - 1">/</text> 118 {{item.label}}<text v-if="index !== tag.prod_tag_face.length - 1">/</text>
119 </view> 119 </view>
120 </view> 120 </view>
121 </view> 121 </view>
122 <view v-if="tag.prod_tag_freesend && tag.prod_tag_freesend.length !== 0"> 122 <view v-if="tag.prod_tag_freesend && tag.prod_tag_freesend.length !== 0">
123 <view class=""> 123 <view class="">
124 赠品:<view 124 赠品:<view
125 v-for="(item,index) in tag.prod_tag_freesend" 125 v-for="(item,index) in tag.prod_tag_freesend"
126 :key="index" 126 :key="index"
127 > 127 >
128 {{item.label}}<text v-if="index !== tag.prod_tag_freesend.length - 1">/</text> 128 {{item.label}}<text v-if="index !== tag.prod_tag_freesend.length - 1">/</text>
129 </view> 129 </view>
130 </view> 130 </view>
131 </view> 131 </view>
132 <view v-if="tag.prod_tag_insurance && tag.prod_tag_insurance.length !== 0"> 132 <view v-if="tag.prod_tag_insurance && tag.prod_tag_insurance.length !== 0">
133 <view class=""> 133 <view class="">
134 保险:<view 134 保险:<view
135 v-for="(item,index) in tag.prod_tag_insurance" 135 v-for="(item,index) in tag.prod_tag_insurance"
136 :key="index" 136 :key="index"
137 > 137 >
138 {{item.label}}<text v-if="index !== tag.prod_tag_insurance.length - 1">/</text> 138 {{item.label}}<text v-if="index !== tag.prod_tag_insurance.length - 1">/</text>
139 </view> 139 </view>
140 </view> 140 </view>
141 </view> 141 </view>
142 <view v-if="tag.prod_tag_metal && tag.prod_tag_metal.length !== 0"> 142 <view v-if="tag.prod_tag_metal && tag.prod_tag_metal.length !== 0">
143 <view class=""> 143 <view class="">
144 材质:<view 144 材质:<view
145 v-for="(item,index) in tag.prod_tag_metal" 145 v-for="(item,index) in tag.prod_tag_metal"
146 :key="index" 146 :key="index"
147 > 147 >
148 {{item.label}}<text v-if="index !== tag.prod_tag_metal.length - 1">/</text> 148 {{item.label}}<text v-if="index !== tag.prod_tag_metal.length - 1">/</text>
149 </view> 149 </view>
150 </view> 150 </view>
151 </view> 151 </view>
152 <view v-if="tag.prod_tag_personal && tag.prod_tag_personal.length !== 0"> 152 <view v-if="tag.prod_tag_personal && tag.prod_tag_personal.length !== 0">
153 <view class=""> 153 <view class="">
154 个性:<view 154 个性:<view
155 v-for="(item,index) in tag.prod_tag_personal" 155 v-for="(item,index) in tag.prod_tag_personal"
156 :key="index" 156 :key="index"
157 > 157 >
158 {{item.label}}<text v-if="index !== tag.prod_tag_personal.length - 1">/</text> 158 {{item.label}}<text v-if="index !== tag.prod_tag_personal.length - 1">/</text>
159 </view> 159 </view>
160 </view> 160 </view>
161 </view> 161 </view>
162 <view v-if="tag.prod_tag_sense && tag.prod_tag_sense.length !== 0"> 162 <view v-if="tag.prod_tag_sense && tag.prod_tag_sense.length !== 0">
163 <view class=""> 163 <view class="">
164 场景:<view 164 场景:<view
165 v-for="(item,index) in tag.prod_tag_sense" 165 v-for="(item,index) in tag.prod_tag_sense"
166 :key="index" 166 :key="index"
167 > 167 >
168 {{item.label}}<text v-if="index !== tag.prod_tag_sense.length - 1">/</text> 168 {{item.label}}<text v-if="index !== tag.prod_tag_sense.length - 1">/</text>
169 </view> 169 </view>
170 </view> 170 </view>
171 </view> 171 </view>
172 <view v-if="tag.prod_tag_sex && tag.prod_tag_sex.length !== 0"> 172 <view v-if="tag.prod_tag_sex && tag.prod_tag_sex.length !== 0">
173 <view class=""> 173 <view class="">
174 性别:<view 174 性别:<view
175 v-for="(item,index) in tag.prod_tag_sex" 175 v-for="(item,index) in tag.prod_tag_sex"
176 :key="index" 176 :key="index"
177 > 177 >
178 {{item.label}}<text v-if="index !== tag.prod_tag_sex.length - 1">/</text> 178 {{item.label}}<text v-if="index !== tag.prod_tag_sex.length - 1">/</text>
179 </view> 179 </view>
180 </view> 180 </view>
181 </view> 181 </view>
182 <view v-if="tag.prod_tag_style && tag.prod_tag_style.length !== 0"> 182 <view v-if="tag.prod_tag_style && tag.prod_tag_style.length !== 0">
183 <view class=""> 183 <view class="">
184 风格:<view 184 风格:<view
185 v-for="(item,index) in tag.prod_tag_style" 185 v-for="(item,index) in tag.prod_tag_style"
186 :key="index" 186 :key="index"
187 > 187 >
188 {{item.label}}<text v-if="index !== tag.prod_tag_style.length - 1">/</text> 188 {{item.label}}<text v-if="index !== tag.prod_tag_style.length - 1">/</text>
189 </view> 189 </view>
190 </view> 190 </view>
191 </view> 191 </view>
192 <view v-if="tag.prod_tag_weight && tag.prod_tag_weight.length !== 0"> 192 <view v-if="tag.prod_tag_weight && tag.prod_tag_weight.length !== 0">
193 <view class=""> 193 <view class="">
194 重量:<view 194 重量:<view
195 v-for="(item,index) in tag.prod_tag_weight" 195 v-for="(item,index) in tag.prod_tag_weight"
196 :key="index" 196 :key="index"
197 > 197 >
198 {{item.label}}<text v-if="index !== tag.prod_tag_weight.length - 1">/</text> 198 {{item.label}}<text v-if="index !== tag.prod_tag_weight.length - 1">/</text>
199 </view> 199 </view>
200 </view> 200 </view>
201 </view> 201 </view>
202 </view> 202 </view>
203 </view> 203 </view>
204 <view 204 <view
205 class="screen-item " 205 class="screen-item "
206 v-if="current ===2" 206 v-if="current ===2"
207 > 207 >
208 <view class="customerService"> 208 <view class="customerService">
209 <view class="serviceItem"> 209 <view class="serviceItem">
210 <view class="title"> 210 <view class="title">
211 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> 211 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view>
212 <text class="titleText">卖家服务</text> 212 <text class="titleText">卖家服务</text>
213 </view> 213 </view>
214 <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验</view> 214 <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验</view>
215 </view> 215 </view>
216 <view class="serviceItem"> 216 <view class="serviceItem">
217 <view class="title"> 217 <view class="title">
218 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> 218 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view>
219 <text class="titleText">平台承诺</text> 219 <text class="titleText">平台承诺</text>
220 </view> 220 </view>
221 <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验阿斯蒂芬的发射点发射点发生的房贷首付的发护法国会国家和国际会更加和</view> 221 <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验阿斯蒂芬的发射点发射点发生的房贷首付的发护法国会国家和国际会更加和</view>
222 </view> 222 </view>
223 <view class="serviceItem"> 223 <view class="serviceItem">
224 <view class="title"> 224 <view class="title">
225 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> 225 <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view>
226 <text class="titleText">正品保证</text> 226 <text class="titleText">正品保证</text>
227 </view> 227 </view>
228 <view class="itemContent">向您保证所售商品均为正品行货</view> 228 <view class="itemContent">向您保证所售商品均为正品行货</view>
229 </view> 229 </view>
230 <view class="serviceItem2"> 230 <view class="serviceItem2">
231 <view class="title"> 231 <view class="title">
232 <text class="titleText">权利申明</text> 232 <text class="titleText">权利申明</text>
233 </view> 233 </view>
234 <view class="itemContent">任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知。</view> 234 <view class="itemContent">任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知。</view>
235 </view> 235 </view>
236 <view class="serviceItem2"> 236 <view class="serviceItem2">
237 <view class="title"> 237 <view class="title">
238 <text class="titleText">价格保证</text> 238 <text class="titleText">价格保证</text>
239 </view> 239 </view>
240 <view class="itemContent"> 240 <view class="itemContent">
241 <view class="itemContent-child"> 241 <view class="itemContent-child">
242 <text class="contentTitle">平台价:</text> 242 <text class="contentTitle">平台价:</text>
243 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> 243 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text>
244 </view> 244 </view>
245 <view class="itemContent-child"> 245 <view class="itemContent-child">
246 <text class="contentTitle">划线价:</text> 246 <text class="contentTitle">划线价:</text>
247 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> 247 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text>
248 </view> 248 </view>
249 <view class="itemContent-child"> 249 <view class="itemContent-child">
250 <text class="contentTitle">平折扣:</text> 250 <text class="contentTitle">平折扣:</text>
251 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> 251 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text>
252 </view> 252 </view>
253 <view class="itemContent-child"> 253 <view class="itemContent-child">
254 <text class="contentTitle">异常问题:</text> 254 <text class="contentTitle">异常问题:</text>
255 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> 255 <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text>
256 </view> 256 </view>
257 257
258 </view> 258 </view>
259 </view> 259 </view>
260 </view> 260 </view>
261 </view> 261 </view>
262 </view> 262 </view>
263 <view 263 <view
264 class="D4" 264 class="D4"
265 v-if="current !==2" 265 v-if="current !==2"
266 > 266 >
267 <view class="D4_esvalue"> 267 <view class="D4_esvalue">
268 <view>{{esvalue}}&nbsp;&nbsp;{{goodInfo.judgeInfo.good}}</view> 268 <view>{{esvalue}}&nbsp;&nbsp;{{goodInfo.judgeInfo.good}}</view>
269 <view class="D4_2"> 269 <view class="D4_2">
270 <view 270 <view
271 class="star" 271 class="star"
272 v-for="o in starCount" 272 v-for="o in starCount"
273 :key="o" 273 :key="o"
274 > 274 >
275 <image 275 <image
276 src="../../static/img/detail/d_star.png" 276 src="../../static/img/detail/d_star.png"
277 mode="aspectFill" 277 mode="aspectFill"
278 style="height: 26rpx; width: 28rpx;" 278 style="height: 26rpx; width: 28rpx;"
279 ></image> 279 ></image>
280 </view> 280 </view>
281 </view> 281 </view>
282 </view> 282 </view>
283 <view class="D4_list"> 283 <view class="D4_list">
284 <view 284 <view
285 v-for="(assess) in goodInfo.judge_tag" 285 v-for="(assess) in goodInfo.judge_tag"
286 :key="assess.key" 286 :key="assess.key"
287 >{{assess.name}}</view> 287 >{{assess.name}}</view>
288 </view> 288 </view>
289 </view> 289 </view>
290 <view 290 <view
291 class="D5" 291 class="D5"
292 v-if="current !==2" 292 v-if="current !==2"
293 > 293 >
294 <view class="D5_fixed1" @click="consolg(goodInfo.prodIntro1)"> 294 <view class="D5_fixed1" @click="consolg(goodInfo.prodIntro1)">
295 <image src="/static/img/detail/hr.png"></image> 295 <image src="/static/img/detail/hr.png"></image>
296 <view>商品详细</view> 296 <view>商品详细</view>
297 <image src="/static/img/detail/hr.png"></image> 297 <image src="/static/img/detail/hr.png"></image>
298 </view> 298 </view>
299 <view class="D5_all" v-html="test"> 299 <view class="D5_all" v-html="test">
300 <!-- <block> 300 <!-- <block>
301 <rich-text :nodes="goodInfo.prodIntro1"></rich-text> 301 <rich-text :nodes="goodInfo.prodIntro1"></rich-text>
302 </block> --> 302 </block> -->
303 </view> 303 </view>
304 </view> 304 </view>
305 <!-- 底部菜单 --> 305 <!-- 底部菜单 -->
306 <view class="botton"> 306 <view class="botton">
307 <view 307 <view
308 @tap="toCart()" 308 @tap="toCart()"
309 class="botton_1" 309 class="botton_1"
310 > 310 >
311 <image v-bind:src="imgShop.img"></image> 311 <image v-bind:src="imgShop.img"></image>
312 <view class="botton_image">购物车</view> 312 <view class="botton_image">购物车</view>
313 </view> 313 </view>
314 <view class="botton_2"> 314 <view class="botton_2">
315 <view 315 <view
316 class="botton_input" 316 class="botton_input"
317 @tap="addCart()" 317 @tap="addCart()"
318 >加入购物车</view> 318 >加入购物车</view>
319 <view 319 <view
320 class="botton_now" 320 class="botton_now"
321 @tap="goPerchase()" 321 @tap="goPerchase()"
322 >立即购买</view> 322 >立即购买</view>
323 </view> 323 </view>
324 </view> 324 </view>
325 </view> 325 </view>
326 </template> 326 </template>
327 327
328 <script> 328 <script>
329 import store from '@/store' 329 import store from '@/store'
330 export default { 330 export default {
331 data () { 331 data () {
332 return { 332 return {
333 test: '', 333 test: '',
334 goodType: 2, 334 goodType: 2,
335 pid: 0, 335 pid: 0,
336 // 购物车数据 336 // 购物车数据
337 addCartList: { 337 addCartList: {
338 mp_id: 0, 338 mp_id: 0,
339 sk_id: 0, 339 sk_id: 0,
340 num: 1, 340 num: 1,
341 price: '', 341 price: '',
342 }, 342 },
343 screenItems: [ 343 screenItems: [
344 { current: 0, text: '商品介绍' }, 344 { current: 0, text: '商品介绍' },
345 { current: 1, text: '规格参数' }, 345 { current: 1, text: '规格参数' },
346 { current: 2, text: '售后保障' }, 346 { current: 2, text: '售后保障' },
347 ], 347 ],
348 current: 0, 348 current: 0,
349 starCount: 5, 349 starCount: 5,
350 parameter: [ 350 parameter: [
351 { key: 0, img: '/static/img/detail/d2.png', standard: '框架宽', slength: '139mm' }, 351 { key: 0, img: '/static/img/detail/d2.png', standard: '框架宽', slength: '139mm' },
352 { key: 1, img: '/static/img/detail/d3.png', standard: '镜片宽', slength: '51mm' }, 352 { key: 1, img: '/static/img/detail/d3.png', standard: '镜片宽', slength: '51mm' },
353 { key: 2, img: '/static/img/detail/d4.png', standard: '镜片高', slength: '45mm' }, 353 { key: 2, img: '/static/img/detail/d4.png', standard: '镜片高', slength: '45mm' },
354 { key: 3, img: '/static/img/detail/d5.png', standard: '鼻架宽', slength: '19mm' }, 354 { key: 3, img: '/static/img/detail/d5.png', standard: '鼻架宽', slength: '19mm' },
355 { key: 4, img: '/static/img/detail/d6.png', standard: '框架耳长', slength: '138mm' }, 355 { key: 4, img: '/static/img/detail/d6.png', standard: '框架耳长', slength: '138mm' },
356 { key: 5, img: '/static/img/detail/d7.png', standard: '框架重', slength: '19mm' }, 356 { key: 5, img: '/static/img/detail/d7.png', standard: '框架重', slength: '19mm' },
357 ], 357 ],
358 esvalue: '宝贝好评率', 358 esvalue: '宝贝好评率',
359 introduction: { 359 introduction: {
360 material: '钛合金', 360 material: '钛合金',
361 func: '抗疲劳/防辐射', 361 func: '抗疲劳/防辐射',
362 rate: '男/女', 362 rate: '男/女',
363 }, 363 },
364 imgAll: '/static/img/detail/d8.png', 364 imgAll: '/static/img/detail/d8.png',
365 photoes: [ 365 photoes: [
366 { value: '日常办公', img: '/static/img/detail/d9.png' }, 366 { value: '日常办公', img: '/static/img/detail/d9.png' },
367 { value: '上网', img: '/static/img/detail/d10.png' }, 367 { value: '上网', img: '/static/img/detail/d10.png' },
368 { value: '追剧', img: '/static/img/detail/d11.png' }, 368 { value: '追剧', img: '/static/img/detail/d11.png' },
369 { value: '玩游戏', img: '/static/img/detail/d12.png' }, 369 { value: '玩游戏', img: '/static/img/detail/d12.png' },
370 ], 370 ],
371 imgDetail: '/static/img/detail/d13.png', 371 imgDetail: '/static/img/detail/d13.png',
372 imgShop: { 372 imgShop: {
373 img: '/static/tab-cart.png', 373 img: '/static/tab-cart.png',
374 IsShown: false, 374 IsShown: false,
375 }, 375 },
376 tag: { 376 tag: {
377 prod_tag_freesend: [{ 377 prod_tag_freesend: [{
378 label: '眼镜盒', 378 label: '眼镜盒',
379 value: '262', 379 value: '262',
380 }], 380 }],
381 }, 381 },
382 } 382 }
383 }, 383 },
384 onLoad: function ({ pid, sk_id }) { 384 onLoad: function ({ pid, sk_id }) {
385 this.pid = pid 385 this.pid = pid
386 // console.log('sk_id=====>',sk_id) 386 // console.log('sk_id=====>',sk_id)
387 store.dispatch('read/fetch', { 387 store.dispatch('read/fetch', {
388 pid, 388 pid,
389 sk_id, 389 sk_id,
390 }).then(() => { 390 }).then(() => {
391 this.parameter[0].slength = `${this.goodInfo.frame_width}mm` 391 this.parameter[0].slength = `${this.goodInfo.frame_width}mm`
392 this.parameter[1].slength = `${this.goodInfo.glass_width}mm` 392 this.parameter[1].slength = `${this.goodInfo.glass_width}mm`
393 this.parameter[2].slength = `${this.goodInfo.glass_height}mm` 393 this.parameter[2].slength = `${this.goodInfo.glass_height}mm`
394 this.parameter[3].slength = `${this.goodInfo.nose_width}mm` 394 this.parameter[3].slength = `${this.goodInfo.nose_width}mm`
395 this.parameter[4].slength = `${this.goodInfo.leg_long}mm` 395 this.parameter[4].slength = `${this.goodInfo.leg_long}mm`
396 this.parameter[5].slength = `${this.goodInfo.weight}mm` 396 this.parameter[5].slength = `${this.goodInfo.weight}mm`
397 this.tag = this.goodInfo.tag 397 this.tag = this.goodInfo.tag
398 this.test = this.goodInfo.prodIntro1 398 this.test = this.goodInfo.prodIntro1
399 this.test = this.test.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ') 399 this.test = this.test.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
400 // addCart 400 // addCart
401 this.addCartList.price = this.goodInfo.p_sale_price 401 this.addCartList.price = this.goodInfo.priceArea.Min_Price
402 this.addCartList.sk_id = this.goodInfo.skuList[0].sk_id 402 this.addCartList.sk_id = this.goodInfo.skuList[0].sk_id
403 this.addCartList.mp_id = this.goodInfo.glassData.mp_id 403 this.addCartList.mp_id = this.goodInfo.glassData.mp_id
404 }) 404 })
405 // console.log(this.$store.state.user.userInfo.uid + 'ssss') 405 // console.log(this.$store.state.user.userInfo.uid + 'ssss')
406 }, 406 },
407 computed: { 407 computed: {
408 updateGoodType () { 408 updateGoodType () {
409 return this.goodType 409 return this.goodType
410 }, 410 },
411 goodInfo () { 411 goodInfo () {
412 console.log(this.$store.state.read.goodInfo) 412 console.log(this.$store.state.read.goodInfo)
413 return this.$store.state.read.goodInfo 413 return this.$store.state.read.goodInfo
414 }, 414 },
415 }, 415 },
416 methods: { 416 methods: {
417 // 前往购物车 417 // 前往购物车
418 toCart() { 418 toCart() {
419 uni.switchTab({ 419 uni.switchTab({
420 url: '/pages/cart/cart', 420 url: '/pages/cart/cart',
421 success: res => {}, 421 success: res => {},
422 fail: (error) => { console.log('跳转购物车失败======>', error) }, 422 fail: (error) => { console.log('跳转购物车失败======>', error) },
423 complete: () => { console.log('toCart') }, 423 complete: () => { console.log('toCart') },
424 }) 424 })
425 }, 425 },
426 // 加入购物车 426 // 加入购物车
427 addCart () { 427 addCart () {
428 store.dispatch('cart/addCart', { 428 store.dispatch('cart/addCart', {
429 uid: this.$store.state.user.userInfo.uid, 429 uid: this.$store.state.user.userInfo.uid,
430 openid: this.$store.state.user.userInfo.openid, 430 openid: this.$store.state.user.userInfo.openid,
431 mp_id: this.addCartList.mp_id, 431 mp_id: this.addCartList.mp_id,
432 sk_id: this.addCartList.sk_id, 432 sk_id: this.addCartList.sk_id,
433 num: this.addCartList.num, 433 num: this.addCartList.num,
434 pid: this.pid, 434 pid: this.pid,
435 price: this.addCartList.price, 435 price: this.addCartList.price,
436 checkedSKU: {},
437 }) 436 })
437 // 再次请求购物车接口,实现实时更新
438 store.dispatch('cart/getCartList', { 438 store.dispatch('cart/getCartList', {
439 uid: this.$store.state.user.userInfo.uid, // 用户id 439 uid: this.$store.state.user.userInfo.uid,
440 }) 440 })
441 }, 441 },
442 goPerchase () { 442 goPerchase () {
443 // switch (this.updateGoodType) { 443 // switch (this.updateGoodType) {
444 // case '1': 444 // case '1':
445 console.log('goPerchase') 445 console.log('goPerchase')
446 uni.navigateTo({ 446 uni.navigateTo({
447 url: `../purchaseLenses/purchaseLenses?pid=${this.pid}`, 447 url: `../purchaseLenses/purchaseLenses?pid=${this.pid}`,
448 success: res => {}, 448 success: res => {},
449 fail: (error) => { console.log('跳转参数选择失败======>', error) }, 449 fail: (error) => { console.log('跳转参数选择失败======>', error) },
450 complete: () => { console.log('goPerchase') }, 450 complete: () => { console.log('goPerchase') },
451 }) 451 })
452 // break 452 // break
453 // case '2': 453 // case '2':
454 // uni.navigateTo({ 454 // uni.navigateTo({
455 // url: '../detailStandard/detailStandard_k', 455 // url: '../detailStandard/detailStandard_k',
456 // success: res => {}, 456 // success: res => {},
457 // fail: () => {}, 457 // fail: () => {},
458 // complete: () => {} 458 // complete: () => {}
459 // }) 459 // })
460 // break 460 // break
461 // case '3': 461 // case '3':
462 // uni.navigateTo({ 462 // uni.navigateTo({
463 // url: '../purchaseLenses/purchaseLenses', 463 // url: '../purchaseLenses/purchaseLenses',
464 // success: res => {}, 464 // success: res => {},
465 // fail: () => {}, 465 // fail: () => {},
466 // complete: () => {} 466 // complete: () => {}
467 // }) 467 // })
468 // break 468 // break
469 // case '4': 469 // case '4':
470 // uni.navigateTo({ 470 // uni.navigateTo({
471 // url: '../detailStandard/detailStandard_sun', 471 // url: '../detailStandard/detailStandard_sun',
472 // success: res => {}, 472 // success: res => {},
473 // fail: () => {}, 473 // fail: () => {},
474 // complete: () => {} 474 // complete: () => {}
475 // }) 475 // })
476 // break 476 // break
477 // default : 477 // default :
478 // break 478 // break
479 // } 479 // }
480 }, 480 },
481 // 加入购物车 481 // 加入购物车
482 // addCart () { 482 // addCart () {
483 // store.dispatch('cart/addCart', { 483 // store.dispatch('cart/addCart', {
484 // uid: this.$store.state.user.userInfo.uid, 484 // uid: this.$store.state.user.userInfo.uid,
485 // openid: this.$store.state.user.userInfo.openid, 485 // openid: this.$store.state.user.userInfo.openid,
486 // pid: this.pid, 486 // pid: this.pid,
487 // checkedSKU: {}, 487 // checkedSKU: {},
488 // }) 488 // })
489 // store.dispatch('cart/getCartList', { 489 // store.dispatch('cart/getCartList', {
490 // uid: this.$store.state.user.userInfo.uid, // 用户id 490 // uid: this.$store.state.user.userInfo.uid, // 用户id
491 // }) 491 // })
492 // }, 492 // },
493 tabChange (e) { 493 tabChange (e) {
494 if (this.current !== e) { 494 if (this.current !== e) {
495 this.current = e 495 this.current = e
496 } 496 }
497 }, 497 },
498 }, 498 },
499 } 499 }
500 </script> 500 </script>
501 <style lang='scss'> 501 <style lang='scss'>
502 .container { 502 .container {
503 background-color: #f8f8f8; 503 background-color: #f8f8f8;
504 } 504 }
505 .D1, 505 .D1,
506 .D2, 506 .D2,
507 .D3, 507 .D3,
508 .D4, 508 .D4,
509 .D6 { 509 .D6 {
510 background: #ffffff; 510 background: #ffffff;
511 margin-bottom: 10px; 511 margin-bottom: 10px;
512 padding: 8px 20px 8px 20px; 512 padding: 8px 20px 8px 20px;
513 box-sizing: border-box; 513 box-sizing: border-box;
514 .swiperImage { 514 .swiperImage {
515 width: 684rpx; 515 width: 684rpx;
516 height: 480rpx; 516 height: 480rpx;
517 image { 517 image {
518 max-width: 100%; 518 max-width: 100%;
519 max-height: 100%; 519 max-height: 100%;
520 border-radius: 16rpx; 520 border-radius: 16rpx;
521 } 521 }
522 } 522 }
523 } 523 }
524 .D5 { 524 .D5 {
525 background: #ffffff; 525 background: #ffffff;
526 padding: 8px 20px 8px 20px; 526 padding: 8px 20px 8px 20px;
527 box-sizing: border-box; 527 box-sizing: border-box;
528 } 528 }
529 .swiperImage { 529 .swiperImage {
530 width: 100%; 530 width: 100%;
531 height: 560rpx; 531 height: 560rpx;
532 .swiper-item { 532 .swiper-item {
533 width: 100%; 533 width: 100%;
534 image { 534 image {
535 width: 100%; 535 width: 100%;
536 } 536 }
537 } 537 }
538 } 538 }
539 .D1 { 539 .D1 {
540 .D1_price { 540 .D1_price {
541 color: #eb5d3b; 541 color: #eb5d3b;
542 font-size: 18px; 542 font-size: 18px;
543 margin-top: 5px; 543 margin-top: 5px;
544 font-family: "PingFangSC-Semibold"; 544 font-family: "PingFangSC-Semibold";
545 display: flex; 545 display: flex;
546 justify-content: space-between; 546 justify-content: space-between;
547 .D1_number { 547 .D1_number {
548 color: #999999; 548 color: #999999;
549 font-size: 14px; 549 font-size: 14px;
550 font-family: "PingFangSC-Regular"; 550 font-family: "PingFangSC-Regular";
551 } 551 }
552 } 552 }
553 .D1_name { 553 .D1_name {
554 font-size: 16px; 554 font-size: 16px;
555 font-family: "PingFangSC-Semibold"; 555 font-family: "PingFangSC-Semibold";
556 margin-top: 5px; 556 margin-top: 5px;
557 .D1_name1 { 557 .D1_name1 {
558 font-weight: bold; 558 font-weight: bold;
559 font-size: 16px; 559 font-size: 16px;
560 color: #333333; 560 color: #333333;
561 } 561 }
562 } 562 }
563 .D1_spans { 563 .D1_spans {
564 font-size: 10px; 564 font-size: 10px;
565 color: #999999; 565 color: #999999;
566 margin-top: 5px; 566 margin-top: 5px;
567 span { 567 span {
568 height: 14px; 568 height: 14px;
569 margin-right: 10px; 569 margin-right: 10px;
570 } 570 }
571 } 571 }
572 } 572 }
573 .D2 { 573 .D2 {
574 font-size: 14px; 574 font-size: 14px;
575 font-family: "PingFangSC-Regular"; 575 font-family: "PingFangSC-Regular";
576 view { 576 view {
577 height: 24px; 577 height: 24px;
578 } 578 }
579 .D2_span1 { 579 .D2_span1 {
580 color: #999999; 580 color: #999999;
581 } 581 }
582 .D2_span2 { 582 .D2_span2 {
583 color: #333333; 583 color: #333333;
584 } 584 }
585 } 585 }
586 .D3 { 586 .D3 {
587 .screenBar { 587 .screenBar {
588 width: 670rpx; 588 width: 670rpx;
589 margin-top: 20rpx; 589 margin-top: 20rpx;
590 margin-bottom: 24rpx; 590 margin-bottom: 24rpx;
591 display: flex; 591 display: flex;
592 flex-direction: row; 592 flex-direction: row;
593 justify-content: space-between; 593 justify-content: space-between;
594 align-items: center; 594 align-items: center;
595 font-size: 14px; 595 font-size: 14px;
596 color: #333333; 596 color: #333333;
597 transition: all 0.2s; 597 transition: all 0.2s;
598 } 598 }
599 .screen-item { 599 .screen-item {
600 font-size: 32rpx; 600 font-size: 32rpx;
601 color: #333333; 601 color: #333333;
602 display: flex; 602 display: flex;
603 transition: all 0.2s; 603 transition: all 0.2s;
604 .D3_list { 604 .D3_list {
605 margin-bottom: 4px; 605 margin-bottom: 4px;
606 } 606 }
607 .D3_list view { 607 .D3_list view {
608 display: flex; 608 display: flex;
609 align-content: center; 609 align-content: center;
610 font-size: 14px; 610 font-size: 14px;
611 color: #333333; 611 color: #333333;
612 } 612 }
613 .D3_list image { 613 .D3_list image {
614 width: 50px; 614 width: 50px;
615 height: 25px; 615 height: 25px;
616 margin-right: 6px; 616 margin-right: 6px;
617 } 617 }
618 .D3_list span { 618 .D3_list span {
619 margin-left: 6px; 619 margin-left: 6px;
620 margin-right: 5px; 620 margin-right: 5px;
621 font-family: "PingFangSC-Regular"; 621 font-family: "PingFangSC-Regular";
622 } 622 }
623 } 623 }
624 .active { 624 .active {
625 border-bottom: 4rpx solid #ff6b4a; 625 border-bottom: 4rpx solid #ff6b4a;
626 } 626 }
627 .customerService { 627 .customerService {
628 margin-bottom: 90rpx; 628 margin-bottom: 90rpx;
629 .serviceItem { 629 .serviceItem {
630 margin-bottom: 32rpx; 630 margin-bottom: 32rpx;
631 .title { 631 .title {
632 display: flex; 632 display: flex;
633 flex-direction: row; 633 flex-direction: row;
634 align-items: center; 634 align-items: center;
635 .titleText { 635 .titleText {
636 font-size: 14px; 636 font-size: 14px;
637 color: #333333; 637 color: #333333;
638 margin-bottom: 12rpx; 638 margin-bottom: 12rpx;
639 } 639 }
640 } 640 }
641 .itemContent { 641 .itemContent {
642 font-size: 14px; 642 font-size: 14px;
643 color: #999999; 643 color: #999999;
644 margin-left: 18rpx; 644 margin-left: 18rpx;
645 } 645 }
646 } 646 }
647 .serviceItem2 { 647 .serviceItem2 {
648 margin-left: 18rpx; 648 margin-left: 18rpx;
649 margin-bottom: 32rpx; 649 margin-bottom: 32rpx;
650 .titleText { 650 .titleText {
651 font-size: 14px; 651 font-size: 14px;
652 color: #ff6b4a; 652 color: #ff6b4a;
653 } 653 }
654 .itemContent { 654 .itemContent {
655 font-size: 14px; 655 font-size: 14px;
656 color: #999999; 656 color: #999999;
657 .itemContent-child { 657 .itemContent-child {
658 margin-bottom: 40rpx; 658 margin-bottom: 40rpx;
659 .contentTitle { 659 .contentTitle {
660 border-bottom: 1px solid #ff6b4a; 660 border-bottom: 1px solid #ff6b4a;
661 } 661 }
662 } 662 }
663 } 663 }
664 } 664 }
665 } 665 }
666 } 666 }
667 .D4 { 667 .D4 {
668 .D4_esvalue { 668 .D4_esvalue {
669 font-size: 14px; 669 font-size: 14px;
670 color: #333333; 670 color: #333333;
671 display: flex; 671 display: flex;
672 justify-content: space-between; 672 justify-content: space-between;
673 margin-bottom: 10px; 673 margin-bottom: 10px;
674 .D4_2 { 674 .D4_2 {
675 width: 90px; 675 width: 90px;
676 display: flex; 676 display: flex;
677 align-items: center; 677 align-items: center;
678 justify-content: space-between; 678 justify-content: space-between;
679 } 679 }
680 } 680 }
681 .D4_esvalue view { 681 .D4_esvalue view {
682 font-size: 14px; 682 font-size: 14px;
683 color: #333333; 683 color: #333333;
684 font-weight: bold; 684 font-weight: bold;
685 } 685 }
686 .D4_list{ 686 .D4_list{
687 display: grid; 687 display: grid;
688 grid-row-gap: 10px; 688 grid-row-gap: 10px;
689 grid-column-gap: 4px; 689 grid-column-gap: 4px;
690 } 690 }
691 .D4_list view { 691 .D4_list view {
692 display: flex; 692 display: flex;
693 justify-content: center; 693 justify-content: center;
694 align-items: center; 694 align-items: center;
695 font-size: 12px; 695 font-size: 12px;
696 width: 118px; 696 width: 118px;
697 height: 24px; 697 height: 24px;
698 border-radius: 2px; 698 border-radius: 2px;
699 background: #f2f2f2; 699 background: #f2f2f2;
700 color: #666666; 700 color: #666666;
701 // letter-spacing: 1px; 701 // letter-spacing: 1px;
702 } 702 }
703 } 703 }
704 .D5 { 704 .D5 {
705 .D5_fixed1 { 705 .D5_fixed1 {
706 display: flex; 706 display: flex;
707 justify-content: space-between; 707 justify-content: space-between;
708 align-content: center; 708 align-content: center;
709 margin-bottom: 12px; 709 margin-bottom: 12px;
710 view { 710 view {
711 font-size: 14px; 711 font-size: 14px;
712 color: #333333; 712 color: #333333;
713 font-weight: bold; 713 font-weight: bold;
714 font-family: "PingFangSC-Medium"; 714 font-family: "PingFangSC-Medium";
715 line-height: 24px; 715 line-height: 24px;
716 } 716 }
717 image { 717 image {
718 width: 240rpx; 718 width: 240rpx;
719 height: 3px; 719 height: 3px;
720 margin-top: 10px; 720 margin-top: 10px;
721 } 721 }
722 } 722 }
723 .D5_all { 723 .D5_all {
724 width: 100%; 724 width: 100%;
725 margin-top: 30rpx; 725 margin-top: 30rpx;
726 margin-right: 30rpx; 726 margin-right: 30rpx;
727 margin-bottom: 180rpx; 727 margin-bottom: 180rpx;
728 font-family: "PingFangSC-Regular"; 728 font-family: "PingFangSC-Regular";
729 // border: #999999 solid 1.5px; 729 // border: #999999 solid 1.5px;
730 } 730 }
731 } 731 }
732 .D6 { 732 .D6 {
733 width: 100%; 733 width: 100%;
734 height: 430px; 734 height: 430px;
735 background: #f9f6ed; 735 background: #f9f6ed;
736 margin-bottom: 74px; 736 margin-bottom: 74px;
737 view { 737 view {
738 text-align: center; 738 text-align: center;
739 } 739 }
740 .D6_v1 { 740 .D6_v1 {
741 font-weight: bold; 741 font-weight: bold;
742 } 742 }
743 .D6_v2 { 743 .D6_v2 {
744 font-size: 14px; 744 font-size: 14px;
745 margin-bottom: 30px; 745 margin-bottom: 30px;
746 } 746 }
747 .D6_v5 { 747 .D6_v5 {
748 .D6_v5_s1 { 748 .D6_v5_s1 {
749 font-weight: bold; 749 font-weight: bold;
750 } 750 }
751 .D6_v5_s2 { 751 .D6_v5_s2 {
752 font-size: 14px; 752 font-size: 14px;
753 } 753 }
754 } 754 }
755 } 755 }
756 .botton { 756 .botton {
757 position: fixed; 757 position: fixed;
758 bottom: 0; 758 bottom: 0;
759 height: 74px; 759 height: 74px;
760 width: 100%; 760 width: 100%;
761 background: #ffffff; 761 background: #ffffff;
762 padding: 20px 20px 8px 20px; 762 padding: 20px 20px 8px 20px;
763 font-family: "PingFangSC-Regular"; 763 font-family: "PingFangSC-Regular";
764 box-sizing: border-box; 764 box-sizing: border-box;
765 display: flex; 765 display: flex;
766 justify-content: space-between; 766 justify-content: space-between;
767 align-content: center; 767 align-content: center;
768 .botton_1 { 768 .botton_1 {
769 width: 20%; 769 width: 20%;
770 height: 100%; 770 height: 100%;
771 text-align: center; 771 text-align: center;
772 color: #989898; 772 color: #989898;
773 } 773 }
774 image { 774 image {
775 width: 60%; 775 width: 60%;
776 height: 30px; 776 height: 30px;
777 } 777 }
778 .botton_image { 778 .botton_image {
779 font-size: 12px; 779 font-size: 12px;
780 text-align: center; 780 text-align: center;
781 } 781 }
782 .botton_2 { 782 .botton_2 {
783 width: 74%; 783 width: 74%;
784 height: 86%; 784 height: 86%;
785 display: grid; 785 display: grid;
786 grid-template-columns: 50% 50%; 786 grid-template-columns: 50% 50%;
787 } 787 }
788 .botton_input { 788 .botton_input {
789 display: inline-flex; 789 display: inline-flex;
790 align-items: center; 790 align-items: center;
791 justify-content: space-around; 791 justify-content: space-around;
792 background: #fff0ec; 792 background: #fff0ec;
793 font-size: 16px; 793 font-size: 16px;
794 color: #ff6b4a; 794 color: #ff6b4a;
795 border-radius: 20px 0 0 20px; 795 border-radius: 20px 0 0 20px;
796 } 796 }
797 .botton_now { 797 .botton_now {
798 display: inline-flex; 798 display: inline-flex;
799 align-items: center; 799 align-items: center;
800 justify-content: space-around; 800 justify-content: space-around;
801 background: #ff6b4a; 801 background: #ff6b4a;
802 font-size: 16px; 802 font-size: 16px;
803 color: #ffffff; 803 color: #ffffff;
804 border-radius: 0 20px 20px 0; 804 border-radius: 0 20px 20px 0;
805 } 805 }
806 } 806 }
807 </style> 807 </style>