12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112 |
- <template>
- <div class="order">
- <div class="warp">
- <div class="refreshBtn">
- <el-button
- class="refresh"
- type="primary"
- @click="refreshList"
- :loading="refresh"
- >{{ refresh ? "加载中..." : "刷新" }}</el-button
- >
- </div>
- <el-tabs type="border-card" @tab-click="changeTab" v-model="activeName">
- <el-tab-pane label="项目订单" name="first">
- <div class="user-list">
- <el-table
- ref="multipleTable"
- :data="projectData"
- tooltip-effect="dark"
- height="354"
- style="width: 100%; border-radius: 8px"
- @row-click="handleSelectionChange"
- >
- <el-table-column prop="goods" label="项目名称" width="200">
- <template slot-scope="scope">
- <div v-for="(val, index) in scope.row.goods" :key="index">
- <div>{{ val.name }}</div>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="goods" label="数量" show-overflow-tooltip>
- <template slot-scope="scope">
- <div>{{ scope.row.goods.length }}</div>
- </template>
- </el-table-column>
- <el-table-column
- prop="price"
- label="总价格"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- prop="order_time"
- label="预约时间"
- width="180"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- prop="store_name"
- label="预约店铺"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column prop="status" label="状态" show-overflow-tooltip>
- <template slot-scope="scope">
- <div :class="'color' + scope.row.status">
- <!-- 状态:0已预约,未支付,1已支付,待使用,2正在使用,3已结算,-1已取消,-2退款审核中,-3已退款 -->
- {{
- scope.row.status == 0
- ? "已预约"
- : scope.row.status == 1
- ? "待使用"
- : scope.row.status == 2
- ? "正在使用"
- : scope.row.status == 3
- ? "已结算"
- : scope.row.status == -1
- ? "已取消"
- : scope.row.status == -2
- ? "退款审核中"
- : "已退款"
- }}
- </div>
- </template>
- </el-table-column>
- </el-table>
-
- <div class="pagin">
- <el-pagination
- background
- layout="prev, pager, next"
- @current-change="handleCurrentChange"
- :current-page.sync="currentPage1"
- :total="total"
- ></el-pagination>
- </div>
- </div>
- </el-tab-pane>
- <el-tab-pane label="次卡订单" name="second">
- <div class="user-list">
- <el-table
- ref="multipleTable"
- :data="cardListData"
- tooltip-effect="dark"
- height="354"
- @row-click="openDetail"
- style="width: 100%; border-radius: 8px"
- >
- <el-table-column prop="card_name" label="卡券名称" width="200">
- <template slot-scope="scope">
- <div>{{ scope.row.card_name | ellipsis(8) }}</div>
- </template>
- </el-table-column>
- <el-table-column
- prop="total_num"
- label="总次数"
- show-overflow-tooltip
- align="center"
- >
- <template slot-scope="{ row }" v-if="row.card_type == 1">
- {{ row.total_num }}
- </template>
- </el-table-column>
- <el-table-column
- prop="num"
- label="剩余次数"
- show-overflow-tooltip
- align="center"
- >
- <template slot-scope="{ row }" v-if="row.card_type == 1">
- {{ row.num }}
- </template>
- </el-table-column>
- <el-table-column
- prop="used_num"
- label="已用次数"
- width="180"
- show-overflow-tooltip
- align="center"
- ></el-table-column>
- <el-table-column
- prop="expir_time"
- label="过期时间"
- width="180"
- show-overflow-tooltip
- >
- <template slot-scope="{ row }">
- <div class="expir_time" @click.stop="amendCardTime(row)">
- {{ row.expir_time }}
- </div>
- </template>
- </el-table-column>
- <el-table-column
- prop="create_time"
- label="创建时间"
- width="180"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column prop="status" label="状态" show-overflow-tooltip>
- <template slot-scope="scope">
- <div :class="'color' + scope.row.status">
- {{
- scope.row.status == -1
- ? "已过期"
- : scope.row.status == -0
- ? "已使用"
- : "待使用"
- }}
- </div>
- </template>
- </el-table-column>
- </el-table>
-
- <div class="pagin">
- <el-pagination
- background
- layout="prev, pager, next"
- @current-change="handleCurrentChange"
- :current-page.sync="currentPage1"
- :total="total"
- ></el-pagination>
- </div>
- </div>
- </el-tab-pane>
-
- <el-tab-pane label="商品订单" name="third">
- <div class="user-list">
- <el-table
- ref="multipleTable"
- :data="goodData"
- tooltip-effect="dark"
- height="354"
- style="width: 100%; border-radius: 8px"
- >
- <!-- create_time: "2022-03-19 22:53:40"
- goods: [{order_id: 47, name: "润百颜玻尿酸屏障调理面膜", num: 1}]
- id: 47
- price: "0.01"
- status: 5 -->
-
- <el-table-column prop="goods" label="商品名称" width="200">
- <template slot-scope="scope">
- <div v-for="(val, index) in scope.row.goods" :key="index">
- <div>{{ val.name }}</div>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="goods" label="数量" show-overflow-tooltip>
- <template slot-scope="scope">
- <div>{{ scope.row.goods.length }}</div>
- </template>
- </el-table-column>
- <el-table-column
- prop="price"
- label="实付款"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- prop="create_time"
- label="下单时间"
- width="180"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column prop="status" label="状态" show-overflow-tooltip>
- <template slot-scope="scope">
- <div :class="'color' + scope.row.status">
- <!-- 状态,0未支付,1已支付,待取货,2已取货,-1已取消,-2退款审核中,-3已退款 -->
- {{
- scope.row.status == 0
- ? "未支付"
- : scope.row.status == 1
- ? "待取货"
- : scope.row.status == 2
- ? "已取货"
- : scope.row.status == -1
- ? "已取消"
- : scope.row.status == -2
- ? "退款审核中"
- : "已退款"
- }}
- </div>
- </template>
- </el-table-column>
- </el-table>
-
- <div class="pagin">
- <el-pagination
- background
- layout="prev, pager, next"
- @current-change="handleCurrentChange"
- :current-page.sync="currentPage1"
- :total="total"
- ></el-pagination>
- </div>
- </div>
- </el-tab-pane>
- <el-tab-pane label="优惠券" name="fourth">
- <div class="user-list">
- <el-table
- ref="multipleTable"
- :data="couponData"
- tooltip-effect="dark"
- height="354"
- style="width: 100%; border-radius: 8px"
- >
- <!-- create_time: "2022-03-10 10:39:19"
- ex_time: "2022.03.17 23:59"
- id: 2517
- name: "新人体验券"
- status: 2
- type: "全额券" -->
-
- <el-table-column prop="name" label="卡卷名称"></el-table-column>
- <el-table-column
- prop="type"
- label="卡卷类型"
- show-overflow-tooltip
- width="100"
- ></el-table-column>
- <el-table-column
- prop="ex_time"
- label="到期时间"
- width="180"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- prop="create_time"
- label="创建时间"
- width="180"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- width="100"
- prop="status"
- label="状态"
- show-overflow-tooltip
- >
- <template slot-scope="scope">
- <div :class="'colorA' + scope.row.status">
- {{ couponStatus[scope.row.status] }}
- </div>
- </template>
- </el-table-column>
- <el-table-column
- prop=""
- label="操作"
- width="100"
- show-overflow-tooltip
- >
- <template slot-scope="scope" v-if="scope.row.status == 0">
- <div
- class="cancleCoupon"
- @click.stop="cancleCoupon(scope.row)"
- >
- 操作
- </div>
- </template>
- </el-table-column>
- </el-table>
-
- <div class="pagin">
- <el-pagination
- background
- layout="prev, pager, next"
- @current-change="handleCurrentChange"
- :current-page.sync="currentPage1"
- :total="total"
- ></el-pagination>
- </div>
- </div>
- </el-tab-pane>
- </el-tabs>
- </div>
- <!-- 次卡详情 -->
- <mine-pupop :show="isPore">
- <div class="pore-block">
- <div class="delete-pupop" @click="isPore = false">
- <img
- src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt
- />
- </div>
- <div class="pore-content">
- <div class="card-title">订单详情</div>
- <div class="project">
- <div class="project-title">项目名称:</div>
- <div class="project-list">
- <div
- class="project-info"
- v-for="(item, index) in cardInfo.project_list"
- :key="index"
- >
- <div class="name-text">{{ item.project_name }}</div>
- <div class="change-num" v-if="cardInfo.card_type == 1">
- <div class="num-content">
- <div class="content-left" @click="reduce(index)">-</div>
- <div class="content-num">{{ item.num || 0 }}</div>
- <div class="content-right" @click="item.num++">+</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="common">
- <span class="common-title">支付方式:</span
- ><span>{{ cardInfo.pay_way }}</span>
- </div>
- <div class="common">
- <span class="common-title">有效期限:</span
- ><span>{{ cardInfo.ex_time }}</span>
- </div>
- <div class="common">
- <span class="common-title">实付金额:</span
- ><span>¥{{ cardInfo.price }}</span>
- </div>
- <div class="consume-list">
- <div class="consume-title">消耗信息:</div>
- <div
- class="consume-info min-size"
- v-for="(item, index) in cardLogList"
- :key="index"
- >
- <div class="shop">{{ item.store_name }}</div>
- <div class="project-tips">{{ item.remark }}</div>
- <div class="project-ts">{{ item.create_time }}</div>
- </div>
- </div>
- </div>
- <div v-if="cardInfo.card_type == 1" class="confirm" @click="confirm">
- 确定
- </div>
- </div>
- </mine-pupop>
- <!-- 修改次卡时间 -->
- <mine-pupop :show="isAmend">
- <div class="amendTime">
- <div class="image">
- <img
- src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt
- @click="closeAmend"
- />
- </div>
- <div class="admendTime-content">
- <div class="oldTime">
- 次卡过期时间 :<span> {{ amendCardInfo.expir_time }}</span>
- </div>
- <div class="newTime">
- 选择更改日期:
- <el-date-picker
- class="date"
- v-model="cardTime"
- type="date"
- placeholder="选择日期"
- value-format="yyyy-MM-dd"
- @focus="forbid"
- >
- </el-date-picker>
- </div>
- <div class="radio">
- <button class="cancelBtn" @click="cancel">取消</button>
- <button class="affirmBtn" @click="affirm">确定</button>
- </div>
- </div>
- </div>
- </mine-pupop>
- <!-- 操作核销优惠券 -->
- <mine-pupop :show="isCancelCoupon">
- <div class="CouponPop">
- <div class="image">
- <img
- src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt
- @click="closeCouponPop"
- />
- </div>
- <div class="title">核销优惠券</div>
- <div class="couponName">
- <div class="one">优惠券名称:</div>
- <div>{{ cancelCouponInfo.name }}</div>
- </div>
- <div class="couponRemark">
- <div class="one">备注信息:</div>
- <el-input v-model.trim="couponRemark"></el-input>
- </div>
- <div class="radio">
- <button class="affirmBtn" @click="checkCoupon">确定</button>
- </div>
- </div>
- </mine-pupop>
- </div>
- </template>
-
- <script>
- import api from "../../../server/home";
- import minePupop from "../../../components/minePupop/index.vue";
-
- export default {
- components: {
- minePupop,
- },
- data() {
- return {
- couponList: [
- {
- value: "选项1",
- label: "黄金糕",
- },
- {
- value: "选项2",
- label: "双皮奶",
- },
- ],
- tableData: [
- {
- date: "2022.04.25 14:30",
- name: "滴滴滴",
- headImg:
- "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/unpaid.png",
- phone: "13346783645",
- numberList: 2,
- price: 100,
- shop: "运用店",
- status: 2,
- },
- {
- date: "2022.04.25 14:30",
- name: "滴滴滴",
- headImg:
- "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/unpaid.png",
- phone: "13346783645",
- numberList: 5,
- price: 800,
- shop: "武昌店",
- status: 1,
- },
- ],
- couponStatus: ["待使用", "已使用", "已过期"],
- goodStatus: ["未支付", "已支付", "已取货"],
- activeName: "first",
- currentPage1: 1,
- couponData: [],
- goodData: [],
- projectData: [],
- cardOrderData: [],
- total: 100,
- limit: 10,
- isPore: false,
- cardInfo: {}, //订单详情
- cardLogList: [], //次卡消耗记录
- cardListData: [], //用户次卡列表
- isAmend: false, //修改次卡时间弹窗
- amendCardInfo: "", // 要修改次卡的信息
- cardTime: "", //次卡修改时间(年月日)
- isCancelCoupon: false, //核销优惠券界面
- cancelCouponInfo: "", //核销优惠券名称
- couponRemark: "", //核销优惠券备注信息
- refresh: false, //刷新页面数据
- };
- },
- computed: {},
- watch: {},
-
- methods: {
- // 刷新页面数据
- refreshList() {
- this.refresh = true;
- api.syncErpOrder({}).then((res) => {
- if (res.code == 200) {
- this.currentPage1 = 1;
- if (this.activeName == "first") {
- this.getUserProject();
- } else if (this.activeName == "second") {
- this.getCardList();
- } else if (this.activeName == "third") {
- this.getUserGoods();
- } else if (this.activeName == "fourth") {
- this.getUserCoupon();
- }
- }
- });
- },
- // 打开核销优惠券界面
- cancleCoupon(e) {
- this.isCancelCoupon = true;
- this.cancelCouponInfo = e;
- },
- // 关闭核销优惠券页面
- closeCouponPop() {
- this.isCancelCoupon = false;
- this.couponRemark = "";
- },
- // 核销优惠券
- checkCoupon() {
- if (this.couponRemark == "") {
- this.$message.error("请填写备注信息");
- return;
- }
- api
- .checkCoupon({
- id: this.cancelCouponInfo.id,
- remark: this.couponRemark,
- })
- .then((res) => {
- if (res.code == 200) {
- this.$message.success("核销成功");
- this.isCancelCoupon = false;
- // 刷新优惠券列表
- this.getUserCoupon();
- }
- });
- },
- // 阻止修改次卡时间时键盘弹出
- forbid() {
- //禁止软键盘弹出
- document.activeElement.blur();
- },
- // 修改次卡时间取消
- cancel() {
- this.isAmend = false;
- this.cardTime = "";
- },
- // 修改次卡时间确定
- affirm() {
- this.amendCardTimeApi();
- },
- // 修改次卡时间
- amendCardTime(e) {
- this.isAmend = true;
- this.amendCardInfo = e;
- console.log(e);
- },
- // 关闭修改次卡时间弹窗
- closeAmend() {
- this.isAmend = false;
- this.cardTime = "";
- },
- // 发起修改次卡订单请求
- amendCardTimeApi() {
- api
- .amendCardTime({
- id: this.amendCardInfo.id,
- expire_date: this.cardTime,
- })
- .then((res) => {
- if (res.code == 200) {
- this.$message({
- message: res.msg,
- type: "success",
- });
- this.isAmend = false;
- // 更新次卡列表
- this.getCardList();
- }
- });
- },
- // 获取优惠券订单
- getUserCoupon() {
- let params = {
- page: this.currentPage1,
- limit: this.limit,
- id: this.id,
- };
- api.getUserCoupon(params).then((res) => {
- this.couponData = res.data.list;
- this.total = res.data.total;
- // 关闭刷新动画
- this.refresh = false;
- });
- },
- reduce(index) {
- this.cardInfo.project_list[index].num--;
- if (this.cardInfo.project_list[index].num < 0) {
- this.cardInfo.project_list[index].num = 0;
- }
- },
- //次卡订单详情
- openDetail(row, column, event) {
- this.isPore = true;
- api.cardInfo({ id: row.id }).then((res) => {
- if (res.code == 200) {
- res.data.card_type = row.card_type;
- this.cardInfo = res.data;
- }
- });
- api.cardLog({ id: row.id }).then((res) => {
- if (res.code == 200) {
- this.cardLogList = res.data.list;
- }
- });
- },
- confirm() {
- // 项目ID,json字符,格式如:[{"project_id":"10","num":5}],project_id:适用项目ID,num:剩余次数
- let project_data = [],
- project_info = {};
- this.cardInfo.project_list.forEach((res) => {
- project_info = {
- project_id: res.id,
- num: res.num,
- };
- project_data.push(project_info);
- });
- api
- .cardUpdate({
- id: this.cardInfo.id,
- project_data: JSON.stringify(project_data),
- })
- .then((res) => {
- if (res.code == 200) {
- this.$message.success("更改成功!");
- this.isPore = false;
- // 刷新次卡列表
- this.getCardList();
- }
- });
- },
-
- // 获取商品订单
- getUserGoods() {
- let params = {
- page: this.currentPage1,
- limit: this.limit,
- id: this.id,
- };
- api.getUserGoods(params).then((res) => {
- this.goodData = res.data.list;
- this.total = res.data.total;
- // 关闭刷新动画
- this.refresh = false;
- });
- },
-
- // 获取获取项目订单
- getUserProject() {
- let params = {
- page: this.currentPage1,
- limit: this.limit,
- id: this.id,
- };
- api.getUserProject(params).then((res) => {
- this.projectData = res.data.list;
- this.total = res.data.total;
- // 关闭刷新动画
- this.refresh = false;
- });
- },
-
- // 获取卡券订单
- // async getCardOrders() {
- // let params = {
- // page: this.currentPage1,
- // limit: this.limit,
- // id: this.id,
- // };
- // let resp = await api.getCardOrders(params);
- // if (resp.code === 200) {
- // console.log(resp, "adadasdasdadsadsadasd");
- // this.cardOrderData = resp.data.list;
- // this.total = resp.data.total;
- // }
- // },
- //获取用户次卡列表
- async getCardList() {
- let params = {
- page: this.currentPage1,
- limit: this.limit,
- id: this.id,
- };
- let resp = await api.getCardList(params);
- if (resp.code === 200) {
- this.cardListData = resp.data.list;
- this.total = resp.data.total;
- // 关闭刷新动画
- this.refresh = false;
- }
- },
- handleCurrentChange(val) {
- this.currentPage1 = val;
- if (this.activeName == "first") {
- this.getUserProject();
- } else if (this.activeName == "second") {
- // this.getCardOrders();
- this.getCardList();
- } else if (this.activeName == "third") {
- this.getUserGoods();
- } else if (this.activeName == "fourth") {
- this.getUserCoupon();
- }
- },
- handleSelectionChange(row, column, event) {
- this.$router.push({
- path: "/historicalOrder/details",
- query: {
- id: row.id,
- },
- });
- },
- onSubmit() {},
- submitFrequency() {},
- changeTab(e) {
- this.currentPage1 = 1;
- if (e.index == 0) {
- this.getUserProject();
- } else if (e.index == 1) {
- // this.getCardOrders();
- this.getCardList();
- } else if (e.index == 2) {
- this.getUserGoods();
- } else if (e.index == 3) {
- this.getUserCoupon();
- }
- },
- },
-
- created() {
- let id = this.$route.query.id;
- let activeName = this.$route.query.activeName;
- this.activeName = activeName;
- this.id = id;
- if (this.activeName == "first") {
- this.getUserProject();
- } else if (this.activeName == "second") {
- // this.getCardOrders();
- this.getCardList();
- } else if (this.activeName == "third") {
- this.getUserGoods();
- } else if (this.activeName == "fourth") {
- this.getUserCoupon();
- }
- },
-
- mounted() {},
- };
- </script>
-
- <style lang='less' scoped>
- .order {
- height: 100%;
- width: 100%;
- .refreshBtn {
- width: 100%;
- display: flex;
- justify-content: flex-end;
- margin-bottom: 10px;
- .refresh {
- width: 100px;
- background: #fa7d22;
- border-radius: 2px;
- border-color: #fa7d22;
- }
- }
- .cancleCoupon {
- width: 50px;
- height: 25px;
- background: #fa7d22;
- border-radius: 2px;
- line-height: 25px;
- text-align: center;
- color: #fff;
- }
- .pagin {
- padding: 20px 0;
- .el-pagination {
- text-align: center;
- }
- }
- .colorList {
- color: green;
- }
- }
- .color0 {
- color: #3ef3ed;
- }
- .color1 {
- color: #61d09d;
- }
- .color2 {
- color: #00eeee;
- }
- .color3 {
- color: #a999ea;
- }
- .color-2 {
- color: #3115cc;
- }
- .color-1 {
- color: #fc3019;
- }
- .color-3 {
- color: #fc3019;
- }
- .colorA1 {
- color: #333;
- }
- .colorA2 {
- color: #fc3019;
- }
- .colorA0 {
- color: #61d09d;
- }
- .priceColor {
- color: #ff3007;
- }
- .pore-block {
- width: 540px;
- height: 400px;
- background: #ffffff;
- border-radius: 8px;
- position: relative;
- padding: 26px 72px 80px 30px;
- .delete-pupop {
- width: 32px;
- position: absolute;
- right: 5px;
- top: 5px;
- img {
- width: 100%;
- }
- }
- .pore-content {
- overflow: scroll;
- height: 310px;
- .card-title {
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 20px;
- text-align: center;
- }
- .project {
- display: flex;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 18px;
- .project-title {
- color: #999999;
- }
- .project-list {
- flex: 1;
- .project-info {
- flex: 1;
- .change-num {
- margin-top: 6px;
- width: 100%;
- display: flex;
- justify-content: end;
- .num-content {
- width: 104px;
- height: 28px;
- background: #ffffff;
- border-radius: 2px;
- border: 1px solid #fa7d22;
- display: flex;
- align-items: center;
-
- .content-left,
- .content-right {
- width: 28px;
- height: 100%;
- background: #fa7d22;
- font-size: 20px;
- line-height: 24px;
- color: #ffffff;
- text-align: center;
- }
- .content-num {
- flex: 1;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: rgba(0, 0, 0, 0.65);
- text-align: center;
- }
- }
- }
- }
- }
- }
- .common {
- margin-top: 6px;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 18px;
- .common-title {
- color: #999999;
- }
- }
- .consume-list {
- margin-top: 6px;
- .consume-title {
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 18px;
- }
- .consume-info {
- margin-top: 6px;
- font-size: 10px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 14px;
- display: flex;
- justify-content: space-between;
- .shop {
- }
- .project-tips {
- flex: 1;
- margin: 0 10px;
- }
- .project-ts {
- }
- }
- }
- }
- .confirm {
- background: #fa7d22;
- border-radius: 14px;
- position: absolute;
- bottom: 42px;
- left: 50%;
- transform: translateX(-50%);
- width: 176px;
- height: 28px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 28px;
- text-align: center;
- }
- }
- // 修改次卡时间
- .amendTime {
- width: 440px;
- height: 300px;
- background-color: #fff;
- border-radius: 12px;
- padding: 15px;
- .image {
- height: 30px;
- width: 30px;
- img {
- width: 100%;
- }
- }
- .oldTime {
- color: #333;
- margin-left: 20px;
- margin-top: 30px;
- span {
- margin-left: 20px;
- }
- }
- .newTime {
- margin-left: 20px;
- margin-top: 10px;
- .time {
- margin-top: 20px;
- margin-left: 110px;
- }
- .date {
- margin-top: 20px;
- margin-left: 20px;
- }
- }
- .radio {
- width: 100%;
- display: flex;
- justify-content: space-evenly;
- button {
- width: 176px;
- height: 28px;
- border-radius: 14px;
- background-color: #fff;
- border: none;
- margin-top: 90px;
- }
- .cancelBtn {
- border: 1px solid #fa7d22;
- color: #fa7d22;
- }
- .affirmBtn {
- background-color: #fa7d22;
- color: #fff;
- margin-left: 15px;
- }
- }
- }
- // 核销优惠券
- .CouponPop {
- width: 440px;
- height: 300px;
- background-color: #fff;
- border-radius: 12px;
- padding: 15px;
- .image {
- height: 30px;
- width: 30px;
- img {
- width: 100%;
- }
- }
- .title {
- text-align: center;
- font-weight: 700;
- font-size: 16px;
- margin-bottom: 40px;
- }
- .couponName {
- display: flex;
- margin-bottom: 40px;
- .one {
- font-weight: 600;
- margin-right: 20px;
- width: 90px;
- }
- }
- .couponRemark {
- display: flex;
- align-items: center;
- .one {
- margin-right: 22px;
- font-weight: 600;
- width: 90px;
- }
- .el-input {
- width: 300px;
- /deep/.el-input__inner:focus {
- // el-input输入时设置边框颜色
- border: #fa7d22 1px solid;
- }
- }
- }
- .radio {
- width: 100%;
- display: flex;
- justify-content: space-evenly;
- button {
- width: 176px;
- height: 28px;
- border-radius: 14px;
- background-color: #fff;
- border: none;
- margin-top: 50px;
- }
- .affirmBtn {
- background-color: #fa7d22;
- color: #fff;
- margin-left: 15px;
- }
- }
- }
- .expir_time {
- color: #3115cc;
- }
- </style>
|