商品页面添加快捷导航

master
mabo 2021-06-04 17:32:39 +08:00
parent 8fa58c7010
commit de639c808c
4 changed files with 845 additions and 780 deletions

View File

@ -6,9 +6,13 @@
const dev = {
common: "https://common-api.pickmall.cn",
buyer: "https://buyer-api.pickmall.cn",
// common: 'http://192.168.0.109:8890',
// buyer: 'http://192.168.0.109:8888',
};
// 生产环境
const prod = {
// common: 'http://192.168.0.109:8890',
// buyer: 'http://192.168.0.109:8888',
common: "https://common-api.pickmall.cn",
buyer: "https://buyer-api.pickmall.cn",

File diff suppressed because it is too large Load Diff

View File

@ -7,13 +7,17 @@
</view>
<view class="name-star star-con">
<text class="name">{{ storeDetail.storeName }}</text>
<view>
<!-- <view>
<text :class="{ star: storeDetail.store_service_credit > 0 }"></text>
<text :class="{ star: storeDetail.store_service_credit > 1 }"></text>
<text :class="{ star: storeDetail.store_service_credit > 2 }"></text>
<text :class="{ star: storeDetail.store_service_credit > 3 }"></text>
<text :class="{ star: storeDetail.store_service_credit > 4 }"></text>
</view>
</view> -->
<view class="desc">
<text>{{storeDetail.goodsNum || 0}}商品</text>
<text>{{storeDetail.collectionNum || 0}}关注</text>
</view>
</view>
<view class="to-store-btn" @click="tostorePage(goodsDetail)">
<view>进店逛逛</view>
@ -139,7 +143,16 @@ export default {
font-weight: 700;
font-size: 28rpx;
line-height: 24px;
margin-left: 10px;
}
.desc {
font-size: 12px;
color: #999;
margin-left: 10px;
text{
margin-right: 10px;
}
}
}
.to-store-btn {

View File

@ -130,12 +130,22 @@ page{
display: flex;
width: 100%;
background: #fff !important;
> div {
flex: 1;
}
> .headerList {
flex: 8;
> div:nth-child(1) {
width: 50rpx;
}
> div:nth-child(2) {
flex: 1;
.headerList{
display: flex;
div{
flex: 1;
}
}
}
> div:nth-child(3) {
width: 100rpx;
}
justify-content: space-between;
}
@ -367,3 +377,19 @@ page {
background: #fff;
height: var(--status-bar-height);
}
//
.fast-icon{
background-color: #999;
border-radius: 50rpx;
font-size: 40rpx;
padding: 4rpx;
color: #FFFFFF;
}
.ml-20{
margin-left: 20rpx;
}
.fast-icon-dark {
color: #999;
background-color: #fff;
}