|
|
@@ -0,0 +1,195 @@
|
|
|
+<!--
|
|
|
+ * @Descripttion: 申请售后-选择仓库
|
|
|
+ * @version: 1.0.0
|
|
|
+ * @Author: dream
|
|
|
+ * @Date: 2021-03-26 14:34:38
|
|
|
+ * @LastEditors: dream
|
|
|
+ * @LastEditTime: 2021-04-10 11:32:40
|
|
|
+-->
|
|
|
+<template>
|
|
|
+ <view class="after-sales-submit" :style="{paddingBottom: `${pagePaddingBottom}px`}">
|
|
|
+ <view class="good-list iph-bg-fff">
|
|
|
+ <block v-for="(item, index) in goodList" :key="index">
|
|
|
+ <view class="check-card">
|
|
|
+ <u-checkbox v-model="item.checked" shape="circle">
|
|
|
+ <view class="u-flex">
|
|
|
+ <view class="shop-icon iph-icon-shop"></view>
|
|
|
+ <view>云东仓</view>
|
|
|
+ </view>
|
|
|
+ </u-checkbox>
|
|
|
+ <view class="problem u-flex" @click="checkWarehouse(item)">
|
|
|
+ <view class="fee-text u-m-r-24">配送费</view>
|
|
|
+ <view class="price-color">
|
|
|
+ <text class="u-font-22 u-line-32 text-weight-500">¥</text>
|
|
|
+ <text class="u-font-32 u-line-44 text-weight-600">200</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="problem" v-show="item.checked">
|
|
|
+ <textarea
|
|
|
+ class="desc-input"
|
|
|
+ v-model="item.problemDesc"
|
|
|
+ placeholder="请输入问题描述,限50字符"
|
|
|
+ placeholder-style="color: #999999;"
|
|
|
+ auto-height
|
|
|
+ @click.stop
|
|
|
+ />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ <iph-fixed-bottom @getHeight="getFooterHeight">
|
|
|
+ <view class="shopcat-footer u-flex iph-bg-fff">
|
|
|
+ <u-checkbox class="checkall u-flex-1" v-model="checkedAll" icon-size="40" shape="circle" :label-disabled="false">
|
|
|
+ <view class="check-all u-m-l-16">全选</view>
|
|
|
+ </u-checkbox>
|
|
|
+ <button class="back-btn" @click="backStep">上一步(1)</button>
|
|
|
+ <button class="pay-btn" @click="next">下一步(2)</button>
|
|
|
+ </view>
|
|
|
+ </iph-fixed-bottom>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import IphFixedBottom from '@/components/iphFixedBottom.vue'
|
|
|
+export default {
|
|
|
+ components: { IphFixedBottom },
|
|
|
+ name: 'submitAfterSales',
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ pagePaddingBottom: 0,
|
|
|
+ goodList: [{
|
|
|
+ img: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=288400877,2749955263&fm=26&gp=0.jpg',
|
|
|
+ name: '华硕天选',
|
|
|
+ spce: '一件',
|
|
|
+ warehouse: '云东仓',
|
|
|
+ salesPrice: 46800,
|
|
|
+ originalPrice: 48000,
|
|
|
+ num: 1,
|
|
|
+ checked: false,
|
|
|
+ problemDesc: ''
|
|
|
+ }, {
|
|
|
+ img: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=288400877,2749955263&fm=26&gp=0.jpg',
|
|
|
+ name: '华硕天选',
|
|
|
+ spce: '一件',
|
|
|
+ warehouse: '云东仓',
|
|
|
+ salesPrice: 46800,
|
|
|
+ originalPrice: 48000,
|
|
|
+ num: 1,
|
|
|
+ checked: false,
|
|
|
+ problemDesc: ''
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad () {
|
|
|
+
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getFooterHeight (val) {
|
|
|
+ this.pagePaddingBottom = val + 8
|
|
|
+ },
|
|
|
+ checkWarehouse (val) {
|
|
|
+ val.checked = !val.checked
|
|
|
+ },
|
|
|
+ backStep () {
|
|
|
+ uni.navigateBack({
|
|
|
+ delta: 1
|
|
|
+ })
|
|
|
+ },
|
|
|
+ next () {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: './credentials'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.after-sales-submit {
|
|
|
+ .good-list {
|
|
|
+ .check-card {
|
|
|
+ padding-bottom: 40px;
|
|
|
+ border-bottom: 1px solid $iph-border-other;
|
|
|
+ &:last-child {
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
+ .shop-icon {
|
|
|
+ margin-right: 8px;
|
|
|
+ width: 28px;
|
|
|
+ height: 28px;
|
|
|
+ }
|
|
|
+ /deep/ .u-checkbox-group {
|
|
|
+ background-color: $iph-standby-bg;
|
|
|
+ }
|
|
|
+ /deep/ .u-checkbox {
|
|
|
+ padding: 40px 0 0 32px;
|
|
|
+ width: 100% !important;
|
|
|
+ .u-checkbox__label {
|
|
|
+ margin-left: 32px !important;
|
|
|
+ margin-right: 32px !important;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .u-checkbox__icon-wrap--circle {
|
|
|
+ width: 28px !important;
|
|
|
+ height: 28px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .problem {
|
|
|
+ padding: 32px 32px 0 92px;
|
|
|
+ .fee-text {
|
|
|
+ color: $iph-desc-text;
|
|
|
+ }
|
|
|
+ .desc-input {
|
|
|
+ padding: 20px 24px;
|
|
|
+ width: auto;
|
|
|
+ background-color: #F5F5F5;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .shopcat-footer {
|
|
|
+ padding: 24px 32px;
|
|
|
+ .checkall {
|
|
|
+ /deep/ .u-checkbox {
|
|
|
+ width: 100%;
|
|
|
+ .u-checkbox__label {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .u-checkbox__icon-wrap--circle {
|
|
|
+ width: 40px !important;
|
|
|
+ height: 40px !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .check-all {
|
|
|
+ font-size: 26px;
|
|
|
+ line-height: 36px;
|
|
|
+ color: $iph-base-text;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .total-price {
|
|
|
+ line-height: 44px;
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+ .pay-btn {
|
|
|
+ margin-left: 24px;
|
|
|
+ padding: 16px 0;
|
|
|
+ width: 226px;
|
|
|
+ height: 72px;
|
|
|
+ font-size: 28px;
|
|
|
+ line-height: 40px;
|
|
|
+ color: $iph-standby-text;
|
|
|
+ background-color: $u-type-primary;
|
|
|
+ border-radius: 38px;
|
|
|
+ }
|
|
|
+ .back-btn {
|
|
|
+ @extend .pay-btn;
|
|
|
+ color: $iph-base-text;
|
|
|
+ background-color: #fff;
|
|
|
+ &::after {
|
|
|
+ border-radius: 76px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|