model.vue 23 KB

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