123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999 |
- <template>
- <view>
- <view class="content">
- <swiper class="screen-swiper" style="height: 320rpx;width: 686rpx;margin-top: 24rpx;border-radius: 32rpx;" :circular="true" :autoplay="true"
- interval="2500" duration="800">
- <swiper-item v-for="(item,index) in swiperList" :key="index" @tap="goNav(item.url)">
- <image :src="item.imageUrl" webp class="bannerImg"></image>
- </swiper-item>
- </swiper>
- <view class="tabview1" v-if="XCXIsSelect != '否'">
- <view class="tabview" v-if="typeList && typeList.length > 1">
- <view v-for="(item,index) in typeList" @tap="selTab(index,item.id)"
- :class="tabIndex == index ? 'tabItem_sel' : 'tabItem'">
- <view>{{item.value}}</view>
- </view>
- </view>
- <view class="tabsx">
- <view v-for="(item,index) in list" :key="index" :class="listIndex==index?'active':''"
- @click="change(index)">{{item.name}}</view>
- </view>
- </view>
- <view class="list_item" v-for="(item,index) in orderList" :key="index" @tap="goOrder(item)">
- <view style="position: relative;">
- <image :src="item.massageImg" mode="aspectFill" style="border-radius: 24rpx;width: 160rpx;height: 160rpx;"></image>
- <view class="flex justify-center align-center "
- style="color: #54CC84;font-size: 24rpx;width: 148rpx;height: 40rpx;background: #DCFFEA;border-radius: 36rpx;position: absolute;left: 6rpx;bottom: -20rpx;">
- <image src="../../static/time.png"
- style="width: 26rpx;height: 26rpx;margin-right: 8rpx;"></image>
- <view>{{item.duration}}分钟</view>
- </view>
- </view>
- <view class="listitem_rightview">
- <view class="titleview">
- <view class="item_title">{{item.title}}</view>
- <view class="item_yishou">已售{{item.sales}}</view>
- </view>
- <view class="flex flex-wrap margin-top-sm" v-if="item.labels.length>0">
- <text class="margin-bottom-xs box" v-for="(ites,index) in item.labels"
- :key="index">{{ites}}</text>
- </view>
- <view class="btnview align-center" :style="item.labels.length > 0 ? '' : 'margin-top:20rpx'">
- <view class="item_money flex align-center">
- <view><text>¥</text>{{item.price}}
- <text class="oldPrice_view">¥{{item.oldPrice}}</text>
- </view>
- <!-- <view class="flex justify-between margin-tb-sm align-center margin-left"
- style="color: #999999;font-size: 22rpx;">
- <image src="../../static/time.png"
- style="width: 26rpx;height: 26rpx;margin-right: 8rpx;"></image>
- <view>{{item.duration}}分钟</view>
- </view> -->
- </view>
- <view class="item_btn" v-if="item.classifyName === '足浴按摩'" @click.stop="goOrder(item)">
- 选择技师
- <image style="position: absolute;width: 39rpx;height: 39rpx;top: -4rpx;right: -8rpx;" src="../../static/image/btn-icon.png" mode=""></image>
- </view>
- <view class="item_btn" v-if="item.classifyName === '健身私教'" @click.stop="goOrder(item)">
- 选择教练
- </view>
- <view class="item_btn" v-if="item.classifyName != '健身私教' && item.classifyName != '足浴按摩'"
- @click.stop="goOrder(item)">
- 选择师傅
- </view>
- </view>
- </view>
- </view>
- </view>
- <empty v-if="orderList.length==0" style="position: relative;top: -120rpx;z-index: 9;"></empty>
- <view style="position: fixed;z-index: 999;bottom: 160rpx;" v-if="showTP">
- <image src="/static/image/city_open.png"
- style="width: 690rpx;margin: 30rpx;height: 600rpx;"></image>
- <view
- style="position: absolute;bottom: 100rpx;width: 100%;text-align: center;display: flex;justify-content: center;">
- <view>
- <view style="color: #333333;font-size: 28rpx;"><text
- style="font-size: 44rpx;color:#ee6c54">{{tpCount}}</text>人已投票</view>
- <view class="tp_view" v-if="tpSel == 2" @tap="saveTP">投票</view>
- <view class="ytp_view" v-if="tpSel == 1">已投票</view>
- </view>
- </view>
- </view>
- <!-- 新人红包 -->
- <uni-popup ref="popushongbao" type="center">
- <view>
- <image @tap="GetQuan"
- src="../../static/images/hb_bg.png"
- style="width: 564upx;height:618upx "></image>
- </view>
- </uni-popup>
- </view>
- </template>
- <script>
- import empty from '@/components/empty.vue'
- import RenDropdownFilter from '@/components/ren-dropdown-filter/ren-dropdown-filter.vue'
- // 调用手机系统权限
- // #ifdef APP-PLUS
- import permision from "@/components/permission.js";
- // #endif
- export default {
- components: {
- RenDropdownFilter,
- empty
- },
- onShareAppMessage(res) { //发送给朋友
- return {
- title: this.tuiguang,
- path: '/pages/index/index?invitation=' + this.invitationCode,
- imageUrl: this.tuiguangImg,
- }
- },
- onShareTimeline(res) { //分享到朋友圈
- return {
- title: this.tuiguang,
- path: '/pages/index/index?invitation=' + this.invitationCode,
- imageUrl: this.tuiguangImg,
- }
- },
- data() {
- return {
- tpSel: 0,
- tpCount: 0,
- showTP: false,
- invitationCode: '',
- tuiguang: '',
- tuiguangImg: '',
- city: '请选择城市',
- latitude: '',
- longitude: '',
- page: 1,
- limit: 10,
- orderList: [],
- tabIndex: 0,
- swiperList: [],
- typeList: [],
- value1: 0,
- value2: 0,
- value3: 0,
- defaultIndex: [0, 0, 0],
- classifyId: '',
- filterData: [
- [{
- label: '推荐',
- value: '',
- }, ],
- [{
- label: '价格',
- value: '0',
- },
- {
- label: '从高到低',
- value: '1',
- },
- {
- label: '从低到高',
- value: '2',
- }
- ],
- [{
- label: '销量',
- value: '0',
- },
- {
- label: '从高到低',
- value: '1',
- },
- {
- label: '从低到高',
- value: '2',
- }
- ],
- ],
- txAppKey: '',
- list: [{
- name: '综合排序',
- id: 1
- }, {
- name: '价格',
- id: 2
- }, {
- name: '销量',
- id: 3
- }, {
- name: '好评度',
- id: 4
- }],
- arr: [],
- showModal: true,
- listIndex: 0,
- XCXIsSelect: '否',
- }
- },
- onLoad(e) {
- let that = this
- // 获取邀请码保存到本地
- if (e.invitation) {
- that.$queue.setData('inviterCode', e.invitation);
- }
- // #ifdef MP-WEIXIN
- if (e.scene) {
- const scene = decodeURIComponent(e.scene);
- this.$queue.setData('inviterCode', scene.split(',')[0]);
- }
- // #endif
- that.$Request.getT('/app/common/type/250').then(res => { //技师完成通知
- if (res.code == 0) {
- if (res.data && res.data.value) {
- that.arr.push(res.data.value)
- }
- }
- })
- that.$Request.getT('/app/common/type/248').then(res => { //技师取消通知
- if (res.code == 0) {
- if (res.data && res.data.value) {
- that.arr.push(res.data.value)
- }
- }
- })
- that.$Request.getT('/app/common/type/217').then(res => { //腾讯地图key
- if (res.code == 0) {
- if (res.data && res.data.value) {
- that.txAppKey = res.data.value;
- }
- }
- })
- that.getBannerList();
- that.getZiZhi()
- that.XCXIsSelect = that.$queue.getData('XCXIsSelect');
- that.invitationCode = uni.getStorageSync('invitationCode')
- uni.getLocation({
- type: 'gcj02',
- geocode: true, //设置该参数为true可直接获取经纬度及城市信息
- success: function(res) {
- console.log(res, '地理位置')
- that.latitude = res.latitude
- that.longitude = res.longitude
- uni.setStorageSync('latitude', res.latitude)
- uni.setStorageSync('longitude', res.longitude)
- // #ifdef APP-PLUS
- that.city = res.address.city
- that.selectCity(that.longitude, that.latitude);
- uni.setStorageSync('city', res.address.city)
- // that.page = 1
- // that.getorderlist('')
- that.getKTCityList();
- // #endif
- // #ifdef H5
- that.selectCity(that.longitude, that.latitude);
- // #endif
- // #ifdef MP-WEIXIN
- uni.request({
- url: 'https://apis.map.qq.com/ws/geocoder/v1/?location=' + that.latitude +
- ',' + that.longitude + '&key=' + that.txAppKey,
- success(re) {
- if (re.statusCode === 200) {
- let citydata = re.data.result.address_component.city
- // console.log("获取城市名称成功", citydata)/
- that.city = citydata ? citydata : '未知'
- uni.setStorageSync('city', citydata)
- that.getKTCityList();
- // that.page = 1
- // that.getorderlist('')
- } else {
- console.log("获取信息失败,请重试!")
- }
- }
- });
- // #endif
- },
- fail: function(err) {
- console.log(err);
- // #ifdef APP-PLUS
- that.checkPermission();
- // #endif
- }
- })
- that.page = 1
- that.getorderlist('')
- },
- onShow() {
- this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
- this.$Request.get('/app/common/type/297').then(res => {
- if (res.code == 0) {
- // #ifdef MP-WEIXIN
- this.$queue.setData('XCXIsSelect', res.data.value);
- // #endif
- // #ifndef MP-WEIXIN
- this.$queue.setData('XCXIsSelect', '是');
- // #endif
- this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
- }
- });
- let userId = this.$queue.getData('userId');
- if (userId) {
- this.getTpMy();
- this.getTpCount();
- this.checkNewUser();
- // #ifdef MP-WEIXIN
- //订阅
- if (this.showModal) {
- this.openMsg()
- }
- // #endif
- this.city = uni.getStorageSync('city')
- this.getKTCityList();
- this.latitude = uni.getStorageSync('latitude')
- this.longitude = uni.getStorageSync('longitude')
- }
- this.page = 1
- this.getorderlist('')
- },
- methods: {
- goNav(url) {
- let userId = this.$queue.getData('userId');
- if (!userId) {
- uni.navigateTo({
- url: '/pages/public/login'
- });
- return;
- }
- if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1) {
- uni.navigateTo({
- url
- });
- } else {
- //#ifndef H5
- uni.navigateTo({
- url: '/pages/index/webView?url=' + url
- });
- //#endif
- //#ifdef H5
- window.location.href = url;
- //#endif
- }
- },
- async checkPermission() {
- console.log(11111111)
- let status = permision.isIOS ? await permision.requestIOS('location') : await permision.requestAndroid(
- 'android.permission.ACCESS_FINE_LOCATION');
- if (status === null || status === 1) {
- status = 1;
- } else if (status === 2) {
- uni.showModal({
- content: "系统定位已关闭",
- confirmText: "确定",
- showCancel: false,
- success: function(res) {}
- })
- } else if (status.code) {
- uni.showModal({
- content: status.message
- })
- } else {
- uni.showModal({
- title: '定位服务已关闭',
- content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【上门服务】定位权限",
- confirmText: "设置",
- success: function(res) {
- if (res.confirm) {
- permision.gotoAppSetting();
- }
- }
- })
- }
- return status;
- },
- saveTP() {
- let userId = this.$queue.getData('userId');
- if (!userId) {
- uni.navigateTo({
- url: '/pages/public/login'
- });
- return;
- }
- let userName = this.$queue.getData('userName');
- this.$queue.showLoading('投票中...');
- this.$Request.postJson('/app/message/insertMessage', {
- state: 11,
- content: this.city,
- userName: userName,
- userId: userId
- })
- .then(res => {
- if (res.code === 0) {
- uni.showToast({
- title: '投票成功!'
- });
- this.getTpCount();
- this.getTpMy();
- } else {
- uni.hideLoading();
- uni.showModal({
- showCancel: false,
- title: '投票失败',
- content: res.msg
- });
- }
- });
- },
- getTpMy() {
- this.$Request.getT('/app/message/selectMessageByUserId?page=1&limit=1&state=11').then(res => {
- if (res.code == 0) {
- if (res.data && res.data.list && res.data.list.length > 0) {
- this.tpSel = 1;
- } else {
- this.tpSel = 2;
- }
- }
- });
- },
- getTpCount() {
- this.$Request.getT('/app/message/selectCityCount?city=' + this.city).then(res => {
- if (res.code == 0) {
- this.tpCount = res.data ? res.data : 0;
- }
- });
- },
- getCity(e) {
- console.log(e[0].label);
- this.city = e[0].label;
- uni.setStorageSync('city', this.city)
- this.getKTCityList();
- this.page = 1
- this.getlist()
- },
- getKTCityList() {
- let cityName = uni.getStorageSync('city') ? uni.getStorageSync('city') : '请选择城市'
- if (cityName === '请选择城市') {
- return;
- }
- this.$Request.getT('/app/trip/selectTripList').then(res => {
- if (res.code == 0) {
- this.cityList = [];
- let isOpen = false
- let cityName = uni.getStorageSync('city') ? uni.getStorageSync('city') : '请选择城市'
- res.data.forEach((d, index) => {
- if (cityName === d.city) {
- isOpen = true;
- }
- let data = {}
- data.label = d.city
- data.value = index
- this.cityList.push(data);
- });
- if (!isOpen) {
- // this.orderList = []
- // this.showTP = true;
- // uni.showToast({
- // title: '当前城市暂未开通,请切换城市',
- // duration: 2000,
- // icon: 'none'
- // });
- } else {
- this.showTP = false;
- }
- }
- });
- },
- // 开启订阅消息
- openMsg() {
- console.log('订阅消息')
- var that = this
- uni.getSetting({
- withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
- success(ret) {
- console.log(ret.subscriptionsSetting, '------------------')
- // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
- if (ret.subscriptionsSetting.itemSettings) {
- uni.setStorageSync('sendMsg', true)
- uni.openSetting({ // 打开设置页
- success(rea) {
- console.log(rea.authSetting)
- }
- });
- } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
- uni.setStorageSync('sendMsg', false)
- uni.showModal({
- title: '提示',
- content: '为了更好的体验,请绑定消息推送',
- confirmText: '确定',
- cancelText: '取消',
- success: function(res) {
- if (res.confirm) {
- wx.requestSubscribeMessage({
- tmplIds: that.arr,
- success(re) {
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- console.log(re)
- // uni.setStorageSync('sendMsg', true)
- }
- },
- fail: (res) => {
- console.log(res)
- }
- })
- // uni.setStorageSync('sendMsg', true)
- that.showModal = false
- } else if (res.cancel) {
- console.log('取消')
- // uni.setStorageSync('sendMsg', false)
- that.showModal = true
- }
- }
- })
- }
- }
- })
- },
- // 分享文案和图片
- getZiZhi() {
- this.$Request.getT('/app/common/type/299').then(res => { //分享文案 299
- if (res.code === 0) {
- this.tuiguang = res.data.value;
- }
- });
- this.$Request.getT('/app/common/type/300').then(res => { //分享图片 300
- if (res.code === 0) {
- this.tuiguangImg = res.data.value;
- }
- });
- },
- // 筛选
- change(index) {
- // this.value1 = e[0][0].value
- // this.value2 = e[1][0].value
- // this.value3 = e[2][0].value
- this.listIndex = index
- this.page = 1
- this.getorderlist('')
- },
- GetQuan() {
- let userId = this.$queue.getData('userId');
- this.$Request.getT('/app/coupon/insertNewUserCoupon').then(res => {
- if (res.code == 0) {
- this.$refs.popushongbao.close();
- this.$queue.showToast('领取成功!')
- setTimeout(d => {
- uni.navigateTo({
- url: '/my/hongbao/youhuijuan'
- });
- }, 1000);
- } else {
- this.$queue.showToast(res.msg)
- }
- });
- },
- checkNewUser() {
- this.$Request.getT("/app/user/selectUserById").then(res => {
- if (res.code == 0) {
- if (res.data && res.data.isCoupon != 1) {
- setTimeout(d => {
- this.$refs.popushongbao.open();
- }, 2000);
- }
- if(!res.data.wxOpenId){//授权微信
- let url = window.location.origin + '/pages/index/order/test'
- console.log('url==========',url);
- return window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbcba29ef4f698074&redirect_uri=${url}&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect`
- }
- }
- });
- },
- //获取轮播图
- getBannerList() {
- this.$Request.get("/app/banner/selectBannerList", {
- classify: 1
- }).then(res => {
- if (res.code == 0) {
- this.swiperList = res.data
- console.log(this.swiperList);
- }
- });
- this.$Request.get("/app/dict/list", {
- type: '服务类型'
- }).then(res => {
- if (res.code == 0) {
- if (res.data) {
- this.typeList = res.data
- this.classifyId = res.data[0].id;
- this.page = 1
- this.getorderlist('')
- }
- }
- });
- },
- // 跳转订单
- goOrder(e) {
- // #ifdef MP-WEIXIN
- if (uni.getStorageSync('sendMsg')) {
- wx.requestSubscribeMessage({
- tmplIds: this.arr,
- success(re) {
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- console.log(re)
- }
- },
- fail: (res) => {
- console.log(res)
- }
- })
- }
- // #endif
- let token = this.$queue.getData('token')
- if (token) {
- uni.navigateTo({
- url: '/pages/index/order/order?massageTypeId=' + e.massageTypeId
- });
- } else {
- uni.navigateTo({
- url: '/pages/public/login'
- });
- }
- },
- // 选择城市
- goSelectCity() {
- uni.navigateTo({
- url: '/pages/index/citys/citys'
- });
- },
- // 跳转搜索
- goSearch(index) {
- // #ifdef MP-WEIXIN
- if (uni.getStorageSync('sendMsg')) {
- wx.requestSubscribeMessage({
- tmplIds: this.arr,
- success(re) {
- var datas = JSON.stringify(re);
- if (datas.indexOf("accept") != -1) {
- console.log(re)
- }
- },
- fail: (res) => {
- console.log(res)
- }
- })
- }
- // #endif
- uni.navigateTo({
- url: '/pages/index/search/index?index=' + index
- });
- },
- selectCity(longitude, latitude) {
- this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
- if (res.code == 0) {
- this.city = res.data.city ? res.data.city : '未知'
- uni.setStorageSync('city', res.data.city)
- this.page = 1
- this.getorderlist('')
- this.getKTCityList();
- }
- });
- },
- selTab(index, id) {
- // #ifdef APP-PLUS
- if (this.latitude === '' || this.longitude === '') {
- this.checkPermission();
- return;
- }
- // #endif
- this.tabIndex = index;
- this.classifyId = id;
- this.page = 1
- this.getorderlist('')
- },
- getorderlist(type) {
- console.log('city',this.city);
- let city = this.city;
- if (this.city === '请选择城市') {
- // city = '';
- if (type === 'refresh') {
- uni.stopPullDownRefresh();
- }
- return;
- }
- let index = this.list[this.listIndex].id
- let data = {
- classifyId: this.classifyId,
- page: this.page,
- limit: this.limit,
- status: 1,
- by: index, //销量
- latitude: this.latitude,
- longitude: this.longitude,
- city: city
- }
- this.$Request.get("/app/artificer/selectMassageTypePage", data).then(res => {
- if (res.code == 0) {
- if (this.page == 1) {
- for (let i = 0; i < res.data.list.length; i++) {
- if (res.data.list[i].labels) {
- res.data.list[i].labels = res.data.list[i].labels.split(",");
- } else {
- res.data.list[i].labels = []
- }
- }
- this.orderList = res.data.list
- } else {
- for (let i = 0; i < res.data.list.length; i++) {
- if (res.data.list[i].labels) {
- res.data.list[i].labels = res.data.list[i].labels.split(",");
- } else {
- res.data.list[i].labels = []
- }
- }
- this.orderList = [...this.orderList, ...res.data.list]
- }
- // if (this.orderList.length == 0) {
- // this.orderList = []
- // uni.showToast({
- // title: '当前城市暂未开通,请切换城市',
- // duration: 2000,
- // icon: 'none'
- // });
- // }
- }
- if (type === 'refresh') {
- uni.stopPullDownRefresh();
- }
- })
- }
- },
- onReachBottom: function() {
- this.page = this.page + 1;
- this.getorderlist('')
- },
- onPullDownRefresh: function() {
- this.page = 1;
- this.getorderlist('refresh');
- this.getZiZhi()
- }
- }
- </script>
- <style lang="scss">
- page {
- background: linear-gradient( 179deg, #FFC2D5 0%, #F6F6F6 800rpx);
- }
- .bg {
- background: #FFFFFF;
- }
- .ytp_view {
- background: #e3e3e3;
- width: 400rpx;
- border-radius: 10rpx;
- font-size: 28rpx;
- text-align: center;
- height: 80rpx;
- line-height: 80rpx;
- color: #848484;
- margin-top: 40rpx;
- }
- .tp_view {
- background: #ee6c54;
- width: 400rpx;
- border-radius: 10rpx;
- font-size: 28rpx;
- text-align: center;
- height: 80rpx;
- line-height: 80rpx;
- color: #FFFFFF;
- margin-top: 40rpx;
- }
- .bannerImg {
- width: 686rpx;
- height: 320upx;
- border-radius: 32rpx;
- }
- .box {
- // width: 128rpx;
- height: 48rpx;
- line-height: 48rpx;
- background: #FFECF2;
- border-radius: 32rpx 32rpx 32rpx 32rpx;
- text-align: center;
- letter-spacing: 2rpx;
- margin-right: 8upx;
- font-size: 24rpx;
- padding: 0 16rpx;
- color: #FF6E98;
- }
- .list_item {
- // width: 650upx;
- // height: 160upx;
- width: 92%;
- // margin: 30rpx 0;
- background: #FFFFFF;
- border-radius: 24upx;
- padding: 20upx;
- display: flex;
- align-items: center;
- margin-bottom: 20upx;
- .listitem_rightview {
- margin-left: 20upx;
- width: 80%;
- padding-top: 10rpx;
- .btnview {
- display: flex;
- align-items: center;
- justify-content: space-between;
- // margin-top: 12upx;
- width: 100%;
- }
- .titleview {
- display: flex;
- align-items: flex-end;
- justify-content: space-between
- }
- .moneyview {
- display: flex;
- align-items: flex-end;
- image {
- width: 30upx;
- height: 30upx;
- margin-left: 20upx;
- margin-bottom: 2upx;
- }
- }
- .item_time {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- margin-left: 10upx;
- }
- .item_money {
- font-size: 40rpx;
- font-family: PingFang SC;
- font-weight: 800;
- color: #FF6E98;
- .oldPrice_view {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 400;
- text-decoration: line-through;
- color: #AAAAAA;
- margin-left: 8rpx;
- }
- text {
- font-size: 24upx;
- }
- }
- .item_oldmoney {
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: 500;
- text-decoration: line-through;
- color: #999999;
- margin-left: 10upx;
- }
- .item_btn {
- width: 160upx;
- height: 64rpx;
- background: linear-gradient( 313deg, #FFE6EE 0%, #FFBACA 100%);
- border-radius: 36rpx;
- text-align: center;
- line-height: 64rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #222222;
- position: relative;
- }
- .item_yishou {
- font-size: 22upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- }
- .item_title {
- width: 320rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #1E1F31;
- }
- }
- image {
- width: 220upx;
- height: 160upx;
- border-radius: 24upx;
- }
- }
- .tabview1 {
- border-radius: 24rpx;
- z-index: 99;
- .tabview {
- // width: 686upx;
- // // height: 100upx;
- background: #F2FFF9;
- border-radius: 24rpx 24rpx 0 0;
- // margin-top: -50upx;
- // z-index: 99;
- display: flex;
- line-height: 100upx;
- .tabItem_sel {
- font-size: 30upx;
- font-family: PingFang SC;
- font-weight: 800;
- color: #20C675;
- flex: 1;
- text-align: center;
- }
- .tabItem {
- font-size: 26upx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- flex: 1;
- text-align: center;
- }
- }
- .tabsx {
- width: 686upx;
- border-radius: 24rpx;
- padding-bottom: 10rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20rpx 30rpx;
- font-size: 26rpx;
- .active {
- color: #FF6E98;
- font-size: 30rpx;
- font-weight: bold;
- }
- }
- }
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding-bottom: 100upx;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
- </style>
|