123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914 |
- <template>
- <view class="container qualifications" :style="{ paddingBottom: isIphoneX ? '68rpx' : '0' }">
- <view class="remarks-content-club" @click="handleClickClunInfo">
- <view class="content-club-le">
- <view class="club-le-text">
- <text class="label">机构名称:</text> <text class="text">{{ clubInfo.name }}</text>
- </view>
- <view class="club-le-text">
- <text class="label">联系人:</text> <text class="text">{{ clubInfo.linkMan }}</text>
- <text class="label phone">手机号:</text> <text class="text">{{ clubInfo.contractMobile }}</text>
- </view>
- <view class="club-le-text">
- <text class="label">地址:</text>
- <text class="text" v-if="clubInfo.provincialAddress"
- >{{ clubInfo.provincialAddress }}{{ clubInfo.address }}</text
- >
- </view>
- </view>
- <view class="content-club-ri"> <text class="iconfont icon-xiayibu"></text> </view>
- </view>
- <view class="remarks-content">
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>咨询人:</view>
- </view>
- <view class="remarks-input">
- <input
- class="input"
- type="text"
- v-model="remarksParams.questionMan"
- value=""
- placeholder="请输入和你聊天的客户姓名"
- maxlength="15"
- />
- </view>
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>咨询类别:</view>
- </view>
- <view class="remarks-category">
- <view
- class="checkbox-list"
- :class="category.isChecked ? 'checked' : ''"
- v-for="(category, index) in categorys"
- :key="index"
- @click="choiceCategorys(category, index)"
- >
- <text class="iconfont" :class="category.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"></text>
- {{ category.className }}
- </view>
- </view>
- <view class="list-view-title"> <view class="list-view-h1">机构类型:</view> </view>
- <view class="remarks-input">
- <input
- class="input"
- type="text"
- v-model="remarksParams.questionMan"
- value=""
- placeholder="如美甲店,医院"
- maxlength="15"
- />
- </view>
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>关键词记录:</view>
- <view class="list-view-p"
- >(请总结客户的咨询内容,以商品或者服务的关键词形式填写,不需要填口语化的内容。)</view
- >
- </view>
- <view class="list-view-list-main">
- <view class="list-view-list" v-for="(item, index) in logisticsList" :key="index">
- <view class="list-view-input">
- <input
- class="input"
- type="text"
- v-model="item.label"
- placeholder="请输入关键词,不超过10个汉字"
- maxlength="10"
- @input="bindRemarkAction(index, $event)"
- />
- <view class="list-view-assAction" v-if="item.isAssociation">
- <scroll-view class="tui-popup-scroll train" scroll-y="true">
- <view
- class="ass-list"
- v-for="(ass, assIndex) in assActionList"
- :key="assIndex"
- @click="SelectAssociationFn(ass.name,item)"
- >{{ ass.name }}</view
- >
- </scroll-view>
- </view>
- </view>
- <view class="list-view-btn">
- <text
- class="iconfont icon-zengjia"
- v-if="logisticsList.length < 9 && index === logisticsList.length - 1"
- @click="addListFn(item, index)"
- ></text>
- <text
- class="iconfont icon-shanchu4"
- v-if="logisticsList.length > 1 && index !== logisticsList.length - 1"
- @click="deleteLogistItemFn(item, index)"
- ></text>
- </view>
- </view>
- </view>
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>价格敏感度:</view>
- </view>
- <view class="list-view-radio">
- <picker @change="bindPickerChange(1, $event)" :value="index" :range="priceActions" range-key="name">
- <input
- class="input"
- type="text"
- disabled="false"
- v-model="priceFlagText"
- value=""
- placeholder="请选择"
- />
- <text class="iconfont icon-xiangyou"></text>
- </picker>
- </view>
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>意向程度:</view>
- </view>
- <view class="list-view-radio">
- <picker @change="bindPickerChange(2, $event)" :value="index" :range="intenActions" range-key="name">
- <input
- class="input"
- type="text"
- disabled="false"
- v-model="intenFlagText"
- value=""
- placeholder="请选择"
- />
- <text class="iconfont icon-xiangyou"></text>
- </picker>
- </view>
- <view class="list-view-title">
- <view class="list-view-h1"><text>*</text>跟进状态:</view>
- </view>
- <view class="list-view-radio">
- <picker @change="bindPickerChange(3, $event)" :value="index" :range="stateActions" range-key="name">
- <input
- class="input"
- type="text"
- disabled="false"
- v-model="followStateText"
- value=""
- placeholder="请选择"
- />
- <text class="iconfont icon-xiangyou"></text>
- </picker>
- </view>
- <view class="list-view-title"> <view class="list-view-h1">额外说明:</view> </view>
- <view class="remarks-textarea">
- <textarea
- class="textarea"
- v-model="remarksParams.extra"
- value=""
- placeholder="请输入其他需要说明的内容"
- maxlength="200"
- @input="conInput"
- />
- <text class="limit-text">{{ min }}/{{ max }}</text>
- </view>
- <view class="list-view-title">
- <view class="list-view-h1">上传图片</view>
- <view class="list-view-p">(可上传与客户的聊天截图或其他重要图片资料,最多10张)</view>
- </view>
- <view class="list-view-upload clearfix">
- <view class="photo-item" v-for="(image, imageIndex) in remarksParams.imageList" :key="imageIndex">
- <image
- :src="image"
- mode="aspectFill"
- @click.stop="previewImg(remarksParams.imageList, imageIndex)"
- ></image>
- <text
- class="iconfont icon-iconfontguanbi"
- @click.stop="deletePhotoFn(remarksParams.imageList, imageIndex)"
- ></text>
- </view>
- <view
- class="photo-item add"
- @click.stop="uploadPhotoFn(remarksParams.imageList)"
- v-if="remarksParams.imageList.length < 10 || remarksParams.imageList.length == 0"
- >
- <text class="iconfont icon-jiahao"></text>
- </view>
- </view>
- <view class="list-view-title">
- <view class="list-view-h1">上传文件</view>
- <view class="list-view-p">(可上传与客户相关的文件资料,最多10份,支持word,excel,ppt和pdf格式文件)</view>
- </view>
- <view class="list-view" v-for="(file, fileIndex) in remarksParams.fileList" :key="fileIndex">
- <view class="list-view-text">
- <view class="input">{{ file.fileName }}</view>
- <view class="delbtn" @click.stop="deleteFileFn(remarksParams.fileList, fileIndex)">删除</view>
- </view>
- </view>
- <view class="list-view">
- <view class="list-view-file" @click="uploadFile(remarksParams.fileList)">选择文件</view>
- </view>
- </view>
- <view class="remarks-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
- <view class="edit-button" @click="editButtonConfim">确定</view>
- </view>
- </view>
- </template>
- <script>
- import { mapState, mapMutations } from 'vuex'
- import authorize from '@/common/config/authorize.js'
- import { uploadFileImage, uploadFilePdfDocDocxXlsx } from '@/services/public.js'
- var isPreviewImg
- export default {
- data() {
- return {
- hideButton: true,
- isIphoneX: this.$store.state.isIphoneX,
- shopOrderId: 0,
- logisticsBatchId: 0,
- productActions: [],
- remarksParams: {
- clubId: 0,
- questionMan: '',
- extra: '',
- fileList: [],
- imageList: [],
- serviceProviderId: 0,
- consult: ''
- },
- min: 0,
- max: 200,
- handleType: '',
- clubUserId: 0,
- clubInfo: {},
- userInfo: {},
- checkedCategorysList: [],
- categorys: [],
- isConfirmLoding: false,
- priceFlagText: '',
- intenFlagText: '',
- followStateText: '',
- priceActions: [
- { name: '敏感', value: 1 },
- { name: '适中', value: 2 },
- { name: '不敏感', value: 3 },
- { name: '不明确', value: 4 }
- ],
- intenActions: [
- { name: '意向强烈', value: 1 },
- { name: '意向一般', value: 2 },
- { name: '意向平淡', value: 3 },
- { name: '随便看看', value: 4 }
- ],
- stateActions: [{ name: '跟进中', value: 1 }, { name: '跟进完成', value: 2 }, { name: '已放弃', value: 3 }],
- logisticsList: [
- {
- label: '',
- number: '',
- value: '',
- isAssociation:false
- }
- ],
- checkRemarkIndex:0,
- assActionList: [
- { name: '氨基酸的骄傲是件大事' },
- { name: '11111111111111' },
- { name: '22222222222' },
- { name: '33333333333333333' },
- { name: '4444444444444' },
- { name: '5555555' },
- { name: '6666666' },
- { name: '77777777' },
- { name: '88888888' },
- { name: '89999999' },
- { name: '101010101010' },
- { name: '11111111111111' },
- { name: '32432342342' },
- { name: 'sdfsdfsdfsdfs' },
- { name: '峰大厦水电费水电费' }
- ]
- }
- },
- onLoad(option) {
- console.log(option)
- if (option.type == 'edit') {
- this.getUserClubConsults()
- this.getUserClubRemarksDetail(option.remarksId)
- this.handleType = option.type
- uni.setNavigationBarTitle({ title: '修改记录' })
- } else {
- this.clubUserId = option.userId
- this.getCulbInfo()
- this.getUserClubConsults()
- }
- },
- methods: {
- ...mapMutations(['login']),
- getCulbInfo() {
- // 查询机构信息
- this.UserService.OrganizationUpdateModifyInfo({ userId: this.clubUserId })
- .then(response => {
- this.clubInfo = response.data.club
- this.userInfo = response.data.user
- this.remarksParams.clubId = this.clubInfo.clubId
- if (this.handleType != 'edit') {
- this.remarksParams.questionMan = this.clubInfo.linkMan
- }
- })
- .catch(error => {
- console.log('=============>', error.msg)
- })
- },
- getUserClubRemarksDetail(remarksId) {
- //修改回显资料备注信息
- this.UserService.getUserClubRemarksDetail({
- remarksId: remarksId
- })
- .then(response => {
- let data = response.data
- this.clubUserId = data.userId
- this.remarksParams.remarks = data.remarks.join(',')
- this.remarksParams.remarksId = data.remarksId
- this.remarksParams.fileList = data.fileList
- this.remarksParams.imageList = data.imageList
- if (this.handleType == 'edit') {
- this.remarksParams.questionMan = data.questionMan
- this.remarksParams.consult = data.consult
- this.checkedCategorysList = data.consult.split(',').map(i => parseInt(i, 0))
- this.categorys = this.categorys.map((el, index) => {
- if (data.consult.includes(el.id)) {
- el.isChecked = true
- } else {
- el.isChecked = false
- }
- return el
- })
- }
- this.getCulbInfo()
- })
- .catch(error => {
- this.$util.msg(error.msg, 2000)
- })
- },
- getUserClubConsults() {
- //查询咨询类别
- this.UserService.getUserClubConsults()
- .then(response => {
- this.categorys = response.data.map((el, index) => {
- el.isChecked = false
- return el
- })
- })
- .catch(error => {
- console.log('=========>获取咨询类别列表失败')
- })
- },
- bindRemarkAction(index, event) {
- this.checkRemarkIndex = index
- if (event.detail.value != '') {
- this.logisticsList[index].isAssociation = true
- // this.UserService.getCmremarkslist({remarks : event.detail.value}).then(response => {
- // if(response.data&&response.data.length>0){
- // this.assActionList = response.data
- // this.isAssociation = true
- // }else{
- // this.assActionList = []
- // this.isAssociation = false
- // }
- // })
- // .catch(error => {
- // console.log('=========>获取咨询类别列表失败')
- // })
- } else {
- this.logisticsList[index].isAssociation = false
- }
- },
- SelectAssociationFn(ass,item) {
- //选择关键词
- item.isAssociation = false
- item.label = ass
- },
- addListFn() {
- //添加
- this.isShowRemarks = false
- let obj = { label: '', number: '', value: '',isAssociation:false}
- this.logisticsList.push(obj)
- },
- deleteLogistItemFn(item, index) {
- this.logisticsList.splice(index, 1)
- },
- bindPickerChange(type, e) {
- //选择筛选条件
- switch (type) {
- case 1:
- this.priceFlagText = this.priceActions[e.target.value].name
- this.listQuery.validFlag = this.statusActions[e.target.value].value
- break
- case 2:
- this.intenFlagText = this.intenActions[e.target.value].name
- this.listQuery.featuredFlag = this.recommendActions[e.target.value].value
- break
- case 3:
- this.followStateText = this.stateActions[e.target.value].name
- this.listQuery.bigTypeId = this.classificationFirstList[e.target.value].value
- this.GetPrimarySecondaryClassification(this.listQuery.bigTypeId)
- break
- }
- },
- async editButtonConfim() {
- //保存资料备注
- if (this.isConfirmLoding) {
- return
- }
- const userInfo = await this.$api.getStorage()
- if (this.remarksParams.questionMan == '') {
- this.$util.msg('请输入咨询人姓名', 2000)
- return
- }
- if (this.remarksParams.consult == '') {
- this.$util.msg('请选择咨询类别', 2000)
- return
- }
- if (this.remarksParams.remarks == '') {
- this.$util.msg('请输入关键词记录', 2000)
- return
- }
- this.remarksParams.serviceProviderId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
- this.isConfirmLoding = true
- this.UserService.getUserClubRemarksSave({
- params: JSON.stringify(this.remarksParams)
- })
- .then(response => {
- this.$util.msg('保存成功', 3000, true, 'success')
- this.isConfirmLoding = false
- setTimeout(() => {
- uni.navigateBack({
- delta: 1
- })
- }, 1000)
- })
- .catch(error => {
- this.$util.msg(error.msg, 2000)
- this.isConfirmLoding = false
- })
- },
- choiceCategorys(category, index) {
- // 选择类别
- category.isChecked = !category.isChecked
- if (category.isChecked) {
- if (!this.contains(this.checkedCategorysList, category.id)) {
- this.checkedCategorysList.push(category.id)
- }
- } else {
- this.checkedCategorysList.splice(this.checkedCategorysList.indexOf(category.id), 1)
- }
- this.remarksParams.consult = this.checkedCategorysList.join(',')
- },
- contains(arr, val) {
- // 校验
- return arr.some(item => item === val)
- },
- uploadFile(array) {
- //上传资质文件
- console.log(array)
- uploadFilePdfDocDocxXlsx()
- .then(res => {
- let data = JSON.parse(res.data).data
- let obj = {
- fileName: uni.getStorageSync('fileName'),
- ossName: data.ossName
- }
- array.push(obj)
- console.log('array', array)
- })
- .catch(err => {
- console.log(err)
- })
- },
- uploadPhotoFn(array) {
- //添加图片
- uploadFileImage().then(res => {
- array.push(JSON.parse(res.data).data)
- })
- },
- deleteFileFn(array, index) {
- console.log(array)
- //删除文件
- this.UploadService.PostFileDelete({
- ossName: array[index].ossName
- })
- .then(res => {
- array.splice(index, 1)
- })
- .catch(error => {
- console.log('删除文件异常提示===>', error.msg)
- })
- },
- deletePhotoFn(array, index) {
- //删除图片
- array.splice(index, 1)
- },
- previewImg(image, index) {
- //顶部商品图片预览
- isPreviewImg = true
- let previewUrls = image
- uni.previewImage({
- current: index, //图片索引
- urls: previewUrls, //必须是http图片,本地图片无效
- longPressActions: ''
- })
- },
- conInput(e) {
- //备注文字字数限制
- let value = e.detail.value
- let len = parseInt(value.length)
- if (len > this.max) return
- this.min = len
- if (this.min == 200) {
- this.$util.msg('您输入的字数已达上限', 2000)
- }
- },
- handleClickClunInfo() {
- //修改机构资料
- if (this.userInfo.userIdentity === 2) {
- this.$api.navigateTo(`/pages/seller/login/apply?userID=${this.userInfo.userId}`)
- } else if (this.userInfo.userIdentity === 4) {
- this.$api.navigateTo(`/pages/seller/login/information?userID=${this.userInfo.userId}`)
- }
- }
- },
- onShow() {}
- }
- </script>
- <style lang="scss">
- page {
- height: auto;
- background: #ffffff;
- }
- .remarks-content-club {
- width: 100%;
- height: 252rpx;
- padding: 24rpx;
- box-sizing: border-box;
- border-bottom: 20rpx solid #f7f7f7;
- .content-club-le {
- width: 660rpx;
- float: left;
- .club-le-text {
- width: 100%;
- height: 60rpx;
- line-height: 60rpx;
- font-size: $font-size-28;
- color: #333333;
- .label {
- color: #999999;
- &.phone {
- margin-left: 48rpx;
- }
- }
- }
- }
- .content-club-ri {
- width: 40rpx;
- height: 160rpx;
- float: right;
- line-height: 160rpx;
- text-align: center;
- color: #b2b2b2;
- }
- }
- .remarks-content {
- width: 100%;
- height: auto;
- box-sizing: border-box;
- padding: 0 24rpx;
- padding-bottom: 160rpx;
- .list-view-title {
- width: 100%;
- height: auto;
- margin-bottom: 16rpx;
- margin-top: 40rpx;
- .list-view-h1 {
- line-height: 40rpx;
- font-size: $font-size-28;
- color: #333333;
- text-align: left;
- text {
- color: #ff2a2a;
- }
- }
- .list-view-p {
- line-height: 30rpx;
- color: #fea785;
- font-size: $font-size-20;
- }
- }
- .list-view-radio {
- width: 100%;
- height: 90rpx;
- box-sizing: border-box;
- padding: 0 10rpx;
- border: 1px solid #b2b2b2;
- border-radius: 6rpx;
- margin-bottom: 30rpx;
- position: relative;
- &.btn {
- border: none;
- margin-top: 40rpx;
- }
- .input {
- width: 100%;
- height: 90rpx;
- line-height: 90rpx;
- float: left;
- box-sizing: border-box;
- font-size: $font-size-24;
- color: #333333;
- padding: 0 10rpx;
- padding-right: 90rpx;
- }
- .iconfont {
- width: 50rpx;
- height: 90rpx;
- display: block;
- line-height: 90rpx;
- text-align: center;
- font-size: 30rpx;
- color: #999999;
- position: absolute;
- right: 0;
- top: 0;
- }
- }
- .list-view-list-main {
- width: 100%;
- height: auto;
- box-sizing: border-box;
- margin-bottom: 30rpx;
- position: relative;
- .list-view-list {
- width: 100%;
- height: 90rpx;
- box-sizing: border-box;
- margin-bottom: 30rpx;
- .list-view-input {
- width: 614rpx;
- height: 90rpx;
- float: left;
- position: relative;
- .input {
- width: 614rpx;
- height: 90rpx;
- box-sizing: border-box;
- padding: 0 20rpx;
- border: 1px solid #b2b2b2;
- border-radius: 6rpx;
- font-size: $font-size-24;
- color: #333333;
- }
- .list-view-assAction {
- width: 614rpx;
- height: 560rpx;
- box-sizing: border-box;
- padding: 10rpx 0;
- background: rgba(255, 255, 255, 1);
- box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.15);
- border-radius: 6rpx;
- position: absolute;
- top: -540rpx;
- left: 0;
- z-index: 999;
- overflow: hidden;
- .tui-popup-scroll {
- width: 100%;
- height: 540rpx;
- }
- .ass-list {
- width: 100%;
- height: 90rpx;
- box-sizing: border-box;
- padding: 0 24rpx;
- line-height: 90rpx;
- font-size: $font-size-26;
- color: #666666;
- text-align: left;
- border-bottom: 1px solid #e1e1e1;
- &:last-child{
- border-bottom: none;
- }
- }
- }
- }
- .list-view-btn {
- width: 88rpx;
- height: 90rpx;
- float: right;
- text-align: center;
- line-height: 90rpx;
- .icon-zengjia {
- color: #1890f9;
- font-size: $font-size-48;
- }
- .icon-shanchu4 {
- color: #e15616;
- font-size: $font-size-48;
- }
- }
- }
- }
- .remarks-category {
- width: 100%;
- float: left;
- .checkbox-list {
- height: 60rpx;
- font-size: $font-size-28;
- line-height: 60rpx;
- border-radius: 10rpx;
- margin-right: 20rpx;
- margin-bottom: 10rpx;
- box-sizing: border-box;
- float: left;
- .icon-yixuanze {
- margin-right: 10rpx;
- color: #e15616;
- }
- .icon-weixuanze {
- margin-right: 10rpx;
- color: #b2b2b2;
- }
- }
- .item-text {
- display: inline-block;
- font-size: 26rpx;
- color: #333333;
- border-radius: 28rpx;
- line-height: 50rpx;
- }
- }
- .remarks-input {
- width: 100%;
- height: 90rpx;
- padding: 0 16rpx;
- margin: 20rpx 0 0 0;
- border-radius: 6rpx;
- position: relative;
- border: 1px solid #b2b2b2;
- box-sizing: border-box;
- .input {
- width: 100%;
- height: 90rpx;
- line-height: 90rpx;
- font-size: $font-size-26;
- color: $text-color;
- z-index: 1;
- }
- }
- .remarks-textarea {
- width: 100%;
- height: 226rpx;
- padding: 16rpx;
- margin: 20rpx 0 0 0;
- border-radius: 6rpx;
- position: relative;
- border: 1px solid #b2b2b2;
- box-sizing: border-box;
- .textarea {
- width: 100%;
- height: 100%;
- line-height: 36rpx;
- font-size: $font-size-26;
- color: $text-color;
- z-index: 1;
- }
- .limit-text {
- position: absolute;
- right: 20rpx;
- bottom: 16rpx;
- line-height: 44rpx;
- font-size: $font-size-24;
- color: #b2b2b2;
- }
- }
- .list-view {
- width: 100%;
- height: 40rpx;
- margin-top: 20rpx;
- .list-view-file {
- width: 132rpx;
- height: 44rpx;
- line-height: 44rpx;
- font-size: $font-size-20;
- text-align: center;
- color: #ffffff;
- background-color: $color-system;
- border-radius: 8rpx;
- float: left;
- margin-top: 10rpx;
- }
- .list-view-text {
- width: 100%;
- float: left;
- .input {
- width: 560rpx;
- height: 44rpx;
- box-sizing: border-box;
- line-height: 44rpx;
- color: #333333;
- text-overflow: ellipsis;
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- line-clamp: 1;
- -webkit-box-orient: vertical;
- float: left;
- }
- .delbtn {
- width: 96rpx;
- height: 44rpx;
- border-radius: 8rpx;
- background-color: #fff2ec;
- font-size: $font-size-24;
- color: #e15616;
- line-height: 44rpx;
- text-align: center;
- float: left;
- }
- }
- }
- .list-view-upload {
- width: 100%;
- height: auto;
- .photo-item {
- display: inline-block;
- width: 112rpx;
- height: 112rpx;
- margin: 10rpx 0;
- margin-right: 25rpx;
- border-radius: 10rpx;
- border: 1px solid #f5f5f5;
- position: relative;
- float: left;
- &.add {
- width: 112rpx;
- height: 112rpx;
- border-color: #b2b2b2;
- text-align: center;
- line-height: 112rpx;
- margin-right: 0rpx;
- .icon-jiahao {
- font-size: $font-size-44;
- color: #b2b2b2;
- font-weight: bold;
- }
- }
- .icon-iconfontguanbi {
- width: 30rpx;
- height: 30rpx;
- border-radius: 50%;
- display: block;
- position: absolute;
- right: -10rpx;
- top: -10rpx;
- background: #f94b4b;
- text-align: center;
- line-height: 30rpx;
- color: #ffffff;
- font-size: $font-size-22;
- }
- image {
- width: 112rpx;
- height: 112rpx;
- border-radius: 10rpx;
- }
- }
- .photo-list {
- width: 100%;
- height: 116rpx;
- overflow: hidden;
- white-space: nowrap;
- display: flex;
- align-items: flex-start;
- }
- }
- }
- .remarks-btn {
- width: 100%;
- padding-top: 20rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #ffffff;
- .edit-button-canel {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- text-align: center;
- color: #e15616;
- font-size: $font-size-24;
- }
- .edit-button {
- width: 600rpx;
- height: 90rpx;
- background: $btn-confirm;
- line-height: 90rpx;
- text-align: center;
- color: #ffffff;
- font-size: $font-size-30;
- margin: 0 auto;
- border-radius: 45rpx;
- }
- }
- </style>
|