This commit is contained in:
weipengfei 2024-02-05 16:40:36 +08:00
parent 3ca2637490
commit 78a818552d
2 changed files with 16 additions and 17 deletions

View File

@ -12,8 +12,8 @@ let httpApiSix
let wsApi let wsApi
// 在打包之前请检查当前环境是否正确 // 在打包之前请检查当前环境是否正确
// const env = 'dev'; // 开发 const env = 'dev'; // 开发
const env = 'prod'; // 生产 // const env = 'prod'; // 生产
// const env = 'prew'; // 预上线 // const env = 'prew'; // 预上线
switch (env) { switch (env) {

View File

@ -25,16 +25,7 @@
</view> </view>
<view class="card_bottom" > <view class="card_bottom" >
<view class="card_left"> <view class="card_left" style="white-space: pre-wrap;" v-html="item.store_info">
<view style="white-space: pre-wrap;" v-html="item.store_info"></view>
<!-- <view class="card_item">
<view>品牌:</view>
<view></view>
</view>
<view class="card_item">
<view>规格:</view>
<view>{{item.product.unit_name}}</view>
</view> -->
</view> </view>
<view class="card_right" >立即采购</view> <view class="card_right" >立即采购</view>
</view> </view>
@ -47,7 +38,7 @@
</view> </view>
<uni-popup ref="tipspopupRef"> <uni-popup ref="tipspopupRef">
<view class="popup_ref"> <view class="popup_ref">
<image class="p_icon" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/home_img/nongzinongju_expression.webp"></image> <image class="p_icon" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/7b63620240205163923734.png"></image>
<view class="p_item1">非常抱歉</view> <view class="p_item1">非常抱歉</view>
<view class="p_item2">供销农资春节期间暂停发货年后恢复购买~</view> <view class="p_item2">供销农资春节期间暂停发货年后恢复购买~</view>
</view> </view>
@ -423,20 +414,28 @@ import { Toast } from '../../../libs/uniApi.js';
.card_bottom{ .card_bottom{
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-end;
overflow: hidden;
width: 100%;
// height: 140rpx;
.card_left{ .card_left{
font-size: 24rpx; font-size: 24rpx;
color: #616161; color: #616161;
// background-color: red; width: 240rpx;
width: 210rpx; height: 96rpx;
max-height: 140rpx; overflow: hidden;
text-overflow: ellipsis;
} }
.card_right{ .card_right{
flex-shrink: 0;
background-color: #FF593C; background-color: #FF593C;
width: 160rpx; width: 160rpx;
height: 80rpx; height: 80rpx;
background: #FF593C; background: #FF593C;
box-shadow: 0rpx 4rpx 8rpx 0rpx #FF5435; box-shadow: 0rpx 4rpx 8rpx 0rpx #FF5435;
border-radius: 84rpx; border-radius: 84rpx;
margin-bottom: 8rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -446,7 +445,7 @@ import { Toast } from '../../../libs/uniApi.js';
.popup_ref{ .popup_ref{
width: 583rpx; width: 583rpx;
height: 393rpx; height: 393rpx;
background: #f1f3f4; background: #fff;
border-radius: 30rpx 30rpx 30rpx 30rpx; border-radius: 30rpx 30rpx 30rpx 30rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;