basicOperationsProducts.vue 8.3 KB

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