user.vue 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345
  1. <template>
  2. <view class="box">
  3. <view class="top" :style="{background:'#'+themeColor}">
  4. <view class="customerMes">
  5. <image @click="updateUserInfo" v-if="headImg" :src="headImg" mode=""
  6. style="width: 88rpx;height: 88rpx;border-radius: 44rpx;"></image>
  7. <image @click="updateUserInfo" v-else src="http://dmsphoto.66km.com.cn/thFiles/64CD12A3-588E-4201-90F6-5428F6ACD9F9.png" mode=""
  8. style="width: 88rpx;height: 88rpx;border-radius: 44rpx;"></image>
  9. <view class="mes">
  10. <view class="nick">
  11. <view class="nickName" v-if="nickName">{{nickName}}</view>
  12. <!-- <view class="grade" @click="gonavigateTo('../index/vipCard')" v-if="numList.levelName&&showSetting.isShowLevel">{{numList.levelName}} ></view>-->
  13. <view class="cardNameBOx" v-if="numList.levelName&&showSetting.isShowLevel" @click="gonavigateTo('../subPack/vipCard')">
  14. <image class="cardNameIcon" src="http://dmsphoto.66km.com.cn/thFiles/E3F78C8A-CF4F-40DD-B050-689CFCEA2F4C.png" mode=""></image>
  15. <view class="cardNameTb">{{numList.levelName}}</view>
  16. <image src="../../static/timg/icon_arrow.png" mode="" class="cardNameIcon2"></image>
  17. </view>
  18. <view class="cardNameBOx" v-if="numList.f2ccard.cardName">
  19. <image class="cardNameIcon" src="http://dmsphoto.66km.com.cn/thFiles/E3F78C8A-CF4F-40DD-B050-689CFCEA2F4C.png" mode=""></image>
  20. <view class="cardNameTb">{{numList.f2ccard.cardName}}</view>
  21. </view>
  22. </view>
  23. <view class="phone">{{phone}} <span @click="seeQr">{{numList.customerInfo.wxMiniV2OpenID?' / 已绑定微信>':' / 未绑定微信>'}}</span> </view>
  24. </view>
  25. </view>
  26. </view>
  27. <!-- <view v-if="numList.remindType==0" class="marginTop2"></view>v-if="numList.remindType!=0" -->
  28. <view class="marginTop" ></view>
  29. <view class="headerBox">
  30. <view class="quan" @click="gonavigateTo('../index/discountCard')" v-if="showSetting.isShowCoupon">
  31. <view class="numStr">{{numList.count?numList.count:0}}</view>
  32. <view class="nameStr">优惠券</view>
  33. </view>
  34. <view class="quan" v-if="showSetting.isShowIntergral" @click="gonavigateTo('../integral/integral?totalIntegral='+numList.totalIntegral)">
  35. <view class="numStr">{{numList.totalIntegral?numList.totalIntegral:0}}</view>
  36. <view class="nameStr">积分</view>
  37. </view>
  38. <view class="quan" v-if="showSetting.isShowCard" @click="gonavigateTo('../index/vipCard')">
  39. <view class="numStr">{{numList.cardNum?numList.cardNum:0}}</view>
  40. <view class="nameStr">会员卡</view>
  41. </view>
  42. </view>
  43. <view class="remindBox" v-if="numList.remindType!=0&&numList.remindIntegral!=0">
  44. <view class="remindLeft" style="display: flex;">
  45. <image style="width: 24rpx;height: 24rpx;margin-top: 2rpx;" src="http://dmsphoto.66km.com.cn/thFiles/BA87B937-90F3-420C-A21C-A5B7BE7E8B07.png" mode=""></image>
  46. <span style="padding-left: 10rpx;">您有</span>
  47. <span style="color: #FFFD00;font-weight: 500;">{{numList.remindIntegral}}</span>
  48. <span v-if="numList.remindType==1">积分将于本月过期</span>
  49. <span v-if="numList.remindType==2">积分将于30天内过期</span>
  50. </view>
  51. <view class="useremind" @click="useremind">去使用></view>
  52. </view>
  53. <!-- 卡制度-->
  54. <view v-if="showSetting.isShowCardSystem">
  55. <view >
  56. <swiper class="swiper2" :autoplay="false" :interval="interval"
  57. :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" :indicator-active-color="'#'+themeColor">
  58. <swiper-item v-for="(item,index) in f2csystemlist">
  59. <view class="cardBox">
  60. <view class="cardTOp" :style="{background:'url('+item.Banner+') 100% 100%'}" style="background-size: 100% 100% !important;">
  61. <img class="vipBsIcon" v-if="item.growthState==1" src="http://dmsphoto.66km.com.cn/thFiles/91FCABC6-775C-47CA-B7D4-3579A4DE8497.png" alt="">
  62. <view class="cardName">{{item.system.name}}</view>
  63. <!-- 当前卡制度-->
  64. <view class="cardtimeBox" v-if="item.growthState==1">
  65. <view class="cardtimeLeft">成长值 {{numList.f2ccard.growthValue}}/{{item.system.growthValueUp}}</view>
  66. <view class="cartimeRight">有效期 {{numList.f2ccard.expireTime.slice(0,10)}}</view>
  67. </view>
  68. <view class="cardtimeBox" v-if="item.growthState==2">
  69. <view class="cardtimeLeft">高于该等级</view>
  70. </view>
  71. <view class="cardtimeBox" v-if="item.growthState==3">
  72. <view class="cardtimeLeft">还需{{item.addGrowth}}成长值可升级</view>
  73. </view>
  74. </view>
  75. <view class="cardCont">
  76. <view class="cardLine" v-for="(c,cindex) in item.contents" v-if="cindex<8">
  77. <view class="cardLineImgBox">
  78. <image :src="c.icon" mode="" class="cardLineImg"></image>
  79. </view>
  80. <view class="cardlineTitle" v-if="c.state==1">{{c.title}}</view>
  81. <view class="cardlineTitle2" v-if="c.state==0">{{c.title}}</view>
  82. </view>
  83. </view>
  84. </view>
  85. </swiper-item>
  86. </swiper>
  87. </view>
  88. </view>
  89. <!-- 我的订单 -->
  90. <view class="orderBox">
  91. <view class="orderTitle">我的订单</view>
  92. <view class="orderLIneBox">
  93. <view class="orderLine" @click="goorder(1)">
  94. <view class="orderImgBox">
  95. <view class="orderNum" v-show="numList.waitPurchaseSize>0">
  96. {{numList.waitPurchaseSize>99?'99+':numList.waitPurchaseSize}}
  97. </view>
  98. <image src="../../static/img/icon_daifukuan.png" mode="" class="orderLineImg"></image>
  99. </view>
  100. <view class="orderLineTxt">待付款</view>
  101. </view>
  102. <view class="orderLine" @click="goorder(5)">
  103. <view class="orderImgBox">
  104. <view class="orderNum" v-show="numList.waitGroupSize>0">
  105. {{numList.waitGroupSize>99?'99+':numList.waitGroupSize}}
  106. </view>
  107. <image src="../../static/timg/my_icon_4.png" mode="" class="orderLineImg"></image>
  108. </view>
  109. <view class="orderLineTxt">待成团</view>
  110. </view>
  111. <view class="orderLine" @click="goorder(2)">
  112. <view class="orderImgBox">
  113. <view class="orderNum" v-show="numList.waitServiceSize>0">
  114. {{numList.waitServiceSize>99?'99+':numList.waitServiceSize}}
  115. </view>
  116. <image src="../../static/img/icon_daifuwu.png" mode="" class="orderLineImg"></image>
  117. </view>
  118. <view class="orderLineTxt">待服务</view>
  119. </view>
  120. <view class="orderLine" @click="goorder(3)">
  121. <view class="orderImgBox">
  122. <view class="orderNum" v-show="numList.hasOverSize>0">
  123. {{numList.hasOverSize>99?'99+':numList.hasOverSize}}
  124. </view>
  125. <image src="../../static/img/icon_yiwancheng.png" mode="" class="orderLineImg"></image>
  126. </view>
  127. <view class="orderLineTxt">已完成</view>
  128. </view>
  129. <view class="orderLine" @click="goorder(0)">
  130. <view class="orderImgBox">
  131. <view class="orderNum" v-show="numList.allSize>0">{{numList.allSize>99?'99+':numList.allSize}}
  132. </view>
  133. <image src="../../static/img/icon_allorder.png" mode="" class="orderLineImg"></image>
  134. </view>
  135. <view class="orderLineTxt">全部</view>
  136. </view>
  137. </view>
  138. </view>
  139. <!-- 店铺信息 -->
  140. <view class="shopBox" v-if="userInfo&&showSetting.isShowCardShop">
  141. <view class="shopCont">
  142. <view class="shopName">{{numList.shopInfo.shopName}}</view>
  143. <view class="shopRightBox">
  144. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"
  145. style="margin-right: 67rpx;" @click="map"></image>
  146. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg" @click="call"></image>
  147. </view>
  148. </view>
  149. <view v-if="numList.isShowScore == 1 && numList.isShowEvaluate == 1" class="appraiseBox">
  150. <view v-if="numList.isShowScore == 1 && numList.shopInfo.miniV2ShopScore" class="appraise">
  151. {{numList.shopInfo.miniV2ShopScore}}
  152. <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
  153. </view>
  154. <view v-if="numList.isShowScore == 1 && !numList.shopInfo.miniV2ShopScore" class="appraise"
  155. style='font-size: 26rpx;'>暂无评分</span>
  156. </view>
  157. <view v-if="numList.isShowScore == 1" class="line"></view>
  158. <view @click="goShopAppraiseList()" v-if="numList.isShowEvaluate == 1 && numList.evaluateCount "
  159. class="appraiseCount">评价数
  160. {{numList.evaluateCount}}
  161. <image v-if="numList.isShowEvaluate == 1" class="rightArrow"
  162. src="../../static/timg/icon_arrow_right.png" mode=""></image>
  163. </view>
  164. <view v-if="numList.isShowEvaluate == 1 && !numList.evaluateCount " class="appraiseCount">暂无评价
  165. </view>
  166. </view>
  167. <view class="shopTime" v-if="numList.shopInfo.startTime && numList.shopInfo.endTime">
  168. {{numList.shopInfo.startTime}}-{{numList.shopInfo.endTime}}
  169. </view>
  170. <view class="address">
  171. <view class="Address">
  172. {{numList.shopInfo.provinceName?numList.shopInfo.provinceName:''}}
  173. {{numList.shopInfo.cityName?numList.shopInfo.cityName:''}}
  174. {{numList.shopInfo.areaName?numList.shopInfo.areaName:''}}
  175. {{numList.shopInfo.address?numList.shopInfo.address:''}}
  176. </view>
  177. <!-- <view class="distance" v-if="numList.shopInfo.distance&&numList.shopInfo.distance!= '0.00'">{{numList.shopInfo.distance}}km</view> -->
  178. </view>
  179. </view>
  180. <!-- 我的 相关 -->
  181. <view class="rowBoxBg">
  182. <view class="rowBox" @click="gonavigateTo('../user/expertServices')">
  183. <view class="leftView">
  184. <image src="../../static/img/icon_me1.png" mode="" class="liftIcon"></image>
  185. <view class="rowTitle">服务专家</view>
  186. </view>
  187. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  188. </view>
  189. <view class="rowBox" @click="gonavigateTo('./addCar/cailist?type=3')">
  190. <view class="leftView">
  191. <image src="../../static/img/icon_me2.png" mode="" class="liftIcon"></image>
  192. <view class="rowTitle">我的车库</view>
  193. </view>
  194. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  195. </view>
  196. <view class="rowBox" @click="gonavigateTo('myBespeak')">
  197. <view class="leftView">
  198. <image src="../../static/img/icon_me3.png" mode="" class="liftIcon"></image>
  199. <view class="rowTitle">我的预约</view>
  200. </view>
  201. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  202. </view>
  203. <view class="rowBox" @click="gonavigateTo('historySpend')">
  204. <view class="leftView">
  205. <image src="../../static/img/icon_me4.png" mode="" class="liftIcon"></image>
  206. <view class="rowTitle">历史消费</view>
  207. </view>
  208. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  209. </view>
  210. <view class="rowBox" @click="gonavigateTo('checkReport')">
  211. <view class="leftView">
  212. <image src="../../static/img/icon_me5.png" mode="" class="liftIcon"></image>
  213. <view class="rowTitle">车检报告</view>
  214. </view>
  215. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  216. </view>
  217. <!-- <view class="rowBox" @click="gonavigateTo('../subPack/depositList')">
  218. <view class="leftView">
  219. <image src="../../static/timg/icon_jydd.png" mode="" class="liftIcon"></image>
  220. <view class="rowTitle">我的寄存</view>
  221. </view>
  222. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  223. </view> -->
  224. <view class="rowBox" @click="gonavigateTo('../subPack/rescueOrder')">
  225. <view class="leftView">
  226. <image src="../../static/timg/sos.png" mode="" class="liftIcon"></image>
  227. <view class="rowTitle">救援订单</view>
  228. </view>
  229. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  230. </view>
  231. </view>
  232. <view class="rowBoxBg">
  233. <view class="rowBox" @click="gonavigateTo('myAppraise')">
  234. <view class="leftView">
  235. <image src="../../static/img/icon_pingjia.png" mode="" class="liftIcon"></image>
  236. <view class="rowTitle">我的评价</view>
  237. </view>
  238. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  239. </view>
  240. </view>
  241. <view class="rowBoxBg" v-if="kkshow">
  242. <view class="rowBox" @click="gonavigateTo('../partner/partner')"
  243. v-if="numList.customerInfo.pState==1&&numList.shopSettings.partnerDisabled">
  244. <view class="leftView">
  245. <image src="../../static/img/icon_hehuoren.png" mode="" class="liftIcon"></image>
  246. <view class="rowTitle">车主合伙人</view>
  247. </view>
  248. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  249. </view>
  250. <view class="rowBox" @click="gonavigateTo('../referral/referral')"
  251. v-if="numList.customerInfo.rebateState==1&&numList.shopSettings.introductionDisabled">
  252. <view class="leftView">
  253. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  254. <view class="rowTitle">客户转介绍</view>
  255. </view>
  256. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  257. </view>
  258. </view>
  259. <view class="rowBoxBg">
  260. <view class="rowBox" v-if="showSetting.isShowTel">
  261. <view class="leftView">
  262. <image src="../../static/timg/icon_qingchu.png" mode="" class="liftIcon"></image>
  263. <view class="rowTitle">{{showSetting.telTitle}}</view>
  264. </view>
  265. <view class="rowRight" style="color:#666666;" @click="makePhoneCall(showSetting.tel)">{{showSetting.tel}}</view>
  266. </view>
  267. <view class="rowBox" v-if="showSetting.isShowMember" @click="gomember(showSetting.memberTitle)">
  268. <view class="leftView">
  269. <image src="../../static/timg/icon_yijian.png" mode="" class="liftIcon"></image>
  270. <view class="rowTitle">{{showSetting.memberTitle}}</view>
  271. </view>
  272. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  273. </view>
  274. <view class="rowBox" v-if="showSetting.isShowAbout" @click="gonavigateaboutUS">
  275. <view class="leftView">
  276. <image src="../../static/timg/icon_fenxiang.png" mode="" class="liftIcon"></image>
  277. <view class="rowTitle">{{showSetting.aboutTitle}}</view>
  278. </view>
  279. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  280. </view>
  281. </view>
  282. <view class="rowBoxBg">
  283. <button open-type="share" class="rowBox">
  284. <view class="leftView">
  285. <image src="../../static/img/icon_me6.png" mode="" class="liftIcon"></image>
  286. <view class="rowTitle">分享给好友</view>
  287. </view>
  288. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  289. </button>
  290. <view class="rowBox" @click="gonavigateTo('feedBack')">
  291. <view class="leftView">
  292. <image src="../../static/img/icon_me7.png" mode="" class="liftIcon"></image>
  293. <view class="rowTitle">意见反馈</view>
  294. </view>
  295. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  296. </view>
  297. <!-- <view class="rowBox" @click="gonavigateTo('../report/working?id=56D5F8C1-9F11-40BA-8937-B4AABD4666B5')">
  298. <view class="leftView">
  299. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  300. <view class="rowTitle">施工报告</view>
  301. </view> -->
  302. <!-- <view class="rowBox" @click="gonavigateTo('../report/complete?id=278569FB-6F21-47AD-8B66-D62D2EA6981D')">
  303. <view class="leftView">
  304. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  305. <view class="rowTitle">完工报告</view>
  306. </view>
  307. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  308. </view>
  309. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  310. </view> -->
  311. <!-- 先隐藏 -->
  312. <!-- <view class="rowBox" @click="gonavigateTo('')">
  313. <view class="leftView">
  314. <image src="../../static/img/icon_me8.png" mode="" class="liftIcon"></image>
  315. <view class="rowTitle">清除缓存</view>
  316. </view>
  317. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  318. </view> -->
  319. </view>
  320. <view class="releaseVersion">版本号:{{release_version}}</view>
  321. <!-- <view class="signOut" @click="signOut">退出登录</view> -->
  322. <!-- 手机号授权 -->
  323. <view class="authorizBox" v-if="authorizShow" @click="authorizShowHide">
  324. <view class="authorizCont" @click.stop="">
  325. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  326. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  327. <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
  328. @getphonenumber="decryptPhoneNumber">授权</button>
  329. </view>
  330. <view style="text-align: center;padding-top: 56rpx;">
  331. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  332. </view>
  333. </view>
  334. <!-- <image :src="qrimg" mode=""></image> -->
  335. <view class="qrBox" v-if="qrSHow">
  336. <view class="qrimgBox">
  337. <view class="qrTitle">微信绑定
  338. <image src="../../static/timg/chahao.png" mode="" class="qrimgchahao" @click="qrclose"></image>
  339. </view>
  340. <view class="qrms">扫描/长按下方二维码进行绑定</view>
  341. <view class="qrms2">绑定后可接收微信消息通知</view>
  342. <view style="text-align: center;padding-top: 30rpx;">
  343. <image :src="qrimg" mode="" class="qrimg" :show-menu-by-longpress='true'></image>
  344. </view>
  345. <view class="qrBtn" @click="qrclose">我知道了</view>
  346. </view>
  347. </view>
  348. </view>
  349. </template>
  350. <script>
  351. export default {
  352. data() {
  353. return {
  354. userInfo: '',
  355. shopData: '',
  356. numList: '',
  357. uid: '',
  358. headImg: '',
  359. location: {
  360. lng: '',
  361. lat: '',
  362. },
  363. authorizShow: false,
  364. code: '',
  365. wxOpenData: '',
  366. nickName: '',
  367. phone: '',
  368. ext: '',
  369. themeColor: '',
  370. release_version: '',
  371. qrimg:'',
  372. qrSHow:false,
  373. kkshow:false,
  374. duration:500,
  375. interval:3000,
  376. showSetting:'',
  377. f2csystemlist:'',
  378. }
  379. },
  380. onLoad(opt) {
  381. this.ext = this.$common.getExtStoreId();
  382. this.themeColor = uni.getStorageSync("themeColor");
  383. if (this.themeColor) {
  384. if (this.themeColor == '6F2BE8') {
  385. var backgroundImage = '/static/tabimg/me6F2BE8.png'
  386. }
  387. if (this.themeColor == '1677FF') {
  388. var backgroundImage = '/static/tabimg/me1677FF.png'
  389. }
  390. if (this.themeColor == 'FF4F00') {
  391. var backgroundImage = '/static/tabimg/meFF4F00.png'
  392. }
  393. if (this.themeColor == 'D53533') {
  394. var backgroundImage = '/static/tabimg/me1.png'
  395. }
  396. uni.setTabBarStyle({
  397. // color: '#FF0000',
  398. selectedColor: '#' + this.themeColor,
  399. })
  400. uni.setTabBarItem({
  401. index: 3,
  402. text: '我的',
  403. selectedIconPath: backgroundImage
  404. })
  405. }
  406. uni.setNavigationBarColor({
  407. frontColor: "#ffffff",
  408. backgroundColor: '#' + this.themeColor
  409. })
  410. this.getVersionInfo()
  411. // const accountInfo = wx.getAccountInfoSync();
  412. // var version_number = accountInfo.miniProgram.version;
  413. // console.log(version_number)
  414. },
  415. onShow() {
  416. const wxOpenData = this.$store.state.wxOpenData;
  417. this.wxOpenData = wxOpenData
  418. console.log("onshowuser")
  419. this.userInfo = this.$store.state.userInfo;
  420. console.log(this.userInfo)
  421. if (this.userInfo) {
  422. this.queryMyDetail();
  423. } else {
  424. //console.log("授权")
  425. //this.authorizShow = true;
  426. }
  427. if (wxOpenData) {
  428. this.uid = wxOpenData.loginInfo.uid;
  429. }
  430. },
  431. methods: {
  432. makePhoneCall(tel){
  433. uni.makePhoneCall({
  434. phoneNumber: tel,
  435. });
  436. },
  437. seeQr(){
  438. // this.authorizShow = true;
  439. // return false;
  440. if (this.userInfo) {
  441. } else {
  442. this.authorizShow = true;
  443. return false;
  444. }
  445. uni.showLoading({
  446. title: '加载中'
  447. })
  448. this.$request.httpBinary('wxV2/createQrCode', {
  449. type:'bindWx',
  450. customerId:this.numList.customerInfo.id,
  451. unionID:this.numList.customerInfo.unionID,
  452. }, 'GET').then(res => {
  453. uni.hideLoading();
  454. this.qrimg = 'data:image/png;base64,'+uni.arrayBufferToBase64(res);
  455. this.qrSHow=true;
  456. //this.img= uni.arrayBufferToBase64(res)
  457. //console.log('list+=', this.queryShopList);
  458. })
  459. },
  460. qrclose(){
  461. this.qrSHow=false;
  462. },
  463. goShopAppraiseList() {
  464. uni.navigateTo({
  465. url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  466. })
  467. },
  468. useremind(){
  469. uni.navigateTo({
  470. url: '../integral/integral'
  471. })
  472. },
  473. gonavigateaboutUS(){
  474. uni.navigateTo({
  475. url: '../index/aboutUS?unionID='+this.numList.customerInfo.unionID
  476. })
  477. },
  478. gomember(memberTitle){
  479. uni.navigateTo({
  480. url: '../index/aboutUS?unionID='+this.numList.customerInfo.unionID+'&memberTitle='+memberTitle
  481. })
  482. },
  483. getVersionInfo() {
  484. this.$http('miniApp2/sys/getVersionInfov2', {
  485. appId: this.ext.appId,
  486. }, 'POST').then(res => {
  487. if( res.data){
  488. this.release_version = res.data
  489. }
  490. })
  491. },
  492. updateUserInfo() {
  493. var that = this;
  494. uni.getUserProfile({
  495. lang: 'zh_CN',
  496. desc: '登录',
  497. success: (res) => {
  498. console.log(res);
  499. that.headImg = res.userInfo.avatarUrl;
  500. that.nickName = res.userInfo.nickName;
  501. that.$http('miniApp2/sys/updateUserInfo', {
  502. nickName: res.userInfo.nickName,
  503. unionId: that.ext.unionId,
  504. headImg: res.userInfo.avatarUrl,
  505. openId: that.wxOpenData.openid
  506. }, 'POST').then(res => {
  507. })
  508. },
  509. fail: (res) => {
  510. console.log(res)
  511. }
  512. });
  513. },
  514. decryptPhoneNumber: function(e) {
  515. console.log(e);
  516. this.code = e.detail.code
  517. this.wxPhoneLogin()
  518. this.authorizShow = false;
  519. },
  520. wxPhoneLogin() {
  521. var that = this;
  522. this.$http('miniApp2/sys/wxPhoneLogin', {
  523. appId: this.ext.appId,
  524. unionId: this.ext.unionId,
  525. code: this.code,
  526. openId: this.wxOpenData.openid
  527. }, 'POST').then(res => {
  528. var data = res.data;
  529. if (data.loginInfo) {
  530. this.userInfo = data.loginInfo.openUser;
  531. this.wxOpenData = data.loginInfo;
  532. this.numList=data.loginInfo
  533. this.headImg = data.loginInfo.openUser.headImg;
  534. this.nickName = data.loginInfo.openUser.nickName;
  535. this.phone = data.loginInfo.openUser.mobilePhone;
  536. this.$store.commit('mutationswxOpenData', data)
  537. this.$store.commit('mutationsuserInfo', this.userInfo)
  538. /*setTimeout(() => {
  539. that.queryMyDetail()
  540. }, 1000); */
  541. that.queryMyDetail()
  542. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  543. this.kkshow=true
  544. }
  545. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  546. this.kkshow=true
  547. }
  548. }
  549. })
  550. },
  551. map() {
  552. console.log("打开地图")
  553. var that = this;
  554. if (!that.numList.shopInfo.lat || !that.numList.shopInfo.lng) {
  555. uni.showToast({
  556. title: '该店铺未设置定位',
  557. icon: 'none',
  558. duration: 3000
  559. });
  560. } else {
  561. uni.openLocation({
  562. latitude: Number(that.numList.shopInfo.lat),
  563. longitude: Number(that.numList.shopInfo.lng),
  564. name: that.numList.shopInfo.shopName,
  565. address: that.numList.shopInfo.provinceName + that.numList.shopInfo.cityName + that.numList
  566. .shopInfo.areaName + that.numList.shopInfo.address,
  567. success: function() {
  568. console.log('success');
  569. },
  570. fail(err) {
  571. console.log(err)
  572. }
  573. });
  574. }
  575. },
  576. call() {
  577. if (this.userInfo) {
  578. } else {
  579. this.authorizShow = true;
  580. return false;
  581. }
  582. uni.makePhoneCall({
  583. phoneNumber: this.numList.shopInfo.mobilePhone
  584. });
  585. },
  586. goorder(num) {
  587. if (this.userInfo) {
  588. } else {
  589. this.authorizShow = true;
  590. return false;
  591. }
  592. uni.navigateTo({
  593. url: './myOrder/myOrder?num=' + num
  594. })
  595. },
  596. queryMyDetail() {
  597. console.log("getinfo")
  598. console.log(this.$store.state.wxOpenData)
  599. uni.showLoading({
  600. title: '加载中'
  601. })
  602. this.$http('openreservation/getInfo', {
  603. lat: this.location.lat ? this.location.lat : '',
  604. lng: this.location.lng ? this.location.lng : '',
  605. }, 'GET').then(res => {
  606. uni.hideLoading();
  607. this.numList = res.data
  608. this.headImg = res.data.openUser.headImg;
  609. this.nickName = res.data.openUser.nickName;
  610. this.phone = res.data.openUser.mobilePhone;
  611. this.showSetting=res.data.showSetting
  612. this.f2csystemlist=res.data.f2csystemlist
  613. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  614. this.kkshow=true
  615. }
  616. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  617. this.kkshow=true
  618. }
  619. })
  620. },
  621. gonavigateTo(url) {
  622. if (this.userInfo) {
  623. uni.navigateTo({
  624. url: url
  625. })
  626. } else {
  627. this.authorizShow = true;
  628. }
  629. /* uni.navigateTo({
  630. url: url
  631. }) */
  632. },
  633. signOut() {
  634. //uni.clearStorageSync();
  635. uni.removeStorageSync('logodata');
  636. // uni.navigateTo({
  637. // url: '../login/login'
  638. // })
  639. },
  640. authorizShowHide(){
  641. this.authorizShow=false
  642. }
  643. },
  644. onShareAppMessage(res) {
  645. return {
  646. title: this.wxOpenData.miniAppName,
  647. //imageUrl:img,
  648. path: 'pages/index/index',
  649. success(res) {
  650. uni.showToast({
  651. title: '分享成功'
  652. })
  653. },
  654. fail(res) {
  655. uni.showToast({
  656. title: '分享失败',
  657. icon: 'none',
  658. duration: 3000
  659. })
  660. }
  661. }
  662. },
  663. // 下拉刷新
  664. onPullDownRefresh() {
  665. this.queryMyDetail()
  666. setTimeout(function() {
  667. uni.stopPullDownRefresh();
  668. }, 1000);
  669. },
  670. }
  671. </script>
  672. <style scoped>
  673. .cardNameIcon{
  674. width: 30rpx;height: 30rpx;
  675. }
  676. .cardNameIcon2{
  677. width: 7rpx;height: 13rpx;
  678. margin-left: 3rpx;margin-top: 9rpx;
  679. }
  680. .cardNameTb{
  681. padding-left: 4rpx;
  682. }
  683. .cardNameBOx{
  684. background: linear-gradient(327deg, #FEA917 0%, #FFC635 100%);
  685. border-radius: 16rpx;display: flex;
  686. line-height: 30rpx;font-weight: 500;
  687. color: #764700;font-size: 22rpx;
  688. margin-left: 15rpx;
  689. padding-right: 10rpx;
  690. height: 30rpx;
  691. }
  692. .remindBox{
  693. width: 596rpx;
  694. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(153,153,153,0.1);
  695. background: rgba(255,255,255,0.1);
  696. display: flex;justify-content: space-between;
  697. margin: 0 auto;font-size: 22rpx;
  698. padding: 9rpx 20rpx;
  699. color: #FFFFFF;
  700. line-height: 30rpx;
  701. border-radius: 8rpx;
  702. margin-bottom: 20rpx;
  703. }
  704. .useremind{
  705. font-weight: 500;
  706. color: #FFFD00;
  707. }
  708. .swiper2{
  709. min-height: 510rpx;
  710. /* margin-top: -100rpx; */
  711. }
  712. .marginTop{
  713. margin-top: -270rpx;
  714. }
  715. .marginTop2{
  716. margin-top: -120rpx;
  717. }
  718. .cardBox{
  719. width: 702rpx;
  720. min-height: 510rpx;
  721. background: #FFFFFF;
  722. border-radius: 22rpx;
  723. margin-left:24rpx ;
  724. overflow: hidden;
  725. }
  726. .cardCont{
  727. display: flex;
  728. flex-wrap: wrap;
  729. }
  730. .cardLineImgBox{
  731. width: 84rpx;
  732. height: 84rpx;
  733. /* background: linear-gradient(150deg, #222439 0%, #1A2027 100%); */
  734. border-radius: 50%;
  735. margin: 0 auto;
  736. margin-top: 30rpx;
  737. }
  738. .cardLineImg{
  739. width: 84rpx;
  740. height: 84rpx;
  741. border-radius: 50%;
  742. }
  743. .cardlineTitle{
  744. color: #3C3C3C;font-size: 24rpx;
  745. line-height: 33rpx;padding-top: 10rpx;
  746. overflow:hidden;
  747. white-space: nowrap;
  748. text-overflow: ellipsis;
  749. -o-text-overflow:ellipsis;
  750. }
  751. .cardlineTitle2{
  752. color: #999999;font-size: 24rpx;
  753. line-height: 33rpx;padding-top: 10rpx;
  754. overflow:hidden;
  755. white-space: nowrap;
  756. text-overflow: ellipsis;
  757. -o-text-overflow:ellipsis;
  758. }
  759. .cardLine{
  760. width: 25%;
  761. text-align: center;
  762. }
  763. .rowRight{
  764. color: #666666;font-size: 28rpx;padding-right: 32rpx;
  765. }
  766. .cardTOp{
  767. height: 155rpx;
  768. background-size: 100% 100%;
  769. position: relative;
  770. }
  771. .vipBsIcon{
  772. position: absolute;width: 112rpx;height: 33rpx;top: 0;right: 0;
  773. }
  774. .cardName{
  775. font-weight: 500;font-size: 30rpx;padding-top: 30rpx;padding-left: 30rpx;
  776. color: #50402A;
  777. }
  778. .cardtimeBox{
  779. display: flex;justify-content: space-between;
  780. color: #786140;font-size: 24rpx;
  781. padding-top: 20rpx;padding-left: 30rpx;padding-right: 20rpx;
  782. }
  783. .qrBox{
  784. position: fixed;
  785. width: 100vw;
  786. height: 100vh;
  787. background: rgba(0,0,0,0.5);
  788. left: 0;
  789. top: 0;
  790. z-index: 11;
  791. display: flex;
  792. justify-content: center;
  793. align-items: center;
  794. flex-direction: column;
  795. }
  796. .qrimgBox{
  797. width: 562rpx;
  798. height: 704rpx;
  799. background: #FFFFFF;
  800. border-radius: 24rpx;
  801. }
  802. .qrTitle{
  803. font-size: 30rpx;
  804. font-family: PingFangSC-Medium, PingFang SC;
  805. font-weight: 500;
  806. color: #333333;
  807. border-bottom: 1px solid #EEEEEE;
  808. text-align: center;
  809. line-height: 90rpx;
  810. position: relative;
  811. }
  812. .qrimgchahao{
  813. width: 38rpx;
  814. height: 38rpx;
  815. position: absolute;
  816. top: 26rpx;
  817. right: 20rpx;
  818. }
  819. .qrms{
  820. font-weight: 400;
  821. color: #999999;
  822. line-height: 37rpx;
  823. font-size: 26rpx;
  824. padding-top: 23rpx;
  825. text-align: center;
  826. }
  827. .qrms2{
  828. font-weight: 400;
  829. color: #999999;
  830. line-height: 37rpx;
  831. font-size: 26rpx;
  832. text-align: center;
  833. }
  834. .qrimg{
  835. width: 328rpx;
  836. height: 328rpx;
  837. }
  838. .qrBtn{
  839. width: 292rpx;
  840. height: 64rpx;
  841. background: #D53533;
  842. border-radius: 32rpx;
  843. color: #FFFFFF;
  844. line-height: 64rpx;
  845. text-align: center;
  846. margin: 0 auto;
  847. margin-top:40rpx;
  848. }
  849. .releaseVersion {
  850. font-size: 24rpx;
  851. font-family: PingFangSC-Regular, PingFang SC;
  852. font-weight: 400;
  853. color: #666666;
  854. padding: 40rpx;
  855. text-align: center;
  856. }
  857. button::after {
  858. border: none;
  859. }
  860. button {
  861. position: relative;
  862. display: block;
  863. margin-left: 0;
  864. margin-right: 0;
  865. padding-left: 0px;
  866. padding-right: 0px;
  867. box-sizing: border-box;
  868. // font-size: 18px;
  869. text-align: center;
  870. text-decoration: none;
  871. // line-height: 1;
  872. line-height: 1.35;
  873. // border-radius: 5px;
  874. -webkit-tap-highlight-color: transparent;
  875. overflow: hidden;
  876. color: #000000;
  877. background-color: #fff;
  878. height: 100%;
  879. }
  880. .box {
  881. width: 100vw;
  882. min-height: 100vh;
  883. background: #F4F5F7;
  884. padding-bottom: 60rpx;
  885. }
  886. .top {
  887. height: 350rpx;
  888. padding: 20rpx 24rpx 0;
  889. background-color: #D53533;
  890. border-radius: 0 0 5% 5%;
  891. }
  892. .customerMes {
  893. display: flex;
  894. }
  895. .mes {
  896. margin-left: 20rpx;
  897. }
  898. .nick {
  899. margin-bottom: 5rpx;
  900. display: flex;
  901. justify-content: flex-start;
  902. align-items: center;
  903. }
  904. .nickName {
  905. font-size: 34rpx;
  906. color: #FFFFFF;
  907. font-weight: bold;
  908. line-height: 48rpx;
  909. height: 48rpx;
  910. overflow: hidden; /*内容会被修剪,并且其余内容是不可见的*/
  911. text-overflow:ellipsis; /*显示省略符号来代表被修剪的文本。*/
  912. white-space: nowrap; /*文本不换行*/
  913. }
  914. .grade {
  915. margin-left: 15rpx;
  916. font-size: 22rpx;
  917. color: #FFFFFF;
  918. padding: 0rpx 10rpx;
  919. border: 1px solid #FFFFFF;
  920. border-radius: 18rpx;
  921. height: 26rpx;
  922. line-height: 28rpx;
  923. }
  924. .phone {
  925. font-size: 24rpx;
  926. color: #FFFFFF;
  927. }
  928. .headerBox {
  929. padding: 16rpx 24rpx;
  930. display: flex;
  931. justify-content: space-around;
  932. }
  933. .quan {
  934. display: flex;
  935. flex-direction: column;
  936. align-items: center;
  937. }
  938. .numStr {
  939. font-size: 32rpx;
  940. font-weight: bold;
  941. color: #FFFFFF;
  942. line-height: 45rpx;
  943. }
  944. .numStr2{
  945. font-size: 40rpx;
  946. font-weight: 500;
  947. color: #FFFFFF;
  948. line-height: 60rpx;
  949. }
  950. .nameStr {
  951. font-size: 24rpx;
  952. color: #FFFFFF;
  953. }
  954. .orderBox {
  955. margin: 0rpx 24rpx;
  956. background: #FFFFFF;
  957. padding: 30rpx 20rpx;
  958. border-radius: 10rpx;
  959. margin-top: 20rpx;
  960. }
  961. .orderTitle {
  962. font-size: 30rpx;
  963. color: #333333;
  964. font-weight: bold;
  965. }
  966. .orderAll {
  967. display: flex;
  968. justify-content: space-between;
  969. align-items: center;
  970. }
  971. .orderLine {
  972. width: 25%;
  973. text-align: center;
  974. }
  975. .orderLineImg {
  976. width: 60rpx;
  977. height: 60rpx;
  978. }
  979. .orderLineTxt {
  980. font-size: 24rpx;
  981. color: #333333;
  982. }
  983. .orderImgBox {
  984. text-align: center;
  985. position: relative;
  986. }
  987. .orderLIneBox {
  988. display: flex;
  989. justify-content: space-between;
  990. padding-top: 30rpx;
  991. }
  992. .orderNum {
  993. height: 26rpx;
  994. line-height: 26rpx;
  995. background: #FF0000;
  996. padding: 0 8rpx;
  997. border-radius: 13rpx;
  998. color: #FFFFFF;
  999. font-size: 20rpx;
  1000. position: absolute;
  1001. left: 82rpx;
  1002. z-index: 11;
  1003. }
  1004. .big_rightArrow {
  1005. margin-right: 20rpx;
  1006. width: 30rpx;
  1007. height: 30rpx;
  1008. }
  1009. .rowBoxBg {
  1010. margin: 20rpx 24rpx;
  1011. background: #FFFFFF;
  1012. border-radius: 10rpx;
  1013. }
  1014. .rowBox {
  1015. display: flex;
  1016. justify-content: space-between;
  1017. background: #FFFFFF;
  1018. padding: 35rpx 0rpx;
  1019. border-radius: 10rpx;
  1020. align-items: center;
  1021. }
  1022. .leftView {
  1023. display: flex;
  1024. align-items: center;
  1025. }
  1026. .rightView {
  1027. display: flex;
  1028. align-items: center;
  1029. }
  1030. .liftIcon {
  1031. width: 34rpx;
  1032. height: 34rpx;
  1033. margin: 0rpx 20rpx;
  1034. }
  1035. .rowTitle {
  1036. color: #3C3C3C;
  1037. font-size: 28rpx;
  1038. }
  1039. .signOut {
  1040. width: 702rpx;
  1041. height: 98rpx;
  1042. background: #FFFFFF;
  1043. border-radius: 10rpx;
  1044. font-size: 30rpx;
  1045. color: #FF3B30;
  1046. line-height: 98rpx;
  1047. text-align: center;
  1048. margin: 40rpx 24rpx;
  1049. }
  1050. .shopBox {
  1051. padding: 20rpx;
  1052. margin: 20rpx 24rpx;
  1053. background-color: #FFFFFF;
  1054. border-radius: 10rpx;
  1055. }
  1056. .shopCont {
  1057. display: flex;
  1058. justify-content: space-between;
  1059. align-items: center;
  1060. }
  1061. .shopName {
  1062. font-size: 30rpx;
  1063. font-weight: bold;
  1064. color: #3C3C3C;
  1065. line-height: 42rpx;
  1066. }
  1067. .appraiseBox {
  1068. padding: 5rpx 0;
  1069. margin-top: 10rpx;
  1070. height: 62rpx;
  1071. display: flex;
  1072. align-items: center;
  1073. }
  1074. .appraise {
  1075. color: #FF0000;
  1076. font-size: 38rpx;
  1077. font-weight: bold;
  1078. }
  1079. .line {
  1080. margin: 0 12rpx;
  1081. width: 1rpx;
  1082. height: 30rpx;
  1083. }
  1084. .appraiseCount {
  1085. font-size: 24rpx;
  1086. font-weight: 400;
  1087. color: #666666;
  1088. flex-grow: 1;
  1089. margin-top: 10rpx;
  1090. }
  1091. .rightArrow {
  1092. width: 7rpx;
  1093. height: 15rpx;
  1094. margin-left: 16rpx;
  1095. }
  1096. .shopRightBox {
  1097. display: flex;
  1098. justify-content: space-between;
  1099. }
  1100. .address {
  1101. display: flex;
  1102. justify-content: space-between;
  1103. align-items: center;
  1104. }
  1105. .Address,
  1106. .shopTime,
  1107. .distance {
  1108. color: #999999;
  1109. font-size: 24rpx;
  1110. padding-top: 15rpx;
  1111. /* 隐藏文字显示 ...不换行 */
  1112. overflow: hidden;
  1113. text-overflow: ellipsis;
  1114. white-space: nowrap;
  1115. }
  1116. .shopRightBox {}
  1117. .shopRightImg {
  1118. width: 44rpx;
  1119. height: 45rpx;
  1120. }
  1121. .authorizBox {
  1122. width: 100vw;
  1123. height: 100vh;
  1124. background: rgba(0, 0, 0, 0.5);
  1125. position: fixed;
  1126. top: 0;
  1127. left: 0;
  1128. z-index: 11;
  1129. }
  1130. .authorizCont {
  1131. margin-top: 30vh;
  1132. width: 564rpx;
  1133. height: 408rpx;
  1134. background: #FFFFFF;
  1135. border-radius: 24rpx;
  1136. margin-left: 93rpx;
  1137. position: relative;
  1138. }
  1139. .authorizCloseImg {
  1140. width: 62rpx;
  1141. height: 62rpx;
  1142. }
  1143. .sqLogoBox {
  1144. width: 180rpx;
  1145. height: 180rpx;
  1146. background: #FFFFFF;
  1147. border-radius: 90rpx;
  1148. text-align: center;
  1149. position: absolute;
  1150. top: -50rpx;
  1151. left: 192rpx;
  1152. }
  1153. .authorizName {
  1154. color: #333333;
  1155. line-height: 42rpx;
  1156. font-size: 30rpx;
  1157. text-align: center;
  1158. padding-top: 58rpx;
  1159. }
  1160. .authorizMs {
  1161. color: #999999;
  1162. line-height: 36rpx;
  1163. font-size: 26rpx;
  1164. width: 452rpx;
  1165. padding-top: 24rpx;
  1166. text-align: center;
  1167. margin-left: 56rpx;
  1168. }
  1169. .authorizContbutton {
  1170. width: 422rpx;
  1171. height: 88rpx;
  1172. background: #D53533;
  1173. border-radius: 44rpx;
  1174. line-height: 88rpx;
  1175. text-align: center;
  1176. font-size: 30rpx;
  1177. color: #FFFFFF;
  1178. margin-top: 62rpx;
  1179. margin-left: 71rpx;
  1180. }
  1181. </style>