Procházet zdrojové kódy

上传文件至 'src/pages'

renlian před 4 roky
rodič
revize
ed34651782
4 změnil soubory, kde provedl 57 přidání a 0 odebrání
  1. 3 0
      src/pages/index.config.js
  2. 17 0
      src/pages/index.css
  3. 16 0
      src/pages/index.jsx
  4. 21 0
      src/pages/index.less

+ 3 - 0
src/pages/index.config.js

@@ -0,0 +1,3 @@
+export default {
+  navigationBarTitleText: '商品详情'
+}

+ 17 - 0
src/pages/index.css

@@ -0,0 +1,17 @@
+page {
+  background: #F5F5F5;
+}
+.cantfind .cantfindicon {
+  width: 68px;
+  height: 58px;
+  margin: 342px 340px 40px 342px;
+  background: url(../../assets/img/cantfindicon.png) no-repeat;
+  background-size: 100% auto;
+}
+.cantfind Text {
+  margin-left: 280px;
+  font-size: 32px;
+  font-family: PingFangSC-Regular, PingFang SC;
+  font-weight: 400;
+  color: #333333;
+}

+ 16 - 0
src/pages/index.jsx

@@ -0,0 +1,16 @@
+import { Component } from 'react'
+import { View, Text } from '@tarojs/components'
+import Search from "../../components/search/index"
+import Findcircle from "../../components/findcircle/index"
+import './index.less'
+
+const Index= ()=> {
+  
+return (
+      <View className='cantfind'>
+        <View className="cantfindicon"></View>
+        <Text>暂无此溯源码</Text>
+      </View>
+    )
+}
+export default Index

+ 21 - 0
src/pages/index.less

@@ -0,0 +1,21 @@
+page {
+  background: #F5F5F5;
+}
+
+.cantfind {
+  .cantfindicon {
+    width: 68px;
+    height: 58px;
+    margin: 342px 340px 40px 342px;
+    background: url(../../assets/img/cantfindicon.png) no-repeat;
+    background-size: 100% auto;
+  }
+
+  Text {
+    margin-left: 280px;
+    font-size: 32px;
+    font-family: PingFangSC-Regular, PingFang SC;
+    font-weight: 400;
+    color: #333333;
+  }
+}