detail.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  1. <template>
  2. <view class="page">
  3. <view class="profile">
  4. <image :src="image_cache(userInfo.avatar)" class="avatar"
  5. @click="showAvatar(image_cache(userInfo.avatar))" />
  6. <view>
  7. <view class="nickname">
  8. <text :class="userInfo.mark?'':'non-nickname'">{{userInfo.mark || userInfo.nickname}}</text>
  9. <block class="emoji" v-if="userInfo.sex==1">
  10. <image src="../../static/img/gender1.png"
  11. style="width:30upx;height:30upx;margin-left:10upx;border-radius: 5px;"></image>
  12. </block>
  13. <block class="emoji" v-if="userInfo.sex==2">
  14. <image src="../../static/img/gender2.png"
  15. style="width:30upx;height:30upx;margin-left:10upx;border-radius: 5px;"></image>
  16. </block>
  17. </view>
  18. <view class="id" v-if="userInfo.nickname!=userInfo.showname">昵称: {{userInfo.showname}}</view>
  19. <view class="id">ID: {{userInfo.id}}</view>
  20. <view class="id" v-if="userInfo.province && userInfo.province!='省份'">
  21. 地区:{{userInfo.province}}{{userInfo.city}}</view>
  22. </view>
  23. </view>
  24. <view class="cell-wrapper" style="margin-top: 20px;">
  25. <view class="cell" v-if="userInfo.from">
  26. <view class="cell-hd" style="color: #666;font-size: 14px;">来源</view>
  27. <view class="cell-hb" style="font-size: 14px;">{{userInfo.from}}</view>
  28. </view>
  29. <view class="cell arrow" style="margin-top: 0px;" @tap="toCircle">
  30. <view class="cell-hd" style="color: #666;width: 150upx;font-size: 14px;">朋友圈</view>
  31. <view class="cell-hd" style="text-align: left;width:calc(100% - 260upx) ;">
  32. <view class="imgs" v-for="(value,index) in imgs" :key="index">
  33. <image :src="image_cache(value)"></image>
  34. </view>
  35. </view>
  36. <view class="cell-hb emoji" style="width: 100upx;"></view>
  37. </view>
  38. <view class="cell arrow" style="margin-top: 0px;" @tap="towords" v-if="userInfo.logout_words.length>0">
  39. <view class="cell-hd" style="color: #666;width: 150upx;font-size: 14px;">群印象</view>
  40. <view class="cell-hd" style="text-align: left;width:calc(100% - 260upx) ;">
  41. <block class="words" v-for="(value,index) in userInfo.logout_words" :key="index">
  42. <view class="tag">{{value.title}}</view>
  43. </block>
  44. </view>
  45. <view class="cell-hb emoji" style="width: 100upx;"></view>
  46. </view>
  47. <view class="cell" style="margin-top: 0px;" v-if="userInfo.sign && userInfo.sign != 'null'">
  48. <view class="cell-hd" style="color: #666;width: 140upx;font-size: 14px;">个性签名</view>
  49. <view class="cell-hd"
  50. style="text-align: left;width:calc(100% - 150upx) ;color:#666;font-size: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all;">
  51. {{userInfo.sign}}
  52. </view>
  53. </view>
  54. <view class="cell arrow" style="margin-top: 0px;" v-if="userInfo.isfriend" @tap="open_friendset">
  55. <view class="cell-hd" style="color: #666;font-size: 14px;">更多设置</view>
  56. <view class="cell-hd" style="text-align: left;width:calc(100% - 260upx) ;">
  57. </view>
  58. <view class="cell-hb emoji" style="width: 100upx;"></view>
  59. </view>
  60. </view>
  61. <block v-if="!isSelf">
  62. <view style="width: 60%;margin: 20px auto;">
  63. <button class="button1" v-if="userInfo.isfriend" @tap="handleChat">
  64. <uni-icons type="chat" color="#ffffff" style="margin-right: 5px;"></uni-icons>发消息
  65. </button>
  66. <button class="button1" v-else @tap="apply_adduser">
  67. <uni-icons type="plus" color="#ffffff" style="margin-right: 5px;"></uni-icons> 添加到通讯录
  68. </button>
  69. </view>
  70. <!-- <view style="margin-top:20px;color:#2319DC;text-align: center;font-size: 12px;text-decoration: underline;"
  71. @tap="toreport">
  72. 投诉
  73. </view> -->
  74. </block>
  75. <view class="popup" v-if="isreq">
  76. <view class="box">
  77. <ul class="layer_nav" style="height: 40px;line-height: 40px;">
  78. <li class="active">加为好友</li>
  79. </ul>
  80. <view class="group_detail">
  81. <ul class="avatarline" style="position: relative;">
  82. <li>
  83. <image :src="image_cache(userInfo.avatar)" class="avatar"></image>
  84. </li>
  85. <li>
  86. <div class="title" id="group_title">昵称:{{decodeURI(userInfo.nickname)}}</div>
  87. <div>
  88. ID:{{userInfo.id}}
  89. </div>
  90. </li>
  91. </ul>
  92. <textarea class="textarea" placeholder="我是..." v-model="reqcon"></textarea>
  93. </view>
  94. <view style="padding: 10px 10px;height: 30px;text-align: right;">
  95. <button class="layer_btns cancel" @tap="isreq=false;">
  96. <uni-icons type='closeempty'
  97. style="font-size: 14px;margin-right:1px;color: #333;font-weight: 600;"></uni-icons>
  98. 取消</button>
  99. <button class="layer_btns ok" @tap="apply_join()">
  100. <uni-icons type='checkmarkempty'
  101. style="font-size: 14px;color: #fff;margin-right: 1px;"></uni-icons>
  102. 确定</button>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. </template>
  108. <script>
  109. import api from '../../library/index.js';
  110. import http from '../../library/http.js';
  111. import config from "../../config.js"
  112. import uniIcons from '../../components/uni-icons/uni-icons.vue'
  113. export default {
  114. data() {
  115. return {
  116. id: '',
  117. nickname: '',
  118. isFriend: false,
  119. avatar: '',
  120. isSelf: false,
  121. gender: 0,
  122. hasDeny: false,
  123. roomId: 0,
  124. isGroup: false,
  125. description: '',
  126. userInfo: [],
  127. istop: false,
  128. from: '',
  129. imgs: [],
  130. showMenu: false,
  131. no_tip: false,
  132. pro_title: '添加好友请求',
  133. pro_text: '',
  134. placeholder: '',
  135. pro_type: '',
  136. tipstype: 0,
  137. user: uni.getStorageSync('userInfo'),
  138. group_id: 0,
  139. isreq: false,
  140. reqcon: ''
  141. }
  142. },
  143. components: {
  144. uniIcons
  145. },
  146. methods: {
  147. onNavigationBarButtonTap() {
  148. if (this.userInfo.isfriend) {
  149. this.open_friendset();
  150. return false;
  151. } else {
  152. if (this.userInfo.id != uni.getStorageSync('access_token')) var itemList = ['添加到通讯录']
  153. }
  154. var that = this;
  155. uni.showActionSheet({
  156. itemList: itemList,
  157. success: function(res) {
  158. that.apply_adduser();
  159. },
  160. fail: function(res) {
  161. //console.log(res.errMsg);
  162. }
  163. });
  164. //this.quickMenuVisible(!this.showMenu);
  165. },
  166. apply_adduser() {
  167. if (uni.getStorageSync('access_token') > 0) {
  168. var user = uni.getStorageSync('userInfo');
  169. if (user.issetname == 1) {
  170. this.isreq = true;
  171. } else {
  172. this.$action.profileTips('未设置昵称,不能添加好友', '/pages/friend/detail?id=' + this.user.id + '&from=' +
  173. this.from);
  174. }
  175. } else {
  176. this.$action.loginTips('您还没有登录,不能添加好友', '/pages/friend/detail?id=' + this.user.id + '&from=' + this
  177. .from);
  178. }
  179. },
  180. apply_join() {
  181. var postdata = {
  182. userid: this.user.id,
  183. friend_uid: this.id,
  184. mark: this.reqcon,
  185. from: this.from
  186. };
  187. http.setWait(false).post('user.php?act=applyAddFriend', postdata).then(res => {
  188. if (res.code == 200) {
  189. var send = res.data.send;
  190. uni.showToast({
  191. title: res.data.message,
  192. icon: 'none'
  193. })
  194. if (send == 2) {
  195. var that = this;
  196. setTimeout(function() {
  197. uni.redirectTo({
  198. url: 'chat?id=' + that.userid + "&nickname=" + that.userinfo
  199. .nickname
  200. })
  201. }, 1000)
  202. } else {
  203. }
  204. } else {
  205. uni.showToast({
  206. title: '网络错误,请稍后再试',
  207. icon: 'none'
  208. })
  209. }
  210. })
  211. this.isreq = false;
  212. },
  213. getGroupuser(userid, group_id) {
  214. var group_users = uni.getStorageSync(group_id + '_group_members');
  215. if (group_users.length > 0) {
  216. this.users_set(group_users);
  217. }
  218. api.getGroupUsers({
  219. group_id: group_id,
  220. userid: userid,
  221. }).then(res => {
  222. this.users_set(res.data);
  223. })
  224. },
  225. users_set(data) {
  226. if (data.length > 0) {
  227. for (var i = 0; i < data.length; i++) {
  228. if (this.myid == data[i].id) {
  229. this.myinfo = data[i];
  230. }
  231. }
  232. for (var i = 0; i < data.length; i++) {
  233. if (this.userid == data[i].id) {
  234. this.group_user = data[i];
  235. if ((this.myinfo.type != data[i].type) && (this.myinfo.type == 'owner' || (this.myinfo
  236. .type == 'manager' && data[i].type == 'user'))) {
  237. this.isset = true;
  238. } else this.isset = false;
  239. }
  240. }
  241. uni.setStorageSync(this.group_id + '_group_members', data);
  242. }
  243. },
  244. open_userset() {
  245. uni.navigateTo({
  246. url: '../group/userset?id=' + this.id + '&group_id=' + this.group_id + '&thistype=' + this
  247. .thistype + '&usertype=' + this.group_user.type
  248. })
  249. },
  250. open_friendset() {
  251. uni.navigateTo({
  252. url: '../friend/userset?id=' + this.id + '&from=detail'
  253. })
  254. },
  255. getUserInfo(id) {
  256. var userid = id;
  257. if (uni.getStorageSync('members_' + userid)) this.userInfo = uni.getStorageSync('members_' + userid);
  258. if (this.userInfo.id == userid) {
  259. this.isloading = false;
  260. }
  261. http.setWait(false).get('user.php?act=userdetail', {
  262. id: userid,
  263. group_id: this.group_id,
  264. userid: this.user.id
  265. }).then(res => {
  266. if (res.code == 200) {
  267. this.isloading = false;
  268. this.userInfo = res.data;
  269. uni.setStorageSync('members_' + userid, res.data)
  270. } else {
  271. uni.showToast({
  272. title: '网络错误,请稍后再试',
  273. icon: 'none'
  274. })
  275. }
  276. })
  277. api.getCircleImg({
  278. id: id
  279. }).then(res => {
  280. this.imgs = res.data;
  281. })
  282. },
  283. photo(path) {
  284. if (path.indexOf('http') <= -1) path = config.imgUri + path;
  285. return path;
  286. },
  287. handleChat() {
  288. uni.redirectTo({
  289. url: 'chat?id=' + this.id + "&nickname=" + this.userInfo.nickname
  290. })
  291. },
  292. toreport() {
  293. this.$jump('friend.report', {
  294. id: this.userInfo.id
  295. });
  296. },
  297. toCircle() {
  298. this.$jump('circle.mycircle', {
  299. id: this.userInfo.id
  300. });
  301. },
  302. towords() {
  303. this.$jump('friend.logout_words', {
  304. id: this.userInfo.id
  305. });
  306. },
  307. showAvatar(e) {
  308. uni.previewImage({
  309. urls: [e]
  310. })
  311. },
  312. },
  313. onLoad(opts) {
  314. uni.setStorageSync('cache_key', '');
  315. this.id = opts.id;
  316. if (opts.group_id) this.group_id = opts.group_id;
  317. //this.userInfo=this.GetUserinfo(this.id);
  318. this.getUserInfo(opts.id)
  319. if (this.user.id == this.id) {
  320. this.isSelf = true;
  321. uni.hideTabBarRedDot()
  322. }
  323. this.from = opts.from;
  324. var msgtop = uni.getStorageSync('msgtop');
  325. msgtop.map(item => {
  326. if (item.storekey == 'U' + this.userInfo.id) this.istop = true;
  327. })
  328. var msgnotip = uni.getStorageSync('msgnotip');
  329. msgnotip.map(item => {
  330. // console.log(item);
  331. if (item.storekey == 'U' + this.id) this.no_tip = true;
  332. })
  333. },
  334. onShow() {
  335. uni.setNavigationBarColor({
  336. frontColor: '#000000'
  337. })
  338. uni.hideKeyboard();
  339. }
  340. }
  341. </script>
  342. <style lang="scss" scoped>
  343. .page {
  344. background-color: #fafafa;
  345. }
  346. .button1 {
  347. height: 40px;
  348. line-height: 40px;
  349. border: 0px;
  350. border-radius: 20px;
  351. color: #fff;
  352. // background: -webkit-linear-gradient(left top, #3388ff, #2319dc);
  353. // background: -o-linear-gradient(bottom right, #3388ff, #2319dc);
  354. // background: -moz-linear-gradient(bottom right, #3388ff, #2319dc);
  355. // background: linear-gradient(to bottom right, #3388ff, #2319dc);
  356. background-color: $base-color;
  357. width: 100%;
  358. font-size: 16px;
  359. font-weight: 600;
  360. text-align: center;
  361. }
  362. .profile {
  363. display: flex;
  364. align-items: center;
  365. padding: 10px 20px;
  366. background-color: #fff;
  367. margin-top: 10px;
  368. padding-bottom: 30px;
  369. .avatar {
  370. width: 120upx;
  371. height: 120upx;
  372. background-color: #fff;
  373. border-radius: $uni-border-radius-base;
  374. margin-right: $uni-spacing-col-lg;
  375. vertical-align: top;
  376. margin-left: 10px;
  377. }
  378. .nickname {
  379. font-size: 42upx;
  380. font-weight: 700;
  381. vertical-align: top;
  382. color: #000 !important;
  383. }
  384. .id {
  385. color: #666;
  386. font-size: 24upx;
  387. margin-top: $uni-spacing-col-sm;
  388. }
  389. .emoji {
  390. font-size: 32upx;
  391. }
  392. }
  393. .imgs {
  394. display: inline-block;
  395. padding: 0px 20upx;
  396. }
  397. .imgs image {
  398. height: 80upx;
  399. width: 80upx;
  400. vertical-align: middle;
  401. border-radius: 5px;
  402. }
  403. .center {
  404. justify-content: center;
  405. }
  406. .cell {
  407. margin-top: $uni-spacing-col-lg;
  408. font-size: 14px;
  409. background-color: #fff;
  410. color: $uni-color-primary;
  411. &.to-room,
  412. &.has-deny {
  413. padding: 0;
  414. padding-right: 0;
  415. }
  416. .deny,
  417. .agree {
  418. flex: 1;
  419. text-align: center;
  420. }
  421. .deny {
  422. color: $uni-color-error;
  423. }
  424. .divider {
  425. width: 1upx;
  426. height: 40upx;
  427. flex-shrink: 0;
  428. background-color: #eee;
  429. }
  430. }
  431. .btn-wrapper {
  432. margin-top: $uni-spacing-col-base;
  433. padding: $uni-spacing-col-lg $uni-spacing-row-lg;
  434. }
  435. .non-nickname {
  436. color: gray;
  437. }
  438. .popup {
  439. position: fixed;
  440. z-index: 1000;
  441. background-color: rgba(0, 0, 0, 0.6);
  442. top: 0;
  443. left: 0;
  444. width: 100%;
  445. height: 100vh;
  446. }
  447. .popup .box {
  448. position: fixed;
  449. left: 10%;
  450. width: 80%;
  451. top: 20vh;
  452. height: auto;
  453. background-color: #fff;
  454. border-radius: 10px;
  455. }
  456. .popup .textarea {
  457. display: block;
  458. height: 100px;
  459. padding: 5px 10px;
  460. margin: 10px auto;
  461. width: calc(100% - 42px);
  462. border-radius: 5px;
  463. border: 1px solid #ddd;
  464. }
  465. .layer_nav {
  466. width: 100%;
  467. display: block;
  468. height: 50px;
  469. line-height: 50px;
  470. padding: 0px !important;
  471. margin: 0px !important;
  472. background-color: $base-color;
  473. border-top-right-radius: 8px;
  474. border-top-left-radius: 8px;
  475. }
  476. .layer_nav li {
  477. display: inline-block;
  478. float: left;
  479. color: #666;
  480. background-color: #eee;
  481. text-align: center;
  482. font-size: 16px;
  483. cursor: pointer;
  484. width: 150px;
  485. }
  486. .layer_nav li i {
  487. margin-right: 0px;
  488. }
  489. .layer_nav li.active {
  490. width: 100%;
  491. background-color: $base-color;
  492. color: #fff;
  493. }
  494. .layer_nav li:first-child {
  495. border-top-left-radius: 8px;
  496. }
  497. .layer_btns {
  498. display: inline-block;
  499. line-height: 30px;
  500. padding: 0px 15px;
  501. border-radius: 5px;
  502. border: 0px;
  503. text-align: right;
  504. cursor: pointer;
  505. height: 30px;
  506. color: #fff;
  507. margin-left: 15px;
  508. font-size: 14px;
  509. }
  510. .layer_btns.ok {
  511. // background: -webkit-linear-gradient(left top, #3388ff, #2319dc);
  512. // background: -o-linear-gradient(bottom right, #3388ff, #2319dc);
  513. // background: -moz-linear-gradient(bottom right, #3388ff, #2319dc);
  514. // background: linear-gradient(to bottom right, #3388ff, #2319dc);
  515. background: $base-color;
  516. height: 30px !important;
  517. }
  518. .layer_btns.cancel {
  519. border: 1px solid #666;
  520. color: #666;
  521. background-color: #fff;
  522. height: 30px;
  523. line-height: 30px !important;
  524. }
  525. .group_detail .avatar {
  526. height: 50px;
  527. width: 50px;
  528. border-radius: 5px;
  529. }
  530. .group_detail {
  531. -webkit-overflow-scrolling: touch;
  532. overflow-y: scroll;
  533. width: 100%;
  534. }
  535. .group_detail::-webkit-scrollbar {
  536. display: none;
  537. }
  538. .group_detail .avatarline {
  539. height: 50px;
  540. line-height: 50px;
  541. display: inline-block;
  542. table-layout: fixed;
  543. width: 100%;
  544. background-color: #fff;
  545. margin-bottom: 0px;
  546. padding: 10px 0px;
  547. padding-bottom: 0px !important;
  548. }
  549. .group_detail .avatarline li {
  550. display: inline-block;
  551. padding: 0px 0px;
  552. padding-bottom: 0px !important;
  553. }
  554. .group_detail .avatarline li:first-child {
  555. width: 60px;
  556. padding-left: 10px;
  557. text-align: left;
  558. vertical-align: middle;
  559. }
  560. .group_detail .avatarline li:first-child img {
  561. vertical-align: middle;
  562. height: 50px;
  563. width: 50px;
  564. border-radius: 5px;
  565. }
  566. .group_detail .avatarline li:nth-child(2) {
  567. padding-left: 5px;
  568. line-height: 25px;
  569. vertical-align: top;
  570. }
  571. .group_detail .avatarline li:nth-child(2)>div {
  572. height: 25px;
  573. line-height: 25px;
  574. width: 100%;
  575. }
  576. .group_detail .avatarline li:nth-child(2)>div:last-child {
  577. overflow: hidden;
  578. text-overflow: ellipsis;
  579. white-space: nowrap;
  580. color: #666;
  581. }
  582. .group_detail .mark {
  583. background-color: #fff;
  584. line-height: 20px;
  585. display: inline-block;
  586. color: #999;
  587. margin-bottom: 15px;
  588. clear: both;
  589. width: calc(100% - 20px);
  590. padding: 5px 10px;
  591. }
  592. .group_detail .users {
  593. display: block;
  594. background-color: #fff;
  595. padding: 5px 0px;
  596. margin-bottom: 15px;
  597. margin-top: -15px;
  598. }
  599. .group_detail .users>div {
  600. display: inline-block;
  601. clear: both;
  602. padding: 0px 10px;
  603. width: calc(100% - 20px);
  604. }
  605. .group_detail .users>div {
  606. line-height: 25px;
  607. text-align: left;
  608. position: relative;
  609. }
  610. .group_detail .users>div i {
  611. position: absolute;
  612. right: 0px;
  613. top: 15px;
  614. color: #666;
  615. font-size: 20px;
  616. }
  617. .group_detail .users>div li {
  618. display: inline-block;
  619. text-align: center;
  620. width: calc(20% - 0px);
  621. color: #666;
  622. overflow: hidden;
  623. text-overflow: ellipsis;
  624. white-space: nowrap;
  625. line-height: 25px;
  626. vertical-align: top;
  627. }
  628. .group_detail .users>div li img {
  629. height: 50px;
  630. width: 50px;
  631. border-radius: 5px;
  632. vertical-align: top;
  633. }
  634. .group_detail .lines {
  635. height: 50px;
  636. line-height: 50px;
  637. margin-bottom: 15px;
  638. background-color: #fff;
  639. display: table;
  640. width: 100%;
  641. table-layout: fixed;
  642. padding-left: 0px;
  643. padding-right: 0px;
  644. }
  645. .group_detail .lines>li {
  646. display: table-cell;
  647. }
  648. .group_detail .lines>li:first-child {
  649. width: 60px;
  650. padding-left: 10px;
  651. text-align: left;
  652. }
  653. .group_detail .lines>li:nth-child(2) {
  654. width: calc(100vw - 90px);
  655. text-align: right;
  656. color: #999;
  657. }
  658. .group_detail .lines>li:last-child {
  659. width: 20px;
  660. text-align: left;
  661. }
  662. .group_detail .lines>li:last-child i {
  663. font-size: 20px;
  664. color: #666;
  665. }
  666. .group_detail .note {
  667. display: block;
  668. background-color: #fff;
  669. padding: 5px 0px;
  670. margin-bottom: 10px;
  671. }
  672. .group_detail .note>div {
  673. display: inline-block;
  674. clear: both;
  675. padding: 0px 10px;
  676. width: calc(100% - 20px);
  677. }
  678. .group_detail .note>div:first-child {
  679. height: 25px;
  680. line-height: 25px;
  681. }
  682. .group_detail .note>div:last-child {
  683. line-height: 20px;
  684. text-align: left;
  685. padding: 5px 0px;
  686. font-size: 12px;
  687. color: #999;
  688. }
  689. </style>