修改商品详情,规格的查看
parent
b59c6d9f7e
commit
4cae7f7aef
1
main.js
1
main.js
|
@ -34,7 +34,6 @@ Vue.prototype.request =async ({url = '', type = '', data = {}, success}) => {
|
||||||
|
|
||||||
}
|
}
|
||||||
Vue.prototype.requestToken =async ({url = '', type = '', data = {}, success,contentType="application/x-www-form-urlencoded"}) => {
|
Vue.prototype.requestToken =async ({url = '', type = '', data = {}, success,contentType="application/x-www-form-urlencoded"}) => {
|
||||||
console.log(uni.getStorageSync('userData'),37);
|
|
||||||
if(uni.getStorageSync('userData')){
|
if(uni.getStorageSync('userData')){
|
||||||
let userData=uni.getStorageSync('userData')
|
let userData=uni.getStorageSync('userData')
|
||||||
uni.request({
|
uni.request({
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
规格
|
规格
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="">
|
<view class="" style="height: 460rpx;overflow: hidden;overflow-y: scroll;margin-top: 20rpx;">
|
||||||
<view class="list" @click="popupListFun(index)" :class="item.state?'on':''" v-for="(item,index) in commodityData.sku">
|
<view class="list" @click="popupListFun(index)" :class="item.state?'on':''" v-for="(item,index) in commodityData.sku">
|
||||||
{{item.title}}
|
{{item.title}}
|
||||||
</view>
|
</view>
|
||||||
|
@ -382,14 +382,16 @@
|
||||||
border: 2rpx solid #666666;
|
border: 2rpx solid #666666;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 106rpx;
|
height: 106rpx;
|
||||||
margin-top: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
padding: 0 42rpx;
|
padding: 0 42rpx;
|
||||||
font-size: 24rpx;line-height: 45rpx;
|
font-size: 24rpx;line-height: 45rpx;
|
||||||
padding-top: 10rpx;
|
padding-top: 10rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
.popupList .list:last-child{
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
.popupList .button{
|
.popupList .button{
|
||||||
width: 668rpx;
|
width: 668rpx;
|
||||||
height: 98rpx;
|
height: 98rpx;
|
||||||
|
|
Loading…
Reference in New Issue