1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063 |
- <template>
- <view class="content">
- <u-loading-page loading-mode='spinner' image="/static/imgs/logo.png" iconSize='60'
- :loading='loading'></u-loading-page>
- <view v-show='!loading'>
- <view class="card-list content1">
- <view class="row" v-for="(item,index) in cardList" :key="index">
- <view class="title-name">
- {{item.cardBusiness}}
- </view>
- <view class="card-list-item"
- :style="item.currentBackground?'background:url('+item.currentBackground+');background-size:100% 100%':''">
- <view class="card-content style1" v-if="item.cuttentTemplate==1">
- <view class="left">
- <u--image :showLoading="true"
- :src="item.headSculpture?item.headSculpture:'/static/imgs/card/defaulthead.png'"
- width="66px" height="66px" shape="circle"></u--image>
- </view>
- <view class="right">
- <view class="row1">
- <text class="name">{{item.name}}</text>
- <text class="post">{{item.post}}</text>
- </view>
- <view class="row2">
- {{item.companyName}}
- </view>
- <view class="row3 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/address'+item.icon+'.png'"
- width="13px" height="16px"></u--image>
- <view class='icon-text'>{{ item.province }}{{ item.city }}{{ item.area }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/phone'+item.icon+'.png'"
- width="12px" height="13px"></u--image>
- <view class='icon-text'>{{ item.phone }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/remark'+item.icon+'.png'"
- width="10px" height="12px"></u--image>
- <view class='icon-text'>{{item.remark?item.remark:'--'}}</view>
- </view>
- <!-- <view class="">
- 备注
- </view> -->
- </view>
- </view>
- <view class="card-content style1 flex-between" v-if="item.cuttentTemplate==2">
- <view class="right">
- <view class="row1">
- <text class="name">{{item.name}}</text>
- <text class="post">{{item.post}}</text>
- </view>
- <view class="row2">
- {{item.companyName}}
- </view>
- <view class="row3 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/address'+item.icon+'.png'"
- width="13px" height="16px"></u--image>
- <view class='icon-text'>{{ item.province }}{{ item.city }}{{ item.area }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/phone'+item.icon+'.png'"
- width="12px" height="13px"></u--image>
- <view class='icon-text'>{{ item.phone }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/remark'+item.icon+'.png'"
- width="10px" height="12px"></u--image>
- <view class='icon-text'>{{item.remark?item.remark:'--'}}</view>
- </view>
- <!-- <view class="">
- 备注
- </view> -->
- </view>
- <view class="left">
- <u--image :showLoading="true" :src="item.headSculpture" width="66px" height="66px"
- shape="circle" v-if="item.headSculpture"></u--image>
- <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px"
- height="66px" shape="circle" v-else></u--image>
- </view>
- </view>
- <view class="card-content style2" v-if="item.cuttentTemplate==3">
- <view class="top">
- <u--image :showLoading="true" :src="item.headSculpture" width="66px" height="66px"
- shape="circle" v-if="item.headSculpture"></u--image>
- <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px"
- height="66px" shape="circle" v-else></u--image>
- </view>
- <view class="bottom flex">
- <view class="left">
- <view class="row1">
- <text class="name">{{item.name}}</text>
- <text class="post">{{item.post}}</text>
- </view>
- <view class="row2">
- {{item.companyName}}
- </view>
- </view>
- <view class="right">
- <view class="row3 flex">
- <u--image :showLoading="true"
- :src="'/static/imgs/card/address'+item.icon+'.png'" width="13px"
- height="16px"></u--image>
- <view class='icon-text'>{{ item.province }}{{ item.city }}{{ item.area }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/phone'+item.icon+'.png'"
- width="12px" height="13px"></u--image>
- <view class='icon-text'>{{ item.phone }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/remark'+item.icon+'.png'"
- width="10px" height="12px"></u--image>
- <view class='icon-text'>{{item.remark?item.remark:'--'}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class="card-content style2" v-if="item.cuttentTemplate==4">
- <view class="top">
- <view class="row1">
- <text class="name">{{item.name}}</text>
- <text class="post">{{item.post}}</text>
- </view>
- <view class="row2">
- {{item.companyName}}
- </view>
- </view>
- <view class="bottom flex">
- <view class="left">
- <u--image :showLoading="true" :src="item.headSculpture" width="66px" height="66px"
- shape="circle" v-if="item.headSculpture"></u--image>
- <u--image :showLoading="true" src="/static/imgs/card/defaulthead.png" width="66px"
- height="66px" shape="circle" v-else></u--image>
- </view>
- <view class="right">
- <view class="row3 flex">
- <u--image :showLoading="true"
- :src="'/static/imgs/card/address'+item.icon+'.png'" width="13px"
- height="16px"></u--image>
- <view class='icon-text'>{{ item.province }}{{ item.city }}{{ item.area }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/phone'+item.icon+'.png'"
- width="12px" height="13px"></u--image>
- <view class='icon-text'>{{ item.phone }}</view>
- </view>
- <view class="row4 flex">
- <u--image :showLoading="true" :src="'/static/imgs/card/remark'+item.icon+'.png'"
- width="10px" height="12px"></u--image>
- <view class='icon-text'>{{item.remark?item.remark:'--'}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class="car-bottom flex">
- <view class="left">
- <image src="../../static/imgs/card/home.png" mode="widthFix"
- style="width: 32rpx;height: auto;" @click="toHome(item)"></image>
- <image src="../../static/imgs/card/share.png" mode="widthFix"
- style="width: 35rpx;height: auto;" @click="share(item)"></image>
- <image src="../../static/imgs/card/ewm.png" mode="widthFix"
- style="width: 32rpx;height: auto;" @click="showCode(item)"></image>
- </view>
- <view class="right">
- <text class="text" @click="topMarking(item)">置顶</text>
- <text class="text" @click="del(item.id)">删除</text>
- <text class="text" @click="toEditCard(item)">编辑</text>
- </view>
- <!-- <u-button text="置顶" @click="topMarking(item)" throttle-time='1000'></u-button> -->
- <!-- <button @click="$u.debounce(topMarking, 500)">置顶</button> -->
- <!-- <button @click="$u.debounce(topMarking(item), 500)">置顶</button> -->
- <!-- <u-button text="删除" @click="del(item.id)" throttle-time='1000'></u-button> -->
- <!-- <button @click="toEditCard(item)">编辑</button> -->
- </view>
- </view>
- </view>
- </view>
- <view class="upload flex flex-all-center" @click="addCard">
- <view class="solids flex flex-all-center">
- <image src="../../static/imgs/card/add.png" mode="widthFix" style="width: 148rpx;height: auto;">
- </image>
- <text class='text'>添加新名片</text>
- </view>
- </view>
- </view>
- <u-toast ref="uToast"></u-toast>
- <u-popup :round='10' :show="isShowDel" @close="isShowDel=false" mode="center">
- <view class="del-style">
- <text class="title">删除名片自动退出关联得圈子,确定删除?</text>
- <view class="">
- <view @click='radiovalue=1' class="flex align-item-center radio-wrap">
- <image style='width:13px;height:13px;margin-right:10rpx;'
- :src="radiovalue==1?'../../static/imgs/mySet/checked.png':'../../static/imgs/mySet/not-checked.png'"
- mode=""></image>
- <view class="">仅从自己名片列表删除</view>
- </view>
- <view @click='radiovalue=2' class="flex align-item-center radio-wrap">
- <image style='width:13px;height:13px;margin-right:10rpx;'
- :src="radiovalue==2?'../../static/imgs/mySet/checked.png':'../../static/imgs/mySet/not-checked.png'"
- mode=""></image>
- <view class="">从所有拥有此名片用户列表删除</view>
- </view>
- </view>
- <view class="flex footer">
- <view class="cancel" @click="isShowDel=false">
- 取消
- </view>
- <view class="confirm" @click="delCard">
- 删除
- </view>
- </view>
- </view>
- </u-popup>
- <u-popup :show="isShowCode" @close="isShowCode=false" mode="center" :round='10'>
- <image style='margin:10px;height: auto;' :src="selectCode" mode="widthFix"></image>
- </u-popup>
- <u-popup :show="popupshow" :closeOnClickOverlay='true' :overlayOpacity='0.4' @close='handleHiddenShare'
- :round="10" mode="bottom">
- <view>
- <view class="share-content">
- <view class="block" @click="toUrl()">
- <button class="moment">
- <view class="iconfont icon-pengyouquan"></view>
- <view style="font-size: 26rpx;">分享朋友圈</view>
- </button>
- </view>
- <view class="block">
- <button class="shareBtn" type="default" data-name="shareBtn" open-type="share">
- <view class="iconfont icon-weixin"></view>
- <view style="font-size: 26rpx;">分享微信好友</view>
- </button>
- </view>
- </view>
- </view>
- </u-popup>
- <!-- 生成图片 -->
- <poster :data="canvasData" background-color="#FFF" :width='750' :height='420' @on-success="posterSuccess"
- ref="poster" @on-error="posterError"></poster>
- <point-share @close='showShare=false' :show='showShare'></point-share>
- </view>
- </template>
- <script>
- import Poster from '../../components/zhangyuhao-poster/Poster.vue';
- import PointShare from '../../components/point-share/index.vue';
- var that;
- export default {
- components: {
- Poster,
- PointShare
- },
- data() {
- return {
- isShowCode: false,
- selectCode: '',
- id: '',
- showShare: false,
- popupshow: false,
- radiovalue: 1,
- loading: true,
- isShowDel: false,
- cardList: [],
- canvasData: {},
- clicknum: 0,
- poster: ''
- };
- },
- onLoad() {
- that = this
- },
- onShow() {
- console.log(123123)
- if (uni.getLaunchOptionsSync().scene == 1154) {
- uni.showToast({
- title: '请前往小程序查看名片~',
- icon: 'none',
- duration: 10000
- });
- }
- this.userInfo = uni.getStorageSync("userInfo")
- if (uni.getStorageSync("userInfo").phone) {
- this.init()
- } else {
- uni.switchTab({
- url:'/pages/cardHolder/cardHolder'
- })
-
-
- }
- },
- onShareAppMessage(res) {
- console.log(res, this.popupshow)
- let that = this;
- //生成名片图片
- let imageUrl = this.poster
- console.log("imageUrl", imageUrl)
- if (res.from === 'button') {
- let path = `/pages/cardHolder/scanCodeAddCard?id=${that.currectData.id}`
- console.log("分享地址",path)
- return {
- title: this.popupshow ? `${that.currectData.name}分享的名片~` : '电子名片',
- path: path,
- imageUrl: this.popupshow ? imageUrl : '',
- };
- }
- if (res.from === 'menu') {
- return {
- title: '我的名片',
- path: '/pages/tabBarPro/index/index',
- imageUrl: this.popupshow ? imageUrl : ''
- };
- }
- },
- methods: {
- toUrl() {
- this.popupshow = false
- this.showShare = true
- },
- handleHiddenShare() {
- this.popupshow = false
- },
- posterError(err) {
- console.log(err)
- uni.hideLoading()
- },
- posterSuccess(url) {
- console.log("hahahah", url)
- // 生成成功,会把临时路径在这里返回
- this.poster = url;
- uni.hideLoading()
- this.popupshow = true
- console.log(url)
- },
- showCode(val) {
- this.selectCode = val.qrCodeMyself
- this.isShowCode = true
- },
- share(item) {
- uni.showLoading({
- title: '加载中',
- mask: true
- })
- this.currectData = item
- var data = [{
- type: 'image',
- path: this.currectData.currentBackground,
- use: 'bg',
- x: -10,
- y: 0,
- width: 530,
- height: 325
- },
- {
- type: 'image',
- path: this.currectData.headSculpture ? this.currectData.headSculpture :
- '../../static/imgs/card/defaulthead.png',
- shape: 'circle',
- use: 'head',
- imageType: this.currectData.headSculpture ? 'wl' : 'bd',
- x: 30,
- y: 30,
- width: 100,
- height: 100
- },
- {
- type: 'text',
- text: this.currectData.name,
- use: 'name',
- x: 150,
- y: 50,
- size: 24,
- color: '#000'
- },
- {
- type: 'text',
- text: this.currectData.post,
- use: 'post',
- x: 240,
- y: 55,
- size: 18,
- color: '#666666'
- },
- {
- type: 'text',
- text: this.currectData.companyName,
- use: 'companyName',
- x: 150,
- y: 95,
- size: 18,
- color: '#000'
- },
- {
- type: 'image',
- path: '../../static/imgs/card/address1.png',
- use: 'address-icon',
- x: 145,
- y: 130,
- width: 15,
- height: 20
- },
- {
- type: 'textarea',
- text: this.currectData.province + this.currectData.city + this.currectData.area + this
- .currectData.detailedAddress,
- lineSpace: 1,
- width: 320,
- use: 'address',
- x: 175,
- y: 135,
- size: 14,
- color: '#000'
- },
- {
- type: 'image',
- path: '../../static/imgs/card/phone1.png',
- use: 'phone-icon',
- x: 145,
- y: 163,
- width: 16,
- height: 16
- },
- {
- type: 'text',
- text: this.currectData.phone,
- use: 'phone',
- x: 175,
- y: 167,
- size: 14,
- color: '#000'
- },
- {
- type: 'image',
- path: '../../static/imgs/card/remark1.png',
- use: 'remark-icon',
- x: 145,
- y: 197,
- width: 13,
- height: 16
- },
- {
- type: 'textarea',
- text: this.currectData.remark ? this.currectData.remark : '单击添加备注',
- use: 'remark',
- lineSpace: 2,
- width: 200,
- x: 175,
- y: 200,
- size: 13,
- color: '#000'
- },
- {
- type: 'image',
- path: '../../static/imgs/card/bgc1.png',
- use: 'bg1',
- x: 3,
- y: 243,
- width: 240,
- height: 67
- },
- {
- type: 'image',
- path: '../../static/imgs/card/bgc2.png',
- use: 'bg2',
- x: 225,
- y: 243,
- width: 278,
- height: 67
- },
- {
- type: 'image',
- path: '../../static/imgs/card/home.png',
- use: 'home',
- x: 30,
- y: 260,
- width: 33,
- height: 33
- },
- {
- type: 'image',
- path: '../../static/imgs/card/share.png',
- use: 'share',
- x: 90,
- y: 263,
- width: 33,
- height: 28
- },
- {
- type: 'image',
- path: '../../static/imgs/card/ewm.png',
- use: 'code',
- x: 150,
- y: 263,
- width: 32,
- height: 32
- },
- {
- type: 'text',
- text: '置顶',
- use: 'top',
- x: 280,
- y: 265,
- size: 24,
- color: '#fff'
- },
- {
- type: 'text',
- text: '删除',
- use: 'del',
- x: 350,
- y: 265,
- size: 24,
- color: '#fff'
- },
- {
- type: 'text',
- text: '编辑',
- use: 'edit',
- x: 420,
- y: 265,
- size: 24,
- color: '#fff'
- },
- ]
- console.log(this.currectData.cuttentTemplate, 111111)
- for (var i = 0; i < data.length; i++) {
- switch (this.currectData.cuttentTemplate) {
- case '2':
- if (data[i].use === 'name' ||
- data[i].use === 'companyName' ||
- data[i].use === 'address-icon' ||
- data[i].use === 'phone-icon' ||
- data[i].use === 'remark-icon') {
- data[i].x = 30
- }
- if (data[i].use === 'address-icon') {
- data[i].path = '../../static/imgs/card/address3.png'
- }
- if (data[i].use === 'phone-icon') {
- data[i].path = '../../static/imgs/card/phone3.png'
- }
- if (data[i].use === 'remark-icon') {
- data[i].path = '../../static/imgs/card/remark3.png'
- }
- if (data[i].use === 'post') {
- data[i].x = 100
- }
- if (data[i].use === 'address' ||
- data[i].use === 'phone' ||
- data[i].use === 'remark') {
- data[i].x = 60
- }
- if (data[i].use == 'head') {
- data[i].x = 370
- }
- break;
- case '3':
- if (data[i].use === 'name') {
- data[i].x = 30
- data[i].y = 150
- }
- if (data[i].use === 'companyName') {
- data[i].x = 30
- data[i].y = 180
- }
- if (data[i].use === 'post') {
- data[i].x = 100
- data[i].y = 153
- }
- if (data[i].use === 'address-icon' ||
- data[i].use === 'phone-icon' ||
- data[i].use === 'remark-icon') {
- data[i].x = 170
- }
- if (data[i].use === 'address-icon') {
- data[i].y = 150
- }
- if (data[i].use === 'address') {
- data[i].y = 155;
- data[i].width = 300
- }
- if (data[i].use === 'phone-icon') {
- data[i].y = 180
- }
- if (data[i].use === 'phone') {
- data[i].y = 183
- }
- if (data[i].use === 'remark-icon') {
- data[i].y = 210
- }
- if (data[i].use === 'remark') {
- data[i].y = 212
- }
- if (data[i].use === 'address' ||
- data[i].use === 'phone' ||
- data[i].use === 'remark') {
- data[i].x = 190
- }
- break;
- case '4':
- if (data[i].use === 'name' ||
- data[i].use === 'companyName') {
- data[i].x = 30
- }
- if (data[i].use === 'companyName') {
- data[i].y = 90
- }
- if (data[i].use === 'post') {
- data[i].x = 100
- }
- if (data[i].use == 'head') {
- data[i].x = 25
- data[i].y = 120
- }
- if (data[i].use === 'address-icon') {
- data[i].path = '../../static/imgs/card/address2.png'
- }
- if (data[i].use === 'phone-icon') {
- data[i].path = '../../static/imgs/card/phone2.png'
- }
- if (data[i].use === 'remark-icon') {
- data[i].path = '../../static/imgs/card/remark2.png'
- }
- if (data[i].use === 'address-icon' ||
- data[i].use === 'phone-icon' ||
- data[i].use === 'remark-icon') {
- data[i].x = 170
- }
- if (data[i].use === 'address') {
- data[i].width = 300
- }
- if (data[i].use === 'address' ||
- data[i].use === 'phone' ||
- data[i].use === 'remark') {
- data[i].x = 190
- }
- break;
- default:
- }
- }
- this.canvasData = {
- clicknum: this.clicknum++,
- list: data,
- page: 'myInfo'
- }
- console.log(1111111)
- },
- toHome(item) {
- uni.navigateTo({
- url: "/pages/mySet/myHome?id=" + item.personalHomeId
- })
- },
- radioChange(n) {
- console.log('radioChange', n);
- },
- init() {
- var that = this
- this.$request.baseRequest('admin.unimall.cardManagementInfo', 'list', {
- commonId: this.userInfo.id
- }, failres => {
- uni.hideLoading()
- uni.showToast({
- icon: "none",
- title: failres.errmsg,
- duration: 3000
- });
- }).then(res => {
- this.cardList = res.data.items
- setTimeout(() => {
- that.loading = false
- }, 1500)
- })
- },
- toEditCard(val) {
- uni.navigateTo({
- url: "/pages/mySet/editCard?itemVal=" + JSON.stringify(val)
- })
- },
- delCard() {
- let _data = {}
- if (this.radiovalue == 1) {
- _data = {
- id: this.id
- }
- } else {
- _data = {
- id: this.id,
- deleteCondition: 1
- }
- }
- that.$request.baseRequest('admin.unimall.cardManagementInfo', 'delete', _data, failres => {
- uni.hideLoading()
- uni.showToast({
- icon: "none",
- title: failres.errmsg,
- duration: 3000
- });
- }).then(res => {
- this.isShowDel = false
- uni.showToast({
- icon: "success",
- title: '删除成功!',
- duration: 2000
- });
- this.init()
- })
- },
- del(val) {
- this.id = val
- this.isShowDel = true
- },
- addCard() {
- uni.navigateTo({
- url: "/pages/mySet/newCard?cardIndex=" + (this.cardList.length + 1)
- })
- },
- topMarking(val) {
- that.$request.baseRequest('admin.unimall.cardManagementInfo', 'top', {
- cardManagementInfo: JSON.stringify({
- id: val.id
- })
- }, failres => {
- uni.hideLoading()
- uni.showToast({
- icon: "none",
- title: failres.errmsg,
- duration: 3000
- });
- }).then(res => {
- uni.showToast({
- icon: "success",
- title: '置顶成功!',
- duration: 2000
- })
- this.init()
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .content {
- padding-bottom: 40rpx;
- }
- .card-content {
- width: 100%;
- }
- .content1 {
- .icon-text {
- margin-left: 10rpx;
- }
- .style1 {
- display: flex;
- margin-bottom: 70rpx;
- padding: 30rpx;
- box-sizing: border-box;
- .left {
- width: 132rpx;
- height: 132rpx;
- border-radius: 50%;
- }
- .right {
- margin-left: 40rpx;
- .row1 {
- .name {
- font-size: 38rpx;
- font-weight: bold;
- color: #040000;
- margin-right: 20rpx;
- }
- .post {
- font-size: 26rpx;
- font-weight: 500;
- color: #666666;
- }
- }
- .row2 {
- margin-top: 20rpx;
- font-size: 24rpx;
- font-weight: bold;
- color: #323333;
- }
- .row3,
- .row4 {
- margin-top: 30rpx;
- font-size: 24rpx;
- font-weight: 500;
- color: #323333;
- }
- }
- }
- .style2 {
- padding: 30rpx;
- box-sizing: border-box;
- margin-bottom: 70rpx;
- .top {
- .row1 {
- .name {
- font-size: 38rpx;
- font-weight: bold;
- color: #040000;
- margin-right: 20rpx;
- }
- .post {
- font-size: 26rpx;
- font-weight: 500;
- color: #666666;
- }
- }
- .row2 {
- margin-top: 20rpx;
- font-size: 24rpx;
- font-weight: bold;
- color: #323333;
- }
- }
- .bottom {
- margin-top: 20rpx;
- .left {
- margin-right: 40rpx;
- .row1 {
- .name {
- font-size: 38rpx;
- font-weight: bold;
- color: #040000;
- margin-right: 20rpx;
- }
- .post {
- font-size: 26rpx;
- font-weight: 500;
- color: #666666;
- }
- }
- .row2 {
- margin-top: 20rpx;
- font-size: 24rpx;
- font-weight: bold;
- color: #323333;
- }
- }
- .right {
- .row1,
- .row2 {
- font-size: 24rpx;
- font-weight: 500;
- color: #323333;
- }
- .row2 {
- margin-top: 20rpx;
- }
- .row3,
- .row4 {
- margin-top: 30rpx;
- font-size: 24rpx;
- font-weight: 500;
- color: #323333;
- }
- }
- }
- }
- }
- .card-list {
- padding: 0 20rpx;
- .title-name {
- font-weight: bold;
- color: #19191A;
- margin: 20rpx 0;
- }
- }
- .card-list-item {
- width: calc(100% + 40rpx);
- left: -20rpx;
- position: relative;
- border-radius: 30rpx;
- padding: 40rpx;
- box-sizing: border-box;
- .car-bottom {
- position: absolute;
- bottom: 22rpx;
- left: 20rpx;
- width: calc(100% - 40rpx);
- .left {
- position: absolute;
- padding: 20rpx 0;
- width: 305rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-evenly;
- background: url("../../static/imgs/card/bgc1.png") no-repeat center;
- background-size: 100% 100%;
- }
- .right {
- font-size: 25rpx;
- padding: 20rpx 0;
- position: relative;
- right: -278rpx;
- width: calc(100vw - 320rpx);
- box-sizing: border-box;
- display: flex;
- justify-content: space-evenly;
- background: url("../../static/imgs/card/bgc2.png") no-repeat center;
- background-size: 100% 100%;
- .text {
- color: #fff;
- }
- }
- }
- .left {
- width: 30%;
- .top {
- margin-bottom: 20rpx;
- }
- .img {
- width: 80%;
- }
- .bottom {}
- }
- .right {
- .row1 {
- .line {
- width: 1px;
- height: 20px;
- margin: 0 20rpx;
- background: black;
- }
- }
- }
- }
- .upload {
- background-color: #fff;
- margin: 20rpx;
- border-radius: 20rpx;
- padding: 76rpx;
- .solids {
- flex-direction: column;
- .text {
- margin-top: 20rpx;
- font-size: 26rpx;
- font-weight: 500;
- color: #666666;
- }
- }
- }
- .share-content {
- display: flex;
- padding: 20rpx;
- justify-content: center;
- font-size: 24rpx;
- button {
- background: transparent;
- line-height: 1.5;
- }
- button:after {
- border: none;
- }
- }
- .icon-pengyouquan,
- .icon-weixin {
- font-size: 50px;
- color: #33CC00;
- }
- .del-style {
- padding: 40rpx 40rpx 160rpx 40rpx;
- font-size: 32rpx;
- position: relative;
- .title {
- color: #1A1A1A;
- font-size: 32rpx;
- font-weight: bold;
- }
- .radio-wrap {
- padding: 23rpx;
- border-radius: 10rpx;
- background: #F5F5F5;
- margin: 20rpx 0;
- }
- .cancel,
- .confirm {
- width: 50%;
- text-align: center;
- padding: 35rpx 0;
- border-top: 1px solid #ccc;
- font-size: 36rpx;
- }
- .footer {
- position: absolute;
- bottom: 0px;
- width: 100%;
- left: 0;
- }
- .cancel {
- border-right: 1px solid #ccc;
- }
- .confirm {
- color: #4977FC;
- }
- }
- </style>
|