12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058 |
- <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 {
- userInfo:{},
- 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 = `/pageA/cardHolder/scanCodeAddCard?id=${that.currectData.id},${that.userInfo.id}`
- console.log("分享地址", path)
- return {
- title: this.popupshow ? `${that.currectData.name}分享的名片~` : '电子名片',
- path: path,
- imageUrl: imageUrl,
- };
- }
- if (res.from === 'menu') {
- return {
- title: '我的名片',
- path: '/pages/cardHolder/cardHolder',
- 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/bgc6.png',
- use: 'bg1',
- x: 3,
- y: 243,
- width: 518,
- 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: "/pageA/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: "/pageA/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: "/pageA/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: 27rpx;
- left: 20rpx;
- width: calc(100% - 40rpx);
- background: url("../../static/imgs/card/bgc6.png") no-repeat center;
- background-size: cover;
- border-radius: 0 0 20rpx 20rpx;
- .left {
- position: absolute;
- padding: 20rpx 0;
- width: 270rpx;
- 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> -->
|