12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097 |
- <template>
- <view class="pages" :style="{'min-height':h+'px','padding-top':(mt)+'px'}">
- <c-nav-bar title="商品管理"></c-nav-bar>
- <view class="tb">
- <view class="tabs">
- <view v-for="(item,index) in tabList" :key="index" @tap="changeTab1(item,index)">
- <!-- <text :class="index==current?'active':''">{{item.name}}({{mytotal}})</text> -->
- <text :class="index==current?'active':''">{{item.name}}</text>
- </view>
- </view>
- </view>
- <!-- 房型数量 -->
- <view class="">
- <view class="typeNum">
- <view class="left" style="font-size: 24rpx; color: #777;" @click="areaShowed()">
- <text :class="areaShow==true?'active':''" style="margin-right: 20rpx;">上架时间</text>
- <u-icon name="arrow-down-fill" bold='true' v-if="areaShow==false" size="20" labelPos="left"
- labelSize="26"></u-icon>
- <u-icon name="arrow-up-fill" bold='true' v-else color="#007a68" labelColor='#007a68' size="20"
- labelPos="left" labelSize="26"></u-icon>
- </view>
- <view class="right" @click="showList">
- <view class="image">
- <image src="https://i.ringzle.com/file/20240313/f3d301b3bc4544ffaf5a0d96a761dd00.png" mode="">
- </image>
- </view>
- <view class="text">
- 批量操作
- </view>
- </view>
- </view>
- <!-- 区域筛选 -->
- <view class="contented" :style="{'height':(h-mt)+'px'}" v-show="areaShow">
- <view class="custom_popup">
- <view class="types">
- <view class="pricequjian" style="height: 240rpx;">
- <view class="jiage" v-for="(item, index) in list1" :key="index"
- @click="clickareaShow(item, index)">
- <view class="contentpeice">
- <view class="title" :class="{'Doublactive': areaShowIndex == index}">
- {{item.name}}
- </view>
- <view class="image" v-if="areaShowIndex == index">
- <image
- src="https://i.ringzle.com/file/20240316/16dd69efb40242de83da8207539ec73e.png"
- mode=""></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 房型选择 -->
- <view class="type" v-for="(item,index) in roomType" :key="index">
- <view class="left" v-if="Selected==true">
- <view class="image">
- <image @tap="selectPerson(item,index)"
- :src="selectedTags.includes(item)?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
- </image>
- </view>
- </view>
- <view style="width: 100%;">
- <view class="right">
- <view class="right-left">
- <image :src="item.coverImg" mode=""></image>
- </view>
- <view class="right-right">
- <view class="top">
- <text style="font-size: 30rpx; color: #333;">{{item.name}}</text>
- </view>
- <view class="under">
- <view style="font-size: 24rpx; color: #777;">销量:{{item.salesVolume}}</view>
- <view style="font-size: 36rpx; color: #FF4141; font-weight: Bold; margin-top: 16rpx;">
- ¥{{item.discountPrice}}</view>
- </view>
- </view>
- </view>
- <view class="type-btn">
- <view class="type-btn-left">
- </view>
- <view class="type-btn-right">
- <view class="" @click="shanchu(item,index)">
- 删除
- </view>
- <view class="" @click="gaijia(item,index)">
- 改价格
- </view>
- <view class="" @click="xiajia(item,index)">
- {{fromData.status==0?'下架':'上架'}}
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 批量按钮 -->
- <view class="btn-btn" v-if="Selected==true">
- <view class="bottom-btn">
- <view class="left">
- <view class="image">
- <image
- :src="selectedTags.length>0?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
- </image>
- </view>
- <view class="text">
- 已选:{{selectedTags.length}}
- </view>
- </view>
- <view class="right">
- <view class="right-btn" @click="piliangxiajia">
- {{fromData.status==0?'批量下架':'批量上架'}}
- </view>
- <view class="right-btn" @click="piliangshanchu">
- 批量删除
- </view>
- </view>
- </view>
- </view>
- <!-- 改价弹出框 -->
- <u-popup :show="showPricing" @close="closegaijia" @open="opengaijia" :round="10">
- <view class="gaijiadiv">
- <view class="toubu">
- 改价格
- <view class="toubux" @click="closegaijia">
- <u-icon name="close" color="#000000" size="40"></u-icon>
- </view>
- </view>
- <view class="jiainput">
- <u--input type='number' v-model="newprice" placeholder="请输入价格" border="surround"
- clearable></u--input>
- </view>
- <view class="queding">
- <view class="queding1" @click="closegaijia">
- 取消
- </view>
- <view class="queding2" @click="quedingjiae">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 下架弹出框 -->
- <u-modal :show="xiajiashow" :title="fromData.status==0?'下架选中的商品':'上架选中的商品'"
- :content="fromData.status==0?'下架后商品不可在前台继续售卖,是否继续?':'上架后商品可在前台售卖,是否继续?'" showConfirmButton='true'
- showCancelButton='true' @confirm='quedingxiajia' @cancel='quxiaoxiajia'></u-modal>
- <!-- 删除弹出框 -->
- <u-modal :show="shanchushow" title="删除选中的商品" content='删除后的商品不可在前台继续售卖,是否继续?' showConfirmButton='true'
- showCancelButton='true' @confirm='quedingshanchu' @cancel='quxiaoshanchu'></u-modal>
- <view class="mainContain">
- <!-- <view class="nodata" v-if='dataList.length==0'>
- <NoData></NoData>
- </view> -->
- </view>
- <u-toast ref="uToast"></u-toast>
- </view>
- </template>
- <script>
- import TopTabs from '@/components/TopTabs/topTabs.vue';
- // import NoData from '../../components/NoData/index.vue';
- export default {
- components: {
- TopTabs,
- // NoData
- },
- data() {
- return {
- h: uni.getSystemInfoSync().windowHeight,
- mt: uni.getSystemInfoSync().statusBarHeight + 44,
- newprice: '',
- lsdata: {},
- current: 0,
- xiajiashow: false,
- shanchushow: false,
- tabList: [{
- name: '出售中',
- id: 0
- },
- {
- name: '待上架',
- id: 1
- },
- ],
- homestayId: uni.getStorageSync('homestayId') || 0,
- roomType: [{
- image: 'https://i.ringzle.com/file/20240316/03eec514efd64b528c183804124961e0.png',
- name: '4人套餐',
- price: '126'
- }],
- selectedTags: [],
- mytotal: 0,
- isSelect: false,
- Selected: false,
- showPricing: false,
- areaShow: false,
- list1: [{
- name: '创建时间',
- id: 1,
- },
- {
- name: '价格从高到低',
- id: 2,
- },
- {
- name: '价格从低到高',
- id: 4,
- },
- {
- name: '销量从高到低',
- id: 2,
- },
- ],
- areaShowIndex: null,
- fromData: {
- merchantId: uni.getStorageSync('merchantId'), //商户id
- limit: 99999,
- page: 1,
- sortType: '', //选择条件:1创建时间 2销量从高到低 3价格从高到低 4价格从低到高
- status: 0, //状态:0上架1下架
- }
- }
- },
- onLoad(option) {
- this.getRepast(); //获取商品列表
- //this.getHousekeeping();
- // if (uni.getStorageSync('merchantType') == 4) {
- //this.getRepast()
- // } else {
- // }
- },
- methods: {
- getHousekeeping() {
- this.$api.get('/sys/dict/type/all').then(res => {
- let alldata = res.data.data.find((p) => p.dictType == 'food_type').dataList;
- console.log('alldata', alldata)
- // this.categoryMain = alldata.map((item, index, arr) => {
- // let json = {};
- // json.name = item.dictLabel;
- // json.type = item.dictValue;
- // json.icon =
- // 'https://i.ringzle.com/file/20231125/a314703e463d43c7808714d1b29632ad.png';
- // return json
- // })
- })
- },
- piliangxiajia() {
- if (this.selectedTags.length == 0) {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "请选择数据",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- } else {
- let namesArray = this.selectedTags.map(obj => obj.id);
- let postdata = {
- discountPrice: 0,
- ids: namesArray,
- status: this.fromData.status,
- };
- this.$api.post('/api/merchant/food/updateStatus', postdata).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- this.selectedTags=[];
- this.Selected=false;
- this.getRepast(); //获取商品列表
- })
- }
- },
- piliangshanchu() {
- if (this.selectedTags.length == 0) {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "请选择数据",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- } else {
- let namesArray = this.selectedTags.map(obj => obj.id);
-
- //status: this.fromData.status,
- this.$api.del('/api/merchant/food/delProduct', namesArray).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- this.selectedTags=[];
- this.Selected=false;
- this.getRepast(); //获取商品列表
- })
-
- }
- },
- shanchu(e, i) {
- //console.log('111111111111111111', e, i)
- this.lsdata = e;
- this.shanchushow = true;
- },
- quedingshanchu() {
- let postdata = [this.lsdata.id];
- //status: this.fromData.status,
- console.log('postdata', postdata)
- this.$api.del('/api/merchant/food/delProduct', postdata).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- this.quxiaoshanchu();
- this.getRepast(); //获取商品列表
- })
- },
- quxiaoshanchu() {
- // console.log('quxiaoxiajia',this.lsdata)
- this.lsdata = {};
- this.shanchushow = false;
- },
- gaijia(e, i) {
- console.log('111111111111111111', e, i)
- this.showPricing = true;
- this.lsdata = e;
- },
- closegaijia() {
- this.showPricing = false;
- this.newprice = '';
- this.lsdata = {};
- },
- quedingjiae() {
- console.log('111111111111111111', this.newprice)
- let postdata = {
- discountPrice: this.newprice,
- ids: [this.lsdata.id],
- status: this.fromData.status,
- };
- console.log('postdata', postdata)
- this.$api.post('/api/merchant/food/updateDiscountPrice', postdata).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- this.closegaijia();
- this.getRepast(); //获取商品列表
- })
- },
- opengaijia() {},
- xiajia(e, i) {
- console.log('111111111111111111', e, i)
- this.lsdata = e;
- this.xiajiashow = true;
- },
- quedingxiajia() {
- let postdata = {
- discountPrice: this.lsdata.discountPrice,
- ids: [this.lsdata.id],
- status: this.fromData.status,
- };
- this.$api.post('/api/merchant/food/updateStatus', postdata).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- title: '',
- message: "下架成功",
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/default.png'
- })
- this.quxiaoxiajia();
- this.getRepast(); //获取商品列表
- })
- },
- quxiaoxiajia() {
- // console.log('quxiaoxiajia',this.lsdata)
- this.lsdata = {};
- this.xiajiashow = false;
- },
- selectPerson(e, i) {
- if (this.selectedTags.includes(e)) {
- this.selectedTags = this.selectedTags.filter(t => t !== e);
- } else {
- this.selectedTags.push(e);
- }
- console.log(' this.selectedTags', this.selectedTags)
- },
- getRepast() {
- this.$api.get('/api/merchant/food/product/page', this.fromData).then(res => {
- console.log(res.data.data.list);
- this.roomType = res.data.data.list;
- this.mytotal = res.data.data.total;
- })
- },
- // 区域筛选
- clickareaShow(e, i) {
- this.areaShowIndex = i;
- this.areaShow = false;
- this.fromData.sortType = e.id;
- this.fromData.page = 1;
- this.getRepast();
- },
- // 上架时间
- areaShowed() {
- console.log(123);
- this.areaShow = !this.areaShow
- },
- changeTab1(e, i) {
- this.selectedTags = [];
- this.current = i;
- this.fromData.status = e.id;
- this.fromData.page = 1;
- this.getRepast();
- },
- // 批量显示
- showList() {
- this.Selected = !this.Selected
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .queding {
- width: 750rpx;
- height: 140rpx;
- display: flex;
- justify-content: space-around;
- align-items: center;
- .queding1 {
- width: 330rpx;
- height: 88rpx;
- background: #F0F2F5;
- border-radius: 44rpx;
- font-family: PingFangSC, PingFang SC;
- font-weight: 400;
- font-size: 32rpx;
- color: #333333;
- line-height: 88rpx;
- text-align: center;
- font-style: normal;
- }
- .queding2 {
- width: 330rpx;
- height: 88rpx;
- background: #007A69;
- border-radius: 44rpx;
- font-family: PingFangSC, PingFang SC;
- font-weight: 400;
- font-size: 32rpx;
- color: #FFFFFF;
- line-height: 88rpx;
- text-align: center;
- font-style: normal;
- }
- }
- .jiainput {
- width: 690rpx;
- height: 100rpx;
- margin: 0 auto;
- }
- .gaijiadiv {
- width: 750rpx;
- height: 950rpx;
- .toubu {
- width: 750rpx;
- height: 110rpx;
- font-family: PingFang-SC, PingFang-SC;
- font-weight: bold;
- font-size: 36rpx;
- color: #333333;
- line-height: 110rpx;
- text-align: center;
- font-style: normal;
- position: relative;
- .toubux {
- position: absolute;
- top: 33rpx;
- right: 30rpx;
- }
- }
- }
- .Doublactive {
- // background-color: #F0F7F6 !important;
- color: #007A69 !important;
- // border: 1px solid #007A69 !important;
- }
- .contented {
- width: 100%;
- padding: 0 24rpx;
- box-sizing: border-box;
- position: relative;
- }
- .custom_popup {
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, .4);
- top: 0;
- left: 0;
- position: absolute;
- z-index: 999;
- .types {
- width: 100%;
- padding: 30rpx 30rpx 56rpx;
- box-sizing: border-box;
- background: #FFFFFF;
- .pricequjian {
- width: 100%;
- .contentpeice {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin: 15rpx 0;
- .title {
- font-weight: Regular;
- font-size: 28rpx;
- color: #333333;
- }
- .image {
- width: 28rpx;
- height: 20rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- }
- }
- .pages {
- background: #F5F8FA;
- box-sizing: border-box;
- .tb {
- width: 100%;
- top: 0;
- left: 0;
- z-index: 999;
- .searchBoxParent {
- width: 100%;
- background: #fff;
- padding: 20rpx 24rpx 6rpx;
- box-sizing: border-box;
- .searchBox {
- width: 100%;
- background-color: #fff;
- }
- }
- .tabs {
- background: #fff;
- padding: 26rpx 0;
- display: flex;
- align-items: center;
- width: 100%;
- &>view {
- width: 25%;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: black;
- line-height: 40rpx;
- position: relative;
- text-align: center;
- }
- .active {
- font-size: 32rpx;
- font-family: PingFang-SC-Bold, PingFang-SC;
- font-weight: bold;
- color: black;
- line-height: 45rpx;
- }
- .active::after {
- position: absolute;
- content: '';
- width: 50rpx;
- height: 8rpx;
- background: #007A69;
- bottom: -26rpx;
- left: 60%;
- margin-left: -42rpx;
- }
- }
- }
- .green {}
- .mainContain {
- display: flex;
- flex-direction: column;
- padding: 0 20rpx;
- .nodata {
- background: white;
- }
- .card {
- background: #fff;
- border-radius: 16rpx;
- margin: 20rpx 0;
- padding: 20rpx;
- .header {
- display: flex;
- justify-content: space-between;
- border-bottom: 1px #f3f3f3 solid;
- padding: 20rpx;
- .red {
- color: indianred;
- }
- .green {
- color: #999999;
- }
- .blue {
- color: #1372FF;
- }
- .grey {
- color: #4C5F76;
- }
- .orange {
- color: #FF9100;
- }
- }
- .mainContent {
- // border-bottom: 1px #f3f3f3 solid;
- display: flex;
- padding: 20rpx 0;
- // justify-content: space-evenly;
- .image {
- background-repeat: no-repeat;
- background-size: cover;
- width: 198rpx;
- height: 180rpx;
- border-radius: 16rpx;
- }
- .middle {
- padding-top: 16rpx;
- color: #777777;
- // display: flex;
- // flex-direction: column;
- // justify-content: space-between;
- margin-left: 25rpx;
- width: 100%;
- .title {
- font-weight: 700;
- font-size: 32rpx;
- color: black;
- }
- .info {
- padding-top: 30rpx;
- color: #777777;
- // display: flex;
- // flex-direction: column;
- &>span {
- margin-top: 10rpx;
- }
- }
- }
- .price {
- color: red;
- text-align: center;
- height: 100%;
- align-items: center;
- align-self: center;
- font-size: 29rpx;
- font-weight: 700;
- }
- }
- .bottom {
- // padding: 30rpx 20rpx;
- display: flex;
- justify-content: flex-end;
- .detail {
- // border: 1rpx solid darkgrey;
- border-radius: 16rpx;
- color: darkgrey;
- padding: 13rpx 34rpx;
- background-color: #F6F6F6;
- font-size: 26rpx;
- color: #333333;
- font-weight: Regular;
- }
- .del {
- border-radius: 16rpx;
- color: darkgrey;
- padding: 13rpx 34rpx;
- background-color: #007A69;
- font-size: 26rpx;
- color: #fff;
- font-weight: Regular;
- }
- }
- }
- }
- }
- .u-input__content {
- margin-top: 22rpx !important;
- }
- .uicon-arrow-right,
- .uicon-close-circle-fill {
- margin-top: 32rpx !important;
- margin-right: 20rpx !important;
- }
- .pop-pop {
- height: 65vh;
- padding: 46rpx 20rpx 0;
- .hander-one {
- display: flex;
- justify-content: space-between;
- .text {
- font-size: 36rpx;
- color: #333333;
- font-weight: bold;
- }
- .del {}
- }
- .hander-two {
- display: flex;
- align-items: center;
- margin: 30rpx 0;
- .hander-two-text {
- font-size: 30rpx;
- color: #333333;
- font-weight: Regular;
- }
- .hander-two-image {
- display: flex;
- align-items: center;
- .image {
- margin: 0 10rpx;
- width: 30rpx;
- height: 30rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- .hander-three {
- display: flex;
- border: 1rpx solid #CCCCCC;
- border-radius: 16rpx;
- justify-content: space-between;
- height: 102rpx;
- line-height: 102rpx;
- .hander-three-text {
- width: 200rpx;
- text-align: left;
- display: flex;
- justify-content: space-between;
- margin: 0 20rpx;
- }
- .hander-three-input {
- width: 55%;
- }
- .hander-three-icon {
- height: 102rpx;
- line-height: 102rpx;
- }
- }
- .hander-four {
- margin-top: 30rpx;
- display: flex;
- border-radius: 16rpx;
- justify-content: space-between;
- border: 1rpx solid #CCCCCC;
- height: 102rpx;
- line-height: 102rpx;
- .hander-three-text {
- width: 200rpx;
- text-align: center;
- display: flex;
- justify-content: space-between;
- margin: 0 20rpx;
- }
- .hander-three-input {
- width: 55%;
- }
- .hander-three-icon {
- height: 102rpx;
- line-height: 102rpx;
- }
- }
- }
- .page {
- background: #F3F4F4;
- padding-bottom: 260rpx;
- box-sizing: border-box;
- overflow-y: auto;
- overflow-x: auto;
- }
- .typeNum {
- // width: 100%;
- height: 73rpx;
- display: flex;
- justify-content: space-between;
- padding: 23rpx 24rpx;
- align-items: center;
- .left {
- display: flex;
- align-items: center;
- .active {
- color: #007A69;
- }
- }
- .right {
- display: flex;
- align-items: center;
- .image {
- margin: 0 10rpx;
- width: 30rpx;
- height: 30rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .text {
- font-size: 28rpx;
- font-weight: Regular;
- color: #333333;
- }
- }
- }
- .type {
- margin: 0 auto;
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- width: 86%;
- // height: 114rpx;
- background-color: #fff;
- padding: 30rpx;
- margin-bottom: 20rpx;
- display: flex;
- .left {
- height: 114rpx;
- line-height: 200rpx;
- margin-right: 20rpx;
- .image {
- margin: 0 10rpx;
- width: 30rpx;
- height: 30rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- .right {
- width: 100%;
- display: flex;
- .right-left {
- width: 172rpx;
- height: 172rpx;
- border-radius: 16rpx;
- margin-right: 22rpx;
- image {
- width: 100%;
- height: 100%;
- border-radius: 16rpx;
- }
- }
- .right-right {}
- }
- .type-btn {
- width: 100%;
- display: flex;
- justify-content: space-between;
- .type-btn-left {
- width: 50rpx;
- }
- .type-btn-right {
- display: flex;
- view {
- padding: 15rpx 23rpx;
- background-color: #F6F6F6;
- font-size: 24rpx;
- color: #333;
- font-weight: Regular;
- margin-right: 20rpx;
- border-radius: 50rpx;
- }
- }
- }
- }
- .top {
- display: flex;
- justify-content: space-between;
- }
- .under {
- margin-top: 20rpx;
- // display: flex;
- // justify-content: space-between;
- }
- .btn-btn {
- width: 100%;
- height: 136rpx;
- background-color: #fff;
- position: fixed;
- bottom: 0;
- padding: 30rpx 0 0;
- // margin: 0 auto;
- z-index: 9;
- // margin-top: 30rpx;
- // margin-left: 30rpx;
- .bottom-btn {
- display: flex;
- justify-content: space-between;
- margin: 0 24rpx;
- .left {
- width: 25%;
- display: flex;
- align-items: center;
- .image {
- width: 38rpx;
- height: 38rpx;
- margin: 0 10rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- .right {
- width: 75%;
- display: flex;
- justify-content: space-evenly;
- .right-btn {
- width: 148rpx;
- height: 80rpx;
- line-height: 80rpx;
- background-color: #1372FF;
- border-radius: 16rpx;
- font-size: 26rpx;
- color: #fff;
- font-weight: Regular;
- text-align: center;
- }
- }
- }
- }
- .btn {
- margin: 0 auto;
- width: 690rpx;
- height: 96rpx;
- background-color: #1372FF;
- color: #fff;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 34rpx;
- border-radius: 48rpx;
- }
- </style>
|