修改商品详情,规格的查看
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"}) => {
|
||||
console.log(uni.getStorageSync('userData'),37);
|
||||
if(uni.getStorageSync('userData')){
|
||||
let userData=uni.getStorageSync('userData')
|
||||
uni.request({
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
规格
|
||||
</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">
|
||||
{{item.title}}
|
||||
</view>
|
||||
|
@ -382,14 +382,16 @@
|
|||
border: 2rpx solid #666666;
|
||||
width: 100%;
|
||||
height: 106rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
padding: 0 42rpx;
|
||||
font-size: 24rpx;line-height: 45rpx;
|
||||
padding-top: 10rpx;
|
||||
box-sizing: border-box;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.popupList .list:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.popupList .button{
|
||||
width: 668rpx;
|
||||
height: 98rpx;
|
||||
|
|
Loading…
Reference in New Issue