basicOperationsProducts.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <template>
  2. <view class="basicoperation">
  3. <slot name="supplier-title"></slot>
  4. <view class="basicoperation_container">
  5. <image class="defalut author-empty" :style="{'z-index': isOnline ? 0 : 13}" src="https://static.caimei365.com/app/img/supplier-login/basicoperation/author-empty.png" mode="aspectFill"></image>
  6. <image class="defalut store-empty" :style="{'z-index': isOnline ? 12 : 0}" src="https://static.caimei365.com/app/img/supplier-login/basicoperation/store-empty.png" mode="aspectFill"></image>
  7. <view class="operation_store" v-if="isOnline">
  8. <view class="online_store">
  9. <view class="store-logo">
  10. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/store.png" class="store" mode=""></image>
  11. </view>
  12. <view class="store-title">
  13. 在线商城
  14. </view>
  15. </view>
  16. <view class="store-line-title">
  17. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/title.png" style="width: 100%;height: 100%;" mode=""></image>
  18. </view>
  19. <view class="store-content">
  20. <view class="content-item" v-for="item in online_store_list" :key="item.id">
  21. <image :src="item.img" mode="" style="width: 80rpx;height: 50rpx;"></image>
  22. <view class="store-content-title">
  23. {{item.title}}
  24. </view>
  25. <view class="store-content-text">
  26. {{item.content}}
  27. </view>
  28. </view>
  29. </view>
  30. <view class="author" @click="isOnline = false">
  31. <view class="author-title">
  32. 正品认证通
  33. </view>
  34. <image style="width: 50rpx;height: 54rpx;" src="https://static.caimei365.com/app/img/supplier-login/basicoperation/author.png" mode=""></image>
  35. </view>
  36. </view>
  37. <view class="operation-author" v-else>
  38. <view class="author">
  39. <view class="author-logo">
  40. <image style="width: 66rpx;
  41. height: 68rpx;" src="https://static.caimei365.com/app/img/supplier-login/basicoperation/author.png" mode=""></image>
  42. </view>
  43. <view class="author-title">
  44. 正品认证通
  45. </view>
  46. </view>
  47. <view class="author-title-logo">
  48. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/logo.png" style="width: 100%;height: 100%;" mode=""></image>
  49. </view>
  50. <view class="author-content-item">
  51. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/02.png" style="width: 50rpx;height: 50rpx;border-radius: 50%;" mode=""></image>
  52. <view class="author-content-title">易装易用免维护</view>
  53. <view class="author-content-split"></view>
  54. <view class="author-content-text">独立后台账号体系、会打字就会用、公众号无缝衔接</view>
  55. </view>
  56. <view class="author-content-item">
  57. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/03.png" style="width: 50rpx;height: 50rpx;border-radius: 50%;" mode=""></image>
  58. <view class="author-content-title">授权认证功能</view>
  59. <view class="author-content-split"></view>
  60. <view class="author-content-text">机构认证查询、设备认证查询、医师认证查询</view>
  61. </view>
  62. <view class="author-content-item">
  63. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/04.png" style="width: 50rpx;height: 50rpx;border-radius: 50%;" mode=""></image>
  64. <view class="author-content-title">品牌运营</view>
  65. <view class="author-content-split"></view>
  66. <view class="author-content-text">与机构客户建立双向沟通渠道</view>
  67. </view>
  68. <view class="online-store" @click="isOnline = true">
  69. <image src="https://static.caimei365.com/app/img/supplier-login/basicoperation/store.png" style="width: 72rpx;height: 68rpx;" mode=""></image>
  70. <view class="online-store-logo">
  71. 在线商城
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. export default {
  80. data() {
  81. return {
  82. isOnline: true,
  83. online_store_list: [
  84. {
  85. id: 1,
  86. img: 'https://static.caimei365.com/app/img/supplier-login/basicoperation/p.png',
  87. title: '品牌店铺搭建',
  88. content: '轻松开启线上交易'
  89. },
  90. {
  91. id: 2,
  92. img: 'https://static.caimei365.com/app/img/supplier-login/basicoperation/l.png',
  93. title: '品牌展露',
  94. content: '彰显品牌实力'
  95. },
  96. {
  97. id: 3,
  98. img: 'https://static.caimei365.com/app/img/supplier-login/basicoperation/s.png',
  99. title: '商品SKU管理',
  100. content: '提高决策效率'
  101. }
  102. ]
  103. }
  104. },
  105. methods: {
  106. }
  107. }
  108. </script>
  109. <style scoped lang="scss">
  110. .defalut {
  111. width: 610rpx;
  112. height: 570rpx;
  113. position: absolute;
  114. box-sizing: border-box;
  115. }
  116. .store {
  117. width: 80rpx;
  118. height: 70rpx;
  119. }
  120. .basicoperation {
  121. padding: 1px;
  122. box-sizing: border-box;
  123. background-color: #fff;
  124. .basicoperation_container {
  125. height: 690rpx;
  126. padding: 0 70rpx;
  127. box-sizing: border-box;
  128. position: relative;
  129. .operation_store {
  130. position: absolute;
  131. box-sizing: border-box;
  132. padding: 36rpx 43rpx;
  133. width: 610rpx;
  134. height: 570rpx;
  135. z-index: 12;
  136. .online_store {
  137. width: 300rpx;
  138. height: 95rpx;
  139. border-bottom: 1px solid #FFCEAF;
  140. display: flex;
  141. align-items: center;
  142. .store-logo {
  143. width: 72rpx;
  144. height: 100%;
  145. border-bottom: 2px solid #FFC39A;
  146. }
  147. .store-title {
  148. color: #333333;
  149. font-size: 40rpx;
  150. font-weight: bold;
  151. margin-left: 21rpx;
  152. margin-top: -25rpx;
  153. }
  154. }
  155. .store-line-title {
  156. width: 100%;
  157. height: 90rpx;
  158. margin: 50rpx 0 33rpx 0;
  159. }
  160. .store-content {
  161. width: 100%;
  162. height: 216rpx;
  163. display: flex;
  164. justify-content: space-between;
  165. .content-item {
  166. width: 172rpx;
  167. height: 216rpx;
  168. background: #FDF0E9;
  169. border: 4rpx solid #FFFFFF;
  170. box-shadow: 0rpx 6rpx 50rpx 0rpx rgba(255,91,0,0.24);
  171. border-radius: 10rpx;
  172. box-sizing: border-box;
  173. display: flex;
  174. flex-direction: column;
  175. align-items: center;
  176. justify-content: center;
  177. .store-content-title {
  178. color: #333333;
  179. font-size: 24rpx;
  180. font-weight: bold;
  181. margin: 30rpx 0 13rpx 0;
  182. }
  183. .store-content-text {
  184. color: #666666;
  185. font-size: 19rpx;
  186. text-align: center;
  187. }
  188. }
  189. }
  190. .author {
  191. position: absolute;
  192. right: 0;
  193. top: 0;
  194. width: 242rpx;
  195. height: 80rpx;
  196. box-sizing: border-box;
  197. display: flex;
  198. align-items: center;
  199. .author-title {
  200. font-size: 32rpx;
  201. font-weight: bold;
  202. color: white;
  203. margin-right: 14rpx;
  204. }
  205. }
  206. }
  207. .operation-author {
  208. position: absolute;
  209. box-sizing: border-box;
  210. padding: 36rpx 36rpx;
  211. width: 610rpx;
  212. height: 570rpx;
  213. z-index: 13;
  214. .author {
  215. position: absolute;
  216. right: 30rpx;
  217. width: 275rpx;
  218. height: 110rpx;
  219. top: 12rpx;
  220. border-bottom: 1px solid #FFCEAF;
  221. display: flex;
  222. align-items: center;
  223. flex-direction: row-reverse;
  224. .author-logo {
  225. width: 72rpx;
  226. height: 100%;
  227. box-sizing: border-box;
  228. border-bottom: 2px solid #FFC39A;
  229. padding-top: 17rpx;
  230. }
  231. .author-title {
  232. color: white;
  233. font-size: 40rpx;
  234. font-weight: bold;
  235. }
  236. }
  237. .author-title-logo {
  238. width: 100%;
  239. height: 120rpx;
  240. margin-top: 130rpx;
  241. }
  242. .author-content-item {
  243. width: 100%;
  244. height: 70rpx;
  245. border-radius: 70rpx;
  246. border: 1px solid #FFC39A;
  247. box-sizing: border-box;
  248. padding: 2rpx;
  249. display: flex;
  250. align-items: center;
  251. margin-top: 18rpx;
  252. view {
  253. height: 100%;
  254. color: #FFC39A;
  255. font-size: 20rpx;
  256. }
  257. .author-content-title {
  258. font-size: 24rpx;
  259. font-weight: bold;
  260. display: flex;
  261. justify-content: center;
  262. align-items: center;
  263. margin: 0 10rpx;
  264. }
  265. .author-content-split {
  266. width: 2rpx;
  267. height: 50%;
  268. background-color: #FFC39A;
  269. margin-right: 10rpx;
  270. }
  271. .author-content-text {
  272. width: 278rpx;
  273. display: flex;
  274. align-items: center;
  275. }
  276. }
  277. .online-store {
  278. position: absolute;
  279. top: 0;
  280. left: 0;
  281. width: 250rpx;
  282. height: 100rpx;
  283. display: flex;
  284. align-items: center;
  285. box-sizing: border-box;
  286. padding: 36rpx 0 36rpx 14rpx;
  287. .online-store-logo {
  288. font-size: 32rpx;
  289. font-weight: bold;
  290. color: black;
  291. margin-left: 14rpx;
  292. }
  293. }
  294. }
  295. }
  296. }
  297. </style>