123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- <template>
- <view class="container logistics" :style="{paddingBottom :isIphoneX ? (236+68)+'rpx' : '236rpx'}" v-if="isChange">
-
-
- </view>
- </template>
- <script>
- import { mapState,mapMutations } from 'vuex'
- import authorize from '@/common/config/authorize.js'
- var isPreviewImg;
- export default{
- data() {
- return{
- isIphoneX:this.$store.state.isIphoneX,
- }
- },
- onLoad(option) {
-
- },
- methods:{
- ...mapMutations(['login']),
- initGetLogisticsInfo(){
- this.ShopService.GetLogisticsInfo({ logisticsBatchId : this.logisticsBatchId, shopOrderId:this.info.shopOrderId }).then(response =>{
- const data = response.data.logisticsBatch
- if(data.remarkImages!=null){
- this.photoLists = data.remarkImages
- }else{
- this.photoLists =[]
- }
- this.info.note = data.remark
- }).catch(error =>{
- this.$util.msg(error.msg,2000);
- })
- }
- },
- onShow() {
-
- }
- }
- </script>
- <style lang="scss">
- page {
- height: auto;
- background:#F7F7F7;
- }
- @keyframes showRemarks {
- 0% {opacity: 0;}
- 20% {opacity: 0.2;}
- 40% {opacity: 0.4;}
- 60% {opacity: 0.6;}
- 80% {opacity: 0.8;}
- 100% {opacity: 1;}
- }
- @keyframes hideRemarks {
- 0% {opacity: 1;}
- 20% {opacity: 0.8;}
- 40% {opacity: 0.6;}
- 60% {opacity: 0.4;}
- 80% {opacity: 0.2;}
- 100% {opacity: 0;}
- }
- .logistics{
- border-top: 1px solid #EBEBEB;
- }
- .logistics-list{
- width: 100%;
- height: auto;
- padding: 10rpx 0;
- background-color: #FFFFFF;
- margin-bottom: 24rpx;
- .item-title{
- width: 702rpx;
- height: 80rpx;
- padding: 0 24rpx;
- line-height: 80rpx;
- text-align: left;
- font-size: $font-size-28;
- color: $text-color;
- border-bottom: 1px solid #EBEBEB;
- .title-left{
- float: left;
- }
- .title-right{
- float: right;
- .icon-shanchu{
- font-size: $font-size-30;
- color: #FF2A2A;
- }
- }
- }
- .item-main{
- width: 702rpx;
- padding: 0 24rpx;
- .item-main-cell{
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- border-bottom: 1px solid #EBEBEB;
- position: relative;
- &.none{
- border-bottom: none;
- text-align: center;
- font-size: $font-size-28;
- color: $color-system;
- }
- .icon-xiayibu{
- width: 40rpx;
- height: 80rpx;
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- font-size: $font-size-32;
- color: $text-color;
- text-align: center;
- }
- .icon-icon-test{
- color: $color-system;
- font-size: $font-size-28;
- margin-right: 10rpx;
- }
- .input{
- width: 100%;
- height: 44rpx;
- line-height: 44rpx;
- padding: 18rpx 0;
- font-size: $font-size-28;
- color: $text-color;
- }
- }
- }
- }
- .logistics-btn{
- width: 702rpx;
- height: 88rpx;
- margin: 0 auto;
- .btn{
- width: 100%;
- height: 100%;
- background-color: #FFF;
- border-radius: 44rpx;
- border: 1px solid $color-system;
- line-height: 88rpx;
- text-align: center;
- color: $color-system;
- }
- }
- .logistics-btn-fiexd{
- width: 702rpx;
- padding: 0 24rpx;
- height:auto;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #FFF;
- border-radius: 20rpx 20rpx 0 0;
- box-shadow:0px 3px 10px rgba(51, 51, 51,0.5);
- z-index: 999;
- .btn-tips{
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- font-size: $font-size-28;
- color: #999999;
- }
- .confim-btn{
- width: 702rpx;
- height: 88rpx;
- background: $btn-confirm;
- line-height: 88rpx;
- text-align: center;
- color: #FFF;
- font-size: $font-size-28;
- border-radius: 44rpx;
- }
- .logistics-remarks{
- width: 100%;
- height: auto;
- &.show {
- animation: showRemarks 0.2s linear both;
- }
- &.hide {
- animation: hideRemarks 0.2s linear both;
- }
- .label{
- height: 44rpx;
- line-height: 44rpx;
- font-size: $font-size-28;
- color: $text-color;
- }
- .remarks-photo{
- width: 100%;
- height: auto;
- padding: 10rpx 0;
- .photo-item{
- display: inline-block;
- width: 112rpx;
- height: 112rpx;
- margin: 10rpx 0;
- margin-right: 25rpx;
- border-radius: 10rpx;
- border:1px solid #F5F5F5;
- position: relative;
- float: left;
- &.add{
- width: 112rpx;
- height: 112rpx;
- border-color: #FFC684;
- text-align: center;
- line-height: 112rpx;
- margin-right: 0rpx;
- .icon-jiahao{
- font-size: $font-size-44;
- color:#FFC684 ;
- font-weight: bold;
- }
- }
- .icon-iconfontguanbi{
- width: 24rpx;
- height: 24rpx;
- border-radius: 0 10rpx 0 0;
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- background: rgba(51, 51, 51, 0.7);
- text-align: center;
- line-height: 24rpx;
- color: #FFF;
- font-size: $font-size-22;
- }
- image{
- width: 112rpx;
- height: 112rpx;
- border-radius: 10rpx;
- }
- }
- .photo-list{
- width: 100%;
- height: 116rpx;
- overflow: hidden;
- white-space: nowrap;
- display: flex;
- align-items: flex-start;
- }
- .scoll-wrapper{
- display:flex;
- align-items: flex-start;
- }
- }
- .remarks-textarea{
- width: 652rpx;
- height: 124rpx;
- padding:10rpx 24rpx 24rpx 24rpx;
- margin-top: 20rpx;
- background-color: #F5F5F5;
- border-radius: 10rpx;
- position: relative;
- .textarea{
- width: 100%;
- height: 100%;
- line-height: 36rpx;
- font-size: $font-size-24;
- color: $text-color;
- z-index: 1;
- }
- .limit-text{
- position: absolute;
- right: 20rpx;
- bottom: 0;
- line-height: 44rpx;
- font-size: $font-size-24;
- color: #D0D0D0;
- .red{
- color: $color-system;
- }
- }
- }
- .remarks-tips{
- width: 100%;
- line-height: 70rpx;
- font-size: $font-size-24;
- color: #999999;
- }
- }
- }
- </style>
|