This commit is contained in:
kbing1981 2024-07-23 17:04:31 +08:00
parent 7746831e7c
commit b7143fe5b1
6 changed files with 87 additions and 47 deletions

View File

@ -31,7 +31,7 @@
</view> </view>
</view> </view>
</view> </view>
<view style="position: fixed;bottom: 0rpx;left: 0;right: 0;background: #FFFFFF;height: 110rpx;line-height: 110rpx;z-index: 999;"> <view class="push-button">
<button class="shouhuo" @tap="goAddress('')"> <button class="shouhuo" @tap="goAddress('')">
新增地址 新增地址
</button> </button>
@ -211,6 +211,16 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.delete-btn{ .delete-btn{
margin-left: 10px; margin-left: 10px;
} }
@ -256,17 +266,16 @@
// @import '../../../static/less/index.less'; // @import '../../../static/less/index.less';
// @import '../../../static/css/index.css'; // @import '../../../static/css/index.css';
.shouhuo{ .shouhuo{
margin: 16rpx 30upx; display: inline-block;
position: fixed;
bottom: -2upx;
width: 92%; width: 92%;
height: 80rpx; text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495); background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx; height: 40px;
line-height: 80rpx; border-radius: 28px;
font-weight: 400; color: #ffffff;
font-size: 36rpx; line-height: 40px;
color: #FFFFFF; margin-top: 4px;
font-size: 34rpx;
} }
page { page {
background: #f7f7f7; background: #f7f7f7;

View File

@ -46,7 +46,7 @@
</view> </view>
</view> </view>
<view class="sbu-btn"> <view class="push-button">
<button type="primary" style="" class="feedback-submit" @tap="send">提交</button> <button type="primary" style="" class="feedback-submit" @tap="send">提交</button>
</view> </view>
@ -239,17 +239,26 @@
<style> <style>
.feedback-submit { .feedback-submit {
width: 652rpx; display: inline-block;
height: 92rpx; width: 92%;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx;
color: #FFFFFF;
margin: 16rpx 30upx;
position: fixed;
bottom: 0upx;
line-height: 92rpx;
font-size: 32rpx;
text-align: center; text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
}
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
} }
.sbu-btn{ .sbu-btn{
display: flex; display: flex;

View File

@ -20,8 +20,10 @@
<u-rate :count="count" v-model="value" active-color="#019C88"></u-rate> <u-rate :count="count" v-model="value" active-color="#019C88"></u-rate>
</view> </view>
</view> </view>
<view class="push-button">
<button type="primary" class="feedback-submit" @tap="send">提交</button> <button type="primary" class="feedback-submit" @tap="send">提交</button>
</view> </view>
</view>
</template> </template>
<script> <script>
@ -152,7 +154,7 @@
text-align: center; text-align: center;
font-weight: 400; font-weight: 400;
font-size: 25rpx; font-size: 25rpx;
color: #ED782E; color: #999;
} }
@font-face { @font-face {
font-family: uniicons; font-family: uniicons;
@ -370,19 +372,26 @@
.feedback-star.active:after { .feedback-star.active:after {
content: '\e438'; content: '\e438';
} }
.push-button{
.feedback-submit { width: 100%;
width: 95%; height: 48px;
height: 92rpx;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx;
line-height: 92rpx;
text-align: center;
color: #FFFFFF;
margin-top: 32upx;
font-size: 42rpx;
position: fixed; position: fixed;
bottom: 0; bottom: 0px;
margin-bottom: 20px; display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.feedback-submit {
display: inline-block;
width: 92%;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
} }
</style> </style>

View File

@ -50,7 +50,12 @@
<view class="item-view"> <view class="item-view">
<view class="view-cata"> <view class="view-cata">
<view class="item-view-title">{{item.title}}</view> <view class="item-view-title">{{item.title}}</view>
<span class="xiaoer item-view-biao">{{item.classifyName}}</span> </view>
<view class="flex" style="margin-top: 10rpx;">
<view class="xiaoer item-view-biao">{{item.classifyName}}</view>
<view class="shop_label" v-if="tagsData">
<span v-for="tag in tagsData" :key="tag">{{tag}}</span>
</view>
</view> </view>
<view class="item-view-bottom-qian"> <view class="item-view-bottom-qian">
<span></span> <span></span>
@ -58,15 +63,13 @@
<!-- <span>/{{item.serviceCount}}</span> --> <!-- <span>/{{item.serviceCount}}</span> -->
<span>{{item.oldPrice}}</span> <span>{{item.oldPrice}}</span>
</view> </view>
<view class="shop_label" v-if="tagsData">
<span v-for="tag in tagsData" :key="tag">{{tag}}</span>
</view>
<view class="item-view-bottom"> <view class="item-view-bottom">
<view class="item-view-xiangmu"> <view class="item-view-xiangmu">
<span>已售</span><span>{{item.sales}} <!-- | 好评{{item.esteemRate}}% --></span> <span>已售</span><span>{{item.sales}} <!-- | 好评{{item.esteemRate}}% --></span>
</view> </view>
<view class="item-view-bottom-btn"> <view class="item-view-bottom-btn">
查看 开抢
</view> </view>
</view> </view>
</view> </view>
@ -330,8 +333,10 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.item-view-biao{ .item-view-biao{
padding: 1px 5px; padding: 1px 8px;
border-radius: 15rpx 3rpx 15rpx 3rpx; border-radius: 10rpx 3rpx 10rpx 3rpx;
font-size: 22rpx;
margin-right: 10rpx;
} }
.tuina{ .tuina{
background-color:#d1f2df; background-color:#d1f2df;
@ -358,6 +363,13 @@
color: #999; color: #999;
margin-right: 5rpx; margin-right: 5rpx;
} }
.shop_label{
padding: 1rpx 8rpx;
background:#d9ffee ;
color: #019C88;
font-size: 22rpx;
border-radius: 30rpx;
}
.item-view-xiangmu{ .item-view-xiangmu{
width: 100%; width: 100%;
display: flex; display: flex;
@ -368,7 +380,7 @@
} }
.item-view-title{ .item-view-title{
font-weight: bold; font-weight: bold;
font-size: 32rpx; font-size: 31rpx;
color: #333333; color: #333333;
overflow: hidden; overflow: hidden;
} }
@ -538,6 +550,7 @@
.view-cata{ .view-cata{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: left;
flex-direction: column;
} }
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -102,7 +102,7 @@ class Request {
constructor() { constructor() {
this.config = { this.config = {
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换 // baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
// baseUrl: 'http://192.168.2.15:8187/', // baseUrl: 'http://192.168.2.222:8187/',
baseUrl: 'https://sausers.blxinchuang.com/', // 请求的根域名 baseUrl: 'https://sausers.blxinchuang.com/', // 请求的根域名
// baseUrl: 'http://1.92.152.160/', // 请求的根域名 // baseUrl: 'http://1.92.152.160/', // 请求的根域名
// baseUrl: 'http://120.46.52.165/', // 请求的根域名 // baseUrl: 'http://120.46.52.165/', // 请求的根域名