|
@@ -1,28 +1,30 @@
|
|
<template>
|
|
<template>
|
|
<view class="shopdetail">
|
|
<view class="shopdetail">
|
|
<view class="shopdetail-content">
|
|
<view class="shopdetail-content">
|
|
|
|
+ <!-- 商品来源 -->
|
|
|
|
+ <view class="goodsfrom">
|
|
|
|
+ <view class="title">商品来源</view>
|
|
|
|
+ <view class="radio-warp">
|
|
|
|
+ <!-- goodsFrom 0自营;1分销 -->
|
|
|
|
+ <radio-group class="change-radio" name="goodsfrom" @change="changeGoodsFrom">
|
|
|
|
+ <label class="radio1">
|
|
|
|
+ <radio class="radioValue1" value="0" :checked="goodsFrom=== '0'" style="transform:scale(0.7)" /><text class="bar">自营</text>
|
|
|
|
+ </label>
|
|
|
|
+ <label class="radio2">
|
|
|
|
+ <radio class="radioValue2" value="1" :checked="goodsFrom === '1'" style="transform:scale(0.7)" /><text class="bar">分销</text>
|
|
|
|
+ </label>
|
|
|
|
+ </radio-group>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<!-- 所属店铺 -->
|
|
<!-- 所属店铺 -->
|
|
<view class="shop detail-list">
|
|
<view class="shop detail-list">
|
|
<view class="menu">
|
|
<view class="menu">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell-db">
|
|
<view class="uni-list-cell-db">
|
|
- <picker
|
|
|
|
- class="selectlist"
|
|
|
|
- mode="selector"
|
|
|
|
- @change="changeStore"
|
|
|
|
- :value="storeIndex"
|
|
|
|
- :range="storeList"
|
|
|
|
- :disabled="storeDisable"
|
|
|
|
- range-key="name"
|
|
|
|
- >
|
|
|
|
- <view class="uni-input title">{{
|
|
|
|
- storeList[storeIndex].name
|
|
|
|
- }}</view>
|
|
|
|
|
|
+ <picker class="selectlist" mode="selector" @change="changeStore" :value="storeIndex" :range="storeList" :disabled="storeDisable" range-key="name">
|
|
|
|
+ <view class="uni-input title">{{ storeList[storeIndex].name}}</view>
|
|
</picker>
|
|
</picker>
|
|
- <image
|
|
|
|
- src="../../static/images/moreicon.png"
|
|
|
|
- class="more"
|
|
|
|
- ></image>
|
|
|
|
|
|
+ <image src="../../static/images/moreicon.png" class="more"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -32,62 +34,31 @@
|
|
<view class="menu">
|
|
<view class="menu">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell-db">
|
|
<view class="uni-list-cell-db">
|
|
- <picker
|
|
|
|
- @change="changeType"
|
|
|
|
- :value="typeIndex"
|
|
|
|
- :range="typeList"
|
|
|
|
- :disabled="typeDisabled"
|
|
|
|
- range-key="name"
|
|
|
|
- class="selectlist"
|
|
|
|
- >
|
|
|
|
- <view class="uni-input title">{{
|
|
|
|
- typeList[typeIndex].name
|
|
|
|
- }}</view>
|
|
|
|
|
|
+ <picker @change="changeType" :value="typeIndex" :range="typeList" :disabled="typeDisabled" range-key="name" class="selectlist">
|
|
|
|
+ <view class="uni-input title">{{ typeList[typeIndex].name }}</view>
|
|
</picker>
|
|
</picker>
|
|
- <image
|
|
|
|
- src="../../static/images/moreicon.png"
|
|
|
|
- class="more"
|
|
|
|
- ></image>
|
|
|
|
|
|
+ <image src="../../static/images/moreicon.png" class="more"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 商品名称 -->
|
|
<!-- 商品名称 -->
|
|
<view class="shopname detail-list">
|
|
<view class="shopname detail-list">
|
|
- <!-- <view class="menu" v-if="hasNameList === 1"> -->
|
|
|
|
- <view class="menu" v-if="typeProperty === '1'">
|
|
|
|
|
|
+ <view class="menu" v-if="goodsFrom === '1'">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell">
|
|
<view class="uni-list-cell-db">
|
|
<view class="uni-list-cell-db">
|
|
- <picker
|
|
|
|
- @change="changeShop"
|
|
|
|
- :value="shopIndex"
|
|
|
|
- :range="shopList"
|
|
|
|
- :disabled="nameDisabled"
|
|
|
|
- range-key="name"
|
|
|
|
- class="selectlist"
|
|
|
|
- >
|
|
|
|
- <view class="uni-input title">{{
|
|
|
|
- shopList[shopIndex].name
|
|
|
|
- }}</view>
|
|
|
|
|
|
+ <picker @change="changeShop" :value="shopIndex" :range="shopList" :disabled="nameDisabled" range-key="name" class="selectlist">
|
|
|
|
+ <view class="uni-input title">{{ shopList[shopIndex].name }}</view>
|
|
</picker>
|
|
</picker>
|
|
- <image
|
|
|
|
- src="../../static/images/moreicon.png"
|
|
|
|
- class="more"
|
|
|
|
- ></image>
|
|
|
|
|
|
+ <image src="../../static/images/moreicon.png" class="more"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <!-- <view class="menu" v-if="hasNameList === 0"> -->
|
|
|
|
- <view class="menu" v-if="typeProperty === '0'">
|
|
|
|
- <input
|
|
|
|
- class="input-shopname"
|
|
|
|
- type="text"
|
|
|
|
- v-model="shopname"
|
|
|
|
- placeholder-style="color:#a2a8a8;font-size:28upx"
|
|
|
|
- placeholder="请输入商品名称"
|
|
|
|
- />
|
|
|
|
|
|
+ <view class="menu" v-if="goodsFrom === '0'">
|
|
|
|
+ <input class="input-shopname" type="text" v-model="shopname" placeholder-style="color:#a2a8a8;font-size:28upx" placeholder="请输入商品名称"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
<!-- 自定义分类 -->
|
|
<!-- 自定义分类 -->
|
|
<view class="classify detail-list noborder">
|
|
<view class="classify detail-list noborder">
|
|
<view class="menu">
|
|
<view class="menu">
|
|
@@ -120,8 +91,32 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
+ <!-- 核销类型 -->
|
|
|
|
+ <view class="goodsfrom">
|
|
|
|
+ <view class="title">核销类型</view>
|
|
|
|
+ <view class="radio-warp">
|
|
|
|
+ <!-- verifyType 1验码核销;2滑动核销-->
|
|
|
|
+ <radio-group class="change-radio" name="goodsfrom" @change="changeCancel">
|
|
|
|
+ <label class="radio1">
|
|
|
|
+ <radio class="radioValue1" :checked="verifyType === '1'" value="1" checked="" style="transform:scale(0.7)" /><text class="bar">验码核销</text>
|
|
|
|
+ </label>
|
|
|
|
+ <label class="radio2">
|
|
|
|
+ <radio class="radioValue2" :checked="verifyType === '2'" value="2" style="transform:scale(0.7)" /><text class="bar">滑动核销</text>
|
|
|
|
+ </label>
|
|
|
|
+ </radio-group>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 可核销次数 -->
|
|
|
|
+ <view class="cancelNum">
|
|
|
|
+ <view class="cancel-num-warp">
|
|
|
|
+ <view class="title">可核销次数:</view>
|
|
|
|
+ <!-- checkNum -->
|
|
|
|
+ <input class="inputcancelnum" v-model="checkNum" type="number" placeholder="请输入核销次数" placeholder-style="#a3a8a8">
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
<!-- 账号限制 -->
|
|
<!-- 账号限制 -->
|
|
- <!-- <view class="warp" v-if="typeProperty === '1'"> -->
|
|
|
|
<view class="warp">
|
|
<view class="warp">
|
|
<view class="idastrict detail-list">
|
|
<view class="idastrict detail-list">
|
|
<view class="menu">
|
|
<view class="menu">
|
|
@@ -143,31 +138,49 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="warp" v-if="typeProperty === '0'">
|
|
|
|
- <!-- 卖价 -->
|
|
|
|
- <view class="price-warp">
|
|
|
|
- <view class="name">卖价:</view>
|
|
|
|
- <input
|
|
|
|
- class="price"
|
|
|
|
- type="text"
|
|
|
|
- v-model="price"
|
|
|
|
- placeholder="请输入卖价"
|
|
|
|
- />
|
|
|
|
|
|
+
|
|
|
|
+ <!-- 实名制 -->
|
|
|
|
+ <view class="truename">
|
|
|
|
+ <view class="truename-warp">
|
|
|
|
+ <view class="txt">是否开启实名制购票</view>
|
|
|
|
+ <switch :checked="trueNme" @change="trueNmeChange" />
|
|
</view>
|
|
</view>
|
|
- <!-- 打折价 -->
|
|
|
|
- <view class="price-warp">
|
|
|
|
- <view class="name">划线价:</view>
|
|
|
|
- <input
|
|
|
|
- class="price"
|
|
|
|
- type="text"
|
|
|
|
- v-model="rateprice"
|
|
|
|
- placeholder="请输入划线价"
|
|
|
|
- />
|
|
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <!-- 可退规则 -->
|
|
|
|
+ <view class="modeltwo">
|
|
|
|
+ <view class="title">退订规则</view>
|
|
|
|
+ <view class="uni-list">
|
|
|
|
+ <radio-group @change="bookingChange">
|
|
|
|
+ <label class="uni-list-cell uni-list-cell-pd booking-item" v-for="(item, index) in bookingList" :key="index">
|
|
|
|
+ <view class="checkth">
|
|
|
|
+ <radio :value="item.id" :checked="index === bookingIndex"/>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="txt">{{ item.name }}</view>
|
|
|
|
+ </label>
|
|
|
|
+ </radio-group>
|
|
</view>
|
|
</view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="warp" v-if="goodsFrom === '0'">
|
|
|
|
+
|
|
<!-- 销售属性 -->
|
|
<!-- 销售属性 -->
|
|
<view class="property">
|
|
<view class="property">
|
|
|
|
+
|
|
<view class="property-warp">
|
|
<view class="property-warp">
|
|
<view class="title">销售属性</view>
|
|
<view class="title">销售属性</view>
|
|
|
|
+
|
|
|
|
+ <!-- 卖价 -->
|
|
|
|
+ <view class="price-warp">
|
|
|
|
+ <view class="name">卖价:</view>
|
|
|
|
+ <input class="price" type="digit" v-model="price" placeholder="请输入卖价"/>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 打折价 -->
|
|
|
|
+ <view class="price-warp">
|
|
|
|
+ <view class="name">划线价:</view>
|
|
|
|
+ <input class="price" type="digit" v-model="rateprice" placeholder="请输入划线价"/>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
<view class="date">
|
|
<view class="date">
|
|
<view class="namebar">过期日期:</view>
|
|
<view class="namebar">过期日期:</view>
|
|
<view class="num" @tap="openTime"> {{ expirationDate }}</view>
|
|
<view class="num" @tap="openTime"> {{ expirationDate }}</view>
|
|
@@ -175,16 +188,9 @@
|
|
<view class="pattern">
|
|
<view class="pattern">
|
|
<view class="uni-list">
|
|
<view class="uni-list">
|
|
<radio-group @change="radioChange">
|
|
<radio-group @change="radioChange">
|
|
- <label
|
|
|
|
- class="uni-list-cell uni-list-cell-pd pattern-item"
|
|
|
|
- v-for="(item, index) in patterList"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
|
|
+ <label class="uni-list-cell uni-list-cell-pd pattern-item" v-for="(item, index) in patterList" :key="index">
|
|
<view class="checkth">
|
|
<view class="checkth">
|
|
- <radio
|
|
|
|
- :value="item.id"
|
|
|
|
- :checked="index === patterIndex"
|
|
|
|
- />
|
|
|
|
|
|
+ <radio :value="item.id" :checked="index === patterIndex"/>
|
|
</view>
|
|
</view>
|
|
<view class="txt">
|
|
<view class="txt">
|
|
<text class="txt1"> {{ item.name }}</text>
|
|
<text class="txt1"> {{ item.name }}</text>
|
|
@@ -196,6 +202,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
<!-- 商品库存 -->
|
|
<!-- 商品库存 -->
|
|
<view class="property">
|
|
<view class="property">
|
|
<view class="property-warp">
|
|
<view class="property-warp">
|
|
@@ -203,28 +210,16 @@
|
|
<view class="pattern">
|
|
<view class="pattern">
|
|
<view class="uni-list">
|
|
<view class="uni-list">
|
|
<radio-group @change="shopNumChange">
|
|
<radio-group @change="shopNumChange">
|
|
- <label
|
|
|
|
- class="uni-list-cell uni-list-cell-pd pattern-item"
|
|
|
|
- v-for="(item, index) in shopNumList"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
|
|
+ <label class="uni-list-cell uni-list-cell-pd pattern-item" v-for="(item, index) in shopNumList" :key="index">
|
|
<view class="checkth">
|
|
<view class="checkth">
|
|
- <radio
|
|
|
|
- :value="item.id"
|
|
|
|
- :checked="index === shopNumIndex"
|
|
|
|
- />
|
|
|
|
|
|
+ <radio :value="item.id" :checked="index === shopNumIndex"/>
|
|
</view>
|
|
</view>
|
|
<view class="txt">
|
|
<view class="txt">
|
|
<text class="txt1"> {{ item.name }}</text>
|
|
<text class="txt1"> {{ item.name }}</text>
|
|
<text> {{ item.know }}</text>
|
|
<text> {{ item.know }}</text>
|
|
<view class="inventory" v-if="item.name === '限日库存模式'">
|
|
<view class="inventory" v-if="item.name === '限日库存模式'">
|
|
<text class="name">日库存数:</text>
|
|
<text class="name">日库存数:</text>
|
|
- <input
|
|
|
|
- class="dateInventory"
|
|
|
|
- type="number"
|
|
|
|
- placeholder="请输入库存数量"
|
|
|
|
- v-model="dateInventory"
|
|
|
|
- />
|
|
|
|
|
|
+ <input class="dateInventory" type="number" placeholder="请输入库存数量" v-model="dateInventory"/>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="ref" v-if="item.name === '限日库存模式'">
|
|
<view class="ref" v-if="item.name === '限日库存模式'">
|
|
@@ -232,17 +227,9 @@
|
|
<image class="reficon" src="../../static/images/ref.png" @tap="refToday"></image>
|
|
<image class="reficon" src="../../static/images/ref.png" @tap="refToday"></image>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view
|
|
|
|
- class="inventory"
|
|
|
|
- v-if="item.name === '限总库存模式'"
|
|
|
|
- >
|
|
|
|
|
|
+ <view class="inventory" v-if="item.name === '限总库存模式'">
|
|
<text class="name">总库存数:</text>
|
|
<text class="name">总库存数:</text>
|
|
- <input
|
|
|
|
- class="dateInventory"
|
|
|
|
- type="number"
|
|
|
|
- placeholder="请输入库存数量"
|
|
|
|
- v-model="sunInventory"
|
|
|
|
- />
|
|
|
|
|
|
+ <input class="dateInventory" type="number" placeholder="请输入库存数量" v-model="sunInventory"/>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="ref" v-if="item.name === '限总库存模式'">
|
|
<view class="ref" v-if="item.name === '限总库存模式'">
|
|
@@ -272,37 +259,6 @@
|
|
</view>
|
|
</view>
|
|
<view class="txt">一天内同一身份证可预定数量</view>
|
|
<view class="txt">一天内同一身份证可预定数量</view>
|
|
</view>
|
|
</view>
|
|
- <view class="truename">
|
|
|
|
- <view class="truename-warp">
|
|
|
|
- <view class="txt">是否开启实名制购票</view>
|
|
|
|
- <switch :checked="trueNme" @change="trueNmeChange" />
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="modeltwo">
|
|
|
|
- <view class="uni-list">
|
|
|
|
- <radio-group @change="bookingChange">
|
|
|
|
- <label
|
|
|
|
- class="uni-list-cell uni-list-cell-pd booking-item"
|
|
|
|
- v-for="(item, index) in bookingList"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
- <view class="checkth">
|
|
|
|
- <radio
|
|
|
|
- :value="item.id"
|
|
|
|
- :checked="index === bookingIndex"
|
|
|
|
- />
|
|
|
|
- </view>
|
|
|
|
- <view class="txt">{{ item.name }}</view>
|
|
|
|
- </label>
|
|
|
|
- </radio-group>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="truename">
|
|
|
|
- <view class="truename-warp">
|
|
|
|
- <view class="txt">订单显示二维码</view>
|
|
|
|
- <switch :checked="codeShow" @change="codeShowChange" />
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -311,8 +267,7 @@
|
|
<view class="iconcontent">
|
|
<view class="iconcontent">
|
|
<image class="shopLogo" :src="iconurl" v-if="iconurl"></image>
|
|
<image class="shopLogo" :src="iconurl" v-if="iconurl"></image>
|
|
<text class="icon" @tap="uploadImg">点击上传</text>
|
|
<text class="icon" @tap="uploadImg">点击上传</text>
|
|
- <text class="per"
|
|
|
|
- >{{ uploadtxt }} {{ progress === 0 ? '' : progress }}
|
|
|
|
|
|
+ <text class="per">{{ uploadtxt }} {{ progress === 0 ? '' : progress }}
|
|
<text v-if="progress != 0">%</text></text
|
|
<text v-if="progress != 0">%</text></text
|
|
>
|
|
>
|
|
</view>
|
|
</view>
|
|
@@ -351,8 +306,10 @@
|
|
></editor>
|
|
></editor>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
<view class="btn" @tap="submitMesage">确认</view>
|
|
<view class="btn" @tap="submitMesage">确认</view>
|
|
- <rf-loading v-if="loading"></rf-loading>
|
|
|
|
|
|
+
|
|
|
|
+ <!-- <rf-loading v-if="loading"></rf-loading> -->
|
|
<uni-calendar
|
|
<uni-calendar
|
|
ref="calendar"
|
|
ref="calendar"
|
|
:insert="false"
|
|
:insert="false"
|
|
@@ -391,7 +348,7 @@ export default {
|
|
storeIndex: 0,
|
|
storeIndex: 0,
|
|
storeId: '',
|
|
storeId: '',
|
|
storeDisable: true,
|
|
storeDisable: true,
|
|
- typeProperty: '1', // 判断所属店铺是否是自营店铺 1分销 0自营
|
|
|
|
|
|
+
|
|
|
|
|
|
typeList: [{ name: '商品类型(请先选择所属店铺)', id: '' }],
|
|
typeList: [{ name: '商品类型(请先选择所属店铺)', id: '' }],
|
|
typeIndex: 0,
|
|
typeIndex: 0,
|
|
@@ -452,16 +409,25 @@ export default {
|
|
{ id: '2', name: '限总库存模式', know: '总库存限制,卖完为止。' },
|
|
{ id: '2', name: '限总库存模式', know: '总库存限制,卖完为止。' },
|
|
],
|
|
],
|
|
shopNumIndex: 0,
|
|
shopNumIndex: 0,
|
|
|
|
+ inventory: '', // 库存数量
|
|
|
|
|
|
dateInventory: 0,
|
|
dateInventory: 0,
|
|
sunInventory: 0,
|
|
sunInventory: 0,
|
|
- inventory: '',
|
|
|
|
|
|
|
|
todayResidue: 0,
|
|
todayResidue: 0,
|
|
sunResidue: 0,
|
|
sunResidue: 0,
|
|
|
|
|
|
bookingnum: '',
|
|
bookingnum: '',
|
|
|
|
|
|
|
|
+ trueNme: true,
|
|
|
|
+ codeShow: false,
|
|
|
|
+
|
|
|
|
+ goodsName: '',
|
|
|
|
+ goodsFrom: '1', // 0 自营,1分销
|
|
|
|
+ verifyType: '1', // 1验码核销 ; 2滑动核销
|
|
|
|
+ checkNum: 1, // 核销次数
|
|
|
|
+
|
|
|
|
+ refund: '0', // 可退规则
|
|
bookingList: [
|
|
bookingList: [
|
|
{ id: '0', name: '未消费统一可退' },
|
|
{ id: '0', name: '未消费统一可退' },
|
|
{ id: '1', name: '过期不可退' },
|
|
{ id: '1', name: '过期不可退' },
|
|
@@ -469,9 +435,6 @@ export default {
|
|
],
|
|
],
|
|
bookingIndex: 0,
|
|
bookingIndex: 0,
|
|
|
|
|
|
- trueNme: false,
|
|
|
|
- codeShow: false,
|
|
|
|
-
|
|
|
|
// 规则参数
|
|
// 规则参数
|
|
astrictDate: {
|
|
astrictDate: {
|
|
data: {
|
|
data: {
|
|
@@ -480,18 +443,11 @@ export default {
|
|
dateSetting: '0', // 有效期模式
|
|
dateSetting: '0', // 有效期模式
|
|
goodsStockFlag: '0', // 库存模式
|
|
goodsStockFlag: '0', // 库存模式
|
|
bookRule: '', // 同一天限购
|
|
bookRule: '', // 同一天限购
|
|
- usubscribeRule: '0', // 可退规则
|
|
|
|
- isRealName: '1', // 开启实名制
|
|
|
|
- isShowQrcode: '1', // 显示二维码
|
|
|
|
|
|
+ isRealName: '1', // 开启实名制 1是 ; 0 否
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- onShow () {
|
|
|
|
- if (this.storeId != '') {
|
|
|
|
- this.getLine(this.storeId)
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
onReady () {
|
|
onReady () {
|
|
myCloud = uniCloud.init({
|
|
myCloud = uniCloud.init({
|
|
provider: 'aliyun',
|
|
provider: 'aliyun',
|
|
@@ -499,6 +455,11 @@ export default {
|
|
clientSecret: '8nOzV70edtpCd0El6qce3g==',
|
|
clientSecret: '8nOzV70edtpCd0El6qce3g==',
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ onShow () {
|
|
|
|
+ if (this.storeId != '') {
|
|
|
|
+ this.getLine(this.storeId)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
onLoad ( option ) {
|
|
onLoad ( option ) {
|
|
if (option.id != 'undefined') {
|
|
if (option.id != 'undefined') {
|
|
this.SHOPID = option.id
|
|
this.SHOPID = option.id
|
|
@@ -512,9 +473,7 @@ export default {
|
|
this.rateprice = this.shopData.price / 100;
|
|
this.rateprice = this.shopData.price / 100;
|
|
|
|
|
|
if (this.shopData.expiredTime) {
|
|
if (this.shopData.expiredTime) {
|
|
- this.expirationDate = this.shopData.expiredTime.slice(0, 10)
|
|
|
|
- ? this.shopData.expiredTime.slice(0, 10)
|
|
|
|
- : '请选择商品过期日期';
|
|
|
|
|
|
+ this.expirationDate = this.shopData.expiredTime.slice(0, 10) ? this.shopData.expiredTime.slice(0, 10) : '请选择商品过期日期';
|
|
}
|
|
}
|
|
|
|
|
|
// 图标回显
|
|
// 图标回显
|
|
@@ -531,7 +490,15 @@ export default {
|
|
this.pickList.push(element.url)
|
|
this.pickList.push(element.url)
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+
|
|
let rule = JSON.parse(this.shopData.saleRuleJson);
|
|
let rule = JSON.parse(this.shopData.saleRuleJson);
|
|
|
|
+ // 实名制
|
|
|
|
+ if (rule.data.isRealName === '0') {
|
|
|
|
+ this.trueNme = true;
|
|
|
|
+ } else {
|
|
|
|
+ this.trueNme = false;
|
|
|
|
+ }
|
|
|
|
+ this.astrictDate.data.isRealName = rule.data.isRealName;
|
|
|
|
|
|
if (rule) {
|
|
if (rule) {
|
|
this.astrictDate.data.saleDay = rule.data.saleDay
|
|
this.astrictDate.data.saleDay = rule.data.saleDay
|
|
@@ -555,25 +522,7 @@ export default {
|
|
}
|
|
}
|
|
// 预订数量
|
|
// 预订数量
|
|
this.astrictDate.data.bookRule = rule.data.bookRule;
|
|
this.astrictDate.data.bookRule = rule.data.bookRule;
|
|
-
|
|
|
|
- // 实名制
|
|
|
|
- if (rule.data.isRealName === '0') {
|
|
|
|
- this.trueNme = true;
|
|
|
|
- } else {
|
|
|
|
- this.trueNme = false;
|
|
|
|
- }
|
|
|
|
- this.astrictDate.data.isRealName = rule.data.isRealName;
|
|
|
|
-
|
|
|
|
- // 可退规则
|
|
|
|
- this.bookingIndex = +rule.data.usubscribeRule;
|
|
|
|
- this.astrictDate.data.usubscribeRule = rule.data.usubscribeRule;
|
|
|
|
- // 二维码
|
|
|
|
- if (rule.data.isShowQrcode === '0') {
|
|
|
|
- this.codeShow = true;
|
|
|
|
- } else {
|
|
|
|
- this.codeShow = false;
|
|
|
|
- }
|
|
|
|
- this.astrictDate.data.isShowQrcode = rule.data.isShowQrcode;
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
// 限制购票回显
|
|
// 限制购票回显
|
|
if (this.shopData.saleRule === '1') {
|
|
if (this.shopData.saleRule === '1') {
|
|
@@ -590,11 +539,37 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+
|
|
|
|
+ // 商品来源
|
|
|
|
+ changeGoodsFrom(e) {
|
|
|
|
+ this.goodsFrom = e.detail.value
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ // 核验方式
|
|
|
|
+ changeCancel(e) {
|
|
|
|
+ this.verifyType = e.detail.value
|
|
|
|
+ },
|
|
|
|
+
|
|
// 获取单个商品信息
|
|
// 获取单个商品信息
|
|
async getShopBuyId (id) {
|
|
async getShopBuyId (id) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
await this.$http.get('/goods/getById/' + id).then((res) => {
|
|
await this.$http.get('/goods/getById/' + id).then((res) => {
|
|
|
|
+ console.log(res);
|
|
if (res.code === 200 && res.msg === 'OK') {
|
|
if (res.code === 200 && res.msg === 'OK') {
|
|
|
|
+
|
|
|
|
+ this.goodsFrom = res.data.goodsFrom
|
|
|
|
+ this.verifyType = res.data.verifyType
|
|
|
|
+ this.refund = res.data.refund
|
|
|
|
+ this.checkNum = res.data.checkNum
|
|
|
|
+
|
|
|
|
+ // 可退规则
|
|
|
|
+ this.bookingList.forEach((item,index) => {
|
|
|
|
+ if (item.id === res.data.refund) {
|
|
|
|
+ this.bookingIndex = index
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ this.refund = res.data.refund;
|
|
|
|
+
|
|
this.shopData = res.data;
|
|
this.shopData = res.data;
|
|
this.storeId = res.data.shopId;
|
|
this.storeId = res.data.shopId;
|
|
this.typeId = res.data.typeId;
|
|
this.typeId = res.data.typeId;
|
|
@@ -636,7 +611,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
this.astrictDate.data.goodsStockFlag = e.detail.value;
|
|
this.astrictDate.data.goodsStockFlag = e.detail.value;
|
|
- this.getResidue()
|
|
|
|
|
|
+ // this.getResidue()
|
|
},
|
|
},
|
|
// 剩余库存
|
|
// 剩余库存
|
|
async getResidue () {
|
|
async getResidue () {
|
|
@@ -645,6 +620,7 @@ export default {
|
|
id:this.SHOPID,
|
|
id:this.SHOPID,
|
|
goodsStockFlag: this.astrictDate.data.goodsStockFlag
|
|
goodsStockFlag: this.astrictDate.data.goodsStockFlag
|
|
}).then( res =>{
|
|
}).then( res =>{
|
|
|
|
+ console.log(res);
|
|
if (res.code === 200 && res.msg ==='OK') {
|
|
if (res.code === 200 && res.msg ==='OK') {
|
|
if (+this.astrictDate.data.goodsStockFlag === 1) {
|
|
if (+this.astrictDate.data.goodsStockFlag === 1) {
|
|
this.todayResidue = res.data.now_inventory
|
|
this.todayResidue = res.data.now_inventory
|
|
@@ -655,11 +631,11 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
refToday () {
|
|
refToday () {
|
|
- this.todayResidue = '...'
|
|
|
|
|
|
+ this.todayResidue = 0
|
|
this.getResidue()
|
|
this.getResidue()
|
|
},
|
|
},
|
|
refSun () {
|
|
refSun () {
|
|
- this.sunResidue = '...'
|
|
|
|
|
|
+ this.sunResidue = 0
|
|
this.getResidue()
|
|
this.getResidue()
|
|
},
|
|
},
|
|
// 可退模式
|
|
// 可退模式
|
|
@@ -670,7 +646,7 @@ export default {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- this.astrictDate.data.usubscribeRule = e.detail.value;
|
|
|
|
|
|
+ this.refund = e.detail.value;
|
|
},
|
|
},
|
|
// 实名制
|
|
// 实名制
|
|
trueNmeChange (e) {
|
|
trueNmeChange (e) {
|
|
@@ -680,14 +656,7 @@ export default {
|
|
this.astrictDate.data.isRealName = '1';
|
|
this.astrictDate.data.isRealName = '1';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // 显示二维码
|
|
|
|
- codeShowChange (e) {
|
|
|
|
- if (e.detail.value) {
|
|
|
|
- this.astrictDate.data.isShowQrcode = '0';
|
|
|
|
- } else {
|
|
|
|
- this.astrictDate.data.isShowQrcode = '1';
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
// 初始化编辑器
|
|
// 初始化编辑器
|
|
onEditorReady () {
|
|
onEditorReady () {
|
|
// this.placeholderContent = this.shopData.describ
|
|
// this.placeholderContent = this.shopData.describ
|
|
@@ -716,9 +685,9 @@ export default {
|
|
changeStore (e) {
|
|
changeStore (e) {
|
|
this.storeIndex = e.detail.value;
|
|
this.storeIndex = e.detail.value;
|
|
this.storeId = this.storeList[this.storeIndex].id;
|
|
this.storeId = this.storeList[this.storeIndex].id;
|
|
- this.typeProperty = this.storeList[this.storeIndex].type;
|
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
|
- if (!this.SHOPID) {
|
|
|
|
|
|
+ if (!this.SHOPID && e.detail.value != 0) {
|
|
this.getType(this.storeId)
|
|
this.getType(this.storeId)
|
|
this.getLine(this.storeId)
|
|
this.getLine(this.storeId)
|
|
}
|
|
}
|
|
@@ -767,7 +736,6 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.storeId = this.storeList[this.storeIndex].id;
|
|
this.storeId = this.storeList[this.storeIndex].id;
|
|
- this.typeProperty = this.storeList[this.storeIndex].type;
|
|
|
|
|
|
|
|
this.getType(this.storeId);
|
|
this.getType(this.storeId);
|
|
this.getLine(this.storeId);
|
|
this.getLine(this.storeId);
|
|
@@ -821,7 +789,7 @@ export default {
|
|
// 回显名称
|
|
// 回显名称
|
|
if (this.shopData.name) {
|
|
if (this.shopData.name) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- if (this.typeProperty != 0) {
|
|
|
|
|
|
+ if (this.goodsFrom != 0) {
|
|
this.shopList[0] = { name: this.shopData.name, id: '' };
|
|
this.shopList[0] = { name: this.shopData.name, id: '' };
|
|
this.shopIndex = 0
|
|
this.shopIndex = 0
|
|
this.shopId = this.shopList[this.shopIndex].id;
|
|
this.shopId = this.shopList[this.shopIndex].id;
|
|
@@ -848,7 +816,8 @@ export default {
|
|
})
|
|
})
|
|
.then(async (res) => {
|
|
.then(async (res) => {
|
|
let arr = [];
|
|
let arr = [];
|
|
- this.typeProperty = +res.data.shopFrom;
|
|
|
|
|
|
+
|
|
|
|
+
|
|
res.data.customGroupList.forEach((element) => {
|
|
res.data.customGroupList.forEach((element) => {
|
|
arr.push({ name: element.name, id: element.id });
|
|
arr.push({ name: element.name, id: element.id });
|
|
});
|
|
});
|
|
@@ -922,9 +891,7 @@ export default {
|
|
_self.$mHelper.toast('图标上传失败,请重新上传')
|
|
_self.$mHelper.toast('图标上传失败,请重新上传')
|
|
},
|
|
},
|
|
onUploadProgress: function (progressEvent) {
|
|
onUploadProgress: function (progressEvent) {
|
|
- _self.progress = Math.round(
|
|
|
|
- (progressEvent.loaded * 100) / progressEvent.total
|
|
|
|
- );
|
|
|
|
|
|
+ _self.progress = Math.round( (progressEvent.loaded * 100) / progressEvent.total );
|
|
if (_self.progress === 100) {
|
|
if (_self.progress === 100) {
|
|
_self.uploadtxt = '上传成功';
|
|
_self.uploadtxt = '上传成功';
|
|
}
|
|
}
|
|
@@ -986,87 +953,9 @@ export default {
|
|
// 内容提交
|
|
// 内容提交
|
|
submitMesage () {
|
|
submitMesage () {
|
|
let _this = this;
|
|
let _this = this;
|
|
-
|
|
|
|
- if (this.progress > 0 && this.progress < 100) {
|
|
|
|
- this.$mHelper.toast('您有图标正在上传,请在上传完成后提交内容!')
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- // 判断是否限制账号购买
|
|
|
|
- if (this.showoperat) {
|
|
|
|
- this.salerule = '1'
|
|
|
|
- } else {
|
|
|
|
- this.salerule = '0'
|
|
|
|
- this.astrictDate.data.saleDay = '';
|
|
|
|
- this.astrictDate.data.saleNum = '';
|
|
|
|
- }
|
|
|
|
- let name = '';
|
|
|
|
- if (this.typeProperty === 1) {
|
|
|
|
- if (this.SHOPID) {
|
|
|
|
- name = this.shopList[this.shopIndex].name
|
|
|
|
- } else {
|
|
|
|
- name = this.shopList[this.shopIndex].id;
|
|
|
|
- }
|
|
|
|
- } else if (this.typeProperty === 0) {
|
|
|
|
- name = this.shopname;
|
|
|
|
- }
|
|
|
|
- if (!this.storeId) {
|
|
|
|
- this.$mHelper.toast('请选择所属商铺!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (!this.typeId) {
|
|
|
|
- this.$mHelper.toast('请选择商品类型!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (!name) {
|
|
|
|
- this.$mHelper.toast('请选择商品名称或者输入商品名称!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (this.typeProperty === 0) {
|
|
|
|
-
|
|
|
|
- if (!this.lineId) {
|
|
|
|
- this.$mHelper.toast('请选择商品分类!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- const pat = new RegExp(/(?:^[1-9]([0-9]+)?(?:\.[0-9]{1,2})?$)|(?:^(?:0){1}$)|(?:^[0-9]\.[0-9](?:[0-9])?$)/)
|
|
|
|
- if (!this.price || !pat.test(this.price)) {
|
|
|
|
- this.$mHelper.toast('请输入正确的商品卖价!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (!this.rateprice || !pat.test(this.rateprice)) {
|
|
|
|
- this.$mHelper.toast('请输入正确的商品划线价!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (this.expirationDate === '请选择商品过期日期') {
|
|
|
|
- this.$mHelper.toast('请选择商品过期日期');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- if (this.shopIndex === 0) {
|
|
|
|
- this.inventory = '';
|
|
|
|
- }
|
|
|
|
- if (this.shopNumIndex === 1) {
|
|
|
|
- this.inventory = this.dateInventory;
|
|
|
|
- if (!this.inventory) {
|
|
|
|
- this.$mHelper.toast('请输入日库存数量!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (this.shopNumIndex === 2) {
|
|
|
|
- this.inventory = this.sunInventory;
|
|
|
|
- if (!this.inventory) {
|
|
|
|
- this.$mHelper.toast('请输入总库存数量!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (!this.astrictDate.data.bookRule) {
|
|
|
|
- this.$mHelper.toast('请输入预订数量!');
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- this.loading = true;
|
|
|
|
- this.$http
|
|
|
|
- .post('/goods/add', {
|
|
|
|
|
|
+ this.proofRule().then( ()=>{
|
|
|
|
+ this.loading = true;
|
|
|
|
+ this.$http.post('/goods/add', {
|
|
id: this.shopData.id || '',
|
|
id: this.shopData.id || '',
|
|
mid: this.scenicId,
|
|
mid: this.scenicId,
|
|
shopId: this.storeId,
|
|
shopId: this.storeId,
|
|
@@ -1078,15 +967,21 @@ export default {
|
|
del: this.shopData.del || '',
|
|
del: this.shopData.del || '',
|
|
upDown: this.shopData.upDown || '',
|
|
upDown: this.shopData.upDown || '',
|
|
saleRule: this.salerule, // 限制购票
|
|
saleRule: this.salerule, // 限制购票
|
|
|
|
+
|
|
|
|
+ goodsFrom: this.goodsFrom,
|
|
|
|
+ verifyType: this.verifyType,
|
|
|
|
+ checkNum: this.checkNum,
|
|
|
|
+
|
|
|
|
+ refund: this.refund,
|
|
saleRuleJson: JSON.stringify(this.astrictDate),
|
|
saleRuleJson: JSON.stringify(this.astrictDate),
|
|
|
|
+
|
|
// 自营
|
|
// 自营
|
|
- name: name,
|
|
|
|
|
|
+ name: this.goodsName,
|
|
salePrice: this.price * 100 || null,
|
|
salePrice: this.price * 100 || null,
|
|
price: this.rateprice * 100 || null,
|
|
price: this.rateprice * 100 || null,
|
|
- expiredTime:this.expirationDate === '请选择商品过期日期'? '': this.expirationDate,
|
|
|
|
|
|
+ expiredTime: this.expirationDate === '请选择商品过期日期'? '': this.expirationDate,
|
|
inventory: this.inventory
|
|
inventory: this.inventory
|
|
- })
|
|
|
|
- .then((res) => {
|
|
|
|
|
|
+ }).then((res) => {
|
|
if (res.code === 200 && res.msg === 'OK') {
|
|
if (res.code === 200 && res.msg === 'OK') {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
if (this.shopData.id) {
|
|
if (this.shopData.id) {
|
|
@@ -1099,7 +994,99 @@ export default {
|
|
}, 500);
|
|
}, 500);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ })
|
|
|
|
+
|
|
},
|
|
},
|
|
|
|
+ // 验证规则
|
|
|
|
+ proofRule () {
|
|
|
|
+ return new Promise((resolve,reject)=>{
|
|
|
|
+
|
|
|
|
+ if (this.progress > 0 && this.progress < 100) {
|
|
|
|
+ this.$mHelper.toast('您有图标正在上传,请在上传完成后提交内容!')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ // 判断是否限制账号购买
|
|
|
|
+ if (this.showoperat) {
|
|
|
|
+ this.salerule = '1'
|
|
|
|
+ } else {
|
|
|
|
+ this.salerule = '0'
|
|
|
|
+ this.astrictDate.data.saleDay = '';
|
|
|
|
+ this.astrictDate.data.saleNum = '';
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (!this.storeId) {
|
|
|
|
+ this.$mHelper.toast('请选择所属商铺!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (!this.typeId) {
|
|
|
|
+ this.$mHelper.toast('请选择商品类型!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (this.goodsFrom === '1') { // 分销商品
|
|
|
|
+ if (this.SHOPID) {
|
|
|
|
+ this.goodsName = this.shopList[this.shopIndex].name
|
|
|
|
+ } else {
|
|
|
|
+ this.goodsName = this.shopList[this.shopIndex].id;
|
|
|
|
+ }
|
|
|
|
+ } else if (this.goodsFrom === '0') {
|
|
|
|
+ this.goodsName = this.shopname;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (!this.goodsName) {
|
|
|
|
+ this.$mHelper.toast('请选择商品名称或者输入商品名称!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ console.log(this.goodsFrom);
|
|
|
|
+ if (this.goodsFrom === '0') {
|
|
|
|
+
|
|
|
|
+ if (!this.lineId) {
|
|
|
|
+ this.$mHelper.toast('请选择商品分类!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ const pat = new RegExp(/(?:^[1-9]([0-9]+)?(?:\.[0-9]{1,2})?$)|(?:^(?:0){1}$)|(?:^[0-9]\.[0-9](?:[0-9])?$)/)
|
|
|
|
+ if (!this.price || !pat.test(this.price)) {
|
|
|
|
+ this.$mHelper.toast('请输入正确的商品卖价!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (!this.rateprice || !pat.test(this.rateprice)) {
|
|
|
|
+ this.$mHelper.toast('请输入正确的商品划线价!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (this.expirationDate === '请选择商品过期日期') {
|
|
|
|
+ this.$mHelper.toast('请选择商品过期日期');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (this.shopNumIndex === 0) {
|
|
|
|
+ this.inventory = '';
|
|
|
|
+ }
|
|
|
|
+ console.log(this.shopNumIndex);
|
|
|
|
+ if (this.shopNumIndex === 1) {
|
|
|
|
+ this.inventory = this.dateInventory;
|
|
|
|
+ if (!this.inventory) {
|
|
|
|
+ this.$mHelper.toast('请输入日库存数量!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (this.shopNumIndex === 2) {
|
|
|
|
+ this.inventory = this.sunInventory;
|
|
|
|
+ if (!this.inventory) {
|
|
|
|
+ this.$mHelper.toast('请输入总库存数量!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (!this.astrictDate.data.bookRule) {
|
|
|
|
+ this.$mHelper.toast('请输入预订数量!');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ resolve()
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ }
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
@@ -1108,6 +1095,78 @@ export default {
|
|
.shopdetail {
|
|
.shopdetail {
|
|
.shopdetail-content {
|
|
.shopdetail-content {
|
|
padding: 24upx 0 0upx;
|
|
padding: 24upx 0 0upx;
|
|
|
|
+ .goodsfrom {
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
|
+ .title{
|
|
|
|
+ padding: 20upx 33upx;
|
|
|
|
+ font-size: 32rpx;
|
|
|
|
+ color: #232828;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ background-color: #f1f1f1;
|
|
|
|
+ }
|
|
|
|
+ .radio-warp{
|
|
|
|
+ padding: 22upx 33upx;
|
|
|
|
+ .change-radio{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .radio2{
|
|
|
|
+ margin-left: 60upx;
|
|
|
|
+ }
|
|
|
|
+ .bar {
|
|
|
|
+ margin-left: 20upx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .cancelNum{
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
|
+ .cancel-num-warp{
|
|
|
|
+ padding: 22upx 33upx;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .title{
|
|
|
|
+ color: #000;
|
|
|
|
+ }
|
|
|
|
+ .inputcancelnum{
|
|
|
|
+ margin-left: 20upx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .modeltwo {
|
|
|
|
+ .title {
|
|
|
|
+ padding: 20upx 33upx;
|
|
|
|
+ font-size: 32rpx;
|
|
|
|
+ color: #232828;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ background-color: #f1f1f1;
|
|
|
|
+ }
|
|
|
|
+ .booking-item {
|
|
|
|
+ display: flex;
|
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
|
+ padding: 0 33upx 22upx;
|
|
|
|
+ .checkth {
|
|
|
|
+ width: 100upx;
|
|
|
|
+ }
|
|
|
|
+ .txt {
|
|
|
|
+ flex: 1;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .truename {
|
|
|
|
+ .truename-warp {
|
|
|
|
+ padding: 20upx 33upx;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ border-bottom: 1px solid #e7e7e7;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ .txt {
|
|
|
|
+ font-size: 32upx;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.detail-list {
|
|
.detail-list {
|
|
padding: 0 33upx;
|
|
padding: 0 33upx;
|
|
background-color: #ffffff;
|
|
background-color: #ffffff;
|
|
@@ -1142,7 +1201,7 @@ export default {
|
|
height: 26upx;
|
|
height: 26upx;
|
|
}
|
|
}
|
|
.bigtitle {
|
|
.bigtitle {
|
|
- font-size: 34upx;
|
|
|
|
|
|
+ font-size: 32upx;
|
|
color: #232828;
|
|
color: #232828;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
@@ -1315,7 +1374,7 @@ export default {
|
|
.property-warp {
|
|
.property-warp {
|
|
.title {
|
|
.title {
|
|
padding: 20upx 33upx;
|
|
padding: 20upx 33upx;
|
|
- font-size: 34rpx;
|
|
|
|
|
|
+ font-size: 32rpx;
|
|
color: #232828;
|
|
color: #232828;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
@@ -1342,7 +1401,9 @@ export default {
|
|
}
|
|
}
|
|
.pattern {
|
|
.pattern {
|
|
.pattern-item {
|
|
.pattern-item {
|
|
|
|
+ padding: 0 33upx 22upx;
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ align-items: center;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
|
|
|
|
.checkth {
|
|
.checkth {
|
|
@@ -1395,7 +1456,7 @@ export default {
|
|
.booking-warp {
|
|
.booking-warp {
|
|
.title {
|
|
.title {
|
|
padding: 20upx 33upx;
|
|
padding: 20upx 33upx;
|
|
- font-size: 34rpx;
|
|
|
|
|
|
+ font-size: 32rpx;
|
|
color: #232828;
|
|
color: #232828;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
@@ -1421,27 +1482,8 @@ export default {
|
|
color: #a3a8a8;
|
|
color: #a3a8a8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .truename {
|
|
|
|
- .truename-warp {
|
|
|
|
- padding: 20upx 33upx;
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- border-bottom: 1px solid #e7e7e7;
|
|
|
|
- background-color: #fff;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .modeltwo {
|
|
|
|
- .booking-item {
|
|
|
|
- display: flex;
|
|
|
|
- border-bottom: 1px solid #e7e7e7;
|
|
|
|
- .checkth {
|
|
|
|
- width: 100upx;
|
|
|
|
- }
|
|
|
|
- .txt {
|
|
|
|
- flex: 1;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|