public.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  1. <template>
  2. <view class="content">
  3. <header-title :title="'公众号'+$test.$test"></header-title>
  4. <view class="main">
  5. <form @submit="Submit">
  6. <view class="box-pack-between ft32 item flex-y-center">
  7. <view class="flex-y-center" style="min-width: 161rpx;">文章链接 <text style="color:red">*</text></view>
  8. <block v-if="card_num">
  9. <view class="content">{{info.url}}</view>
  10. <input style="display: none;" type="text" name="url" :value="info.url" maxlength="5000" placeholder="请填写文章链接" />
  11. </block>
  12. <input type="text" v-else name="url" :value="info.url" placeholder="请填写文章链接" maxlength="5000" />
  13. </view>
  14. <!-- <block v-if="moshi==2"> -->
  15. <FlowPool :thismoshi="moshi" :rule_arr_val="ruleArr" :this_moshi_type="moshi_type" :list_way="list_way" @ondel="binddel"
  16. @oncheck="bindcheck" @onTime='bindtime' @confirm="bindConfirm" @bindlevel="bindlevel"></FlowPool>
  17. <!-- </block> -->
  18. <view v-if="moshi==1" >
  19. <view class="box-pack-between ft32 item">
  20. <text>{{$test.$test}}场景</text>
  21. <!-- <view class="flex-center ft24"> -->
  22. <picker class="flex-center add-home ft24" @change="bindPickerChange" :value="index" :range-key="'name'" :range="allwayList">
  23. 添加
  24. </picker>
  25. <!-- </view> -->
  26. </view>
  27. <view class="item-bg" v-if="arr.length>0">
  28. <view class="box-pack-between mar64 flex-y-center" :key='index' v-for="(item,index) of arr">
  29. <view class="flex-y-center flex-grow-1 pdr-20">
  30. <text style="margin-right: 10rpx;">{{item.name}}</text>
  31. <input class="flex-grow-1" type="text" @input="getScene" :data-index="index" placeholder="请填写链接或内容"
  32. :value="item.way_power" maxlength="5000"/>
  33. </view>
  34. <image class="item-del" @click="delScene" :data-index='index' src="../../static/images/del.png" mode=""></image>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="">
  39. <view class="box-pack-between ft32 item">
  40. <text>配置中转页</text>
  41. <view class="flex-center ft24">
  42. <switch :checked="mid_state==1?true:false" name="mid_state" @change="switch1" style="transform:scale(0.7)" />
  43. </view>
  44. </view>
  45. <view class="item-bg" v-if="mid_state==1?true:false">
  46. <view class="box-pack-between mgr57">
  47. <view class="flex-row">
  48. <text class="item-bg-32">中转页标题</text>
  49. <input type="text" :value="info.mid_title" name="mid_title" placeholder="请填写中转页标题" />
  50. </view>
  51. </view>
  52. <view class="box-pack-between mgr57">
  53. <text class="item-bg-32">广告方式</text>
  54. <!-- <input style="display: none;" name="id" :value="Advertising[Adver_index].id" /> -->
  55. <picker @change="bindPickerAdvertising" :range-key="'name'" :range="Advertising">
  56. <text>{{Advertising[Adver_index].name}} <text class="iconfont icon-prev"></text></text>
  57. </picker>
  58. </view>
  59. <view class="box-pack-between flex-y-center" v-if="Advertising[Adver_index].name=='自定义引导页'">
  60. <text class="item-bg-32">广告引导页</text>
  61. <image @click="ChooseImage" :data-type="1" v-if="mid_img" class="upimg" :data-url="Advertising[Adver_index].url"
  62. :src="URL+''+mid_img"></image>
  63. <image @click="ChooseImage" :data-type="1" v-else class="upimg" src="../../static/images/upimg.png" mode=""></image>
  64. </view>
  65. <view class="box-pack-between flex-y-center" v-else-if="Advertising[Adver_index].name=='安全认证'">
  66. <text class="item-bg-32">广告引导页</text>
  67. <image mode="aspectFill" data-url="../../merchant/static/images/ali_ua.png" class="upimg" src="../../merchant/static/images/ali_ua.png"></image>
  68. <image mode="aspectFill" data-url="../../merchant/static/images/wx_ua.png" class="upimg" src="../../merchant/static/images/wx_ua.png"></image>
  69. <image mode="aspectFill" data-url="../../merchant/static/images/web_ua.png" class="upimg" src="../../merchant/static/images/web_ua.png"></image>
  70. </view>
  71. <view class="box-pack-between flex-y-center" v-else>
  72. <text class="item-bg-32">广告引导页</text>
  73. <image @click="Choose_img" mode="aspectFill" :data-url="URL+Advertising[Adver_index].url" class="upimg" :src="URL+Advertising[Adver_index].url"></image>
  74. </view>
  75. </view>
  76. <text style="padding:0 40rpx;font-size: 12px;color: #999;">ps:{{$test.$test}}进入需要授权的公众号链接,请配置中转页</text>
  77. </view>
  78. <!-- <view class="box-pack-between ft32 item" v-if="mid_state==1?false:true">
  79. <text>开启遮盖指引</text>
  80. <view class="flex-center ft24">
  81. <switch :checked="hj_state==1?true:false" name="hj_state" style="transform:scale(0.7)" />
  82. </view>
  83. </view> -->
  84. <block v-if="mid_state==1?false:true">
  85. <view class="box-pack-between ft32 item">
  86. <text>开启遮盖指引</text>
  87. <view class="flex-center ft24">
  88. <switch :checked="hj_state==1?true:false" @change="switch5" name="hj_state" style="transform:scale(0.7)" />
  89. </view>
  90. </view>
  91. <view class="box-pack-between" v-if="hj_state==1?true:false" style="padding: 0 50rpx;">
  92. <text></text>
  93. <view class="flex">
  94. <view class="look-icon-right" @click="bindhj(index)" v-for="(item,index) of model" :key='index'>
  95. <view class="por">
  96. <image @click="Choose_img" class="look-icon" :src="item.img" mode=""></image>
  97. <image class="look-jiao" v-if="item.checked" src="../../static/images/jiao.png" mode=""></image>
  98. </view>
  99. <view class="mr-top24">
  100. {{item.name}}
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. </block>
  106. <view>
  107. <view class="box-pack-between ft32 item">
  108. <text>配置微信文章分享</text>
  109. <view class=" flex-center ft24">
  110. <switch name="wx_state" :checked="wx_state==1?true:false" @change="switch2" style="transform:scale(0.7)" />
  111. </view>
  112. </view>
  113. <view class="item-bg" v-if="wx_state==1">
  114. <view class="box-pack-between mgr57">
  115. <view class="flex-row">
  116. <text class="item-bg-32">分享标题 </text>
  117. <input type="text" name="wx_title" placeholder="请填写分享标题" :value="info.wx_title" />
  118. </view>
  119. </view>
  120. <view class=" flex-row mgr57">
  121. <text class="item-bg-32">分享描述</text>
  122. <input type="text" name="wx_desc" placeholder="请填写分享描述" :value="info.wx_desc" />
  123. </view>
  124. <view class="box-pack-between flex-y-center">
  125. <text class="item-bg-32">分享图标</text>
  126. <image v-if="wx_img" @click="ChooseImage" :data-type="2" class="upimg" :src="URL+wx_img" mode="">
  127. </image>
  128. <image v-else @click="ChooseImage" :data-type="2" class="upimg" src="../../static/images/upimg.png" mode="">
  129. </image>
  130. </view>
  131. </view>
  132. </view>
  133. <view class="box-pack-between ft32 descp ">
  134. <textarea :value="info.description" maxlength="200" placeholder-class="desc-placeholder" :placeholder="$test.$test+'备注'"
  135. name='description' />
  136. </view>
  137. <view class="box-pack-between ft32 item">
  138. <view class="flex-center">
  139. <text>加入换量记录池</text>
  140. </view>
  141. <view class=" flex-center ft24">
  142. <switch name="is_exchange" :checked="is_exchange=='Y'?true:false" style="transform:scale(0.7)" />
  143. </view>
  144. </view>
  145. <view class="hg200rpx"></view>
  146. <view class="bottom-bar">
  147. <block v-if="card_num">
  148. <button form-type="submit" data-status="2" class="btn2 flex-center">
  149. 确定修改
  150. </button>
  151. </block>
  152. <block v-else>
  153. <button form-type="submit" data-status="2" class="btn1 flex-center">
  154. {{$test.$test}}文章
  155. </button>
  156. </block>
  157. </view>
  158. </form>
  159. </view>
  160. </view>
  161. </template>
  162. <script>
  163. import HeaderTitle from '@/components/header/header-title.vue';
  164. import FlowPool from '@/components/flow-pool/flow-pool.vue';
  165. // #ifdef H5
  166. import getWXSign from "@/static/js/config.js";
  167. // #endif
  168. export default {
  169. components: {
  170. HeaderTitle,
  171. FlowPool,
  172. },
  173. data() {
  174. return {
  175. $test:this.$test.$test,
  176. model:[
  177. {
  178. img:"https://empwment.zx-xcx.com/forward/img/look1.png",
  179. name:"页面遮盖层模式",
  180. checked:true,
  181. },{
  182. img:"https://empwment.zx-xcx.com/forward/img/look2.png",
  183. name:"查看更多模式",
  184. checked:false,
  185. },
  186. ],
  187. hj_index:0,
  188. hj_type:1,
  189. allwayList: [],
  190. arr: [],
  191. index: 0,
  192. result: "",
  193. is_wx: true,
  194. mid_img: "",
  195. wx_img: "",
  196. mid_state: 2,
  197. hj_state: 2,
  198. wx_state: 1,
  199. info: {},
  200. URL: getApp().globalData.URL,
  201. card_num: "",
  202. Advertising: [],
  203. Adver_index: 0,
  204. mid_type: '',
  205. description:"",
  206. is_exchange:'N',
  207. moshi:1,
  208. moshi_type:2,
  209. list_way:[],
  210. ruleArr:[],
  211. powerpool_id:"",
  212. level_arr:[1,2,3],
  213. level:"",
  214. rule:"",
  215. }
  216. },
  217. onLoad(e) {
  218. uni.removeStorageSync("list_way");
  219. this.level=this.level_arr.join(",");
  220. this.card_num = e.card_num;
  221. if (!this.card_num) {
  222. this.allmuban();
  223. }
  224. uni.setNavigationBarTitle({
  225. title:`公众号${this.$test.$test}`
  226. })
  227. this.allways();
  228. },
  229. onShow() {
  230. if(uni.getStorageSync("list_way")){
  231. this.list_way=uni.getStorageSync("list_way");
  232. if(this.way_index==3){
  233. for(let i of this.list_way){
  234. if(i.checked){
  235. this.powerpool_id=i.id
  236. }
  237. }
  238. }
  239. }
  240. },
  241. methods: {
  242. // 流量池
  243. bindcheck(index) {
  244. uni.removeStorageSync("list_way");
  245. this.moshi = index;
  246. },
  247. binddel(index){
  248. this.list_way.splice(index, 1);
  249. },
  250. bindtime(index) {
  251. console.log("000",index)
  252. this.list_way=[];
  253. uni.removeStorageSync("list_way");
  254. this.moshi_type=index==1?1:2;
  255. this.way_index=index;
  256. if(index==1){
  257. uni.navigateTo({
  258. url: "../public/index"
  259. })
  260. }
  261. // 默认流量池
  262. if(index==3){
  263. uni.navigateTo({
  264. url: "../public/index?type=2"
  265. })
  266. }
  267. },
  268. // 获取时间
  269. bindConfirm(rule){
  270. console.log(rule,"aff")
  271. this.rule=rule;
  272. },
  273. bindlevel(e){
  274. console.log(e,"bindlevel")
  275. var level=[];
  276. for(var i of e){
  277. level.push(i.level)
  278. }
  279. this.level=level.join(",");
  280. },
  281. // 流量池end
  282. bindhj(index){
  283. for(var i of this.model){
  284. i.checked=false;
  285. }
  286. this.model[index].checked=true;
  287. this.hj_index=index;
  288. },
  289. allmuban() {
  290. this.request({
  291. url: "funeng/allmuban",
  292. }).then(res => {
  293. console.log(res, "res")
  294. if (res.code === '200') {
  295. res.data.push({
  296. name: "自定义引导页",
  297. id: "0"
  298. });
  299. if (this.card_num) {
  300. for (let i in res.data) {
  301. if (res.data[i].id == this.mid_type) {
  302. this.Adver_index = i;
  303. }
  304. }
  305. }
  306. this.Advertising = res.data;
  307. }
  308. }).catch((res) => {});
  309. },
  310. bindPickerAdvertising(e) {
  311. this.Adver_index = e.detail.value;
  312. this.mid_img = "";
  313. },
  314. Choose_img(e) {
  315. var url = e.currentTarget.dataset.url
  316. // 预览图片
  317. uni.previewImage({
  318. urls: [url],
  319. })
  320. },
  321. ChooseImage(e) {
  322. console.log(e, "eeeeeee")
  323. let type = e.currentTarget.dataset.type;
  324. uni.chooseImage({
  325. count: 1, //默认9
  326. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  327. sourceType: ['album'], //从相册选择
  328. success: (res) => {
  329. console.log(res)
  330. var tempFilesSize = res.tempFiles[0].size;//获取图片的大小,单位B
  331. if(type==2&&tempFilesSize>1000000){ //图片小于或者等于2M时 可以执行获取图片
  332. uni.showToast({
  333. title:'上传图片不能大于1M!', //标题
  334. icon:'none' //图标 none不使用图标,详情看官方文档
  335. })
  336. return
  337. }
  338. var path;
  339. // #ifdef MP-WEIXIN
  340. path = res.tempFiles[0].path;
  341. // #endif
  342. // #ifdef H5
  343. path = res.tempFiles[0].name;
  344. // #endif
  345. var formatImage = path.split(".")[(path.split(".")).length - 1];
  346. if (type == 2) {
  347. if (formatImage != "png" && formatImage != "jpg" && formatImage != "jpeg") {
  348. uni.showToast({
  349. title: '只能上传png、jpg、jpeg格式',
  350. icon: 'none',
  351. duration: 2000,
  352. mask: true,
  353. })
  354. return
  355. }
  356. }
  357. res.tempFilePaths.forEach((v, i) => {
  358. console.log(v)
  359. this.Upload({
  360. url: "Spread/upload_img",
  361. data: {
  362. url: v,
  363. type: 0,
  364. token: uni.getStorageSync("token"),
  365. }
  366. }).then(res => {
  367. console.log(res, "res")
  368. type == 1 ? (
  369. this.mid_img = res.file
  370. ) : (
  371. this.wx_img = res.file
  372. )
  373. }).catch(err => {
  374. uni.showToast({
  375. title: err.message,
  376. icon: 'none'
  377. })
  378. });
  379. })
  380. },
  381. });
  382. },
  383. getScene(e) {
  384. var index = e.currentTarget.dataset.index;
  385. this.arr[index].way_power = e.detail.value
  386. },
  387. delScene(e) {
  388. var index = e.currentTarget.dataset.index;
  389. this.arr.splice(index, 1)
  390. },
  391. bindPickerChange: function(e) {
  392. if (this.arr.length > 0) {
  393. for (let i of this.arr) {
  394. if (i.id == this.allwayList[e.target.value].id) {
  395. uni.showToast({
  396. title: "场景重复",
  397. icon: 'none'
  398. })
  399. return
  400. }
  401. }
  402. }
  403. this.arr.push({
  404. id: this.allwayList[e.target.value].id,
  405. name: this.allwayList[e.target.value].name,
  406. super_id: this.allwayList[e.target.value].super_id,
  407. });
  408. },
  409. allways() {
  410. this.request({
  411. url: "funeng/allways",
  412. data: {},
  413. }).then(res => {
  414. console.log(res, "res")
  415. if (res.code === '200') {
  416. this.allwayList = res.data;
  417. this.arr.push({
  418. id: res.data[0].id,
  419. name: res.data[0].name,
  420. super_id: res.data[0].super_id,
  421. });
  422. if (this.card_num) {
  423. this.edit_detail();
  424. }
  425. }
  426. }).catch((res) => {});
  427. },
  428. edit_detail(e) {
  429. this.request({
  430. url: "funeng/edit_detail",
  431. data: {
  432. card_num: this.card_num,
  433. },
  434. }).then(res => {
  435. console.log(res, "res")
  436. if (res.code === '200') {
  437. this.info = res.data;
  438. this.mid_state = res.data.mid_state;
  439. this.mid_img = res.data.mid_img;
  440. this.wx_state = res.data.wx_state;
  441. this.wx_img = res.data.wx_img;
  442. this.arr = res.data.funeng;
  443. this.mid_type = res.data.mid_type;
  444. this.hj_state = res.data.hj_state,
  445. this.is_exchange=res.data.is_exchange;
  446. this.hj_index=this.hj_type-1;
  447. for(var i in this.model){
  448. this.model[i].checked=false;
  449. if(i== (res.data.hj_type-1)){
  450. this.model[i].checked=true;
  451. }
  452. }
  453. this.moshi = res.data.moshi;
  454. this.moshi_type=res.data.moshi_type;
  455. this.ruleArr=res.data.rule_arr;
  456. if(this.moshi==2){
  457. if(this.moshi_type==2){
  458. var a = []
  459. for(let i of res.data.rule_arr){
  460. a.push(i.type)
  461. }
  462. // 去除重复的数
  463. var b = []
  464. for (var i = 0; i < a.length; i++) {
  465. if (b.indexOf(a[i]) === -1) {
  466. b.push(a[i])
  467. }
  468. }
  469. this.level=b.join(",");
  470. this.powerpool_id=res.data.powerpool_id;
  471. }
  472. for(let i of res.data.powerpool){
  473. i.checked=true;
  474. }
  475. this.list_way=res.data.powerpool;
  476. }
  477. this.allmuban();
  478. }
  479. }).catch((res) => {
  480. });
  481. },
  482. switch1(e) {
  483. this.mid_state = e.target.value?1:2;
  484. },
  485. switch2(e) {
  486. this.wx_state = e.target.value ? 1 : 0;
  487. // this.is_wx = e.target.value;
  488. },
  489. switch5(e){
  490. this.hj_state = e.target.value?1:2;
  491. },
  492. bindCode() {
  493. // 允许从相机和相册扫码
  494. // #ifdef H5
  495. getWXSign().then(res => {
  496. console.log('wx_getLocation');
  497. this.$wx.scanQRCode({
  498. needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
  499. scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
  500. success: (res) => {
  501. this.result = res.resultStr;
  502. this.getCode(2);
  503. }
  504. })
  505. })
  506. // #endif
  507. },
  508. Submit(e) {
  509. this.https(e, 2);
  510. },
  511. https(e, status) {
  512. console.log(e, status, "statusstatus")
  513. let arr = this.arr,
  514. way_id = [],
  515. way_power = [];
  516. for (let i of arr) {
  517. way_id.push(i.id);
  518. way_power.push(i.way_power)
  519. }
  520. if (way_id.length <= 0) {
  521. uni.showToast({
  522. title: "场景为空",
  523. icon: 'none'
  524. })
  525. return
  526. }
  527. if (!e.detail.value.url) {
  528. uni.showToast({
  529. title: "请输入文章链接",
  530. icon: 'none'
  531. })
  532. return
  533. }
  534. if (e.detail.value.wx_state==1&&!e.detail.value.wx_title) {
  535. uni.showToast({
  536. title: "分享标题不能为空",
  537. icon: 'none'
  538. })
  539. return
  540. }
  541. var powerpool_id ="";
  542. if(this.moshi_type==1){
  543. var powerpool_arr = [];
  544. for (let i of this.list_way) {
  545. if (i.checked) {
  546. powerpool_arr.push(i.id);
  547. }
  548. }
  549. powerpool_id=powerpool_arr.join(",");
  550. }else{
  551. powerpool_id=this.powerpool_id;
  552. }
  553. let data = {
  554. token: uni.getStorageSync("token"),
  555. type: 2,
  556. hj_type:this.hj_index+1, // 1默认2其他
  557. url: e.detail.value.url,
  558. way_id: way_id.join(","),
  559. way_power: way_power.join(","),
  560. save_type: status,
  561. qrcode: this.result,
  562. mid_state: e.detail.value.mid_state ? 1 : 2,
  563. mid_title: e.detail.value.mid_title,
  564. hj_state: e.detail.value.hj_state ? 1 : 2, //1开启2不开启
  565. description: e.detail.value.description,
  566. mid_type:this.Advertising[this.Adver_index].id,
  567. mid_img: this.Advertising[this.Adver_index].id == "0" ? this.mid_img : this.Advertising[this.Adver_index].thumb,
  568. wx_state: e.detail.value.wx_state ? 1 : 2,
  569. // wx_title: e.detail.value.wx_title,
  570. // wx_desc: e.detail.value.wx_desc,
  571. // wx_img: this.wx_img,
  572. wx_title:e.detail.value.wx_state ? e.detail.value.wx_title :
  573. "",
  574. wx_desc:e.detail.value.wx_state? e.detail.value.wx_desc:"",
  575. wx_img:e.detail.value.wx_state? this.wx_img:"",
  576. is_exchange:e.detail.value.is_exchange?'Y':'N',
  577. moshi:this.moshi,
  578. moshi_type:this.moshi_type,
  579. powerpool_id:powerpool_id,
  580. level:this.level,
  581. rule:this.rule,
  582. }
  583. //请求验证码
  584. let url;
  585. this.card_num ? (data.code = this.info.code, url = "funeng/save_edit") : url = "funeng/weixin";
  586. this.request({
  587. url,
  588. data,
  589. }).then(res => {
  590. console.log(res, "res")
  591. if (res.code === '200') {
  592. this.card_num ? (
  593. uni.showToast({
  594. title: "设置成功",
  595. icon: 'none'
  596. }),
  597. setTimeout(() => {
  598. uni.navigateBack({
  599. delta: 1
  600. })
  601. }, 2e3)
  602. ) : (
  603. uni.showToast({
  604. title: "生成成功",
  605. icon: 'none'
  606. }),
  607. uni.redirectTo({
  608. url: "code?type=2" + '&card_num=' + res.data.card_num
  609. })
  610. )
  611. }
  612. }).catch((res) => {
  613. uni.showToast({
  614. title: res.message,
  615. icon: 'none'
  616. })
  617. });
  618. },
  619. }
  620. }
  621. </script>
  622. <style>
  623. .content {
  624. word-wrap: break-word;
  625. word-break: break-all;
  626. }
  627. .pdr-20 {
  628. padding-right: 20rpx;
  629. }
  630. .item {
  631. padding: 32rpx 40rpx;
  632. }
  633. .item input {
  634. text-align: right;
  635. }
  636. .upimg {
  637. width: 126rpx;
  638. height: 126rpx;
  639. }
  640. .add-home {
  641. color: #FFFFFF;
  642. width: 126rpx;
  643. height: 54rpx;
  644. background: linear-gradient(315deg, #3387ff 2%, #569bff 99%);
  645. border-radius: 8rpx;
  646. box-shadow: 0px 0px 8rpx 0px rgba(51, 135, 255, 0.2);
  647. }
  648. .item-bg {
  649. width: 670rpx;
  650. /* height: 298rpx; */
  651. background: #f6f8fe;
  652. border-radius: 12rpx;
  653. margin: 0 auto;
  654. font-size: 28rpx;
  655. font-family: PingFang SC, PingFang SC-Regular;
  656. font-weight: 400;
  657. color: #333333;
  658. padding: 36rpx 32rpx;
  659. }
  660. .item-del {
  661. width: 40rpx;
  662. height: 40rpx;
  663. }
  664. .item-bg-32 {
  665. margin-right: 32rpx;
  666. }
  667. .mgr57 {
  668. margin-bottom: 57rpx;
  669. }
  670. .hg200rpx {
  671. height: 100rpx;
  672. }
  673. .mar64 {
  674. margin-bottom: 64rpx;
  675. }
  676. .item-bg .mar64:last-child {
  677. margin-bottom: 0rpx;
  678. }
  679. .look-icon{
  680. width: 200rpx;
  681. height: 300rpx;
  682. display: block;
  683. }
  684. .por{
  685. position: relative;
  686. }
  687. .look-icon-left{
  688. font-size: 26rpx;
  689. text-align: center;
  690. }
  691. .look-icon-right{
  692. font-size: 26rpx;
  693. margin-left: 20rpx;
  694. text-align: center;
  695. }
  696. .mr-top24{
  697. margin-top: 24rpx;
  698. color: #999;
  699. }
  700. .look-jiao{
  701. width: 50rpx;
  702. height: 50rpx;
  703. position: absolute;
  704. bottom: 0;
  705. right: 0;
  706. }
  707. </style>