|
|
@@ -0,0 +1,104 @@
|
|
|
+<template>
|
|
|
+ <view class="app-content">
|
|
|
+ <form @submit="formSubmit">
|
|
|
+ <view class="module-com input-line-wrap">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">基础价格</view>
|
|
|
+ <input v-model="form.baseFee" placeholder-class="phcolor" class="tui-input" name="shopName" placeholder="请输入基础运费" maxlength="50" type="text" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">距离加价</view>
|
|
|
+ <input v-model="form.distanceFee" placeholder-class="phcolor" class="tui-input" name="distanceFee" placeholder="请输入手机号" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">距离加价</view>
|
|
|
+ <input v-model="form.distanceFee" placeholder-class="phcolor" class="tui-input" name="distanceFee" placeholder="请输入手机号" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">重量加价</view>
|
|
|
+ <input v-model="form.weightFee" placeholder-class="phcolor" class="tui-input" name="weightFee" placeholder="请输入手机号" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">重量加价</view>
|
|
|
+ <input v-model="form.weightFee" placeholder-class="phcolor" class="tui-input" name="weightFee" placeholder="请输入手机号" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">特殊时段费</view>
|
|
|
+ <input v-model="form.periodFee" placeholder-class="phcolor" class="tui-input" name="periodFee" placeholder="请输入加价" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">特殊时段费</view>
|
|
|
+ <input v-model="form.periodFee" placeholder-class="phcolor" class="tui-input" name="periodFee" placeholder="请输入加价" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">特殊时段费</view>
|
|
|
+ <input v-model="form.periodFee" placeholder-class="phcolor" class="tui-input" name="periodFee" placeholder="请输入加价" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">临时加价</view>
|
|
|
+ <input v-model="form.lsFee" placeholder-class="phcolor" class="tui-input" name="lsFee" placeholder="恶劣天气和下单高峰等时可填写" maxlength="50" type="number" />
|
|
|
+ </tui-list-cell>
|
|
|
+ </view>
|
|
|
+ <view class="confirm-btn">
|
|
|
+ <button class="admin-button-com big blue" formType="submit">提交</button>
|
|
|
+ </view>
|
|
|
+ </form>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import TuiListCell from '@/components/plugin/list-cell'
|
|
|
+import {mapActions} from "vuex";
|
|
|
+export default {
|
|
|
+ name: 'add',
|
|
|
+ components: {TuiListCell},
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ init() {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .app-content {
|
|
|
+ min-height: calc(100vh - 20upx);
|
|
|
+ padding-top: 20upx;
|
|
|
+ }
|
|
|
+ .prompt-text {
|
|
|
+ color: $fontColor3;
|
|
|
+ padding-left: 30upx;
|
|
|
+ margin-bottom: 30upx;
|
|
|
+ }
|
|
|
+ .module-com {
|
|
|
+ margin-bottom: 20upx;
|
|
|
+ .member-wrap {
|
|
|
+ .member-det {
|
|
|
+ font-size: 24upx;
|
|
|
+ margin-left: 20upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .remark-wrap {
|
|
|
+ align-items: flex-start;
|
|
|
+ .remark {
|
|
|
+ height: 180upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 按钮
|
|
|
+ .confirm-btn {
|
|
|
+ width: calc(100% - 60upx);
|
|
|
+ margin: 60upx 30upx 20upx;
|
|
|
+ .admin-button-com {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|