|
|
|
<template>
|
|
|
|
<view class="updatePrice">
|
|
|
|
<view class="orderNum">
|
|
|
|
订单号:7868867676878676876
|
|
|
|
</view>
|
|
|
|
<view class="dispatchContent" v-for="(item,index) in 2" :key="index">
|
|
|
|
<view class="dispatchItem">
|
|
|
|
<image src="/static/news3/filter.png" mode="aspectFill"></image>
|
|
|
|
<view class="right">
|
|
|
|
<view class="title">
|
|
|
|
联想小新笔记本电脑2023年新款
|
|
|
|
</view>
|
|
|
|
<view class="subTitle">
|
|
|
|
16GB,128GB
|
|
|
|
</view>
|
|
|
|
<view class="num">
|
|
|
|
x1
|
|
|
|
</view>
|
|
|
|
<view class="price">
|
|
|
|
<text style="font-size: 26upx;">¥</text>
|
|
|
|
<text>288</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="selectContent" @click="modifyInfo=true">
|
|
|
|
<view class="left">
|
|
|
|
修改单个商品价格
|
|
|
|
</view>
|
|
|
|
<view class="right">
|
|
|
|
<view class="price">
|
|
|
|
<text style="font-size: 26upx;">¥</text>
|
|
|
|
<text>288</text>
|
|
|
|
</view>
|
|
|
|
<u-icon name="arrow-right" color="#C3C3C3" size="28"></u-icon>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="selectContent" style="margin:20upx;border:none">
|
|
|
|
<view class="left">
|
|
|
|
物流费用
|
|
|
|
</view>
|
|
|
|
<view class="right">
|
|
|
|
<view class="price">
|
|
|
|
<text style="font-size: 26upx;">¥</text>
|
|
|
|
<text>288</text>
|
|
|
|
</view>
|
|
|
|
<u-icon name="arrow-right" color="#C3C3C3" size="28"></u-icon>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="btn">
|
|
|
|
保存修改
|
|
|
|
</view>
|
|
|
|
<u-popup v-model="modifyInfo" width="80%" border-radius="10" :closeable="true" mode="bottom">
|
|
|
|
<view class="modifyInfo">
|
|
|
|
<view class="filterTitle">
|
|
|
|
修改价格
|
|
|
|
</view>
|
|
|
|
<view class="form">
|
|
|
|
<view class="orginPrice">
|
|
|
|
<view class="formTitle">
|
|
|
|
商品价格
|
|
|
|
</view>
|
|
|
|
<view class="price">
|
|
|
|
<text style="font-size: 26upx;">¥</text>
|
|
|
|
<text>288</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="orginPrice">
|
|
|
|
<view class="formTitle">
|
|
|
|
修改单个商品价格
|
|
|
|
</view>
|
|
|
|
<view class="price">
|
|
|
|
<text style="font-size: 26upx;margin-right:10upx;">¥</text>
|
|
|
|
<u-input placeholder="请输入" v-model="newPrice"></u-input>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="submit">
|
|
|
|
确定
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</u-popup>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default{
|
|
|
|
data(){
|
|
|
|
return{
|
|
|
|
modifyInfo:false,
|
|
|
|
newPrice:null,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
page{
|
|
|
|
min-height: 100%;
|
|
|
|
background-color: #F7F8FA;
|
|
|
|
}
|
|
|
|
.orderNum{
|
|
|
|
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #707070;
|
|
|
|
margin:30upx;
|
|
|
|
|
|
|
|
}
|
|
|
|
.dispatchContent{
|
|
|
|
margin:20upx;
|
|
|
|
background: #FFFFFF;
|
|
|
|
border-radius: 6px 6px 6px 6px;
|
|
|
|
opacity: 1;
|
|
|
|
padding:20upx 10upx;
|
|
|
|
}
|
|
|
|
.dispatchItem{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
image{
|
|
|
|
width: 194upx;
|
|
|
|
height:194upx;
|
|
|
|
}
|
|
|
|
.right{
|
|
|
|
flex:1;
|
|
|
|
margin-left:40upx;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
.title{
|
|
|
|
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #3B3B3B;
|
|
|
|
|
|
|
|
}
|
|
|
|
.subTitle{
|
|
|
|
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #7C7C7C;
|
|
|
|
margin:14upx 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
.num{
|
|
|
|
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #1E1E1E;
|
|
|
|
}
|
|
|
|
.price{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
font-size: 32upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #F21A1C;
|
|
|
|
position: absolute;
|
|
|
|
right:20upx;
|
|
|
|
bottom:0upx;
|
|
|
|
z-index:9;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.selectContent{
|
|
|
|
padding:40upx 24upx 34upx 24upx;
|
|
|
|
background-color: #fff;
|
|
|
|
border-top:1px solid #EBEBEB;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
.left{
|
|
|
|
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #3B3B3B;
|
|
|
|
|
|
|
|
}
|
|
|
|
.right{
|
|
|
|
// text{
|
|
|
|
|
|
|
|
// font-size: 28upx;
|
|
|
|
// font-family: PingFang SC, PingFang SC;
|
|
|
|
// font-weight: 500;
|
|
|
|
// color: #B0B0B0;
|
|
|
|
|
|
|
|
// }
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.price{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
font-size: 32upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #F21A1C;
|
|
|
|
margin-right:20upx;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn{
|
|
|
|
width: 80%;
|
|
|
|
height: 100upx;
|
|
|
|
background: #FFAAA4;
|
|
|
|
border-radius: 6px 6px 6px 6px;
|
|
|
|
opacity: 1;
|
|
|
|
line-height: 100upx;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin:166upx auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.modifyInfo{
|
|
|
|
padding:32upx;
|
|
|
|
.filterTitle{
|
|
|
|
font-size: 32upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #303030;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.form{
|
|
|
|
.orginPrice{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding:36upx 0;
|
|
|
|
border-bottom: 1px solid #EAEAEA;
|
|
|
|
.formTitle{
|
|
|
|
|
|
|
|
font-size: 32upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #3B3B3B;
|
|
|
|
|
|
|
|
}
|
|
|
|
.price{
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
font-size: 32upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #F21A1C;
|
|
|
|
margin-right:20upx;
|
|
|
|
margin-left:20upx;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.submit{
|
|
|
|
width: 100%;
|
|
|
|
height: 100rpx;
|
|
|
|
background: #FFAAA4;
|
|
|
|
border-radius: 6px 6px 6px 6px;
|
|
|
|
opacity: 1;
|
|
|
|
line-height: 100rpx;
|
|
|
|
font-size: 28upx;
|
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #FFFFFF;
|
|
|
|
margin-top:210upx;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|