guide.nvue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. <template>
  2. <view class="guide-wrapper">
  3. <view v-if="currentType == 'level-button-tip'" class="guide-container position-relative"
  4. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  5. <!-- top: 55px; 相当于 上间隔 -->
  6. <view class="mask-bg-07"style="background-color: rgba(0, 0, 0, 0.7);" :style="{height:guideHeight+'px'}"></view>
  7. <!-- 中心位置 225 -->
  8. <view style="width: 750rpx;height: 231px; overflow:hidden">
  9. <view style="height: 200px; background-color: rgba(0, 0, 0, 0.7);" class="mask-bg-07">
  10. <view class="position-absolute-center" style="top: 0;left:100rpx;right: 0;">
  11. <image style="width: 488rpx;height: 366rpx;"
  12. src="../../../static/modal/level-tip/level-tip-box@2x.png">
  13. </image>
  14. </view>
  15. <view class="position-absolute-center">
  16. <text class="text-white text-14px text-lines2"
  17. style="top: -80rpx;left:70rpx; width: 300rpx;">点击此按钮选择关卡</text>
  18. <view v-if="hiddenType != 'firstInstallation' && hiddenType != 'normal'"
  19. class="flex flex-direction-row" style="top: -50rpx;left:50rpx;" @click="switchSelected()">
  20. <image v-if="!isSelected" style="width: 40rpx;height: 40rpx; margin-right: 20rpx;"
  21. src="../../../static/common/subNVue/guide/check-box.png"></image>
  22. <image v-else style="width: 40rpx;height: 40rpx; margin-right: 20rpx;"
  23. src="../../../static/common/subNVue/guide/check-box-selected.png"></image>
  24. <text class="text-15px text-white">不再提示</text>
  25. </view>
  26. </view>
  27. </view>
  28. <!-- <view style="width: 750rpx;height: 82rpx;" class="flex flex-direction-row">
  29. <view class="flex-sub mask-bg-07"></view>
  30. <view class="position-relative justify-center align-center"
  31. style="width: 147px;height: 82rpx; background-color: rgba(0,0,0,0.7);">
  32. <image style="width: 147px;height: 31px;" class="position-absolute-center"
  33. src="../../../static/modal/level-tip/level-tip-bg@2x.png"></image>
  34. <image style="width: 30px;height: 23px; "
  35. src="../../../static/modal/level-tip/level-tip-logo@2x.png"></image>
  36. </view>
  37. <view class="flex-sub mask-bg-07"></view>
  38. </view> -->
  39. <view style="width: 750rpx;height: 82rpx;" class="flex flex-direction-row">
  40. <view class="flex-sub mask-bg-07" style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  41. <view class="position-relative align-center"
  42. style="width: 248rpx;height: 104rpx; background-color: rgba(0,0,0,0.7);">
  43. <image class="position-absolute-center" style="width: 248rpx;height: 104rpx; top: 18rpx;"
  44. src="../../../static/modal/level-tip/level-tip-bg-orange.png"></image>
  45. <view
  46. style="margin-top: 38rpx; width: 72rpx; height: 12rpx; background-color: #FFFFFF; border-radius: 18px;">
  47. </view>
  48. </view>
  49. <view class="flex-sub mask-bg-07"style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  50. </view>
  51. </view>
  52. <!-- 计算剩余空白 -->
  53. <view class="mask-bg-07 flex-sub" style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  54. </view>
  55. <view v-if="currentType == 'device-tip'"class="guide-container justify-center align-center position-relative mask-bg-07"
  56. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  57. <view class="mid">
  58. <image class="bind-tip-image" src="../../../static/modal/tip/bind-tip-bg.png"></image>
  59. <text class="text-16px text-center text-white"
  60. style="width: 500rpx;margin-bottom: 130rpx;">请将手柄十字键朝上插入绑带中,佩戴在右侧小腿侧面</text>
  61. <view v-if="hiddenType != 'firstInstallation'" class="flex flex-direction-row"
  62. @click="switchSelected()">
  63. <image v-if="!isSelected" style="width: 40rpx;height: 40rpx; margin-right: 20rpx;"
  64. src="../../../static/common/subNVue/guide/check-box.png"></image>
  65. <image v-else style="width: 40rpx;height: 40rpx; margin-right: 20rpx;"
  66. src="../../../static/common/subNVue/guide/check-box-selected.png"></image>
  67. <text class="text-15px text-white">不再提示</text>
  68. </view>
  69. </view>
  70. </view>
  71. <view v-if="currentType == 'plan'" class="guide-container position-relative"
  72. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  73. <!-- top: 55px; 相当于 上间隔 -->
  74. <view class="mask-bg-07" style="background-color: rgba(0, 0, 0, 0.7);" :style="{height:guideHeight+'px'}"></view>
  75. <!-- 中心位置 225 -->
  76. <view style="width: 750rpx;height: 284px;overflow:hidden">
  77. <view style="height: 220px;width: 750rpx;background-color: rgba(0, 0, 0, 0.7);" class="mask-bg-07 position-relative">
  78. <view class="position-absolute-center-bottom " style="left: 0;right: 0;">
  79. <image style="width: 488rpx;height: 366rpx;" src="../../../static/common/subNVue/guide/guide-plan@3x.png">
  80. </image>
  81. </view>
  82. <view class="position-absolute-center">
  83. <!-- left:40rpx; -->
  84. <text class="text-white text-14px text-lines2"
  85. style="left:40rpx; width: 300rpx;" :style="{top:planTextTop+'px'}">请先定制属于您的专属计划</text>
  86. </view>
  87. </view>
  88. <view style="width: 750rpx;height: 100px;" class="flex flex-direction-row position-relative">
  89. <!-- 32+ 60/2 原本长度62px,去除游戏和视频长度 + 72 左右,设置 134 px-->
  90. <view :style="{width: guideRectLeft+'px'}" class="mask-bg-07" style="background-color: rgba(0, 0, 0, 0.7);"></view>
  91. <image style="width: 90px;height: 100px; opacity: 0.7;" src="../../../static/common/subNVue/guide/guide-rect-mask.png"></image>
  92. <view style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  93. <!-- 用于获取节点适配left -->
  94. <view class="position-absolute-center-around flex flex-direction-row" style="width: 750rpx;" >
  95. <block v-for="(item,index) in tabbarList" :key="index">
  96. <view :ref="'tabbar'+index"
  97. style="width: 90px;height: 100px; opacity: 0.1;">{{index}}</view>
  98. </block>
  99. </view>
  100. </view>
  101. </view>
  102. <!-- 计算剩余空白 -->
  103. <view class="mask-bg-07 flex-sub" style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  104. </view>
  105. <view v-if="currentType == 'actionJumpPlay'" class="guide-container position-relative"
  106. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  107. <!-- top: 55px; 相当于 上间隔 -->
  108. <view class="mask-bg-07" :style="{height:guideHeight+'px'}"></view>
  109. <!-- 中心位置 275 -->
  110. <view style="width: 750rpx;height: 350px;">
  111. <view style="height: 200px;" class="mask-bg-07">
  112. <view class="position-absolute-center" style="top: 0;left:100rpx;">
  113. <image style="width: 488rpx;height: 366rpx;"
  114. src="../../../static/common/subNVue/guide/guide-mid.png">
  115. </image>
  116. </view>
  117. <view class="position-absolute-center">
  118. <text class="text-white text-14px" style="top: -30rpx;left:80rpx;">点击播放体验关卡对应关卡</text>
  119. </view>
  120. </view>
  121. <view style="width: 750rpx;height: 150px;" class="flex flex-direction-row">
  122. <view style="width: 166rpx;" class="mask-bg-07"></view>
  123. <image style="width: 200px;height: 200px; opacity: 0.7;top: -63rpx;"
  124. src="../../../static/common/subNVue/guide/guide-circle-mask.png"></image>
  125. <view class="mask-bg-07 flex-sub"></view>
  126. </view>
  127. </view>
  128. <!-- 计算剩余空白 -->
  129. <view class="mask-bg-07 flex-sub"></view>
  130. </view>
  131. <view v-if="currentType == 'bluetoothConnect'" class="guide-container position-relative"
  132. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  133. <!-- top: 55px; 相当于 上间隔 -->
  134. <view class="mask-bg-07" style="background-color: rgba(0, 0, 0, 0.7);" :style="{height:guideHeight+'px'}"></view>
  135. <!-- 中心位置 225 :class="true?'border-1rpx-bottom-black':''"-->
  136. <view style="width: 750rpx;height: 382px;">
  137. <view style="height: 298px;background-color: rgba(0, 0, 0, 0.7);" class="mask-bg-07">
  138. <view class="position-absolute-center-bottom" style="left:31rpx;right: 0;">
  139. <image style="width: 442rpx;height: 372rpx;"
  140. src="../../../static/common/subNVue/guide/guide-bluetooth@3x.png">
  141. </image>
  142. </view>
  143. <view class="position-absolute-center">
  144. <text class="text-white text-14px" style="left: 20px;top: 50px;">请先连接蓝牙设备</text>
  145. <!-- <text class="text-left text-white text-14px"
  146. style="width: 542rpx;">1、长按开关键3秒,绿灯连续闪烁为可连接状态.</text>
  147. <text class="text-left text-white text-14px" style="width: 542rpx;">2、选择设备类型进行连接.</text>
  148. <text class="text-left text-white text-14px"
  149. style="width: 542rpx;">3、手柄连接成功后,将手柄十字键朝上插入绑带中.</text>
  150. <text class="text-left text-white text-14px" style="width: 542rpx;">4、用绑带将手柄朝上绑在右脚脚踝上.</text>
  151. -->
  152. </view>
  153. </view>
  154. <view style="width: 750rpx;height: 336px;" class="flex flex-direction-row">
  155. <!-- 这里width 当做 left -->
  156. <view class="mask-bg-07" style="background-color: rgba(0, 0, 0, 0.7);":style="{width:guideLeft+'px'}"></view>
  157. <image style="width: 100px;height: 100px; opacity: 0.7;top: -12px;"
  158. src="../../../static/common/subNVue/guide/guide-circle-mask.png"></image>
  159. <view class="mask-bg-07 flex-sub" style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  160. </view>
  161. </view>
  162. <!-- 计算剩余空白 -->
  163. <view class="mask-bg-07 flex-sub" style="flex: 1;background-color: rgba(0, 0, 0, 0.7);"></view>
  164. </view>
  165. <view v-if="currentType == 'level-game-tip'"class="guide-container justify-center align-center position-relative mask-bg-07"
  166. style="width: 750rpx;flex: 1;" @click="buttonMessage('confirm',$event)">
  167. <view class="game-mid">
  168. <view style="height: 278rpx;width: 750rpx;" class="position-relative">
  169. <view class="position-absolute-center" style="top: 0;left:0rpx;">
  170. <image style="width: 442rpx;height: 278rpx;"
  171. src="../../../static/common/subNVue/guide/level-game-title@2x.png"></image>
  172. </view>
  173. <view class="position-absolute-center">
  174. <text class="text-white text-14px"
  175. style="top: 0rpx;left:20rpx;">{{unlockLevelInfo.title}}</text>
  176. </view>
  177. </view>
  178. <view class="flex flex-direction-row align-center justify-center margin-17px">
  179. <text class="game-number">1</text>
  180. <text class="text-16px text-left text-white "
  181. style="width:476rpx;">{{unlockLevelInfo.firstText}}</text>
  182. </view>
  183. <image
  184. :style="{ width: unlockLevelInfo.firstWidth + 'rpx', height: unlockLevelInfo.firstHeight + 'rpx' ,transform:'scaleX('+unlockLevelInfo.firstDirection +')' }"
  185. :src="unlockLevelInfo.firstImage"></image>
  186. <view v-if="!unlockLevelInfo.secondHidden"
  187. class="flex flex-direction-row align-center justify-center margin-17px">
  188. <text class="game-number">2</text>
  189. <text class="text-16px text-left text-white "
  190. style="width:476rpx;">{{unlockLevelInfo.secondText}}</text>
  191. </view>
  192. <image v-if="!unlockLevelInfo.secondHidden"
  193. :style="{ width: unlockLevelInfo.secondWidth + 'rpx', height: unlockLevelInfo.secondHeight + 'rpx' ,transform:'scaleX('+unlockLevelInfo.secondDirection +')' }"
  194. :src="unlockLevelInfo.secondImage">
  195. </image>
  196. <!-- <image style="width: 232rpx;height: 78rpx;margin-top: 48rpx;"
  197. src="../../../static/common/subNVue/guide/level-game-next@2x.png"></image>
  198. -->
  199. </view>
  200. </view>
  201. </view>
  202. </template>
  203. <script>
  204. // 注意平台差异
  205. // #ifdef APP-NVUE
  206. const dom = weex.requireModule('dom')
  207. // #endif
  208. import {
  209. mapState,
  210. mapMutations
  211. } from 'vuex';
  212. export default {
  213. computed: mapState(['systemInfo', 'navHeight', 'tabbarHeight','versionCodeState']),
  214. data() {
  215. return {
  216. //防止点击
  217. bShowComplete:false,
  218. title: '',
  219. content: '',
  220. lists: [],
  221. isSelected: false,
  222. currentType: 'none',
  223. /**
  224. * 隐藏guide时候,随后的操作类型
  225. */
  226. hiddenType: 'none',
  227. operationItem: null,
  228. guideHeight: 55,
  229. guideLeft: 166,
  230. //三个关卡的对应信息
  231. unlockLevelInfo: {
  232. title: '',
  233. firstText: '',
  234. firstImage: '',
  235. firstWidth: 0,
  236. firstHeight: 0,
  237. secondText: '',
  238. secondImage: '',
  239. secondWidth: 0,
  240. secondHeight: 0,
  241. secondHidden: false
  242. },
  243. midJumpInfo: {
  244. title: '解锁向上跳',
  245. // firstText: '请先确保手柄已经连接成功。',
  246. // firstImage: '../../../static/common/subNVue/guide/level-game-fab@2x.png',
  247. firstText: '通过向上跳的方式消除标志块',
  248. firstImage: '../../../static/modal/action-jump/midJumpWhite.png',
  249. firstDirection: 1,
  250. firstWidth: 68, //102,
  251. firstHeight: 68, //108,
  252. secondText: '通过向上跳的方式消除标志块',
  253. secondImage: '../../../static/modal/action-jump/midJumpWhite.png',
  254. secondDirection: 1,
  255. secondWidth: 68,
  256. secondHeight: 68,
  257. secondHidden: true,
  258. },
  259. directionJumpInfo: {
  260. title: '解锁左右跳',
  261. firstText: '此为左跳图标,通过向左跳的方式消除标志块',
  262. firstImage: '../../../static/modal/action-jump/directionJumpWhite-left.png',
  263. firstDirection: 1,
  264. firstWidth: 68,
  265. firstHeight: 68,
  266. secondText: '此为右跳图标,通过向右跳的方式消除标志块',
  267. secondImage: '../../../static/modal/action-jump/directionJumpWhite-right.png',
  268. secondDirection: 1,
  269. secondWidth: 68,
  270. secondHeight: 68,
  271. secondHidden: false
  272. },
  273. rotationJumpInfo: {
  274. title: '解锁左右旋跳',
  275. firstText: '此为左旋跳图标,通过向左旋跳的方式消除标志块',
  276. firstImage: '../../../static/modal/action-jump/rotateJumpWhite-left.png',
  277. firstDirection: 1,
  278. firstWidth: 68,
  279. firstHeight: 68,
  280. secondText: '此为右旋跳图标,通过向右旋跳的方式消除标志块',
  281. secondImage: '../../../static/modal/action-jump/rotateJumpWhite-right.png',
  282. secondDirection: 1,
  283. secondWidth: 68,
  284. secondHeight: 68,
  285. secondHidden: false
  286. },
  287. guideRectLeft:62,
  288. tabbarList:3,
  289. planTextTop:10
  290. }
  291. },
  292. created() {
  293. const vm = this;
  294. uni.$on('guide-popup', (data) => {
  295. vm.bShowComplete = true;
  296. console.log("vm.bShowComplete 1=:",vm.bShowComplete);
  297. setTimeout(()=>{
  298. vm.bShowComplete = false;
  299. console.log("vm.bShowComplete 2=:",vm.bShowComplete);
  300. },300)
  301. vm.title = data.title;
  302. vm.content = data.content;
  303. vm.currentType = data.type || 'none';
  304. vm.operationItem = data.operationItem;
  305. let _viewData = data.item;
  306. //获取类型
  307. vm.hiddenType = (_viewData && _viewData.hiddenType) || 'none';
  308. console.log("初始化时候hidden类型:", vm.hiddenType);
  309. if (vm.currentType == "actionJumpPlay") {
  310. // _viewData.height/4 = 27.5
  311. vm.guideHeight = _viewData.top + _viewData.height - _viewData.height / 4 - vm.systemInfo
  312. .statusBarHeight - 275;
  313. } else if (vm.currentType == "bluetoothConnect") {
  314. //+ _viewData.height - _viewData.height / 4
  315. vm.guideHeight = _viewData.top - 382 + 55 + 15;//- 298
  316. vm.guideLeft = _viewData.left - _viewData.width / 2 + 5;
  317. } else if (vm.currentType == "plan") {
  318. vm.guideHeight = vm.systemInfo.safeArea.bottom - 284 - 32;
  319. // vm.guideLeft = 55;
  320. if(vm.versionCodeState.showGame&&vm.versionCodeState.showVideo){
  321. //显示5个栏目
  322. vm.tabbarList = 5;
  323. }else if(vm.versionCodeState.showGame||vm.versionCodeState.showVideo){
  324. //显示4个栏目
  325. vm.tabbarList = 4;
  326. }else {
  327. //默认3个
  328. vm.tabbarList = 3;
  329. }
  330. setTimeout(()=>{
  331. dom.getComponentRect(vm.$refs[`tabbar${1}`][0], option => {
  332. console.log('getComponentRect:', option)
  333. vm.guideRectLeft= option.size.left;
  334. if(vm.tabbarList == 5)
  335. {
  336. vm.guideRectLeft -= 7;
  337. }
  338. })
  339. },200)
  340. vm.planTextTop = vm.systemInfo.platform.indexOf("ios") != -1?0:10;
  341. } else if (vm.currentType == "level-button-tip") {
  342. //首页提示选择关卡
  343. let _iosHeight = vm.systemInfo.platform.indexOf("ios") != -1?1:0;
  344. vm.guideHeight = vm.systemInfo.safeArea.bottom - 284 - 32 + 3 + 6 ;
  345. const value = uni.getStorageSync('levelButtonPrompt');
  346. if (value) {
  347. vm.isSelected = value.isSelected;
  348. } else {
  349. vm.isSelected = false;
  350. }
  351. } else if (vm.currentType == "device-tip") {
  352. //提示绑带
  353. const value = uni.getStorageSync('deviceDirectionPrompt');
  354. if (value) {
  355. vm.isSelected = value.isSelected;
  356. } else {
  357. vm.isSelected = false;
  358. }
  359. } else if (vm.currentType == "level-game-tip") {
  360. if (_viewData.levelType == 'midJump') {
  361. vm.unlockLevelInfo = Object.assign({}, vm.midJumpInfo);
  362. } else if (_viewData.levelType == 'directionJump') {
  363. vm.unlockLevelInfo = Object.assign({}, vm.directionJumpInfo);
  364. } else if (_viewData.levelType == 'rotationJump') {
  365. vm.unlockLevelInfo = Object.assign({}, vm.rotationJumpInfo);
  366. }
  367. }
  368. })
  369. },
  370. beforeDestroy() {
  371. uni.$off('guide-popup')
  372. },
  373. methods: {
  374. switchSelected() {
  375. console.log('switchSelected', this.isSelected, !this.isSelected);
  376. this.isSelected = !this.isSelected;
  377. uni.$emit('guide-popup-page', {
  378. type: 'selected',
  379. messageType: this.currentType,
  380. isSelected: this.isSelected,
  381. operationItem: this.operationItem
  382. })
  383. // if (this.isSelected) {
  384. // uni.setStorage({
  385. // key: 'deviceDirectionPrompt',
  386. // data: {
  387. // isSelected: true
  388. // }
  389. // })
  390. // } else {
  391. // uni.setStorage({
  392. // key: 'deviceDirectionPrompt',
  393. // data: {
  394. // isSelected: false
  395. // }
  396. // })
  397. // }
  398. },
  399. buttonMessage(buttonEvent,e) {
  400. e.stopPropagation();
  401. if(this.bShowComplete)return;
  402. this.bShowComplete = true;
  403. console.log('关闭2')
  404. setTimeout(() => {
  405. const subNVue = uni.getCurrentSubNVue()
  406. uni.$emit('guide-popup-page', {
  407. type: 'button',
  408. messageType: this.currentType,
  409. hiddenType: this.hiddenType,
  410. confirm: buttonEvent == 'confirm' ? true : false,
  411. cancel: buttonEvent == 'cancel' ? true : false,
  412. info: buttonEvent + ' 该元素被点击了!',
  413. operationItem: this.operationItem
  414. })
  415. }, 260);
  416. this.hidePupup();
  417. },
  418. hidePupup() {
  419. uni.getCurrentSubNVue().hide('auto', 250);
  420. }
  421. }
  422. }
  423. </script>
  424. <style scoped lang="scss">
  425. .guide-wrapper {
  426. justify-content: center;
  427. align-items: center;
  428. }
  429. .guide-container {
  430. /* background-color: rgba(0, 0, 0, 0.3); */
  431. width: 750rpx;
  432. flex: 1;
  433. }
  434. .transparents-container {}
  435. .mid {
  436. justify-content: center;
  437. align-items: center;
  438. height: 700rpx;
  439. width: 300rpx;
  440. }
  441. .game-mid {
  442. justify-content: center;
  443. align-items: center;
  444. height: 850rpx;
  445. width: 750rpx;
  446. }
  447. .bind-tip-image {
  448. border-width: 14rpx;
  449. border-style: solid;
  450. border-color: #E5E5FF;
  451. background-color: #FFFFFF;
  452. width: 226rpx;
  453. height: 260rpx;
  454. margin-bottom: 50rpx;
  455. }
  456. .title {
  457. height: 100rpx;
  458. line-height: 100rpx;
  459. border-bottom-style: solid;
  460. border-bottom-width: 1rpx;
  461. border-bottom-color: #CBCBCB;
  462. flex: 0;
  463. font-size: 30rpx;
  464. }
  465. .scroller {
  466. height: 400rpx;
  467. padding: 8rpx 15rpx;
  468. }
  469. .content {
  470. color: #555555;
  471. font-size: 32rpx;
  472. }
  473. .message-wrapper {
  474. flex: 0;
  475. border-top-style: solid;
  476. border-top-width: 1rpx;
  477. border-top-color: #CBCBCB;
  478. height: 80rpx;
  479. align-items: flex-end;
  480. }
  481. .send-message {
  482. font-size: 30rpx;
  483. line-height: 80rpx;
  484. color: #00CE47;
  485. margin-left: 20rpx;
  486. }
  487. .cell {
  488. margin: 10rpx;
  489. padding: 20rpx 0;
  490. top: 10rpx;
  491. align-items: center;
  492. justify-content: center;
  493. border-radius: 10rpx;
  494. background-color: #5989B9;
  495. }
  496. .text {
  497. font-size: 30rpx;
  498. text-align: center;
  499. color: white;
  500. }
  501. .circle {
  502. width: 50px;
  503. height: 50px;
  504. border-width: 1rpx;
  505. border-color: #FF0000;
  506. border-style: solid;
  507. border-radius: 50%;
  508. position: absolute;
  509. top: 200rpx;
  510. left: 200rpx;
  511. background-color: rgba(255, 255, 255, 0);
  512. /* box-sizing: border-box; */
  513. }
  514. .su {
  515. position: relative;
  516. width: 750px;
  517. flex: 1;
  518. border-width: 1rpx;
  519. border-color: #FF0000;
  520. border-style: solid;
  521. }
  522. .lk {
  523. position: absolute;
  524. width: 100px;
  525. height: 200px;
  526. /* border-radius: 10px; */
  527. // border-width: 10px;
  528. // border-color: rgba(0, 0, 0, 0.4);
  529. // border-style: solid;
  530. border-top-color: #000000;
  531. border-top-width: 10px;
  532. border-bottom: 1rpx solid #000;
  533. top: 150px;
  534. /* margin-top: -250px; */
  535. left: 150px;
  536. /* margin-left: -250px; */
  537. }
  538. .game-number {
  539. border-radius: 18px;
  540. border-width: 1rpx;
  541. width: 22px;
  542. height: 22px;
  543. text-align: center;
  544. color: #FFFFFF;
  545. border-color: #FFFFFF;
  546. margin-right: 13px;
  547. }
  548. </style>