123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098 |
- <template>
- <view class="container">
- <!--banner-->
- <view class="tui-banner-swiper">
- <swiper :autoplay="true" :interval="5000" :duration="150" :circular="true"
- :style="{ height: swiperHeight + 'px' }" @change="bannerChange">
- <block v-for="(item, index) in banner" :key="index">
- <swiper-item class="swiper" :data-index="index" @tap.stop="previewImage">
- <image mode="widthFix" :src="item" class="tui-slide-image" @load="setswiperHeight" />
- </swiper-item>
- </block>
- </swiper>
- <!-- 视频-->
- <view v-if="detail.videourl" class="tui-video__box" @tap.stop="play">
- <image src="/static/images/mall/video.png" mode="widthFix"></image>
- </view>
- <view class="tui-banner-tag">
- <tui-tag padding="12rpx 18rpx" type="translucent" shape="circleLeft" :scaleMultiple="0.82" originRight>
- {{ bannerIndex + 1 }}/{{ banner.length }}
- </tui-tag>
- </view>
- </view>
- <!--banner-->
- <view class="tui-pro-detail">
- <view class="tui-product-title tui-border-radius">
- <view class="tui-namebox tui-padding">
- <view class="tui-name">
- <view><text>{{detail.title}}</text> <text class="keyi">今天可约</text></view>
- <view class="tui-identitylabel tui-gray">
- <text>实名认证</text>
- <!--<text>河北人</text><text>30岁</text>-->
- </view>
- </view>
- <view class="tui-collection tui-size" @tap="collecting">
- <tui-icon :name="collected ? 'like-fill' : 'like'" :color="collected ? '#ff201f' : '#333'"
- :size="20"></tui-icon>
- <view class="tui-scale-collection" :class="{'tui-icon-red':collected}">关注</view>
- <view class="tui-scale-collection">{{detail.viewed}}人浏览</view>
- </view>
- </view>
- <view class="list-cell" :data-id="detail.sid" @tap="goStore">
- <view class="tui-selected-box">{{detail.store}}</view>
- </view>
- <view v-if="detail.introduction" class="tui-container">
- {{detail.introduction || ''}}
- </view>
- <view class="tui-guarantee">
- <view class="tui-guarantee-item">
- <tui-icon name="circle-selected" :size="14" color="#999"></tui-icon>
- <text class="tui-pl">随时预约</text>
- </view>
- <view class="tui-guarantee-item">
- <tui-icon name="circle-selected" :size="14" color="#999"></tui-icon>
- <text class="tui-pl">专业工具</text>
- </view>
- <view class="tui-guarantee-item">
- <tui-icon name="circle-selected" :size="14" color="#999"></tui-icon>
- <text class="tui-pl">受专业培训</text>
- </view>
- <view class="tui-guarantee-item">
- <tui-icon name="circle-selected" :size="14" color="#999"></tui-icon>
- <text class="tui-pl">省心省钱</text>
- </view>
- </view>
- </view>
- <view v-if="technicalcomment && technicalcomment.length>0" class="tui-cmt-box tui-mtop tui-radius-all">
- <view class="list-cell tui-last tui-between">
- <view class="tui-bold tui-cell-title">评价</view>
- <!--<view class="tui-flex-center" @tap="evaluate">
- <text class="tui-cmt-all">查看全部</text>
- <tui-icon name="more-fill" :size="20" color="#ff201f"></tui-icon>
- </view>-->
- </view>
- <view v-for="(item, index) in technicalcomment" :key="index" class="tui-cmt-content tui-padding">
- <view class="tui-cmt-user">
- <image :src="item.head_img_url" class="tui-acatar"></image>
- <view class="tui-attr">{{item.nick_name}}</view>
- </view>
- <tui-rate :current="item.level"></tui-rate>
- <view class="tui-cmt">{{item.content}}</view>
- <!--<view class="tui-attr">颜色:叠层钛钢流苏耳环(A74)</view>-->
- </view>
- <!--<view class="tui-cmt-btn">
- <tui-button width="240rpx" height="64rpx" :size="24" type="black" plain shape="circle"
- @click="evaluate">查看全部评价</tui-button>
- </view>-->
- </view>
- <view class="tui-radius-all tui-mtop">
- <view class="tui-combination-text tui-between">
- <view class="tui-combination-title">
- <tui-tabs :sliderBgColor="pagestyleconfig.appstylecolor" :selectedColor="pagestyleconfig.appstylecolor" :tabs="tabs" :currentTab="currentTab" :sliderWidth="100" :width="200" itemWidth="50%" @change="change"></tui-tabs>
- </view>
- </view>
- <block v-if="currentTab==0">
- <block v-for="(item, index) in detail.goodslist" :key="index">
- <view :data-url="'/pages/goodsDetail/goodsDetail?id=' + item.id + '&uuid=' + detail.uuid"
- @tap="navigationTo" class="border-flex">
- <!-- 图片 -->
- <view class="border-left">
- <image mode="widthFix" :src="item.image" />
- </view>
- <!-- 文字 -->
- <view class="border-right">
- <view>{{item.name}}</view>
- <view class="price">
- <view class="left-box">¥{{item.price}} </view>
- <view class="right-box">
- <button class="itembutton" :style="'background:'+ pagestyleconfig.appstylecolor">立即预约</button>
- </view>
- </view>
- </view>
- </view>
- </block>
- </block>
- <block v-if="currentTab==1">
- <view><diyfieldsview ptype="technical" update="1" geturl="registerfield.view" :technicalid="technicalid"></diyfieldsview></view>
- </block>
- </view>
- <view class="tui-safearea-bottom"></view>
- </view>
- </view>
- </template>
- <script>
- const thorui = require('@/components/common/tui-clipboard/tui-clipboard.js');
- const poster = require('@/components/common/tui-poster/tui-poster.js');
- import uParse from '@/components/jyf-parser/jyf-parser';
- import diyfieldsview from "@/components/views/diyfields/diyfieldsview"
- export default {
- components: {
- uParse,
- diyfieldsview
- },
- data() {
- return {
- uid: '',
- technicalid:'',
- currentTab: 0,
- pagestyleconfig: [],
- is_show: 0,
- tabs: [{
- name: "服务的项目"
- }, {
- name: "个人简介"
- }],
- detail: {},
- technicalcomment: [],
- windowWidth: 0,
- height: 64, //header高度
- top: 26, //标题图标距离顶部距离
- scrollH: 0, //滚动总高度
- swiperHeight: 343,
- opcity: 0,
- iconOpcity: 0.5,
- banner: [],
- bannerIndex: 0,
- collected: false,
- winWidth: uni.upx2px(560 * 2),
- winHeight: uni.upx2px(890 * 2)
- };
- },
- onLoad: function(e) {
- let _this = this;
- let obj = {};
- // #ifdef MP-WEIXIN
- obj = wx.getMenuButtonBoundingClientRect();
- // #endif
- // #ifdef MP-BAIDU
- obj = swan.getMenuButtonBoundingClientRect();
- // #endif
- // #ifdef MP-ALIPAY
- my.hideAddToDesktopMenu();
- // #endif
-
- _this.$request.post('config', {
- mo: 'pagestyle'
- }).then(res => {
- if (res.errno == 0) {
- _this.pagestyleconfig = res.data
- }
- });
-
- if (e && e.scene) {
- const scene = decodeURIComponent(e.scene) // 处理扫码进商品详情页面的逻辑
- if (scene) {
- e.id = scene.split(',')[0]
- if (scene.split(',')[1]) {
- e.reid = scene.split(',')[1];
- }
- }
- }
- if (e.reid) {
- uni.setStorageSync('reid', e.reid)
- }
- _this.sam.login().then(res => {
- if (res.uid > 0) {
- _this.uid = res.uid;
- if (uni.getStorageSync('reid')) {
- _this.$request.get('member.bindpid', {
- samkey: (new Date()).valueOf(),
- pid: uni.getStorageSync('reid')
- }).then(res => {
- if (res.errno == 0) {
- console.log('pid绑定成功');
- }
- })
- }
- }
- });
- setTimeout(() => {
- uni.getSystemInfo({
- success: res => {
- console.log(res);
- this.width = obj.left || res.windowWidth;
- this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight +
- 44;
- this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res
- .statusBarHeight + 6;
- this.scrollH = res.windowWidth;
- this.windowWidth = res.windowWidth;
- }
- });
- }, 0);
- this.getDetail(e.id);
-
- _this.technicalid = e.id
- },
- onShow() {
- this.sam.login();
- },
- methods: {
- bannerChange: function(e) {
- this.bannerIndex = e.detail.current;
- },
- navigationTo: function(e) {
- this.sam.navigateTo(e.currentTarget.dataset.url);
- },
- change(e) {
- this.currentTab = e.index;
- },
- play() {
- uni.navigateTo({
- url: '/pages/video/video?videourl=' + this.detail.videourl,
- animationType: 'zoom-out'
- })
- },
- gettechnicalcomment: function() {
- var _this = this;
- _this.$request.get('comment.gettechnicalcomment', {
- uuid: _this.detail.uuid
- }).then(res => {
- if (res.errno == 0) {
- _this.technicalcomment = res.data
- }
- })
- },
- goStore: function(e) {
- var id = e.currentTarget.dataset.id;
- if (id > 0) {
- this.sam.navigateTo('/pages/store_details/store_details?id=' + e.currentTarget.dataset.id);
- }
- },
- getDetail(id) {
- const _this = this;
- _this.$request.get('technical.detail', {
- id: id
- }).then(res => {
- if (res.errno == 0) {
- _this.detail = res.data
- _this.banner = res.data.photoalbum;
- _this.gettechnicalcomment();
- }
- });
- },
- back: function() {
- uni.navigateBack();
- },
- collecting: function() {
- this.collected = !this.collected;
- },
- navigateTo(url) {
- this.sam.navigateTo(url);
- },
- setswiperHeight(e) {
- //console.log(e);
- this.swiperHeight = e.detail.height * (this.windowWidth / e.detail.width);
- }
- },
- onPageScroll(e) {
- let scroll = e.scrollTop <= 0 ? 0 : e.scrollTop;
- let opcity = scroll / this.scrollH;
- if (this.opcity >= 1 && opcity >= 1) {
- return;
- }
- this.opcity = opcity;
- this.iconOpcity = 0.5 * (1 - opcity < 0 ? 0 : 1 - opcity);
- },
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function() {
- setTimeout(() => {
- uni.stopPullDownRefresh()
- }, 200);
- },
- //发送给朋友
- onShareAppMessage: function() {
- let _this = this;
- return {
- title: _this.detail.title || "",
- path: "/pages/technical/details?id=" + _this.detail.id + "&reid=" + _this.uid,
- };
- },
- onShareTimeline(res) { //分享到朋友圈
- return {}
- }
- };
- </script>
- <style>
- /* 商品详情图样式 */
- .pro_detailImg {
- width: 100%;
- }
- .pro_detailImg img {
- width: 100%;
- height: auto;
- display: block;
- }
- .pro_detailImg {
- display: flex;
- flex-direction: column;
- transform: translateZ(0);
- }
- .pro_detailImg image {
- width: 100%;
- display: block;
- }
- page {
- background-color: #f7f7f7;
- }
- .container {
- padding-bottom: 110rpx;
- }
- .tui-header-box {
- width: 100%;
- position: fixed;
- left: 0;
- top: 0;
- z-index: 995;
- }
- .tui-header {
- width: 100%;
- font-size: 18px;
- line-height: 18px;
- font-weight: 500;
- height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-header-icon {
- position: fixed;
- top: 0;
- left: 10px;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- height: 32px;
- transform: translateZ(0);
- z-index: 9999;
- }
- .tui-header-icon .tui-badge {
- background: #e41f19 !important;
- position: absolute;
- right: -4px;
- }
- .tui-icon-ml {
- margin-left: 20rpx;
- }
- .tui-icon-box {
- position: relative;
- height: 20px !important;
- width: 20px !important;
- padding: 6px !important;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-banner-swiper {
- position: relative;
- }
- .tui-video__box {
- width: 130rpx;
- height: 130rpx;
- position: absolute;
- left: 50%;
- bottom: 40%;
- transform: translateX(-50%);
- z-index: 2;
- }
- .tui-video__box image {
- width: 130rpx;
- height: 130rpx;
- -webkit-filter: opacity(60%);
- /* Chrome, Safari, Opera */
- filter: opacity(60%);
- }
- .tui-video__box view {
- width: 100%;
- height: 100%;
- font-size: 24rpx;
- position: absolute;
- left: 0;
- top: 0;
- display: flex;
- align-items: center;
- padding-left: 66rpx;
- box-sizing: border-box;
- }
- .tui-banner-tag {
- position: absolute;
- color: #fff;
- bottom: 30rpx;
- right: 0;
- }
- .tui-slide-image {
- width: 100%;
- display: block;
- }
- /*顶部菜单*/
- .tui-menu-box {
- box-sizing: border-box;
- }
- .tui-menu-header {
- font-size: 34rpx;
- color: #fff;
- height: 32px;
- display: flex;
- align-items: center;
- }
- .tui-menu-itembox {
- color: #fff;
- padding: 40rpx 10rpx 0 10rpx;
- box-sizing: border-box;
- display: flex;
- flex-wrap: wrap;
- font-size: 26rpx;
- }
- .tui-menu-item {
- width: 22%;
- height: 160rpx;
- border-radius: 24rpx;
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: center;
- background: rgba(0, 0, 0, 0.4);
- margin-right: 4%;
- margin-bottom: 4%;
- }
- .tui-menu-item:nth-of-type(4n) {
- margin-right: 0;
- }
- .tui-badge-box {
- position: relative;
- }
- .tui-badge-box .tui-badge-class {
- position: absolute;
- top: -8px;
- right: -8px;
- }
- .tui-msg-badge {
- top: -10px;
- }
- .tui-icon-up_box {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-menu-text {
- padding-top: 12rpx;
- }
- .tui-opcity .tui-menu-text,
- .tui-opcity .tui-badge-box {
- opacity: 0.5;
- transition: opacity 0.2s ease-in-out;
- }
- /*顶部菜单*/
- /*内容 部分*/
- .tui-padding {
- padding: 0 30rpx;
- box-sizing: border-box;
- }
- .tui-ml-auto {
- margin-left: auto;
- }
- /* #ifdef H5 */
- .tui-ptop {
- padding-top: 44px;
- }
- /* #endif */
- .tui-size {
- font-size: 24rpx;
- line-height: 24rpx;
- }
- .tui-gray {
- color: #999;
- }
- .tui-icon-red {
- color: #ff201f;
- }
- .tui-border-radius {
- border-bottom-left-radius: 24rpx;
- border-bottom-right-radius: 24rpx;
- overflow: hidden;
- }
- .tui-radius-all {
- border-radius: 24rpx;
- overflow: hidden;
- }
- .overflowhidden {
- overflow: hidden;
- }
- .tui-mtop {
- margin-top: 26rpx;
- }
- .tui-pro-detail {
- box-sizing: border-box;
- color: #333;
- }
- .tui-product-title {
- background: #fff;
- padding-top: 20rpx;
- }
- .tui-namebox {
- display: flex;
- align-items: center;
- justify-content: space-between;
- color: #333333;
- font-size: 36rpx;
- font-weight: bold;
- line-height: 44rpx;
- }
- .tui-name {
- align-items: center;
- }
- .tui-name .keyi {
- font-size: 24rpx;
- color: #c55756;
- font-weight: normal;
- background-color: #f2e7eb;
- padding-left: 5rpx;
- padding-right: 5rpx;
- margin-left: 20rpx;
- border-radius: 5rpx;
- border: 1rpx solid #c55756;
- }
- .tui-identitylabel {
- font-size: 26rpx;
- line-height: 26rpx;
- padding: 10rpx 0rpx;
- box-sizing: border-box;
- font-weight: normal;
- }
- .tui-identitylabel text {
- background-color: #eee;
- padding-left: 5rpx;
- padding-right: 5rpx;
- margin-right: 10rpx;
- border-radius: 5rpx;
- }
- .points_goods {
- font-size: 26rpx;
- line-height: 26rpx;
- padding: 10rpx 30rpx;
- box-sizing: border-box;
- font-weight: normal;
- }
- .tui-collection {
- color: #333;
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: center;
- }
- .tui-scale-collection {
- transform: scale(0.7);
- transform-origin: center 90%;
- line-height: 24rpx;
- font-weight: normal;
- margin-top: 4rpx;
- }
- .tui-pro-titbox {
- font-size: 32rpx;
- font-weight: 500;
- position: relative;
- padding: 0 150rpx 0 30rpx;
- box-sizing: border-box;
- }
- .tui-pro-title {
- padding-top: 20rpx;
- }
- .tui-sub-title {
- padding: 20rpx 0;
- line-height: 32rpx;
- }
- .list-cell {
- width: 100%;
- position: relative;
- display: flex;
- align-items: center;
- font-size: 26rpx;
- line-height: 20rpx;
- padding: 20rpx 30rpx;
- box-sizing: border-box;
- }
- .tui-right {
- position: absolute;
- right: 30rpx;
- top: 30rpx;
- }
- .tui-top40 {
- top: 40rpx !important;
- }
- .tui-bold {
- font-weight: bold;
- }
- .list-cell::after {
- content: '';
- position: absolute;
- border-bottom: 1rpx solid #eaeef1;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- bottom: 0;
- right: 0;
- left: 126rpx;
- }
- .tui-last::after {
- border-bottom: 0 !important;
- }
- .tui-flex-center {
- display: flex;
- align-items: center;
- }
- .tui-cell-title {
- width: 66rpx;
- padding-right: 30rpx;
- flex-shrink: 0;
- }
- .tui-promotion-box {
- display: flex;
- align-items: center;
- padding: 10rpx 0;
- width: 80%;
- }
- .tui-promotion-box text {
- width: 70%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .tui-addr-box {
- width: 76%;
- }
- .tui-addr-item {
- padding: 10rpx;
- line-height: 34rpx;
- }
- .tui-container {
- color: #666;
- padding: 20rpx 30rpx 10rpx 30rpx;
- font-size: 24rpx;
- }
- .tui-guarantee {
- background: #fcf9f0;
- display: flex;
- flex-wrap: wrap;
- padding: 20rpx 30rpx 20rpx 30rpx;
- font-size: 24rpx;
- }
- .tui-guarantee-item {
- color: #999;
- padding-right: 30rpx;
- }
- .tui-pl {
- padding-left: 4rpx;
- }
- .tui-cmt-box {
- background: #fff;
- }
- .tui-between {
- justify-content: space-between !important;
- }
- .tui-cmt-all {
- color: #ff201f;
- padding-right: 8rpx;
- }
- .tui-cmt-content {
- font-size: 26rpx;
- }
- .tui-cmt-user {
- display: flex;
- align-items: center;
- }
- .tui-acatar {
- width: 60rpx;
- height: 60rpx;
- border-radius: 30rpx;
- display: block;
- margin-right: 16rpx;
- }
- .tui-cmt {
- padding: 14rpx 0;
- }
- .tui-attr {
- font-size: 24rpx;
- color: #999;
- padding: 6rpx 0;
- }
- .tui-cmt-btn {
- padding: 50rpx 0 30rpx 0;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-nomore-box {
- padding-top: 10rpx;
- }
- .tui-product-img {
- display: flex;
- flex-direction: column;
- transform: translateZ(0);
- }
- .tui-product-img image {
- width: 100%;
- display: block;
- }
- /*底部操作栏*/
- .tui-col-7 {
- width: 65%;
- }
- .tui-col-5 {
- width: 35%;
- }
- .tui-operation {
- width: 100%;
- height: 100rpx;
- background: rgba(255, 255, 255, 0.98);
- position: fixed;
- display: flex;
- align-items: center;
- justify-content: space-between;
- z-index: 10;
- bottom: 0;
- left: 0;
- padding-bottom: env(safe-area-inset-bottom);
- }
- .tui-safearea-bottom {
- width: 100%;
- height: env(safe-area-inset-bottom);
- }
- .tui-operation::before {
- content: '';
- position: absolute;
- top: 0;
- right: 0;
- left: 0;
- border-top: 1rpx solid #eaeef1;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- }
- .tui-operation-left {
- display: flex;
- align-items: center;
- }
- .tui-operation-item {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- position: relative;
- }
- .item-button {
- padding-top: 8rpx;
- padding-bottom: 1rpx;
- padding-left: 0px;
- padding-right: 0px;
- background-color: #fff;
- margin-left: auto;
- margin-right: auto;
- box-sizing: border-box;
- font-size: 18px;
- text-align: center;
- text-decoration: none;
- line-height: 22px;
- border-radius: 0px;
- -webkit-tap-highlight-color: transparent;
- overflow: hidden;
- cursor: pointer;
- color: #333;
- }
- .tui-operation-text {
- font-size: 22rpx;
- color: #333;
- }
- .tui-opacity {
- opacity: 0.5;
- }
- .tui-scale-small {
- transform: scale(0.9);
- transform-origin: center center;
- }
- .tui-operation-right {
- height: 100rpx;
- padding: 0 12rpx;
- box-sizing: border-box;
- }
- .tui-right-flex {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tui-flex-1 {
- flex: 1;
- padding: 6rpx;
- }
- .tui-combination-text {
- width: 100%;
- display: flex;
- align-items: center;
- background: #fff;
- }
- .tui-combination-title {
- font-weight: bold;
- box-sizing: border-box;
-
- }
- .tui-sub__title {
- font-size: 26rpx;
- padding-right: 30rpx;
- }
- .tui-step__box {
- width: 100%;
- height: 210rpx;
- background: #fff;
- padding: 0 60rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- }
- .border-flex {
- display: flex;
- width: 100%;
- background-color: #ffffff;
- align-items: center;
- padding: 30rpx 0;
- }
- .border-left image {
- width: 160rpx;
- height: 160rpx;
- border-radius: 10rpx;
- text-align: center;
- }
- .border-left,
- .border-right,
- .total,
- .suit {
- margin-left: 20rpx;
- }
- .suit {
- font-weight: bold;
- font-size: 26rpx;
- margin-left: 20rpx;
- }
- .border-right {
- line-height: 50rpx;
- font-size: 26rpx;
- width: 100%;
- margin-right: 20rpx;
- }
- .tui-content-box {
- width: 100%;
- padding: 0 30rpx;
- box-sizing: border-box;
- }
- .tui-box {
- width: 100%;
- background: #fff;
- box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
- border-radius: 30rpx;
- overflow: hidden;
- }
- .tui-tool-box {
- margin-top: 20rpx;
- }
- .tui-tool-icon-box {
- position: relative;
- }
- .tui-tool-text {
- font-size: 24rpx;
- font-weight: 400;
- color: #666;
- padding-top: 4rpx;
- line-height: 24rpx;
- }
- .tui-flex-wrap {
- flex-wrap: wrap;
- height: auto;
- }
- .tui-tool-list {
- width: 100%;
- padding-top: 15rpx;
- padding-bottom: 20rpx;
- padding-left: 20rpx;
- padding-right: 20rpx;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- }
- .tui-tool-item {
- width: 25%;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- padding-top: 15rpx;
- padding-bottom: 15rpx;
- background-color: #fff;
- }
- .tui-tool-icon {
- width: 64rpx;
- height: 64rpx;
- display: block;
- }
- .price {
- width: 100%;
- font-size: 30rpx;
- color: #eb0909;
- display: flex;
- }
- .left-box {
- width: 68%;
- }
- .right-box {
- width: 32%;
- text-align: right;
- float: right;
- }
- .itembutton {
- height: 52rpx;
- line-height: 52rpx;
- margin-top: 10rpx;
- font-size: 24rpx;
- border-radius: 50rpx;
- color: #ffffff;
- align-items: center;
- }
- </style>
|