model.vue 22 KB

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