model.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. <template>
  2. <view class="content mone" v-if="baseURL">
  3. <view class="m-top">
  4. <image :src="baseURL + '/resource/icon/model1/top-base.png'" mode="" class="top-bg"></image>
  5. <image :src="baseURL + '/resource/icon/model1/resume.png'" mode="" class="readme"></image>
  6. <view class="top-user flex">
  7. <image :src="cardInfo.avatar" mode="" class="user-logo"></image>
  8. <image :src="baseURL + '/resource/icon/model1/jpfw.png'" mode="" class="gp"></image>
  9. </view>
  10. <view class="user-name">
  11. {{cardInfo.name || '暂无'}}
  12. </view>
  13. <!-- <button type="default" class="fx-btn">
  14. <image :src="baseURL + '/resource/icon/model1/fx.png'" mode=""></image>
  15. </button> -->
  16. </view>
  17. <view class="m-body gr">
  18. <!-- 个人信息 -->
  19. <view class="hua2">
  20. <view class="m-card">
  21. <image :src="baseURL + '/resource/icon/model1/card-bg.png'" mode="" class="card-bg"></image>
  22. <view class="card-tit flex">
  23. <image :src="baseURL + '/resource/icon/model1/m1.png'" mode="" class="tit-logo"></image>个人信息
  24. </view>
  25. <view class="card-content">
  26. <view class="user-info flex">
  27. <view class="info-item-b">
  28. 年<text class="qianger"></text>龄: {{cardInfo.age|| '暂无'}}
  29. </view>
  30. <view class="info-item-b">
  31. 属<text class="qianger"></text>相: {{cardInfo.twelve|| '暂无'}}
  32. </view>
  33. <view class="info-item-b">
  34. 从<text class="qianger"></text>业: {{(cardInfo.work_year + '年')|| '暂无'}}
  35. </view>
  36. <view class="info-item-b">
  37. 星<text class="qianger"></text>座: {{cardInfo.constellation || '暂无'}}
  38. </view>
  39. <view class="info-item-b">
  40. 籍<text class="qianger"></text>贯: {{cardInfo.ancestral_place || '暂无'}}
  41. </view>
  42. <view class="info-item-b">
  43. 民<text class="qianger"></text>族: {{cardInfo.minority || '暂无'}}
  44. </view>
  45. <view class="info-item-b">
  46. 学<text class="qianger"></text>历: {{cardInfo.education || '暂无'}}
  47. </view>
  48. <!-- <view class="info-item-b">
  49. 综 <text class="laner"></text> 合<text class="laner"></text>分: 50
  50. </view> -->
  51. <view class="info-item-q flex" style="align-items: flex-start;">
  52. <text style="flex-shrink: 0;">服务地区:</text>
  53. <view class="fwdz flex">
  54. <view v-for="(fwitem,fwindex) in cardInfo.service_area_all">
  55. {{fwitem}}{{fwindex ==(cardInfo.service_area_all.length -1) ?'': '、' }}
  56. </view>
  57. </view>
  58. </view>
  59. <view class="info-item-q flex" style="align-items: flex-start;">
  60. <text style="flex-shrink: 0;">服务价格: </text>
  61. <view class="gzt">
  62. <image :src="baseURL + '/resource/icon/model1/tiao.png'" mode=""></image>
  63. <view class="gzt-price">
  64. <text>{{cardInfo.service_min_price}}</text>元/{{ cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}
  65. </view>
  66. <view class=" gzt-price-b">
  67. <text>{{cardInfo.service_max_price}}</text>元/{{cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}
  68. </view>
  69. </view>
  70. <image :src="baseURL + '/resource/icon/model1/yrz.png'" mode="" class="rz"></image>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="" style="height: 80rpx;"></view>
  75. </view>
  76. </view>
  77. <!-- 自我评价 -->
  78. <view class="hua4">
  79. <view class="hua3">
  80. <view class="m-card">
  81. <image :src="baseURL + '/resource/icon/model1/card-bg.png'" mode="" class="card-bg"></image>
  82. <view class="card-tit flex">
  83. <image :src="baseURL + '/resource/icon/model1/m2.png'" mode="" class="tit-logo"></image>自我评价
  84. </view>
  85. <view class="card-content">
  86. {{cardInfo.service_intro_content}}
  87. </view>
  88. <view class="img-list flex" style="padding-top: 0;">
  89. <image :src="siiitem" mode="" v-for="siiitem in cardInfo.service_intro_imgs"></image>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 我的证书 -->
  95. <view class="hua5" v-if="cardInfo.service_audit_imgs && cardInfo.service_audit_imgs.length > 0">
  96. <view class="m-card">
  97. <image :src="baseURL + '/resource/icon/model1/card-bg.png'" mode="" class="card-bg"></image>
  98. <view class="card-tit flex">
  99. <image :src="baseURL + '/resource/icon/model1/m3.png'" mode="" class="tit-logo"></image>我的证书
  100. </view>
  101. <view class="img-list flex">
  102. <image :src="saiitem" mode="" v-for="saiitem in cardInfo.service_audit_imgs"></image>
  103. </view>
  104. </view>
  105. </view>
  106. <!-- 服务内容 -->
  107. <view class="hua6">
  108. <view class="m-card">
  109. <image :src="baseURL + '/resource/icon/model1/card-bg.png'" mode="" class="card-bg"></image>
  110. <view class="card-tit flex">
  111. <image :src="baseURL + '/resource/icon/model1/m4.png'" mode="" class="tit-logo"></image>服务内容
  112. </view>
  113. <view class="card-content">
  114. <view class="fw" v-for="spaitem in cardInfo.service_project_ar">
  115. <view class="fw-tit">
  116. <text class="yg"></text>{{spaitem.title}}
  117. </view>
  118. <view class="fw-content">
  119. {{spaitem.content}}
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. <!-- 服务照片 -->
  126. <view class="m-card" v-if="cardInfo.service_imgs && cardInfo.service_imgs.length > 0">
  127. <image :src="baseURL + '/resource/icon/model1/card-bg.png'" mode="" class="card-bg"></image>
  128. <view class="card-tit flex">
  129. <image :src="baseURL + '/resource/icon/model1/m5.png'" mode="" class="tit-logo"></image>服务照片
  130. </view>
  131. <view class="img-list flex">
  132. <image :src="siitem" mode="" v-for="siitem in cardInfo.service_imgs"></image>
  133. </view>
  134. </view>
  135. <!-- 底部图片 -->
  136. <image :src="baseURL + '/resource/icon/model1/m-btm.png'" mode="" class="m-btm"></image>
  137. </view>
  138. <view class="create-model-ts">
  139. </view>
  140. <view class="fxmp flex">
  141. <button class="share" type="default" open-type="share"
  142. v-if="!shareId && modelInfo.is_use== 1 && !is_yl && userInfo.work_type_id >0 && !look">
  143. <view class="">
  144. 分享名片
  145. </view>
  146. </button>
  147. <view class="nav-model" @click="navto('/pages/user/model/modelrz?type=1')">
  148. 修改名片
  149. </view>
  150. </view>
  151. <view class="ljrz" v-if="userInfo.work_type_id <=0" @click="navto('/pages/user/model/modelrz')">
  152. 立即认证
  153. </view>
  154. <view class="create-model flex" v-if="!shareId && !is_yl && userInfo.work_type_id >0 && look">
  155. <view class="price-show">
  156. 模板费用:<text>{{modelInfo.price*1}}</text>
  157. </view>
  158. <view class="to-show" @click="is_yl = true">
  159. 模板预览
  160. </view>
  161. <view class="by-now" @click="gobuy">
  162. 购买使用
  163. </view>
  164. </view>
  165. <view class="yl" v-if="is_yl" @click="is_yl = false">
  166. 结束预览
  167. </view>
  168. </view>
  169. </template>
  170. <script>
  171. import {
  172. mapState,
  173. mapMutations
  174. } from 'vuex';
  175. import {
  176. getUserCardInfo,
  177. getCommonUserCardInfo,
  178. getShowTemplateItem,
  179. subShowTemplateOrder
  180. } from '@/api/model.js'
  181. import {
  182. getUser
  183. } from '@/api/user.js';
  184. export default {
  185. data() {
  186. return {
  187. mtype: 1,
  188. shareId: '',
  189. cardInfo: {},
  190. modelInfo: {},
  191. payType: 'wxpay',
  192. is_yl: false,
  193. look: true,
  194. }
  195. },
  196. computed: {
  197. ...mapState(['baseURL']),
  198. ...mapState('user', ['userInfo'])
  199. },
  200. onLoad(opt) {
  201. // this.getUserCardInfo()
  202. this.mtype = opt.mtype
  203. if (opt.look && opt.look == 1) {
  204. this.look = false
  205. }
  206. if (opt.uid) {
  207. this.shareId = opt.uid
  208. this.getCommonUserCardInfo(opt.uid)
  209. } else {
  210. this.getShowTemplateItem()
  211. }
  212. },
  213. onShow() {
  214. this.getUser()
  215. },
  216. onShareAppMessage(options) {
  217. // 设置菜单中的转发按钮触发转发事件时的转发内容
  218. let pages = getCurrentPages(); //获取加载的页面
  219. let currentPage = pages[pages.length - 1]; //获取当前页面的对象
  220. let url = currentPage.route; //当前页面url
  221. let item = currentPage.options; //如果要获取url中所带的参数可以查看options
  222. let shareObj = {}
  223. shareObj = {
  224. title: this.cardInfo.name + '分享您一份名片', // 默认是小程序的名称(可以写slogan等)
  225. path: url + '?uid=' + this.userInfo.uid + '&mtype=' + this.mtype, // 默认是当前页面,必须是以‘/’开头的完整路径
  226. imageUrl: '',
  227. success: function(res) {
  228. // 转发成功之后的回调
  229. if (res.errMsg == 'shareAppMessage:ok') {}
  230. },
  231. fail: function() {
  232. // 转发失败之后的回调
  233. if (res.errMsg == 'shareAppMessage:fail cancel') {
  234. // 用户取消转发
  235. } else if (res.errMsg == 'shareAppMessage:fail') {
  236. // 转发失败,其中 detail message 为详细失败信息
  237. }
  238. }
  239. };
  240. console.log(shareObj)
  241. return shareObj;
  242. },
  243. onUnload() {
  244. let pages = getCurrentPages(); //获取加载的页面
  245. let currentPage = pages[pages.length - 2]; //获取当前页面的对象
  246. // console.log(currentPage.route)
  247. if (currentPage.route == 'pages/public/wxLogin') {
  248. uni.switchTab({
  249. url: '/pages/index/index'
  250. })
  251. }
  252. },
  253. methods: {
  254. ...mapMutations('user', ['setUserInfo']),
  255. navto(url) {
  256. uni.navigateTo({
  257. url
  258. })
  259. },
  260. getUser() {
  261. const that = this;
  262. getUser({}).then((e) => {
  263. that.setUserInfo(e.data)
  264. if (e.data.work_type_id >0 && that.shareId == '') {
  265. that.getUserCardInfo()
  266. } else {
  267. that.cardInfo = {
  268. name: '佚名',
  269. avatar: 'https://api.myjie.cn/resource/icon/base/f.png',
  270. age: '41',
  271. twelve: '鼠',
  272. work_year: '10',
  273. constellation: '处女座',
  274. ancestral_place: '浙江',
  275. minority: '汉族',
  276. education: '本科',
  277. service_area_all: ['浙江省台州市路桥区'],
  278. service_min_price: 100,
  279. service_max_price: 200,
  280. service_time_type_title: '每小时',
  281. service_intro_content: '高级育婴师证|高级催乳师证|早产儿护理师母婴护理证|金牌月嫂证|产后恢复师证|公共营养师证|月子药膳调理师证|国际宝宝睡眠咨询师证|普通话二级甲等|中央广播电视大学学历|学前教育专业,深耕幼教十年,技能全面,性格活泼,有亲和力,做事干净利落,有很强的责任心。对宝宝有爱心,体贴新手妈妈。专业技能熟练。应急能力强。让家人放心、产妇舒心的坐好月子。',
  282. service_intro_imgs: ['https://api.myjie.cn/resource/icon/base/pj1.png',
  283. 'https://api.myjie.cn/resource/icon/base/pj2.png',
  284. 'https://api.myjie.cn/resource/icon/base/pj3.png',
  285. 'https://api.myjie.cn/resource/icon/base/pj4.png'
  286. ],
  287. service_audit_imgs: ['https://api.myjie.cn/resource/icon/base/zs1.png',
  288. 'https://api.myjie.cn/resource/icon/base/zs2.png',
  289. 'https://api.myjie.cn/resource/icon/base/zs3.png',
  290. 'https://api.myjie.cn/resource/icon/base/zs4.png'
  291. ],
  292. service_project_ar: [{
  293. title: '婴幼儿睡眠管理',
  294. content: '如:日夜颠倒、睡眠不规律、乳头混淆、奶睡、抱睡等问题,帮助宝爸宝妈规律孩子作息、解决婴幼儿喂养困扰,培养良好的生活、学习习惯。'
  295. }, {
  296. title: '特色月子餐',
  297. content: '套用客户的一句话“养眼、养心更养胃”!家常菜、面食、点心、甜品、靓汤、五谷杂粮粥、婴幼儿花样辅食等。'
  298. },
  299. {
  300. title: '早产儿特殊护理',
  301. content: '包括早产儿基础护理、安全喂养方法、追赶性生长、消化与免疫系统等技能,根据宝宝具体情况给予早产儿家长的科学入户指导。'
  302. },
  303. {
  304. title: '0-6岁早期教育',
  305. content: '在婴孩最敏感最能接受的时期进行事半功倍的适时教育,针对不同年龄段的孩子,开发婴幼儿潜能的教育,为孩子多元化和健康人格打下良好基础。'
  306. }
  307. ]
  308. }
  309. }
  310. }).catch((e) => {})
  311. },
  312. gobuy() {
  313. let that = this
  314. subShowTemplateOrder({
  315. id: that.mtype,
  316. pay_type: that.payType
  317. }).then(res => {
  318. let da = res.data.jsApiParameters;
  319. let data = {
  320. appId: da.appId,
  321. // #ifdef H5
  322. timestamp: da.timeStamp,
  323. // #endif
  324. // #ifdef MP
  325. timeStamp: da.timeStamp + '',
  326. // #endif
  327. nonceStr: da.nonceStr,
  328. package: da.package,
  329. signType: da.signType,
  330. paySign: da.paySign,
  331. success: function(res) {
  332. // obj.paySuccessTo();
  333. // alert('支付成功')
  334. uni.showModal({
  335. title: '提示',
  336. content: '支付成功!',
  337. cancelText: '关闭',
  338. confirmText: '查看模板',
  339. success: res => {
  340. if (res.confirm) {
  341. uni.reLaunch({
  342. url: '/pages/user/model/model?mtype=' +
  343. that.mtype,
  344. });
  345. }
  346. },
  347. fail: () => {},
  348. complete: () => {}
  349. });
  350. console.log('支付成功')
  351. },
  352. fail: (err) => {
  353. console.log(err)
  354. // alert('支付失败')
  355. // uni.navigateTo({
  356. // url: '/pages/order/order?state=0'
  357. // });
  358. }
  359. };
  360. console.log(data, 'timeStamp')
  361. if (that.payType == 'wxpay') {
  362. console.log('到这里')
  363. wx.requestPayment(data)
  364. }
  365. })
  366. },
  367. getShowTemplateItem() {
  368. let that = this
  369. getShowTemplateItem({
  370. id: that.mtype
  371. }).then(res => {
  372. that.modelInfo = res.data
  373. })
  374. },
  375. getCommonUserCardInfo(uid) {
  376. let that = this
  377. getCommonUserCardInfo({
  378. uid: uid
  379. }).then(res => {
  380. let arr = []
  381. let basearr = res.data.service_area_all
  382. basearr.forEach(item => {
  383. arr.push(item[0].name + item[1].name + item[2].name)
  384. })
  385. res.data.service_area_all = arr
  386. that.cardInfo = res.data
  387. })
  388. },
  389. getUserCardInfo() {
  390. let that = this
  391. getUserCardInfo().then(res => {
  392. console.log(res)
  393. let arr = []
  394. let basearr = res.data.service_area_all
  395. basearr.forEach(item => {
  396. arr.push(item[0].name + item[1].name + item[2].name)
  397. })
  398. res.data.service_area_all = arr
  399. that.cardInfo = res.data
  400. })
  401. }
  402. }
  403. }
  404. </script>
  405. <style lang="scss">
  406. .mone {
  407. background-color: #f8e1df;
  408. .m-top {
  409. width: 750rpx;
  410. position: relative;
  411. width: 750rpx;
  412. height: 370rpx;
  413. .top-bg {
  414. position: relative;
  415. width: 750rpx;
  416. height: 370rpx;
  417. }
  418. .readme {
  419. width: 534rpx;
  420. height: 83rpx;
  421. position: absolute;
  422. top: 172rpx;
  423. left: 0;
  424. right: 0;
  425. margin: auto;
  426. }
  427. .top-user {
  428. width: 222rpx;
  429. height: 222rpx;
  430. background: #FEFEFE;
  431. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
  432. border-radius: 50%;
  433. position: absolute;
  434. left: 0;
  435. right: 0;
  436. top: 80rpx;
  437. justify-content: center;
  438. align-items: center;
  439. margin: auto;
  440. .user-logo {
  441. width: 200rpx;
  442. height: 200rpx;
  443. border-radius: 50%;
  444. background-color: #fff;
  445. }
  446. .gp {
  447. width: 133rpx;
  448. height: 38rpx;
  449. position: absolute;
  450. bottom: 0;
  451. left: 0;
  452. right: 0;
  453. margin: auto;
  454. }
  455. }
  456. .user-name {
  457. width: 750rpx;
  458. font-size: 38rpx;
  459. font-weight: bold;
  460. color: #000000;
  461. text-align: center;
  462. position: absolute;
  463. top: 318rpx;
  464. }
  465. .fx-btn {
  466. width: 150rpx;
  467. height: 48rpx;
  468. padding: 0;
  469. &::after {
  470. border: none;
  471. }
  472. position: absolute;
  473. top: 70rpx;
  474. right: 0;
  475. border-radius: 24rpx 0 0 24rpx;
  476. image {
  477. width: 150rpx;
  478. height: 48rpx;
  479. display: block;
  480. }
  481. }
  482. }
  483. }
  484. .m-body {
  485. width: 705rpx;
  486. margin: auto;
  487. margin-top: 20rpx;
  488. background-color: #fff;
  489. border-left: 8rpx solid #efa0ab;
  490. border-right: 8rpx solid #efa0ab;
  491. padding: 45rpx 0;
  492. }
  493. .gr {
  494. position: relative;
  495. &::before {
  496. content: '';
  497. position: absolute;
  498. // left: 75px;
  499. right: 0;
  500. top: -30rpx;
  501. width: 120px;
  502. height: 174px;
  503. background: url('https://api.myjie.cn/resource/icon/model1/hua1.png') no-repeat;
  504. background-size: 100% 100%;
  505. }
  506. }
  507. .m-card {
  508. width: 640rpx;
  509. background: #fcf4f1;
  510. border-radius: 20rpx;
  511. position: relative;
  512. // min-height: 270rpx;
  513. margin: 0 auto 46rpx;
  514. .card-tit {
  515. width: 219rpx;
  516. height: 57rpx;
  517. background: #F46C85;
  518. border-radius: 20rpx 28rpx 29rpx 0rpx;
  519. justify-content: flex-start;
  520. align-items: center;
  521. padding: 0 20rpx;
  522. font-size: 32rpx;
  523. font-weight: bold;
  524. color: #FFFFFF;
  525. .tit-logo {
  526. width: 32rpx;
  527. height: 32rpx;
  528. margin-right: 18rpx;
  529. }
  530. }
  531. .card-bg {
  532. width: 100%;
  533. height: 270rpx;
  534. position: absolute;
  535. bottom: 0rpx;
  536. }
  537. .card-content {
  538. padding: 25rpx 35rpx;
  539. font-size: 26rpx;
  540. font-weight: 500;
  541. color: #2C2E35;
  542. position: relative;
  543. }
  544. .img-list {
  545. justify-content: space-between;
  546. flex-wrap: wrap;
  547. margin: auto;
  548. padding: 30rpx 30rpx 0;
  549. position: relative;
  550. image {
  551. width: 270rpx;
  552. height: 270rpx;
  553. background-color: #fff;
  554. margin-bottom: 30rpx;
  555. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.6);
  556. }
  557. }
  558. .fw {
  559. font-size: 26rpx;
  560. font-weight: 500;
  561. color: #2C2E35;
  562. padding: 10rpx 0;
  563. .fw-tit {
  564. color: #F46C85;
  565. display: flex;
  566. align-items: center;
  567. .yg {
  568. background-color: #F46C85;
  569. display: inline-block;
  570. width: 10rpx;
  571. height: 10rpx;
  572. border-radius: 50%;
  573. margin-right: 10rpx;
  574. }
  575. }
  576. .fw-content {
  577. padding-top: 10rpx;
  578. padding-left: 18rpx;
  579. text-align: justify;
  580. }
  581. }
  582. .user-info {
  583. flex-wrap: wrap;
  584. font-size: 26rpx;
  585. font-weight: 500;
  586. color: #000000;
  587. position: relative;
  588. .info-item-b,
  589. .info-item-q {
  590. padding: 10rpx 0;
  591. color: #000000;
  592. position: relative;
  593. padding-left: 20rpx;
  594. &::before {
  595. display: inline-block;
  596. content: '';
  597. width: 10rpx;
  598. height: 10rpx;
  599. border-radius: 50%;
  600. background-color: #F46C85;
  601. position: absolute;
  602. top: 22rpx;
  603. left: 0;
  604. }
  605. .qianger {
  606. width: 2em;
  607. display: inline-block;
  608. }
  609. .laner {
  610. width: 0.5em;
  611. display: inline-block;
  612. }
  613. }
  614. .info-item-b {
  615. width: 50%;
  616. }
  617. .info-item-q {
  618. width: 100%;
  619. display: flex;
  620. align-items: flex-start;
  621. justify-content: start;
  622. .fwdz {
  623. flex-direction: column;
  624. align-items: flex-start;
  625. }
  626. .gzt {
  627. width: 312rpx;
  628. height: 24rpx;
  629. padding-top: 10rpx;
  630. position: relative;
  631. image {
  632. width: 312rpx;
  633. height: 24rpx;
  634. position: relative;
  635. }
  636. .gzt-price,
  637. .gzt-price-b {
  638. width: 200rpx;
  639. text-align: center;
  640. position: absolute;
  641. padding-top: 20rpx;
  642. &::after {
  643. content: '';
  644. width: 0px;
  645. height: 0rpx;
  646. // background: #FEB8C6;
  647. border: 14rpx solid;
  648. border-color: transparent transparent #FEB8C6;
  649. // border-top:transparent;
  650. // border-left: transparent;
  651. // border-right: transparent;
  652. position: absolute;
  653. top: -14rpx;
  654. left: 0;
  655. right: 0;
  656. margin: auto;
  657. }
  658. text {
  659. color: #F46C85;
  660. }
  661. }
  662. .gzt-price {
  663. left: -100rpx;
  664. }
  665. .gzt-price-b {
  666. right: -100rpx;
  667. }
  668. }
  669. .rz {
  670. margin-top: 10rpx;
  671. margin-left: 10rpx;
  672. width: 87rpx;
  673. height: 26rpx;
  674. }
  675. }
  676. }
  677. }
  678. .m-btm {
  679. width: 660rpx;
  680. height: 384rpx;
  681. }
  682. .hua2 {
  683. position: relative;
  684. &::before {
  685. content: '';
  686. width: 199rpx;
  687. height: 298rpx;
  688. background: url('https://api.myjie.cn/resource/icon/model1/hua2.png') no-repeat;
  689. position: absolute;
  690. bottom: -100rpx;
  691. right: 0;
  692. background-size: 100% 100%;
  693. }
  694. }
  695. .hua3 {
  696. position: relative;
  697. &::before {
  698. content: '';
  699. width: 192rpx;
  700. height: 223rpx;
  701. background: url('https://api.myjie.cn/resource/icon/model1/hua3.png') no-repeat;
  702. position: absolute;
  703. top: 0;
  704. bottom: 0;
  705. left: 0;
  706. margin: auto;
  707. background-size: 100% 100%;
  708. }
  709. }
  710. .hua4 {
  711. position: relative;
  712. &::before {
  713. content: '';
  714. width: 128rpx;
  715. height: 145rpx;
  716. background: url('https://api.myjie.cn/resource/icon/model1/hua4.png') no-repeat;
  717. position: absolute;
  718. bottom: -70rpx;
  719. right: 0;
  720. background-size: 100% 100%;
  721. }
  722. }
  723. .hua5 {
  724. position: relative;
  725. &::before {
  726. content: '';
  727. width: 199rpx;
  728. height: 298rpx;
  729. background: url('https://api.myjie.cn/resource/icon/model1/hua2.png') no-repeat;
  730. position: absolute;
  731. bottom: -100rpx;
  732. left: 0;
  733. background-size: 100% 100%;
  734. transform: rotateY(180deg);
  735. }
  736. }
  737. .hua6 {
  738. position: relative;
  739. &::before {
  740. content: '';
  741. width: 192rpx;
  742. height: 223rpx;
  743. background: url('https://api.myjie.cn/resource/icon/model1/hua3.png') no-repeat;
  744. position: absolute;
  745. bottom: -110rpx;
  746. right: 0;
  747. background-size: 100% 100%;
  748. transform: rotateY(180deg);
  749. }
  750. }
  751. .create-model-ts {
  752. width: 750rpx;
  753. height: 30rpx;
  754. }
  755. .fxmp {
  756. width: 750rpx;
  757. .share {
  758. width: 50%;
  759. padding: 0;
  760. border-radius: 0;
  761. &::after {
  762. border: none;
  763. }
  764. }
  765. .nav-model {
  766. background-color: #FFF;
  767. color: $base-color;
  768. width: 50%;
  769. }
  770. }
  771. .fxmp {
  772. position: fixed;
  773. width: 750rpx;
  774. height: 78rpx;
  775. bottom: 0;
  776. padding: 0;
  777. view {
  778. background: #f65486;
  779. // border-radius: 5rpx;
  780. font-size: 30rpx;
  781. font-weight: 500;
  782. color: #FFFFFF;
  783. text-align: center;
  784. line-height: 78rpx;
  785. }
  786. }
  787. .create-model {
  788. position: fixed;
  789. width: 750rpx;
  790. bottom: 0;
  791. // border-radius: 5rpx;
  792. font-size: 32rpx;
  793. font-weight: 500;
  794. text-align: center;
  795. line-height: 98rpx;
  796. .price-show {
  797. font-size: 32rpx;
  798. font-weight: 500;
  799. color: #333333;
  800. background-color: #fff;
  801. flex-grow: 1;
  802. text {
  803. font-size: 48rpx;
  804. font-weight: 500;
  805. color: #FC6F6D;
  806. }
  807. }
  808. .to-show,
  809. .by-now {
  810. width: 223rpx;
  811. height: 98rpx;
  812. background: #fa98b6;
  813. flex-shrink: 0;
  814. font-size: 34rpx;
  815. color: #fff;
  816. }
  817. .by-now {
  818. background: #f65486;
  819. }
  820. }
  821. .yl {
  822. position: fixed;
  823. bottom: 0;
  824. width: 750rpx;
  825. font-size: 32rpx;
  826. font-weight: 500;
  827. text-align: center;
  828. line-height: 98rpx;
  829. color: #fff;
  830. text-align: center;
  831. font-size: 34rpx;
  832. background-color: #f65486;
  833. }
  834. .ljrz {
  835. position: fixed;
  836. width: 750rpx;
  837. bottom: 0;
  838. font-size: 32rpx;
  839. font-weight: 500;
  840. text-align: center;
  841. line-height: 98rpx;
  842. background-color: #f65486;
  843. color: #fff;
  844. }
  845. </style>