123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002 |
- <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" 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/address1.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/phone1.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/remark1.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/address3.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/phone3.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/remark3.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/address1.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/phone1.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/remark1.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/address2.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/phone2.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/remark2.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;"
- @click="toHome(item)"></image>
- <image src="../../static/imgs/card/share.png" mode="widthFix" style="width: 35rpx;"
- @click="share(item)"></image>
- <image src="../../static/imgs/card/ewm.png" mode="widthFix" style="width: 32rpx;"
- @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;"></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;' :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>分享朋友圈</view>
- </button>
- </view>
- <view class="block">
- <button class="shareBtn" type="default" data-name="shareBtn" open-type="share">
- <view class="iconfont icon-weixin"></view>
- <view>分享微信好友</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
- this.userInfo = uni.getStorageSync("userInfo")
- },
- onShow() {
- this.init()
- },
- 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}`
- 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',
- 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 => {
- this.$refs.uToast.show({
- type: 'error',
- message: failres.errmsg,
- })
- uni.hideLoading()
- }).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 => {
- this.$refs.uToast.show({
- type: 'error',
- message: failres.errmsg,
- })
- uni.hideLoading()
- }).then(res => {
- this.isShowDel = false
- this.$refs.uToast.show({
- type: 'success',
- message: '删除成功!',
- })
- this.init()
- })
- },
- del(val) {
- this.id = val
- this.isShowDel = true
- },
- addCard() {
- uni.navigateTo({
- url: "/pages/mySet/newCard"
- })
- },
- topMarking(val) {
- that.$request.baseRequest('admin.unimall.cardManagementInfo', 'top', {
- cardManagementInfo: JSON.stringify({
- id: val.id
- })
- }, failres => {
- this.$refs.uToast.show({
- type: 'error',
- message: failres.errmsg,
- })
- uni.hideLoading()
- }).then(res => {
- this.$refs.uToast.show({
- type: 'success',
- message: '置顶成功!',
- })
- this.init()
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .content {
- padding-bottom: 40rpx;
- }
- .card-content {
- width: 100%;
- }
- .content1 {
- .icon-text{
- margin-left:10rpx;
- }
- .style1 {
- display: flex;
- padding: 20rpx 30rpx;
- width: 85%;
- margin-bottom: 70rpx;
- .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;
- 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: 310rpx;
- 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: 26rpx;
- 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>
|