|
@@ -34,29 +34,26 @@
|
|
|
<div class="tui-code" v-else @click="getCode">获取验证码</div>
|
|
<div class="tui-code" v-else @click="getCode">获取验证码</div>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
</div>
|
|
</div>
|
|
|
- </form>
|
|
|
|
|
- <!-- 推荐人 -->
|
|
|
|
|
- <div class="module-com recommend-wrap">
|
|
|
|
|
- <div class="recommend-tag">手机号</div>
|
|
|
|
|
- <div class="recommend-det">
|
|
|
|
|
- <div class="recommend-img">
|
|
|
|
|
- <img src="" alt="推荐人头像">
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="recommend-info">
|
|
|
|
|
- <div class="app-size-32">雨非轩</div>
|
|
|
|
|
- <div class="app-color-2">福建省厦门市思明区后埭溪路5号</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div class="btn-wrap">
|
|
|
|
|
- <button class="admin-button-com blue big" formType="submit">确认</button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <!-- 推荐人 -->
|
|
|
|
|
+ <div class="module-com recommend-wrap">
|
|
|
|
|
+ <div class="recommend-tag">手机号</div>
|
|
|
|
|
+ <div class="recommend-det">
|
|
|
|
|
+ <app-avatar-module src :width="78" alt="推荐人头像" />
|
|
|
|
|
+ <div class="recommend-info">
|
|
|
|
|
+ <div class="app-size-32">雨非轩</div>
|
|
|
|
|
+ <div class="app-color-2">福建省厦门市思明区后埭溪路5号</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
- <!-- 选择地区 -->
|
|
|
|
|
- <app-area-sel :show="showRegion" @hide="hideAreaSel" @change="changeAreaFn" />
|
|
|
|
|
- <!-- 省市联动 -->
|
|
|
|
|
- <simple-address ref="simpleAddress" :region="orderShop.region" :pickerValueDefault="cityPickerValueDefault" @onConfirm="onCityConfirm"></simple-address>
|
|
|
|
|
|
|
+ <div class="btn-wrap">
|
|
|
|
|
+ <button class="admin-button-com blue big" formType="submit">确认</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- 选择地区 -->
|
|
|
|
|
+ <app-area-sel :show="showRegion" @hide="hideAreaSel" @change="changeAreaFn" />
|
|
|
|
|
+ <!-- 省市联动 -->
|
|
|
|
|
+ <simple-address ref="simpleAddress" :region="orderShop.region" :pickerValueDefault="cityPickerValueDefault" @onConfirm="onCityConfirm"></simple-address>
|
|
|
|
|
+ </form>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -65,6 +62,7 @@ import { mapGetters } from 'vuex'
|
|
|
import TuiListCell from '@/components/plugin/list-cell'
|
|
import TuiListCell from '@/components/plugin/list-cell'
|
|
|
import AppAreaSel from '@/components/app-area-sel'
|
|
import AppAreaSel from '@/components/app-area-sel'
|
|
|
import SimpleAddress from '@/components/plugin/simple-address'
|
|
import SimpleAddress from '@/components/plugin/simple-address'
|
|
|
|
|
+import AppAvatarModule from '@/components/module/app-avatar'
|
|
|
const form = require('@/utils/formValidation.js')
|
|
const form = require('@/utils/formValidation.js')
|
|
|
// api
|
|
// api
|
|
|
import { sendSms } from '@/api/common'
|
|
import { sendSms } from '@/api/common'
|
|
@@ -73,7 +71,8 @@ export default {
|
|
|
components: {
|
|
components: {
|
|
|
TuiListCell,
|
|
TuiListCell,
|
|
|
AppAreaSel,
|
|
AppAreaSel,
|
|
|
- SimpleAddress
|
|
|
|
|
|
|
+ SimpleAddress,
|
|
|
|
|
+ AppAvatarModule
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -103,6 +102,9 @@ export default {
|
|
|
...mapGetters({ orderShop: 'getOrderShop' })
|
|
...mapGetters({ orderShop: 'getOrderShop' })
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ confirmFn() {
|
|
|
|
|
+ this.$util.pageTo('/official/pay')
|
|
|
|
|
+ },
|
|
|
// 验证码
|
|
// 验证码
|
|
|
getCode() {
|
|
getCode() {
|
|
|
if (!this.form.mobile || !this.$util.checkMobile(this.form.mobile)) {
|
|
if (!this.form.mobile || !this.$util.checkMobile(this.form.mobile)) {
|
|
@@ -206,7 +208,7 @@ export default {
|
|
|
.phcolor {
|
|
.phcolor {
|
|
|
color: #ccc;
|
|
color: #ccc;
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
.btn-wrap {
|
|
.btn-wrap {
|
|
|
width: 90%;
|
|
width: 90%;
|
|
|
margin: 60px auto;
|
|
margin: 60px auto;
|
|
@@ -227,6 +229,23 @@ export default {
|
|
|
border-left: 1px solid $borderColor;
|
|
border-left: 1px solid $borderColor;
|
|
|
color: $mainColor;
|
|
color: $mainColor;
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
- // 推荐人
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ // 推荐人
|
|
|
|
|
+ .recommend-wrap {
|
|
|
|
|
+ padding: 30px 45px;
|
|
|
|
|
+ .recommend-tag {
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ color: $fontColor2;
|
|
|
|
|
+ margin-bottom: 24px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .recommend-det {
|
|
|
|
|
+ @include disFlex(center, flex-start);
|
|
|
|
|
+ .recommend-info {
|
|
|
|
|
+ margin-left: 20px;
|
|
|
|
|
+ .app-size-32 {
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|