qualifications-details.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. <template>
  2. <view class="container logistics" :style="{paddingBottom :isIphoneX ? (236+68)+'rpx' : '236rpx'}" v-if="isChange">
  3. </view>
  4. </template>
  5. <script>
  6. import { mapState,mapMutations } from 'vuex'
  7. import authorize from '@/common/config/authorize.js'
  8. var isPreviewImg;
  9. export default{
  10. data() {
  11. return{
  12. isIphoneX:this.$store.state.isIphoneX,
  13. }
  14. },
  15. onLoad(option) {
  16. },
  17. methods:{
  18. ...mapMutations(['login']),
  19. initGetLogisticsInfo(){
  20. this.ShopService.GetLogisticsInfo({ logisticsBatchId : this.logisticsBatchId, shopOrderId:this.info.shopOrderId }).then(response =>{
  21. const data = response.data.logisticsBatch
  22. if(data.remarkImages!=null){
  23. this.photoLists = data.remarkImages
  24. }else{
  25. this.photoLists =[]
  26. }
  27. this.info.note = data.remark
  28. }).catch(error =>{
  29. this.$util.msg(error.msg,2000);
  30. })
  31. }
  32. },
  33. onShow() {
  34. }
  35. }
  36. </script>
  37. <style lang="scss">
  38. page {
  39. height: auto;
  40. background:#F7F7F7;
  41. }
  42. @keyframes showRemarks {
  43. 0% {opacity: 0;}
  44. 20% {opacity: 0.2;}
  45. 40% {opacity: 0.4;}
  46. 60% {opacity: 0.6;}
  47. 80% {opacity: 0.8;}
  48. 100% {opacity: 1;}
  49. }
  50. @keyframes hideRemarks {
  51. 0% {opacity: 1;}
  52. 20% {opacity: 0.8;}
  53. 40% {opacity: 0.6;}
  54. 60% {opacity: 0.4;}
  55. 80% {opacity: 0.2;}
  56. 100% {opacity: 0;}
  57. }
  58. .logistics{
  59. border-top: 1px solid #EBEBEB;
  60. }
  61. .logistics-list{
  62. width: 100%;
  63. height: auto;
  64. padding: 10rpx 0;
  65. background-color: #FFFFFF;
  66. margin-bottom: 24rpx;
  67. .item-title{
  68. width: 702rpx;
  69. height: 80rpx;
  70. padding: 0 24rpx;
  71. line-height: 80rpx;
  72. text-align: left;
  73. font-size: $font-size-28;
  74. color: $text-color;
  75. border-bottom: 1px solid #EBEBEB;
  76. .title-left{
  77. float: left;
  78. }
  79. .title-right{
  80. float: right;
  81. .icon-shanchu{
  82. font-size: $font-size-30;
  83. color: #FF2A2A;
  84. }
  85. }
  86. }
  87. .item-main{
  88. width: 702rpx;
  89. padding: 0 24rpx;
  90. .item-main-cell{
  91. width: 100%;
  92. height: 80rpx;
  93. line-height: 80rpx;
  94. border-bottom: 1px solid #EBEBEB;
  95. position: relative;
  96. &.none{
  97. border-bottom: none;
  98. text-align: center;
  99. font-size: $font-size-28;
  100. color: $color-system;
  101. }
  102. .icon-xiayibu{
  103. width: 40rpx;
  104. height: 80rpx;
  105. display: block;
  106. position: absolute;
  107. right: 0;
  108. top: 0;
  109. font-size: $font-size-32;
  110. color: $text-color;
  111. text-align: center;
  112. }
  113. .icon-icon-test{
  114. color: $color-system;
  115. font-size: $font-size-28;
  116. margin-right: 10rpx;
  117. }
  118. .input{
  119. width: 100%;
  120. height: 44rpx;
  121. line-height: 44rpx;
  122. padding: 18rpx 0;
  123. font-size: $font-size-28;
  124. color: $text-color;
  125. }
  126. }
  127. }
  128. }
  129. .logistics-btn{
  130. width: 702rpx;
  131. height: 88rpx;
  132. margin: 0 auto;
  133. .btn{
  134. width: 100%;
  135. height: 100%;
  136. background-color: #FFF;
  137. border-radius: 44rpx;
  138. border: 1px solid $color-system;
  139. line-height: 88rpx;
  140. text-align: center;
  141. color: $color-system;
  142. }
  143. }
  144. .logistics-btn-fiexd{
  145. width: 702rpx;
  146. padding: 0 24rpx;
  147. height:auto;
  148. position: fixed;
  149. bottom: 0;
  150. left: 0;
  151. background-color: #FFF;
  152. border-radius: 20rpx 20rpx 0 0;
  153. box-shadow:0px 3px 10px rgba(51, 51, 51,0.5);
  154. z-index: 999;
  155. .btn-tips{
  156. height: 80rpx;
  157. line-height: 80rpx;
  158. text-align: center;
  159. font-size: $font-size-28;
  160. color: #999999;
  161. }
  162. .confim-btn{
  163. width: 702rpx;
  164. height: 88rpx;
  165. background: $btn-confirm;
  166. line-height: 88rpx;
  167. text-align: center;
  168. color: #FFF;
  169. font-size: $font-size-28;
  170. border-radius: 44rpx;
  171. }
  172. .logistics-remarks{
  173. width: 100%;
  174. height: auto;
  175. &.show {
  176. animation: showRemarks 0.2s linear both;
  177. }
  178. &.hide {
  179. animation: hideRemarks 0.2s linear both;
  180. }
  181. .label{
  182. height: 44rpx;
  183. line-height: 44rpx;
  184. font-size: $font-size-28;
  185. color: $text-color;
  186. }
  187. .remarks-photo{
  188. width: 100%;
  189. height: auto;
  190. padding: 10rpx 0;
  191. .photo-item{
  192. display: inline-block;
  193. width: 112rpx;
  194. height: 112rpx;
  195. margin: 10rpx 0;
  196. margin-right: 25rpx;
  197. border-radius: 10rpx;
  198. border:1px solid #F5F5F5;
  199. position: relative;
  200. float: left;
  201. &.add{
  202. width: 112rpx;
  203. height: 112rpx;
  204. border-color: #FFC684;
  205. text-align: center;
  206. line-height: 112rpx;
  207. margin-right: 0rpx;
  208. .icon-jiahao{
  209. font-size: $font-size-44;
  210. color:#FFC684 ;
  211. font-weight: bold;
  212. }
  213. }
  214. .icon-iconfontguanbi{
  215. width: 24rpx;
  216. height: 24rpx;
  217. border-radius: 0 10rpx 0 0;
  218. display: block;
  219. position: absolute;
  220. right: 0;
  221. top: 0;
  222. background: rgba(51, 51, 51, 0.7);
  223. text-align: center;
  224. line-height: 24rpx;
  225. color: #FFF;
  226. font-size: $font-size-22;
  227. }
  228. image{
  229. width: 112rpx;
  230. height: 112rpx;
  231. border-radius: 10rpx;
  232. }
  233. }
  234. .photo-list{
  235. width: 100%;
  236. height: 116rpx;
  237. overflow: hidden;
  238. white-space: nowrap;
  239. display: flex;
  240. align-items: flex-start;
  241. }
  242. .scoll-wrapper{
  243. display:flex;
  244. align-items: flex-start;
  245. }
  246. }
  247. .remarks-textarea{
  248. width: 652rpx;
  249. height: 124rpx;
  250. padding:10rpx 24rpx 24rpx 24rpx;
  251. margin-top: 20rpx;
  252. background-color: #F5F5F5;
  253. border-radius: 10rpx;
  254. position: relative;
  255. .textarea{
  256. width: 100%;
  257. height: 100%;
  258. line-height: 36rpx;
  259. font-size: $font-size-24;
  260. color: $text-color;
  261. z-index: 1;
  262. }
  263. .limit-text{
  264. position: absolute;
  265. right: 20rpx;
  266. bottom: 0;
  267. line-height: 44rpx;
  268. font-size: $font-size-24;
  269. color: #D0D0D0;
  270. .red{
  271. color: $color-system;
  272. }
  273. }
  274. }
  275. .remarks-tips{
  276. width: 100%;
  277. line-height: 70rpx;
  278. font-size: $font-size-24;
  279. color: #999999;
  280. }
  281. }
  282. }
  283. </style>