self_info.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <template>
  2. <view class="content-box">
  3. <!-- <view class="header-box">
  4. <image src="/static/tips.png" mode="aspectFill"></image>
  5. <text>温馨提示:请填写以下信息,填写后信息不可修改</text>
  6. </view> -->
  7. <form @submit="formSubmit" style="width: 100%">
  8. <!-- <view class="self-title-box">
  9. <image src="/static/rect-icon.png" mode="aspectFill"></image>
  10. <text>登记信息</text>
  11. </view> -->
  12. <view class="info-box">
  13. <view class="info-title-box">
  14. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  15. <text>姓名</text>
  16. </view>
  17. <view class="info-value-box">
  18. <input type="text" placeholder="请输入姓名" name="selfName" :value="userName" >
  19. </view>
  20. </view>
  21. <view class="info-box">
  22. <view class="info-title-box">
  23. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  24. <text>手机号</text>
  25. </view>
  26. <view class="info-value-box">
  27. <input type="tel" placeholder="请输入手机号" name="selfTel" :value="userPhone" disabled="true">
  28. </view>
  29. </view>
  30. <!-- <view class="info-box">
  31. <view class="info-title-box">
  32. <image src="/static/require-icon.png" mode="aspectFill"></image>
  33. <text>个人照片</text>
  34. </view>
  35. <view class="info-value-box">
  36. <image :src="userHeadImg" mode="aspectFit" style="width: 120rpx;height: 120rpx;border-radius: 10rpx;" @click="showLarge(userHeadImg)"></image>
  37. <view class="update_button display-flex">
  38. <view class="upload-box" @click="getImage('album')">
  39. <view class="img">
  40. <image src="/static/photo.png" class="photo"></image>
  41. </view>
  42. </view>
  43. <view class="display-flex upload-box-photo" v-for="(item, index) in uploadList" :key="index">
  44. <image :src="item" mode="aspectFit" style="width: 100%; height: 100%" @click="showLarge(item)"/>
  45. <image src="/static/del.png" class="del-icon"mode="aspectFit"
  46. style="width: 30rpx; height: 30rpx" @click="delPhoto(index)"></image>
  47. </view>
  48. </view>
  49. </view>
  50. </view> -->
  51. <view class="img-container">
  52. <label for="img">个人照片</label>
  53. <view class="note-image-box">
  54. <view class="note-image-item" v-for="(item,index) in uploadList" :key="index">
  55. <view class="close-icon" @click="delPhoto(index)">
  56. <uni-icons type="closeempty" size="18" color="#fff"></uni-icons>
  57. </view>
  58. <view class="image-box" @click="showLarge(item)">
  59. <image :src="item" mode="aspectFill"></image>
  60. </view>
  61. </view>
  62. <view v-if="uploadList.length < 1" class="note-image-item" @click="getImage('album')">
  63. <view class="image-box">
  64. <uni-icons type="plusempty" size="50" color="#eee"></uni-icons>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="info-box">
  70. <view class="info-title-box">
  71. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  72. <text>入党年月</text>
  73. </view>
  74. <view class="info-value-box">
  75. <view class="uni-list title-date-box">
  76. <view class="uni-list-cell">
  77. <view class="uni-list-cell-db display-flex-start">
  78. <picker mode="date" fields="year" @change="bindDateChange" class="picker-class">
  79. <view class="uni-input display-between items-center">{{dateYear}}年<image src="/static/calendar_icon.svg" mode="aspectFit" style="top: 18rpx;"></image></view>
  80. </picker>
  81. <picker :range="arrayMonth" :value="dateMonth" @change="bindDateMonthChange" class="picker-class" style="margin-left: 2%;">
  82. <view class="uni-input display-between items-center" style="color: #707070;">{{dateMonth}}月<image src="/static/calendar_icon.svg" mode="aspectFit" style="top: 18rpx;"></image></view>
  83. </picker>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="info-box">
  90. <view class="info-title-box">
  91. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  92. <text>民族</text>
  93. </view>
  94. <view class="info-value-box">
  95. <input type="text" placeholder="请输入民族" name="selfNation" :value="userNation" >
  96. </view>
  97. </view>
  98. <view class="info-box">
  99. <view class="info-title-box">
  100. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  101. <text>性别</text>
  102. </view>
  103. <view class="info-gender-box">
  104. <radio-group @change="radioCheck" class="padding-left-2">
  105. <label class="radio margin-right-10"><radio value="1" :checked="userSex==='1'" color="#00A1B4" class="form-radio"/>男</label>
  106. <label class="radio"><radio value="0" :checked="userSex==='0'" color="#00A1B4" class="form-radio"/>女</label>
  107. </radio-group>
  108. </view>
  109. </view>
  110. <view class="info-box">
  111. <view class="info-title-box">
  112. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  113. <text>出生日期</text>
  114. </view>
  115. <view class="info-value-box">
  116. <uni-datetime-picker
  117. class="time-select-box"
  118. type="date"
  119. :value="userBorn"
  120. @change="change"
  121. :clear-icon="false"
  122. @maskClick="dateMask"
  123. />
  124. </view>
  125. </view>
  126. <view class="info-box">
  127. <view class="info-title-box">
  128. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  129. <text>学历</text>
  130. </view>
  131. <view class="info-value-box">
  132. <picker @change="bindPickerChange($event,'education')" :range="educationArray" class="select-box" >
  133. <view class="uni-input">{{educationValue}}</view>
  134. <image src="/static/arrow_down.svg" mode="aspectFill"></image>
  135. </picker>
  136. </view>
  137. </view>
  138. <view class="info-box">
  139. <view class="info-title-box">
  140. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  141. <text>工作单位</text>
  142. </view>
  143. <view class="info-value-box">
  144. <input type="text" name="selfOffice" :value="userOffice" >
  145. </view>
  146. </view>
  147. <view class="info-box">
  148. <view class="info-title-box">
  149. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  150. <text>职务</text>
  151. </view>
  152. <view class="info-value-box">
  153. <input type="text" name="selfPosition" :value="userPosition">
  154. </view>
  155. </view>
  156. <view class="info-box">
  157. <view class="info-title-box">
  158. <!-- <image src="/static/require-icon.png" mode="aspectFill"></image> -->
  159. <text>职称</text>
  160. </view>
  161. <view class="info-value-box">
  162. <input type="text" :value="userTitle" name="selfTitle">
  163. </view>
  164. </view>
  165. <view style="display: flex;justify-content: space-evenly;">
  166. <!-- <button type="default" class="submit-bth" style="background-color: #aaaaaa;">清空</button> -->
  167. <button type="primary" class="submit-bth" style="background-color: #169bd5;" formType="submit">提交</button>
  168. </view>
  169. </form>
  170. </view>
  171. </template>
  172. <script>
  173. import md5 from "@/common/md5.js";
  174. // import pickerAddress from '@/components/liudx-pickerAddress/index.vue'
  175. // var graceChecker = require("../../../common/graceChecker.js");
  176. export default {
  177. components: {
  178. },
  179. data() {
  180. return {
  181. dateYear:new Date().getFullYear(),
  182. dateMonth:new Date().getMonth() + 1,
  183. arrayMonth:["1", "2","3", "4","5", "6","7", "8","9", "10","11", "12"],
  184. title: 'Hello',
  185. userName:'',
  186. userPhone:getApp().globalData.user_phone,
  187. userHeadImg:getApp().globalData.user_headUrl,
  188. detailObj:{},
  189. shareContent:'',
  190. shareCode:'',
  191. storeImg:'',
  192. isAuthPhone:getApp().globalData.user_phone,
  193. userSex:'1',
  194. userNation:'',
  195. userBorn:'',
  196. userOffice:'',
  197. userPosition:'',
  198. userTitle:'',
  199. txt: '请选择',
  200. educationValue:'请选择',
  201. educationArray: ['博士研究生','硕士研究生','本科','大专','中专'],
  202. professionValue:'请选择',
  203. professionArray:[],
  204. endsValue:'请选择',
  205. endsArray:[],
  206. provinceArray: [],
  207. addressShow: false,
  208. form: {
  209. province: '',
  210. city: '',
  211. },
  212. address: '',
  213. addressObj:{},
  214. userBrand:'',
  215. addressDetail:'',
  216. loginObj:{},
  217. uploadList: [],
  218. imgIdList: [],
  219. headImgId:'',
  220. educationObj:{
  221. '1':'中专',
  222. '2':'大专',
  223. '3':'本科',
  224. '4':'硕士研究生',
  225. '5':'博士研究生'
  226. },
  227. educationObjEdit:{
  228. '中专':'1',
  229. '大专':'2',
  230. '本科':'3',
  231. '硕士研究生':'4',
  232. '博士研究生':'5'
  233. }
  234. }
  235. },
  236. onLoad() {
  237. this.getMemberInfo();
  238. },
  239. onShow() {
  240. },
  241. // onShareAppMessage() {
  242. // return {
  243. // title: '分销小助手',
  244. // path:'/pages/index/index?scene=' + getApp().globalData.user_id
  245. // }
  246. // },
  247. methods: {
  248. getMemberInfo() {
  249. let md5Sign = md5(
  250. "method=" +"member" + "&timestamp=" + getApp().globalData.globalTimestamp +
  251. "&secret=" + getApp().globalData.secret
  252. );
  253. let url = getApp().globalData.shareUrl +"api/api.php" +
  254. "?method=member&action=info&timestamp=" +
  255. getApp().globalData.globalTimestamp +
  256. "&sign=" +
  257. md5Sign;
  258. uni.request({
  259. url: url,
  260. method: "POST",
  261. header: {
  262. "content-type": "application/x-www-form-urlencoded",
  263. },
  264. data: {
  265. openid: getApp().globalData.open_id,
  266. },
  267. success: (res) => {
  268. if (res.data.code === 200) {
  269. let userInfoObj = res.data.data;
  270. this.userName = userInfoObj.name;
  271. this.dateYear = userInfoObj.jion_year;
  272. this.dateMonth = userInfoObj.jion_month;
  273. this.userNation = userInfoObj.nation;
  274. this.userSex = userInfoObj.sex;
  275. if(userInfoObj.birth_day && userInfoObj.birth_day!='0'){
  276. this.userBorn = (userInfoObj.birth_day).substr(0,4) + '-' + (userInfoObj.birth_day).substr(4,2) + '-' + (userInfoObj.birth_day).substr(6);
  277. }
  278. this.educationValue = this.educationObj[userInfoObj.education_level];
  279. this.userOffice = userInfoObj.office;
  280. this.userPosition = userInfoObj.position;
  281. this.userTitle = userInfoObj.technical_title;
  282. if(userInfoObj.pic_url){
  283. userInfoObj.pic_url = getApp().globalData.shareUrl + userInfoObj.pic_url
  284. this.uploadList.push(userInfoObj.pic_url);
  285. }
  286. }
  287. },
  288. fail: () => {
  289. console.log("连接失败");
  290. },
  291. });
  292. },
  293. bindDateChange(e){
  294. this.dateYear = e.target.value
  295. },
  296. bindDateMonthChange(e){
  297. this.dateMonth = this.arrayMonth[e.target.value]
  298. },
  299. change(e) {
  300. console.log('show')
  301. this.userBorn = e;
  302. },
  303. dateMask(param){
  304. console.log(param)
  305. },
  306. showDateModal(){
  307. console.log('show')
  308. },
  309. getImage(type) {
  310. let that = this;
  311. if (that.uploadList.length === 1) {
  312. uni.showToast({
  313. title: "最多上传1张图片",
  314. icon: "none",
  315. duration: 2500,
  316. });
  317. return;
  318. }
  319. uni.chooseImage({
  320. sourceType: [type],
  321. count: 1,
  322. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  323. success: (res) => {
  324. for (let i = 0; i < res.tempFilePaths.length; i++) {
  325. console.log(res.tempFilePaths[i])
  326. that.uploadList.push(res.tempFilePaths[i]);
  327. that.uploadFileRequest(res.tempFilePaths[i]);
  328. }
  329. },
  330. });
  331. },
  332. uploadFileRequest(fileVal) {
  333. uni.showLoading({
  334. title: "上传中",
  335. mask: true,
  336. });
  337. let that = this;
  338. let md5Sign = md5(
  339. "method=" +"member_upload" +"&timestamp=" +
  340. getApp().globalData.globalTimestamp +
  341. "&secret=" + getApp().globalData.secret
  342. );
  343. let url =
  344. getApp().globalData.shareUrl +
  345. "api/api.php" +
  346. "?method=member_upload&timestamp=" +
  347. getApp().globalData.globalTimestamp +
  348. "&sign=" +
  349. md5Sign;
  350. uni.uploadFile({
  351. url: url, //需要设置为全局
  352. filePath: fileVal,
  353. name: "file",
  354. formData: {
  355. file: fileVal,
  356. openid:getApp().globalData.open_id,
  357. },
  358. success: (res) => {
  359. let tmpres = JSON.parse(res.data);
  360. uni.hideLoading();
  361. that.imgIdList.push(tmpres.data.id);
  362. that.headImgId = tmpres.data.id;
  363. },
  364. fail: (res) => {
  365. console.log("上传请求失败");
  366. console.log(res);
  367. },
  368. });
  369. },
  370. delPhoto(idx) {
  371. this.uploadList.splice(idx, 1);
  372. this.imgIdList.splice(idx, 1);
  373. },
  374. showLarge(src) {
  375. uni.previewImage({
  376. urls: [src],
  377. longPressActions: {
  378. itemList: ["发送给朋友", "保存图片"],
  379. success: function (data) {},
  380. fail: function (err) {
  381. console.log(err.errMsg);
  382. },
  383. },
  384. });
  385. },
  386. radioCheck(e){
  387. console.log(e.target.value)
  388. this.userSex = e.target.value;
  389. //this.gender = e.target.value == '0' ? '男' : '女';
  390. },
  391. changeCity(data) {
  392. this.txt = data.data.join('')
  393. console.log(data.data.join(''))
  394. },
  395. bindPickerChange(e,type) {
  396. this.educationValue = this.educationArray[e.target.value]
  397. console.log(this.educationValue)
  398. console.log(this.educationObjEdit[this.educationValue])
  399. },
  400. formSubmit(e) {
  401. //进行表单检查
  402. var formData = e.detail.value;
  403. console.log(formData)
  404. if(!formData.selfName){
  405. uni.showToast({
  406. title:'请填写姓名',
  407. duration:2500,
  408. icon:'none'
  409. })
  410. }else {
  411. this.submitRequest(formData)
  412. }
  413. },
  414. submitRequest(params){
  415. console.log(this.userTitle,this.headImgId)
  416. let md5Sign = md5(
  417. "method=" +"member" + "&timestamp=" + getApp().globalData.globalTimestamp +
  418. "&secret=" + getApp().globalData.secret
  419. );
  420. let url = getApp().globalData.shareUrl +"api/api.php" +
  421. "?method=member&action=info_update&timestamp=" +
  422. getApp().globalData.globalTimestamp +
  423. "&sign=" +
  424. md5Sign;
  425. uni.request({
  426. url: url,
  427. method: "POST",
  428. header: {
  429. "content-type": "application/x-www-form-urlencoded",
  430. },
  431. data: {
  432. openid: getApp().globalData.open_id,
  433. name:params.selfName,
  434. jion_year :this.dateYear,
  435. jion_month :this.dateMonth,
  436. sex : this.userSex,
  437. birth_day: this.userBorn,
  438. office :params.selfOffice,
  439. position:params.selfPosition,
  440. nation:params.selfNation,
  441. technical_title:params.selfTitle,
  442. education_level:this.educationObjEdit[this.educationValue],
  443. photo_attach_id:this.headImgId,
  444. },
  445. success: (res) => {
  446. if (res.data.code === 200) {
  447. uni.showToast({
  448. title:'修改成功',
  449. duration:2500,
  450. icon:'none',
  451. })
  452. setTimeout(()=>{uni.navigateBack({delta:1})},500)
  453. }
  454. },
  455. fail: () => {
  456. console.log("连接失败");
  457. },
  458. });
  459. },
  460. }
  461. }
  462. </script>
  463. <style lang="scss" scoped>
  464. .content {
  465. &_list{
  466. display: flex;
  467. flex-direction: row;
  468. align-items: center;
  469. justify-content:space-around;
  470. &_lable{
  471. }
  472. &_content{
  473. flex: 1;
  474. width: auto;
  475. text-align: right;
  476. }
  477. }
  478. }
  479. .content-box {
  480. width: 100%;
  481. /* height: 100%; */
  482. display: flex;
  483. flex-direction: column;
  484. align-items: center;
  485. /* justify-content: center; */
  486. }
  487. .header-box {
  488. width: 85%;
  489. height:80rpx;
  490. border: .5px dotted #00A1B4;
  491. border-radius: 50rpx;
  492. display: flex;
  493. justify-content: center;
  494. align-items: center;
  495. font-size: 24rpx;
  496. color:#00A1B4 ;
  497. /* font-family: PingFangSC-Regular; */
  498. margin-top: 2%;
  499. }
  500. .header-box image {
  501. width: 36rpx;
  502. height: 36rpx;
  503. margin-right: 1%;
  504. }
  505. .self-title-box {
  506. width: 90%;
  507. display: flex;
  508. align-items: center;
  509. font-size: 32rpx;
  510. letter-spacing: 2rpx;
  511. color:#3C3C3C ;
  512. /* font-family: SimHei; */
  513. margin: 4% auto;
  514. font-weight: bold;
  515. height: 50rpx;
  516. line-height: 50rpx;
  517. }
  518. .self-title-box image {
  519. width: 6rpx;
  520. height: 32rpx;
  521. margin-right: 2%;
  522. }
  523. .info-box {
  524. width: 90%;
  525. margin: 3% auto;
  526. display: flex;
  527. align-items: center;
  528. // height: 180rpx;
  529. }
  530. .info-title-box {
  531. width: 20%;
  532. display: flex;
  533. align-items: center;
  534. font-size: 26rpx;
  535. }
  536. .info-title-box image{
  537. width: 15rpx;
  538. height: 15rpx;
  539. margin-right: 2%;
  540. }
  541. .info-value-box {
  542. width: 75%;
  543. }
  544. .info-value-box input {
  545. height: 88rpx;
  546. background: #f7f7f7;
  547. font-size: 28rpx;
  548. padding-left: 4%;
  549. margin: 2% auto;
  550. }
  551. .info-value-box picker {
  552. position: relative;
  553. }
  554. .info-value-box picker image {
  555. position: absolute;
  556. width: 25rpx;
  557. height: 25rpx;
  558. right: 10px;
  559. top: 30rpx;
  560. }
  561. .select-box {
  562. height: 80rpx;
  563. background: #f7f7f7;
  564. font-size: 28rpx;
  565. padding-left: 4%;
  566. margin: 2% auto;
  567. color: #888;
  568. line-height: 88rpx;
  569. }
  570. .info-gender-box {
  571. width: 75%;
  572. font-size: 28rpx;
  573. }
  574. .form-radio {
  575. transform: scale(0.6);
  576. }
  577. .padding-left-2 {
  578. // padding-left: 2%;
  579. }
  580. .margin-right-10 {
  581. margin-right: 10%;
  582. }
  583. .border-line-box {
  584. width: 100%;
  585. height: 20rpx;
  586. background: #f7f7f7;
  587. }
  588. .picker-box{
  589. display: flex;
  590. align-items: center;
  591. justify-content: space-between;
  592. height: 60rpx;
  593. line-height: 60rpx;
  594. background: #f7f7f7;
  595. height: 88rpx;
  596. line-height: 88rpx;
  597. background: #f7f7f7;
  598. font-size: 28rpx;
  599. padding-left: 4%;
  600. }
  601. .uni-input image {
  602. width: 40rpx;
  603. height: 40rpx;
  604. margin-right: 2%;
  605. float: right;
  606. }
  607. .textarea-box {
  608. background: #f7f7f7;
  609. min-height: 120rpx;
  610. font-size: 28rpx;
  611. margin: 5% auto;
  612. padding: 4%;
  613. margin-bottom: 8%;
  614. }
  615. .upload-box {
  616. display: flex;
  617. flex-flow: column;
  618. width: 25%;
  619. background-color: #e0e0e0;
  620. height: 100rpx;
  621. border-radius: 10rpx;
  622. padding-top: 15rpx;
  623. image {
  624. margin-top: 10rpx;
  625. width: 60rpx !important;
  626. height: 60rpx !important;
  627. }
  628. }
  629. .upload-box-photo {
  630. width: 25%;
  631. height: 100rpx;
  632. border-radius: 10rpx;
  633. padding-top: 15rpx;
  634. position: relative;
  635. margin-left: 10rpx;
  636. }
  637. .del-icon {
  638. position: absolute;
  639. right: 0;
  640. width: 30rpx;
  641. height: 30rpx;
  642. }
  643. .update_button {
  644. text-align: center;
  645. display: flex;
  646. flex-wrap: wrap;
  647. }
  648. .picker-class {
  649. border-radius: 10rpx;
  650. padding: 10rpx;
  651. width: 73%;
  652. font-size: 28rpx;
  653. background: #f5f5f5;
  654. }
  655. .picker-class image {
  656. width: 26rpx;
  657. height: 26rpx;
  658. }
  659. .submit-bth {
  660. width: 25%;
  661. font-size: 26rpx;
  662. margin: 0 0 5% 0;
  663. color: #fff;
  664. }
  665. .img-container{
  666. display: flex;
  667. width: 90%;
  668. margin: 3% auto;
  669. font-size: 26rpx;
  670. label {
  671. width: 20%;
  672. }
  673. .note-image-box{
  674. width: 75%;
  675. display: flex;
  676. flex-wrap: wrap;
  677. .note-image-item{
  678. position: relative;
  679. //这两个百分比很关键
  680. width: 33.33%;
  681. height: 0;
  682. padding-top: 33.33%;
  683. box-sizing: border-box;
  684. .close-icon{
  685. display: flex;
  686. justify-content: center;
  687. align-items: center;
  688. position: absolute;
  689. right: 0;
  690. top: 0;
  691. width: 22px;
  692. height: 22px;
  693. border-radius: 50%;
  694. background-color: #d5d5d5;
  695. z-index: 2;
  696. }
  697. .image-box{
  698. display: flex;
  699. justify-content: center;
  700. align-items: center;
  701. position: absolute;
  702. top: 5px;
  703. right: 5px;
  704. bottom: 5px;
  705. left: 5px;
  706. border: 1px #eee solid;
  707. border-radius: 5px;
  708. overflow: hidden;
  709. image{
  710. width: 100%;
  711. height: 100%;
  712. }
  713. }
  714. }
  715. }
  716. }
  717. </style>