index.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <template>
  2. <view class="myBox">
  3. <view class="myhead">
  4. <view @click="goinfor" class="myheadImg">
  5. <uni-icon color="#fff" size="22" type="chat"></uni-icon>
  6. </view>
  7. <view class="myNmae">
  8. <view class="myNmaeLeft">
  9. <view class="myNmaeImg">
  10. <image src=""></image>
  11. </view>
  12. <view>
  13. <view style="font-size: 34upx;margin-bottom: 32upx;">用户名</view>
  14. <view style="font-size: 24upx">积分100></view>
  15. </view>
  16. </view>
  17. <view class="myNmaeRight">每日签到></view>
  18. </view>
  19. </view>
  20. <van-cell title="我的订单" is-link />
  21. <view class="myorder">
  22. <view class="orderList">
  23. <view class="orderOne">
  24. <image class="imagewidth" src=""></image>
  25. <view>待付款</view>
  26. </view>
  27. <view class="orderOne">
  28. <image class="imagewidth" src=""></image>
  29. <view>处理中</view>
  30. </view>
  31. <view class="orderOne">
  32. <image class="imagewidth" src=""></image>
  33. <view>带评价</view>
  34. </view>
  35. <view class="orderOne">
  36. <image class="imagewidth" src=""></image>
  37. <view>已取消</view>
  38. </view>
  39. <view class="orderOne">
  40. <image class="imagewidth" src=""></image>
  41. <view>退款/售后</view>
  42. </view>
  43. </view>
  44. </view>
  45. <view style="border-bottom: 20upx solid #F5F5F5;"></view>
  46. <van-cell title="我的服务"/>
  47. <van-cell @click="goAdress(0)" title="圈在网代理" is-link>
  48. <template slot="icon">
  49. <image style="width: 29upx;height: 29upx;
  50. background-color: #007AFF;
  51. margin-right: 8upx;
  52. vertical-align:middle"
  53. src="" />
  54. </template>
  55. </van-cell>
  56. <van-cell @click="goAdress(2)" title="圈在网入驻" is-link>
  57. <template slot="icon">
  58. <image style="width: 29upx;height: 29upx;
  59. background-color: #007AFF;
  60. margin-right: 8upx;
  61. vertical-align:middle"
  62. src="" />
  63. </template>
  64. </van-cell>
  65. <van-cell @click="goAdress(3)" title="圈币明细" is-link>
  66. <template slot="icon">
  67. <image style="width: 29upx;height: 29upx;
  68. background-color: #007AFF;
  69. margin-right: 8upx;
  70. vertical-align:middle"
  71. src="" />
  72. </template>
  73. </van-cell>
  74. <van-cell @click="goAdress(1)" title="我的地址" is-link>
  75. <template slot="icon">
  76. <image style="width: 29upx;height: 29upx;
  77. background-color: #007AFF;
  78. margin-right: 8upx;
  79. vertical-align:middle"
  80. src="" />
  81. </template>
  82. </van-cell>
  83. <van-cell @click="goAdress(9)" title="我的收藏" is-link>
  84. <template slot="icon">
  85. <image style="width: 29upx;height: 29upx;
  86. background-color: #007AFF;
  87. margin-right: 8upx;
  88. vertical-align:middle"
  89. src="" />
  90. </template>
  91. </van-cell>
  92. <van-cell @click="goAdress(8)" title="意见反馈" is-link>
  93. <template slot="icon">
  94. <image style="width: 29upx;height: 29upx;
  95. background-color: #007AFF;
  96. margin-right: 8upx;
  97. vertical-align:middle"
  98. src="" />
  99. </template>
  100. </van-cell>
  101. <van-cell @click="goAdress(7)" title="商务合作" is-link>
  102. <template slot="icon">
  103. <image style="width: 29upx;height: 29upx;
  104. background-color: #007AFF;
  105. margin-right: 8upx;
  106. vertical-align:middle"
  107. src="" />
  108. </template>
  109. </van-cell>
  110. </view>
  111. </template>
  112. <script>
  113. import uniIcon from '@/component/uni-icon/uni-icon.vue'
  114. export default {
  115. components: {
  116. uniIcon
  117. },
  118. data() {
  119. return {}
  120. },
  121. methods: {
  122. goAdress(e) {
  123. if(e == 1) {
  124. uni.navigateTo({
  125. url: '../myOrder/adress' // 我的地址
  126. })
  127. }else if(e == 0) {
  128. uni.navigateTo({
  129. url: './applyfor' // 我的申请
  130. })
  131. }else if(e == 2) {
  132. uni.navigateTo({
  133. url: './Settled' // 酒店入驻
  134. })
  135. }else if(e == 3) {
  136. uni.navigateTo({
  137. url: './definite' // 圈币明细
  138. })
  139. }else if(e == 7) {
  140. uni.navigateTo({
  141. url: './business' // 商务合作
  142. })
  143. }else if(e == 8) {
  144. uni.navigateTo({
  145. url: './commentback' // 意见反馈
  146. })
  147. }else if(e == 9) {
  148. uni.navigateTo({
  149. url: './myCollect' // 我的收藏
  150. })
  151. }
  152. },
  153. goinfor() {
  154. uni.navigateTo({
  155. url: './information' // 我的收藏
  156. })
  157. }
  158. }
  159. }
  160. </script>
  161. <style lang="scss">
  162. .myBox {
  163. height: 100vh;
  164. width: 100%;
  165. background-color: #fff;
  166. .myhead {
  167. height: 290upx;
  168. background-color: #D9332E;
  169. .myheadImg {
  170. padding: 10upx 32upx 0 0;
  171. height: 85upx;
  172. text-align: right;
  173. line-height: 85upx;
  174. }
  175. .myNmae {
  176. display: flex;
  177. justify-content: space-between;
  178. flex-direction: row;
  179. align-items: center;
  180. padding: 20upx 32upx 0 32upx;
  181. .myNmaeLeft {
  182. display: flex;
  183. flex-direction: row;
  184. align-items: center;
  185. color: #fff;
  186. .myNmaeImg {
  187. width: 128upx;
  188. height: 128upx;
  189. border-radius: 50%;
  190. padding-right: 32upx;
  191. image {
  192. width: 100%;
  193. height: 100%;
  194. border-radius: 50%;
  195. background-color: #fff;
  196. }
  197. }
  198. }
  199. .myNmaeRight {
  200. width:144upx;
  201. height: 52upx;
  202. background:rgba(255,255,255,0.27);
  203. border-radius: 44upx;
  204. border:2upx solid rgb(255,255,255);
  205. color: #fff;
  206. line-height: 52upx;
  207. text-align: center;
  208. font-size: 24upx;;
  209. }
  210. }
  211. }
  212. .myorder {
  213. padding: 0 32upx;
  214. .orderList {
  215. padding: 28upx 0;
  216. display: flex;
  217. }
  218. .orderOne {
  219. flex: 1;
  220. flex-direction: column;
  221. text-align: center;
  222. .imagewidth {
  223. width: 44upx;
  224. height: 44upx;
  225. background-color: red;
  226. }
  227. }
  228. }
  229. }
  230. </style>