12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007 |
- <template>
- <view class="search-container">
- <view class="search-main">
- <view class="search">
- <view class="search-input">
- <text class="iconfont icon-iconfonticonfontsousuo1"></text>
- <input
- maxlength="20"
- focus
- type="text"
- value=""
- confirm-type="search"
- @focus="onFocus"
- @input="onShowClose"
- @confirm="subMitSearch()"
- placeholder="请输入商品关键词"
- v-model.trim="listQuery.searchWord"
- />
- <text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText()"></text>
- </view>
- <view class="search-btn" @click="subMitSearch()">搜索</view>
- </view>
- </view>
- <view class="search-container-history" v-if="!isShowWrapper">
- <view :class="'s-' + themeClass" v-if="serachRecordList.length > 0">
- <view class="header"> 搜索历史<text class="iconfont icon-shanchu" @click="confirmDetele"></text> </view>
- <view class="list">
- <view
- v-for="(item, index) in serachRecordList"
- :key="index"
- @click="keywordsClick(item.searchWord)"
- >{{ item.searchWord }}</view
- >
- </view>
- </view>
- </view>
- <view
- class=" order-container"
- v-if="isShowWrapper"
- :style="{ overflow: 'auto', height: showSkeleton ? windowHeight + 'px' : 'auto' }"
- >
- <scroll-view
- class="tui-skeleton"
- :style="{ height: scrollHeight + 'px' }"
- @scrolltolower="scrolltolower"
- scroll-y
- >
- <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="tui-skeleton clearfix">
- <!-- 空白页 -->
- <empty v-if="isShowEmpty" :navbarHeight="navbarHeight"></empty>
- <!-- 列表 -->
- <view v-else class="tui-order-content">
- <view
- class="tui-order-item"
- v-for="(order, orderIndex) in orderList"
- :key="orderIndex"
- @click.stop="detail(order)"
- >
- <view class="order-title">
- <view class="order-title-name">
- <text>{{ order.clubName ? order.clubName : '' }}</text>
- <text class="tags" v-if="order.svipUserFlag == 0 && order.userIdentity === 2 ">VIP</text>
- <text class="tags sv" v-if="order.svipUserFlag == 1">SVIP</text>
- </view>
- <view class="order-title-t">
- <text
- class="bage buss tui-skeleton-fillet"
- v-if="order.orderSubmitType == 3 || order.orderSubmitType == 4"
- >服务商</text
- >
- <text
- class="bage auto tui-skeleton-fillet"
- v-if="
- order.orderSubmitType == 0 ||
- order.orderSubmitType == 1 ||
- order.orderSubmitType == 2
- "
- >
- 自主
- </text>
- <view class="order-title-tip tui-skeleton-fillet">
- {{ order.status | statusFilters }}
- </view>
- <image
- class="bage-icon"
- src="https://static.caimei365.com/app/img/icon/icon-type@3x.png"
- mode="widthFix"
- v-if="order.secondHandOrderFlag == 1"
- >
- </image>
- </view>
- </view>
- <view class="goods-title">
- <view v-if="order.shopPromotion" class="floor-item-act">
- <view class="floor-tags">{{ order.shopPromotion.name }}</view>
- </view>
- <view class="title-text tui-skeleton-fillet">{{ order.shopName }}</view>
- </view>
- <view
- class="goods-item"
- v-for="(pros, prosIndex) in order.orderProductList"
- :key="prosIndex"
- >
- <view class="goods-pros-t">
- <view class="pros-img tui-skeleton-fillet">
- <image :src="pros.image" alt="" />
- <text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1"
- >赠品</text
- >
- </view>
- <view class="pros-product clearfix">
- <view class="producttitle tui-skeleton-fillet">{{ pros.name }}</view>
- <view
- class="productspec tui-skeleton-fillet"
- v-if="pros.productCategory != 2"
- >规格:{{ pros.productUnit }}</view
- >
- <view class="productprice">
- <view
- class="price tui-skeleton-fillet"
- :class="
- pros.svipPriceFlag == 1 ||
- PromotionsFormat(pros.productPromotion)
- ? 'none'
- : ''
- "
- >
- <text>¥{{ pros.price | NumFormat }}</text>
- </view>
- <view class="count tui-skeleton-fillet">
- <text class="small">x</text>{{ pros.num }}
- </view>
- </view>
- <view class="floor-item-act">
- <template v-if="pros.productPromotion">
- <view
- v-if="PromotionsFormat(pros.productPromotion)"
- class="floor-tags"
- @click.stop="clickPopupShow(pros.productPromotion)"
- >
- {{ pros.productPromotion.name }}
- <text
- v-if="
- pros.productPromotion != null &&
- pros.productPromotion.type != 3
- "
- >
- :¥{{
- pros.productPromotion == null
- ? '0.00'
- : pros.productPromotion.touchPrice | NumFormat
- }}
- </text>
- </view>
- <view
- v-else-if="pros.productPromotion.type != 3"
- class="floor-tags"
- @click.stop="clickPopupShow(pros.productPromotion)"
- >{{ pros.productPromotion.name }}</view
- >
- </template>
- <template v-if="pros.svipPriceFlag == 1">
- <view class="svip-tags">
- <view class="tags">SVIP</view>
- <view class="price">{{ pros.svipPriceTag }}</view>
- </view>
- </template>
- </view>
- </view>
- </view>
- </view>
- <view class="order-footer">
- <!-- <view class="order-footer-top" v-if="order.discountFee != 0"
- >经理折扣:¥{{ order.discountFee | NumFormat }}</view
- > -->
- <view class="order-footer-bot">
- <view class="count tui-skeleton-fillet">共{{ order.itemCount }}件商品</view>
- <view
- class="money tui-skeleton-fillet"
- v-if="order.status == 31 || order.status == 32 || order.status == 33"
- >
- 已支付:<label style="color:#f94b4b ;"
- >¥{{ order.receiptAmount | NumFormat }}</label
- >
- </view>
- <view class="money tui-skeleton-fillet" v-else>
- 待付总额:<label style="color:#f94b4b ;"
- >¥{{ order.obligation | NumFormat }}</label
- >
- </view>
- </view>
- </view>
- <!-- 底部button -->
- <cm-list-button
- ref="orderButton"
- :order="order"
- :status="order.status"
- :userId="order.userId"
- :shopOrderId="order.shopOrderId"
- :rechargeGoods="order.rechargeGoods"
- :secondHandOrderFlag="order.secondHandOrderFlag"
- @buttonConfirm="handButtonConfirm"
- />
- </view>
- <!--加载loadding-->
- <tui-loadmore :visible="loadding" :index="3" type="black"/>
- <tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText"/>
- <!--加载loadding-->
- </view>
- </view>
- </scroll-view>
- </view>
- <!-- 分享弹窗 -->
- <cm-share-popup
- :shopOrderId="handleShopOrderId"
- :shareType="isShareType"
- v-if="isShareModal"
- @shareConfirm="onShareAppMessage"
- />
- <!-- 再来一单弹窗 -->
- <view class="aganBj" v-show="showAgan">
- <view class="alertAgan">
- <text class="title">{{ promptitle }}</text>
- <view class="goods">
- <view class="list" v-for="(item, index) in failList" :key="index">
- <image class="image-left" :src="item.image"></image>
- <view class="name-right">{{ item.name }}</view>
- </view>
- </view>
- <view class="BtnAll">
- <view class="closebtn btn" @click="showAgan = false">取消</view>
- <view class="cancel btn" @click="handleAddAgian">确定</view>
- </view>
- </view>
- </view>
- <!-- 提示弹窗 -->
- <tui-modal
- :show="modal"
- @click="handleClick"
- :content="contentModalText"
- :button="modalButton"
- color="#333"
- :size="32"
- shape="circle"
- :maskClosable="false"
- />
- <!-- 透明模态层 -->
- <modal-layer v-if="isModalLayer" />
- </view>
- </template>
- <script>
- import modalLayer from '@/components/modal-layer'
- import empty from '@/components/empty'
- import cmListButton from './components/cm-list-button' //操作按钮
- import cmSharePopup from './components/cm-share-popup' //分享弹窗
- import orderMixins from './mixins/orderMixins.js'
- const defaultListQuery = {
- pageNum: 1, // 页码
- pageSize: 10, // 每页条数
- serviceProviderId: 0, // 用户Id
- searchWord: '' // 搜索关键词
- }
- export default {
- mixins: [orderMixins],
- components: {
- empty,
- cmListButton,
- cmSharePopup,
- },
- data() {
- return {
- listQuery: Object.assign({}, defaultListQuery),
- themeClass: 'block',
- isShowClose: false, //是否显示清空输入框图标
- isSearchHistory: false, //是都显示搜索历史
- serachRecordList: [],
- isShowWrapper: false,
- isModallayer: false,
- isShowEmpty: false,
- windowHeight: '',
- showSkeleton: true,
- userId: 0,
- orderList: [],
- scrollTop: 0,
- deteleType: '',
- skeletonShow: true,
- isShareModal: false, //控制分享弹窗
- isCenceModal: false, //控制取消订单弹窗
- isShowDelModal: false, //控制删除订单弹窗
- isModalLayer: false,
- isShareType: 2,
- loadding: false,
- pullUpOn: true,
- hasNextPage: false,
- pullFlag: true,
- navbarHeight: '',
- nomoreText: '上拉显示更多',
- scrollHeight: '',
- showAgan: false,
- failList: [], // 再来一单可购买商品
- promptitle: ''
- }
- },
- onLoad() {
- this.initGetSerachRecord()
- },
- methods: {
- subMitSearch() {
- if (this.listQuery.searchWord == '') {
- this.$util.msg('请输入订单编号', 2000)
- } else {
- this.commodityList = []
- this.getOrderDatainit()
- }
- },
- async initGetSerachRecord() {
- try{
- const userInfo = await this.$api.getStorage()
- this.listQuery.serviceProviderId = userInfo.serviceProviderId
- this.userId = userInfo.userId
- const res = await this.OrderService.SearchOrderHistory({ userId: this.userId })
- const data = res.data
- this.serachRecordList = data
- if (this.serachRecordList.length > 0) {
- this.isSearchHistory = true
- } else {
- this.isSearchHistory = false
- }
- }catch(error){
- this.$util.msg(error.msg, 2000)
- }
- },
- //清空历史记录
- async confirmDetele() {
- try{
- const res = await this.OrderService.ClearOrderHistory({ userId: this.userId })
- this.$util.msg(res.msg, 2000, true, 'success')
- this.serachRecordList = []
- }catch(error){
- this.$util.msg(error.msg, 2000)
- }
- },
- // 搜索订单列表
- async getOrderDatainit() {
- try{
- const res = await this.SellerService.getSellerSearchOrderList(this.listQuery)
- const data = res.data
- if (data && data.list.length > 0) {
- this.orderList = data.list
- this.hasNextPage = data
- if (this.hasNextPage) {
- this.pullUpOn = false
- this.nomoreText = '上拉显示更多'
- } else {
- if (this.orderList.length < 2) {
- this.pullUpOn = true
- } else {
- this.pullUpOn = false
- this.nomoreText = '已至底部'
- }
- }
- this.isShowWrapper = true
- this.showSkeleton = true
- this.isShowEmpty = false
- } else {
- this.isShowEmpty = true
- }
- }catch(error){
- this.$util.msg(error.msg, 2000)
- }
- },
- //上拉加载
- async getOnReachBottomData() {
- try{
- this.listQuery.pageNum += 1
- const res = await this.SellerService.getSellerSearchOrderList(this.listQuery)
- const data = res.data
- this.orderList = this.orderList.concat(data.list)
- this.hasNextPage = data.hasNextPage
- this.pullFlag = false // 防上拉暴滑
- setTimeout(() => {
- this.pullFlag = true
- }, 500)
- if (this.hasNextPage) {
- this.pullUpOn = false
- this.nomoreText = '上拉显示更多'
- } else {
- this.loadding = false
- this.pullUpOn = false
- this.nomoreText = '已至底部'
- }
- }catch(error){
- this.$util.msg(error.msg, 2000)
- }
- },
- //获取点击
- handButtonConfirm(data) {
- this.handleShopOrderId = data.shopOrderId
- switch (data.type) {
- case 'cancel': //取消订单
- this.modal = true
- this.contentModalText = '确认取消该订单吗?'
- this.handleModelEven = 1
- break
- case 'delete': //删除订单
- this.modal = true
- this.contentModalText = '确认删除该订单吗?'
- this.handleModelEven = 2
- break
- case 'confirm': // 确认订单
- this.modal = true
- this.contentModalText = '确认此订单吗?'
- this.handleModelEven = 3
- break
- case 'again':
- this.handOrderAgain(data.shopOrderId)
- break
- case 'query':
- this.isModalLayer = true
- this.$api.navigateTo('/pages/user/order/order-logistics?shopOrderId=' + data.shopOrderId)
- break
- }
- },
- scrolltolower() {
- if (this.hasNextPage) {
- this.loadding = true
- this.pullUpOn = true
- this.showSkeleton = false
- this.getOnReachBottomData()
- }
- },
- detail(order) {
- //订单详情跳转
- this.isModalLayer = true
- this.$api.navigateTo(
- `/pages/seller/order/order-details?type=seacrch&shopOrderId=${order.shopOrderId}&userId=${order.userId}`
- )
- },
- onShowClose() {
- //输入框失去焦点时触发
- this.inputEmpty(this.listQuery.searchWord)
- },
- onFocus() {
- //输入框获取焦点时触发
- this.inputEmpty(this.listQuery.searchWord)
- this.initGetSerachRecord()
- },
- delInputText() {
- //清除输入框内容
- this.listQuery.searchWord = ''
- this.isShowClose = false
- this.isShowWrapper = false
- this.inputEmpty(this.listQuery.searchWord)
- this.initGetSerachRecord()
- },
- keywordsClick(item) {
- //关键词搜索与历史搜索
- this.listQuery.searchWord = item
- this.isShowClose = true
- this.subMitSearch()
- },
- inputEmpty(val) {
- this.isShowWrapper = false
- if (val != '') {
- this.isShowClose = true
- } else {
- this.isShowClose = false
- }
- },
-
- PromotionsFormat(promo) {
- //促销活动类型数据处理
- if (promo != null) {
- if (promo.type == 1 && promo.mode == 1) {
- return true
- } else {
- return false
- }
- }
- return false
- },
- setScrollHeight() {
- const { windowHeight, pixelRatio } = wx.getSystemInfoSync()
- this.windowHeight = windowHeight - 1
- this.scrollHeight = windowHeight - 1
- }
- },
- onPageScroll(e) {
- this.scrollTop = e.scrollTop
- },
- onShow() {
- this.setScrollHeight()
- this.$api.getStorage().then(resolve => {
- this.serviceProviderId = resolve.serviceProviderId
- })
- }
- }
- </script>
- <style lang="scss">
- @import '@/uni.scss';
- page {
- background-color: #f7f7f7 !important;
- }
- .search {
- width: 702rpx;
- height: 70rpx;
- padding: 12rpx 24rpx;
- border-bottom: 1px solid #f0f0f0;
- position: fixed;
- top: 0;
- left: 0;
- background: #ffffff;
- z-index: 1001;
- .search-input {
- width: 448rpx;
- height: 70rpx;
- padding: 0 68rpx;
- line-height: 70rpx;
- border-radius: 40rpx;
- position: relative;
- background: #f0f0f0;
- float: left;
- .icon-iconfonticonfontsousuo1 {
- font-size: 36rpx;
- color: #8a8a8a;
- position: absolute;
- left: 24rpx;
- z-index: 10;
- }
- .icon-shanchu1 {
- font-size: 36rpx;
- color: #8a8a8a;
- position: absolute;
- right: 24rpx;
- top: 0;
- padding: 0 10rpx;
- z-index: 10;
- }
- input {
- width: 448rpx;
- height: 70rpx;
- background-color: #f0f0f0;
- font-size: 26rpx;
- }
- }
- .search-btn {
- width: 118rpx;
- height: 70rpx;
- line-height: 70rpx;
- color: $color-system;
- font-size: 30rpx;
- text-align: center;
- float: left;
- }
- .voice-icon {
- width: 36rpx;
- height: 36rpx;
- padding: 16rpx 20rpx 16rpx 0;
- position: absolute;
- left: 16rpx;
- top: 4rpx;
- z-index: 10;
- }
- }
- .search-container {
- padding-top: 106rpx;
- }
- .s-block {
- background: #ffffff;
- .header {
- font-size: 32rpx;
- padding: 40rpx 24rpx 22rpx 24rpx;
- line-height: 42rpx;
- font-size: 30rpx;
- font-weight: bold;
- position: relative;
- .icon-shanchu {
- font-size: 36rpx;
- color: #333333;
- float: right;
- padding: 0 10rpx;
- z-index: 10;
- font-weight: normal;
- }
- }
- .list {
- display: flex;
- flex-wrap: wrap;
- padding-bottom: 40rpx;
- view {
- color: #8a8a8a;
- font-size: 24rpx;
- box-sizing: border-box;
- text-align: center;
- height: 48rpx;
- line-height: 48rpx;
- border-radius: 24rpx;
- margin: 12rpx;
- padding: 0 30rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- background-color: #f3f3f3;
- }
- }
- }
- .s-circle {
- margin-top: 30rpx;
- .header {
- font-size: 32rpx;
- padding: 30rpx;
- border-bottom: 2rpx solid #f9f9f9;
- position: relative;
- image {
- width: 36rpx;
- height: 36rpx;
- padding: 10rpx;
- position: absolute;
- right: 40rpx;
- top: 24rpx;
- }
- }
- .list {
- display: flex;
- flex-wrap: wrap;
- padding: 0 30rpx 20rpx;
- view {
- padding: 8rpx 30rpx;
- margin: 20rpx 30rpx 0 0;
- font-size: 28rpx;
- color: #8a8a8a;
- background-color: #f7f7f7;
- box-sizing: border-box;
- text-align: center;
- border-radius: 20rpx;
- }
- }
- }
- .wanted-block {
- margin-top: 30rpx;
- .header {
- font-size: 32rpx;
- padding: 30rpx;
- }
- .list {
- display: flex;
- flex-wrap: wrap;
- view {
- width: 50%;
- color: #8a8a8a;
- font-size: 28rpx;
- box-sizing: border-box;
- text-align: center;
- padding: 20rpx 0;
- border-top: 2rpx solid #fff;
- border-left: 2rpx solid #fff;
- background-color: #f7f7f7;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- }
- }
- .wanted-circle {
- margin-top: 30rpx;
- .header {
- font-size: 32rpx;
- padding: 30rpx;
- }
- .list {
- display: flex;
- flex-wrap: wrap;
- padding: 0 30rpx 20rpx;
- view {
- padding: 8rpx 30rpx;
- margin: 20rpx 30rpx 0 0;
- font-size: 28rpx;
- color: #8a8a8a;
- background-color: #f7f7f7;
- box-sizing: border-box;
- text-align: center;
- border-radius: 20rpx;
- }
- }
- }
- .order-container {
- scroll-view {
- height: 100%;
- overflow: scroll;
- }
- }
- .container {
- padding-bottom: env(safe-area-inset-bottom);
- height: auto;
- position: relative;
- }
- .tui-order-content {
- width: 100%;
- height: auto;
- box-sizing: border-box;
- padding: 0 20rpx;
- }
- .tui-order-list {
- width: 100%;
- position: relative;
- }
- .tui-order-item {
- display: flex;
- flex-direction: column;
- width: 100%;
- padding: 0rpx 24rpx 0 24rpx;
- background: #fff;
- box-sizing: border-box;
- border-radius: 16rpx;
- overflow: hidden;
- margin: 20rpx 0;
- }
- .order-title {
- width: 100%;
- height: auto;
- .order-title-name {
- width: 100%;
- height: 72rpx;
- border-bottom: 1px solid #f7f7f7;
- line-height: 72rpx;
- text-align: left;
- font-size: $font-size-28;
- color: #333333;
- .tags {
- display: inline-block;
- width: 60rpx;
- height: 32rpx;
- border-radius: 16rpx 0;
- background: #f0cb72;
- font-size: $font-size-22;
- color: #4e4539;
- text-align: center;
- line-height: 32rpx;
- margin-left: 10rpx;
- &.sv {
- background: #333333;
- color: #f0cb72;
- }
- }
- }
- .order-title-t {
- width: 100%;
- height: 68rpx;
- float: left;
- line-height: 68rpx;
- position: relative;
- display: flex;
- .bage-icon {
- width: 50rpx;
- height: 50rpx;
- display: block;
- position: absolute;
- right: 110rpx;
- top: 12rpx;
- }
- .bage{
- display: inline-block;
- width: 72rpx;
- height: 32rpx;
- margin: 19rpx 10rpx 0 0;
- border-radius: 4rpx;
- line-height: 32rpx;
- font-size: $font-size-22;
- text-align: center;
- color: #ffffff;
- float: right;
- &.buss{
- background: rgb(223, 240, 255);
- color: rgb(126, 172, 213);
- padding: 0 6rpx;
- }
- &.auto{
- background: #7fba4f;
- color: #ffffff;
- }
- }
- .order-title-tip {
- font-size: $font-size-24;
- line-height: 68rpx;
- text-align: right;
- color: #ff2a2a;
- }
- }
- }
- .goods-title {
- width: 100%;
- height: 56rpx;
- float: left;
- margin-top: 10rpx;
- .floor-item-act {
- height: 56rpx;
- text-align: center;
- box-sizing: border-box;
- float: left;
- padding: 10rpx 0;
- margin-right: 12rpx;
- }
- .title-text {
- width: 400rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- float: left;
- font-size: $font-size-28;
- color: $text-color;
- text-align: left;
- line-height: 56rpx;
- font-weight: bold;
- }
- }
- .goods-item {
- width: 100%;
- height: auto;
- }
- .goods-pros-t {
- display: flex;
- align-items: center;
- width: 100%;
- height: 217rpx;
- padding: 24rpx 0;
- .pros-img {
- width: 210rpx;
- height: 100%;
- border-radius: 10rpx;
- margin: 0 26rpx 0 0;
- border: 1px solid #f3f3f3;
- image {
- width: 100%;
- height: 100%;
- border-radius: 10rpx;
- }
- }
- }
- .pros-product {
- width: 460rpx;
- height: 100%;
- line-height: 36rpx;
- font-size: $font-size-26;
- position: relative;
- float: left;
- .producttitle {
- width: 100%;
- display: inline-block;
- height: auto;
- text-overflow: ellipsis;
- display: -webkit-box;
- word-break: break-all;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- margin-bottom: 8rpx;
- }
- .productspec {
- height: 36rpx;
- color: #999999;
- }
- .productprice {
- height: 48rpx;
- width: 100%;
- float: left;
- .price {
- line-height: 48rpx;
- font-size: $font-size-28;
- width: 48%;
- color: #ff2a2a;
- float: left;
- font-weight: bold;
- &.none {
- text-decoration: line-through;
- color: #999999;
- }
- }
- .count {
- height: 100%;
- float: right;
- position: relative;
- .small {
- color: #666666;
- }
- }
- }
- .floor-item-act {
- width: 100%;
- height: 56rpx;
- text-align: center;
- box-sizing: border-box;
- float: left;
- padding: 0 0 10rpx 0;
- }
- }
- .order-footer {
- width: 100%;
- height: 78rpx;
- float: left;
- .order-footer-top {
- width: 100%;
- height: 34rpx;
- line-height: 34rpx;
- font-size: $font-size-24;
- color: #999999;
- text-align: right;
- }
- .order-footer-bot {
- width: 100%;
- float: left;
- height: 48rpx;
- line-height: 48rpx;
- font-size: $font-size-28;
- font-weight: bold;
- color: $text-color;
- .count {
- width: 50%;
- float: left;
- text-align: left;
- }
- .money {
- width: 50%;
- float: right;
- text-align: right;
- }
- }
- }
- .aganBj {
- position: fixed;
- left: 0;
- top: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999999;
- .alertAgan {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 580rpx;
- background-color: #fff;
- border-radius: 16rpx;
- .title {
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- padding: 30rpx;
- display: block;
- }
- .goods {
- padding: 0 30rpx;
- .list {
- padding: 10px 0;
- border-bottom: 1rpx solid #e1e1e1;
- margin: 10rpx 0;
- .image-left {
- width: 86rpx;
- height: 86rpx;
- border: 2rpx solid #e1e1e1;
- border-radius: 6rpx;
- display: inline-block;
- vertical-align: middle;
- }
- .name-right {
- display: inline-block;
- width: 416rpx;
- margin-left: 15rpx;
- font-size: 26rpx;
- color: #666666;
- vertical-align: middle;
- word-break: break-all;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-inline-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- }
- }
- .BtnAll {
- margin-top: 30rpx;
- .btn {
- display: inline-block;
- width: 290rpx;
- height: 90rpx;
- line-height: 90rpx;
- text-align: center;
- &.closebtn {
- border-radius: 0px 0px 0px 10px;
- color: #999999;
- background: #efefef;
- }
- &.cancel {
- border-radius: 0px 0px 8px 0px;
- background: $btn-confirm;
- color: #fff;
- }
- }
- }
- }
- }
- </style>
|