mine.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. <template>
  2. <view class="mine tn-safe-area-inset-bottom">
  3. <!-- 顶部自定义导航 -->
  4. <view class="top-backgroup">
  5. <image src='../../static/bg4.png' mode='widthFix' class='backgroud-image'></image>
  6. </view>
  7. <view class="about__wrap" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
  8. <!-- 图标logo/头像 -->
  9. <view class="tn-flex tn-flex-col-center tn-margin-bottom" @click="tn('/minePages/set')" style="margin-top: -450rpx;justify-content: center;">
  10. <view class="justify-content-item" >
  11. <view class="tn-flex tn-flex-col-center tn-flex-row-left">
  12. <view class="logo-pic tn-shadow">
  13. <view class="logo-image">
  14. <image v-if="personInfo.profilePhotoUrl" class="tn-shadow-blur" style="width: 140rpx;height: 140rpx;background-size: cover;" :src="personInfo.profilePhotoUrl"></image>
  15. <image v-if="!personInfo.profilePhotoUrl" class="tn-shadow-blur" style="width: 140rpx;height: 140rpx;background-size: cover;" src="../../static/me2.png"></image>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- 没有授权,则显示这个授权按钮-->
  22. <view class="tn-flex tn-flex-row-between" @click="toLogin('/pages/login/login')" v-if="showLogin">
  23. <view class="tn-flex-1 justify-content-item tn-margin-xs tn-text-center">
  24. <tn-button shape="round" backgroundColor="#1d60b1" fontColor="#ffffff" padding="20rpx 0" width="40%" shadow>
  25. <text class="" :style="{fontSize:(wxFontSize-3)+'px'}">立即登录</text>
  26. </tn-button>
  27. </view>
  28. </view>
  29. <view class="about-shadow tn-margin-top-lg tn-padding-top-sm tn-padding-bottom-sm tn-bg-white" v-if="!showLogin">
  30. <view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding-sm" @click="tn('/minePages/set')">
  31. <view class="justify-content-item">
  32. <view class="" style="font-size: 16px;" :style="{fontSize:(wxFontSize)+'px'}">
  33. 个人信息
  34. </view>
  35. </view>
  36. <view class="justify-content-item tn-text-lg tn-color-grey">
  37. <view class="tn-color-gray tn-padding-top-xs">
  38. <view class="tn-icon-right"></view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding-sm">
  43. <view class="justify-content-item">
  44. <view class="" style="font-size: 16px;" :style="{fontSize:(wxFontSize-1)+'px'}">
  45. 用户名
  46. </view>
  47. </view>
  48. <view class="justify-content-item tn-text-lg tn-color-grey">
  49. <view class="tn-color-gray tn-padding-top-xs" :style="{fontSize:(wxFontSize-2)+'px'}">
  50. {{personInfo.userRealName||personInfo.contactNickName||(personInfo.userName?'用户'+personInfo.userName.slice(-4):'')||'未登录'}}
  51. </view>
  52. </view>
  53. </view>
  54. <view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding-sm" @click="showModal1">
  55. <view class="justify-content-item">
  56. <view class="" style="font-size: 16px;" :style="{fontSize:(wxFontSize-1)+'px'}">
  57. 联系方式
  58. </view>
  59. </view>
  60. <view class="justify-content-item tn-text-lg tn-color-grey">
  61. <view class="tn-color-gray tn-padding-top-xs" :style="{fontSize:(wxFontSize-2)+'px'}">
  62. {{personInfo.contactMethod||personInfo.userName||''}}
  63. </view>
  64. </view>
  65. </view>
  66. <view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding-sm" @click="showModal1">
  67. <view class="justify-content-item">
  68. <view class="" style="font-size: 16px;" :style="{fontSize:(wxFontSize-1)+'px'}">
  69. 手机号
  70. </view>
  71. </view>
  72. <view class="justify-content-item tn-text-lg tn-color-grey">
  73. <view class="tn-color-gray tn-padding-top-xs" :style="{fontSize:(wxFontSize-2)+'px'}">
  74. {{personInfo.userName||'未登录'}}
  75. </view>
  76. </view>
  77. </view>
  78. <!-- <view class="tn-flex tn-flex-row-between tn-strip-bottom-min tn-padding" @click="showModal1">
  79. <view class="justify-content-item">
  80. <view class="tn-text-bold tn-text-lg">
  81. 所属公司
  82. </view>
  83. </view>
  84. <view class="justify-content-item tn-text-lg tn-color-grey">
  85. <view class="tn-color-gray tn-padding-top-xs">
  86. 未绑定
  87. </view>
  88. </view>
  89. </view> -->
  90. </view>
  91. <!-- 方式15 start-->
  92. <view class="tn-flex tn-flex-row-between tn-bg-white about-shadow tn-margin-top-xl" style="padding-left: 12px;padding-right: 12px;">
  93. <view class="tn-padding-sm" @click="tn('/pages/mine/need')">
  94. <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
  95. <view class="icon15__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur" style="background-color: #F3F2F7;color: #7C8191;position: relative;">
  96. <!-- <tn-badge absolute="true" v-if="needNum>0">
  97. <span style="color: #fff;font-size: 11px;
  98. background: #E83A30;
  99. width: 20px;
  100. height: 20px;
  101. text-align: center;
  102. border-radius: 20px;
  103. line-height: 20px;">{{needNum}}</span>
  104. </tn-badge> -->
  105. <view class="tn-icon-like"></view>
  106. </view>
  107. <view class="tn-text-center">
  108. <text class="tn-text-ellipsis" :style="{fontSize:(wxFontSize)+'px'}">我的需求</text>
  109. </view>
  110. </view>
  111. </view>
  112. <view class="tn-padding-sm" @click="tn('/pages/mine/share')">
  113. <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
  114. <view class="icon15__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur" style="background-color: #F3F2F7;color: #7C8191;position: relative;">
  115. <!-- <tn-badge absolute="true" v-if="shareNum>0">
  116. <span style="color: #fff;font-size: 11px;
  117. background: #E83A30;
  118. width: 20px;
  119. height: 20px;
  120. text-align: center;
  121. border-radius: 20px;
  122. line-height: 20px;">{{shareNum}}</span>
  123. </tn-badge> -->
  124. <view class="tn-icon-share-triangle"></view>
  125. </view>
  126. <view class="tn-text-center">
  127. <text class="tn-text-ellipsis" :style="{fontSize:(wxFontSize)+'px'}">我的供应</text>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="tn-padding-sm" @click="tn('/pages/mine/coll')">
  132. <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
  133. <view class="icon15__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur" style="background-color: #F3F2F7;color: #7C8191;">
  134. <view class="tn-icon-star"></view>
  135. </view>
  136. <view class="tn-text-center">
  137. <text class="tn-text-ellipsis" :style="{fontSize:(wxFontSize)+'px'}">我的收藏</text>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <!-- 方式15 end-->
  143. <view class="about-shadow tn-margin-top-lg tn-margin-bottom-lg tn-padding-top-sm tn-padding-bottom-sm">
  144. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30">
  145. <button class="tn-flex tn-flex-col-center tn-button--clear-style" @click="showFeedback">
  146. <view
  147. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  148. <view class="tn-icon-message-fill" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  149. </view>
  150. <view class="tn-flex tn-flex-row-between" style="width: 100%;">
  151. <view class="tn-margin-left-sm" :style="{fontSize:(wxFontSize-1)+'px'}">我有问题</view>
  152. <view class="tn-color-gray tn-icon-right"></view>
  153. </view>
  154. </button>
  155. </tn-list-cell>
  156. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" @click="showInfo()">
  157. <view class="tn-flex tn-flex-col-center">
  158. <view
  159. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  160. <view class="tn-icon-safe-fill" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  161. </view>
  162. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">用户声明</view>
  163. <view class="tn-color-gray tn-icon-right"></view>
  164. </view>
  165. </tn-list-cell>
  166. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" @click="showInfo2()">
  167. <view class="tn-flex tn-flex-col-center">
  168. <view
  169. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  170. <view class="tn-icon-lock" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  171. </view>
  172. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">隐私协议</view>
  173. <view class="tn-color-gray tn-icon-right"></view>
  174. </view>
  175. </tn-list-cell>
  176. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" @click=showAbout()>
  177. <view class="tn-flex tn-flex-col-center">
  178. <view
  179. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  180. <view class="tn-icon-help" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  181. </view>
  182. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">了解速立保</view>
  183. <view class="tn-color-gray tn-icon-right"></view>
  184. </view>
  185. </tn-list-cell>
  186. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" @click=showFont()>
  187. <view class="tn-flex tn-flex-col-center">
  188. <view
  189. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  190. <view class="tn-icon-font" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  191. </view>
  192. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">字体大小</view>
  193. <view class="tn-color-gray tn-icon-right"></view>
  194. </view>
  195. </tn-list-cell>
  196. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" v-if="!showLogin" >
  197. <view class="tn-flex tn-flex-col-center">
  198. <view
  199. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  200. <view class="tn-icon-message" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  201. </view>
  202. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">接收通知</view>
  203. <view class="tn-color-gray">
  204. <switch color="#46c603" @change="switchChange" :style="{transform:'scale('+(0.9+((wxFontSize-17)/25))+')'}" :checked="personInfo.smsNotice==1" />
  205. </view>
  206. </view>
  207. </tn-list-cell>
  208. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" v-if="!showLogin" @click="showLog()">
  209. <view class="tn-flex tn-flex-col-center">
  210. <view
  211. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  212. <view class="tn-icon-my-reduce" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  213. </view>
  214. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">注销账户</view>
  215. <view class="tn-color-gray tn-icon-right"></view>
  216. </view>
  217. </tn-list-cell>
  218. </view>
  219. <view class="about-shadow tn-margin-top-lg tn-margin-bottom-lg tn-padding-top-sm tn-padding-bottom-sm" v-if="!showLogin">
  220. <tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" @click="showLogout()">
  221. <view class="tn-flex tn-flex-col-center">
  222. <view
  223. class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
  224. <view class="tn-icon-logout" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
  225. </view>
  226. <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">退出登录</view>
  227. <view class="tn-color-gray tn-icon-right"></view>
  228. </view>
  229. </tn-list-cell>
  230. </view>
  231. </view>
  232. <uni-popup ref="alertDialog" type="dialog">
  233. <uni-popup-dialog :type="msgType" cancelText="取消" confirmText="确定" title="确定注销账户吗?" content=" " @confirm="logOff()"
  234. @close="dialogClose"></uni-popup-dialog>
  235. </uni-popup>
  236. <view class='tn-tabbar-height'></view>
  237. </view>
  238. </template>
  239. <script>
  240. import request from '../../utils/request'
  241. import {
  242. uniShowModal
  243. } from '../../utils/uni_api'
  244. export default {
  245. name: 'Mine',
  246. data() {
  247. return {
  248. personInfo: uni.getStorageSync('userInfo')?JSON.parse(uni.getStorageSync('userInfo')):{},
  249. showLogin: false,
  250. msgType:'',
  251. shareNum:0,
  252. needNum:0,
  253. wxFontSize:17,
  254. }
  255. },
  256. onReady() {
  257. const appBaseInfo = wx.getAppBaseInfo();
  258. this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
  259. console.warn(this.wxFontSize===20);
  260. this.$nextTick(() => {
  261. if(!uni.getStorageSync('userNo')){
  262. this.showLogin = true;
  263. return false;
  264. }
  265. if(!uni.getStorageSync('loginOut')){
  266. this.getContentRectInfo()
  267. // this.loadNum();
  268. // this.loadNum2();
  269. }
  270. })
  271. },
  272. methods: {
  273. fetchData(){
  274. if(!uni.getStorageSync('userNo')){
  275. this.showLogin = true;
  276. return false;
  277. }
  278. if(!uni.getStorageSync('loginOut')){
  279. this.getContentRectInfo()
  280. // this.loadNum();
  281. // this.loadNum2();
  282. }
  283. },
  284. // 获取内容容器的信息
  285. getContentRectInfo() {
  286. let that = this;
  287. request.post('/slbWxma/getPersonlInfo', {
  288. }).then(res => {
  289. console.warn(res);
  290. if(res&&res.success){
  291. that.personInfo = res.resultMap.userInfo||{};
  292. uni.setStorageSync('userInfo', JSON.stringify(res.resultMap.userInfo));
  293. that.showLogin = false;
  294. }
  295. console.warn(res);
  296. })
  297. },
  298. loadNum(){
  299. let that = this;
  300. request.post('/slbResourceDemand/show/my', {
  301. }).then(res => {
  302. if(res&&res.resultMap){
  303. that.needNum = res.resultMap.passNum||0
  304. }
  305. })
  306. },
  307. loadNum2(){
  308. let that = this;
  309. request.post('/slbResourceShare/show/my', {
  310. }).then(res => {
  311. if(res&&res.resultMap){
  312. that.shareNum = res.resultMap.passNum||0
  313. }
  314. })
  315. },
  316. switchChange: function (e) {
  317. //修改smsNotice
  318. const that = this;
  319. let params= this.personInfo;
  320. params.smsNotice = e.detail.value?1:0;
  321. request.post('/slbWxma/changePersonlInfo',{userInfo:JSON.stringify(params)},{
  322. headers: {
  323. 'Content-Type': 'application/json', // 默认值
  324. },
  325. }).then(res=>{
  326. if(res.success){
  327. uni.showToast({
  328. title:e.detail.value?'开启成功':'关闭成功',
  329. icon:'none'
  330. })
  331. that.getContentRectInfo()
  332. }
  333. })
  334. },
  335. showFont(){
  336. let that = this;
  337. uni.showActionSheet({
  338. itemList: ['跟随微信','小','中','大'],
  339. success: function (res) {
  340. if(res.tapIndex==1){
  341. uni.setStorageSync('fontSize',16)
  342. that.wxFontSize = 16;
  343. uni.reLaunch({
  344. url:'/pages/index/index?index=3'
  345. })
  346. }
  347. if(res.tapIndex==2){
  348. // uni.removeStorageSync('fontSize');
  349. uni.setStorageSync('fontSize',17)
  350. that.wxFontSize = 17;
  351. uni.reLaunch({
  352. url:'/pages/index/index?index=3'
  353. })
  354. }
  355. if(res.tapIndex==3){
  356. uni.setStorageSync('fontSize',20)
  357. that.wxFontSize = 20;
  358. uni.reLaunch({
  359. url:'/pages/index/index?index=3'
  360. })
  361. }
  362. if(res.tapIndex==0){
  363. const appBaseInfo = wx.getAppBaseInfo();
  364. uni.removeStorageSync('fontSize');
  365. that.wxFontSize = appBaseInfo.fontSizeSetting||17;
  366. uni.reLaunch({
  367. url:'/pages/index/index?index=3'
  368. })
  369. }
  370. },
  371. fail: function (res) {
  372. console.log(res.errMsg);
  373. }
  374. });
  375. },
  376. // 跳转
  377. tn(e) {
  378. if(!uni.getStorageSync('userNo')){
  379. uni.setStorageSync('nextPage',e);
  380. uni.navigateTo({
  381. url: '/pages/login/login',
  382. });
  383. return false;
  384. }
  385. uni.navigateTo({
  386. url: e,
  387. });
  388. },
  389. toLogin(e){
  390. uni.navigateTo({
  391. url: e,
  392. });
  393. },
  394. showFeedback(){
  395. uni.navigateTo({
  396. url: '/pages/mine/addFeed',
  397. });
  398. },
  399. showInfo(){
  400. uni.navigateTo({
  401. url: '/pages/login/info?counted=1'
  402. })
  403. },
  404. showInfo2() {
  405. uni.navigateTo({
  406. url:'/pages/webview/web-view?url='+encodeURIComponent('https://slb-m.lx-device.com/webview?title=隐私协议&url='+'https://oss.lx-device.com/userFeedback/1735201139460G1J.docx'),
  407. })
  408. },
  409. showAbout(){
  410. uni.navigateTo({
  411. url: '/pages/mine/about'
  412. })
  413. },
  414. showLog(){
  415. let that = this;
  416. uniShowModal('确定注销账户吗?', '', {
  417. showCancel: true,
  418. success: (res) => {
  419. console.error(res);
  420. if(res.confirm){
  421. that.logOff();
  422. }
  423. }
  424. })
  425. },
  426. showLogout(){
  427. let that = this;
  428. uniShowModal('确定退出登录吗?', '', {
  429. showCancel: true,
  430. success: (res) => {
  431. console.error(res);
  432. if(res.confirm){
  433. uni.setStorageSync('loginStatus', 'false');
  434. uni.setStorageSync('loginOut', 'true');
  435. uni.removeStorageSync('userMap');
  436. uni.removeStorageSync('userNo');
  437. uni.removeStorageSync('userInfo');
  438. that.showLogin = true;
  439. that.shareNum = 0;
  440. that.needNum = 0;
  441. that.personInfo = {};
  442. // uni.reLaunch({
  443. // url:'/pages/index/index'
  444. // })
  445. }
  446. }
  447. })
  448. },
  449. //注销
  450. logOff(){
  451. const that = this;
  452. request.post('/slbWxma/logOff', {
  453. userNo: uni.getStorageSync('userNo'),
  454. }).then(res => {
  455. if (res&&res.success) {
  456. uni.setStorageSync('loginStatus', 'false');
  457. uni.setStorageSync('loginOut', 'true');
  458. uni.removeStorageSync('userMap');
  459. uni.removeStorageSync('userNo');
  460. uni.removeStorageSync('userInfo');
  461. that.showLogin = true;
  462. that.personInfo = {};
  463. uni.showToast({
  464. title: '注销成功',
  465. icon: 'none'
  466. })
  467. uni.reLaunch({
  468. url: '/pages/index/index'
  469. })
  470. }else{
  471. uni.showToast({
  472. title: res.msg,
  473. icon: 'none'
  474. })
  475. }
  476. })
  477. }
  478. }
  479. }
  480. </script>
  481. <style lang="scss" scoped>
  482. .mine{
  483. max-height: 100vh;
  484. }
  485. /* 底部安全边距 start*/
  486. .tn-tabbar-height {
  487. min-height: 120rpx;
  488. height: calc(140rpx + env(safe-area-inset-bottom) / 2);
  489. height: calc(140rpx + constant(safe-area-inset-bottom));
  490. }
  491. .tn-color-cat{
  492. color: #1D2541;
  493. }
  494. .tn-bg-cat{
  495. background-color: #1D2541;
  496. }
  497. /* 自定义导航栏内容 start */
  498. .custom-nav {
  499. height: 100%;
  500. &__back {
  501. margin: auto 5rpx;
  502. font-size: 40rpx;
  503. margin-right: 10rpx;
  504. flex-basis: 5%;
  505. width: 100rpx;
  506. position: absolute;
  507. }
  508. }
  509. /* 自定义导航栏内容 end */
  510. /* 顶部背景图 end */
  511. /* 用户头像 start */
  512. .logo-image {
  513. width: 140rpx;
  514. height: 140rpx;
  515. position: relative;
  516. overflow: hidden;
  517. border-radius: 50%;
  518. }
  519. .logo-pic {
  520. background-size: cover;
  521. background-repeat: no-repeat;
  522. // background-attachment:fixed;
  523. background-position: top;
  524. border: 8rpx solid rgba(255,255,255,0.05);
  525. box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.15);
  526. border-radius: 50%;
  527. overflow: hidden;
  528. // background-color: #FFFFFF;
  529. }
  530. /* 页面 start*/
  531. .about-shadow {
  532. border-radius: 15rpx;
  533. box-shadow: 0rpx 0rpx 50rpx 0rpx rgba(0, 0, 0, 0.07);
  534. }
  535. .about {
  536. &__wrap {
  537. position: relative;
  538. z-index: 1;
  539. margin: 20rpx 30rpx;
  540. }
  541. }
  542. /* 页面 end*/
  543. /* 图标容器15 start */
  544. .icon15 {
  545. &__item {
  546. width: 30%;
  547. background-color: #FFFFFF;
  548. border-radius: 10rpx;
  549. padding: 30rpx;
  550. margin: 20rpx 10rpx;
  551. transform: scale(1);
  552. transition: transform 0.3s linear;
  553. transform-origin: center center;
  554. &--icon {
  555. width: 100rpx;
  556. height: 100rpx;
  557. font-size: 60rpx;
  558. border-radius: 50%;
  559. margin-bottom: 18rpx;
  560. position: relative;
  561. z-index: 1;
  562. &::after {
  563. content: " ";
  564. position: absolute;
  565. z-index: -1;
  566. width: 100%;
  567. height: 100%;
  568. left: 0;
  569. bottom: 0;
  570. border-radius: inherit;
  571. opacity: 1;
  572. transform: scale(1, 1);
  573. background-size: 100% 100%;
  574. }
  575. }
  576. }
  577. }
  578. /* 图标容器12 start */
  579. .tn-three{
  580. position: absolute;
  581. top: 50%;
  582. right: 50%;
  583. bottom: 50%;
  584. left: 50%;
  585. transform: translate(-38rpx, -16rpx) rotateX(30deg) rotateY(20deg) rotateZ(-30deg);
  586. text-shadow: -1rpx 2rpx 0 #f0f0f0, -2rpx 4rpx 0 #f0f0f0, -10rpx 20rpx 30rpx rgba(0, 0, 0, 0.2);
  587. }
  588. .icon20 {
  589. &__item {
  590. width: 30%;
  591. background-color: #FFFFFF;
  592. border-radius: 10rpx;
  593. padding: 30rpx;
  594. margin: 20rpx 10rpx;
  595. transform: scale(1);
  596. transition: transform 0.3s linear;
  597. transform-origin: center center;
  598. &--icon {
  599. width: 100rpx;
  600. height: 100rpx;
  601. font-size: 60rpx;
  602. border-radius: 50%;
  603. margin-bottom: 18rpx;
  604. position: relative;
  605. z-index: 1;
  606. &::after {
  607. content: " ";
  608. position: absolute;
  609. z-index: -1;
  610. width: 100%;
  611. height: 100%;
  612. left: 0;
  613. bottom: 0;
  614. border-radius: inherit;
  615. opacity: 1;
  616. transform: scale(1, 1);
  617. background-size: 100% 100%;
  618. background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg.png);
  619. }
  620. }
  621. }
  622. }
  623. .button-vip {
  624. width: 100%;
  625. height: 150rpx;
  626. border-radius: 15rpx;
  627. position: relative;
  628. z-index: 1;
  629. &::after {
  630. content: " ";
  631. position: absolute;
  632. z-index: -1;
  633. width: 100%;
  634. height: 100%;
  635. left: 0;
  636. bottom: 0;
  637. border-radius: inherit;
  638. opacity: 1;
  639. transform: scale(1, 1);
  640. background-size: 100% 100%;
  641. background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg.png);
  642. }
  643. }
  644. /* 图标容器12 start */
  645. .icon12 {
  646. &__item {
  647. width: 30%;
  648. background-color: #FFFFFF;
  649. border-radius: 10rpx;
  650. padding: 30rpx;
  651. margin: 20rpx 10rpx;
  652. transform: scale(1);
  653. transition: transform 0.3s linear;
  654. transform-origin: center center;
  655. &--icon {
  656. width: 15rpx;
  657. height: 15rpx;
  658. font-size: 50rpx;
  659. border-radius: 50%;
  660. margin-bottom: 38rpx;
  661. position: relative;
  662. z-index: 1;
  663. &::after {
  664. content: " ";
  665. position: absolute;
  666. z-index: -1;
  667. width: 100%;
  668. height: 100%;
  669. left: 0;
  670. bottom: 0;
  671. border-radius: inherit;
  672. opacity: 1;
  673. transform: scale(1, 1);
  674. background-size: 100% 100%;
  675. }
  676. }
  677. }
  678. }
  679. /* 图标容器1 start */
  680. .icon1 {
  681. &__item {
  682. // width: 30%;
  683. background-color: #FFFFFF;
  684. border-radius: 10rpx;
  685. padding: 30rpx;
  686. margin: 20rpx 10rpx;
  687. transform: scale(1);
  688. transition: transform 0.3s linear;
  689. transform-origin: center center;
  690. &--icon {
  691. width: 40rpx;
  692. height: 40rpx;
  693. font-size: 40rpx;
  694. border-radius: 50%;
  695. position: relative;
  696. z-index: 1;
  697. &::after {
  698. content: " ";
  699. position: absolute;
  700. z-index: -1;
  701. width: 100%;
  702. height: 100%;
  703. left: 0;
  704. bottom: 0;
  705. border-radius: inherit;
  706. opacity: 1;
  707. transform: scale(1, 1);
  708. background-size: 100% 100%;
  709. background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg.png);
  710. }
  711. }
  712. }
  713. }
  714. /* 图标容器1 end */
  715. /* 顶部背景图 start */
  716. .top-backgroup {
  717. height: 450rpx;
  718. z-index: -1;
  719. .backgroud-image {
  720. width: 100%;
  721. height: 450rpx;
  722. // z-index: -1;
  723. }
  724. }
  725. /* 顶部背景图 end */
  726. </style>